Swap (FUN) ¶ FUNCTION Swap : BOOL InOut: Scope Name Type Return Swap BOOL Input bSwap BOOL pi POINTER TO BYTE nSize INT
Udp specific ¶ GetIPAddress (Function) UdpGetReceiveDataSize (Function) UdpOpenReceiveSocket (Function) UdpOpenSendSocket (Function) UdpReceiveData (Function) UdpSendData (Function) UdpSendTlg (Program)
GetIPAddress (FUN) ¶ FUNCTION GetIPAddress : UDINT InOut: Scope Name Type Comment Return GetIPAddress UDINT Input stIPAddress STRING IP-address or computer name
UdpGetReceiveDataSize (FUN) ¶ FUNCTION UdpGetReceiveDataSize : DINT InOut: Scope Name Type Comment Return UdpGetReceiveDataSize DINT Input hSocket RTS_IEC_HANDLE Socket Id
UdpOpenReceiveSocket (FUN) ¶ FUNCTION UdpOpenReceiveSocket : RTS_IEC_HANDLE InOut: Scope Name Type Return UdpOpenReceiveSocket RTS_IEC_HANDLE Input iPort INT
UdpOpenSendSocket (FUN) ¶ FUNCTION UdpOpenSendSocket : RTS_IEC_HANDLE InOut: Scope Name Type Return UdpOpenSendSocket RTS_IEC_HANDLE Input iPort INT
UdpReceiveData (FUN) ¶ FUNCTION UdpReceiveData : CLIENT_REPLY InOut: Scope Name Type Comment Return UdpReceiveData CLIENT_REPLY Input hSocket RTS_IEC_HANDLE Socket Id iPort INT Port number, to send data pbyData POINTER TO BYTE Address of data buffer diDataSize __XINT Size of data to send
UdpSendData (FUN) ¶ FUNCTION UdpSendData : __XINT InOut: Scope Name Type Comment Return UdpSendData __XINT Input hSocket RTS_IEC_HANDLE Socket Id iPort INT Port number, to send data stIPAddress STRING IP-address or name pbyData POINTER TO BYTE Address of data buffer diDataSize DINT Size of data to send
UdpSendTlg (PRG) ¶ PROGRAM UdpSendTlg InOut: Scope Name Type Comment Input iPortNr WORD hSoketTransmit RTS_IEC_HANDLE bSwap BOOL stIPAddress STRING IP-address or name sTelegramm NetVarTelegramm_UDP Output bReady BOOL dwResult __XINT
Parameters (PARAMS) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant UdpPacketSize UINT 256