SysSockGetRecvSizeUdp (FUN) ¶ FUNCTION SysSockGetRecvSizeUdp : __XINT Check actual received data on the UDP socket. InOut: Scope Name Type Comment Return SysSockGetRecvSizeUdp __XINT Number of bytes actual available in the socket Input hSocketUdp RTS_IEC_HANDLE Handle to the UDP socket diTimeout DINT Timeout to wait for received data. -1 = Infinite wait 0 = no wait pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
SysSockGetSockName (FUN) ¶ FUNCTION SysSockGetSockName : RTS_IEC_RESULT Returns the socket address of the local socket. Usally this function is called to retrieve the local socket address on multihomed hosts or to get the local port number in client implemntations. If the socket is neither connected nor locally bound to an address, the result of the function and the value stored in the object pointed to by pSockAddress is unspecified. InOut: Scope Name Type Comment Return SysSockGetSockName RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input hSocket RTS_IEC_HANDLE Handle to the socket pSockAddr POINTER TO SOCKADDRESS Socket address of the local socket pdiSockAddrSize POINTER TO DINT Pointer to size of socket address structure
tSysShmRead (STRUCT) ¶ TYPE tSysShmRead : STRUCT InOut: Name Type Comment ulOffset __UXINT pbyData POINTER TO BYTE ulSize __UXINT pResult POINTER TO RTS_IEC_RESULT pulOut POINTER TO __UXINT ReadCount
tSysShmReadByte (STRUCT) ¶ TYPE tSysShmReadByte : STRUCT InOut: Name Type Comment ulOffset __UXINT pbyData POINTER TO BYTE ulSize __UXINT pResult POINTER TO RTS_IEC_RESULT pulOut POINTER TO __UXINT ReadCount
tSysShmWrite (STRUCT) ¶ TYPE tSysShmWrite : STRUCT InOut: Name Type Comment ulOffset __UXINT pbyData POINTER TO BYTE ulSize __UXINT pResult POINTER TO RTS_IEC_RESULT pulOut POINTER TO __UXINT WriteCount
tSysShmWriteByte (STRUCT) ¶ TYPE tSysShmWriteByte : STRUCT InOut: Name Type Comment ulOffset __UXINT pbyData POINTER TO BYTE ulSize __UXINT pResult POINTER TO RTS_IEC_RESULT pulOut POINTER TO __UXINT WriteCount
SysShmAsyncFB (FB) ¶ FUNCTION_BLOCK SysShmAsyncFB EXTENDS AsyncBaseClass Methods: SysShmCloseAsync SysShmGetPointerAsync SysShmOpenAsync SysShmReadAsync SysShmReadByteAsync SysShmWriteAsync SysShmWriteByteAsync SysShmCloseAsyncWrapper SysShmGetPointerAsyncWrapper SysShmOpenAsyncWrapper SysShmReadAsyncWrapper SysShmReadByteAsyncWrapper SysShmWriteAsyncWrapper SysShmWriteByteAsyncWrapper Structure: SysShmCloseAsync (Method) SysShmGetPointerAsync (Method) SysShmOpenAsync (Method) SysShmReadAsync (Method) SysShmReadByteAsync (Method) SysShmWriteAsync (Method) SysShmWriteByteAsync (Method) Wrapper SysShmCloseAsyncWrapper (Method) SysShmGetPointerAsyncWrapper (Method) SysShmOpenAsyncWrapper (Method) SysShmReadAsyncWrapper (Method) SysShmReadByteAsyncWrapper (Method) SysShmWriteAsyncWrapper (Method) SysShmWriteByteAsyncWrapper (Method)
SysShmAsyncFB.SysShmCloseAsync (METH) ¶ METHOD SysShmCloseAsync : RTS_IEC_HANDLE For details, see node “Documentation” InOut: Scope Name Type Comment Return SysShmCloseAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysShmClose pudState POINTER TO UDINT pResult POINTER TO RTS_IEC_RESULT Result of Jobadd
SysShmAsyncFB.SysShmGetPointerAsync (METH) ¶ METHOD SysShmGetPointerAsync : RTS_IEC_HANDLE For details, see node “Documentation” InOut: Scope Name Type Comment Return SysShmGetPointerAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysShmGetPointer pudState POINTER TO UDINT pResult POINTER TO RTS_IEC_RESULT Result of Jobadd
SysShmAsyncFB.SysShmOpenAsync (METH) ¶ METHOD SysShmOpenAsync : RTS_IEC_HANDLE For details, see node “Documentation” InOut: Scope Name Type Comment Return SysShmOpenAsync RTS_IEC_HANDLE Input pParam POINTER TO tSysShmOpen pudState POINTER TO UDINT pResult POINTER TO RTS_IEC_RESULT Result of Jobadd