UDPDriver.Select (METH) ¶ METHOD Select : SysTypes.RTS_IEC_RESULT Encapsulates SysSockSelect. InOut: Scope Name Type Comment Return Select SysTypes.RTS_IEC_RESULT Input iTimeOut INT Time out in micro seconds, set to 0 to disable time out. Inout strRecvSet SysSocket.SOCKET_FD_SET List of streams to be checked for receive. Only streams which are ready for reception will remain in this list. strSendSet SysSocket.SOCKET_FD_SET List of streams to be checked for send. Only streams which are ready for sending will remain in this list. strErrorSet SysSocket.SOCKET_FD_SET List of streams to be checked for errors. Only streams which are having an error will remain in this list. Output diReady DINT eLogCode ErrorCode
Functions ¶ FD_CLR (Function) IPARRAY_TO_IPSTRING (Function) IPARRAY_TO_UDINT (Function) IPSTRING_TO_UDINT (Function) IS_MULTICAST_GROUP (Function) UDINT_TO_HEX (Function) UDINT_TO_IPARRAY (Function) UDINT_TO_IPSTRING (Function) UINT_TO_HEX (Function)
FD_CLR (FUN) ¶ FUNCTION FD_CLR : UDINT Remove a socket from a fd set. InOut: Scope Name Type Return FD_CLR UDINT Input hSocket RTS_IEC_HANDLE pfs POINTER TO SysSocket.SOCKET_FD_SET
IPARRAY_TO_IPSTRING (FUN) ¶ FUNCTION IPARRAY_TO_IPSTRING : STRING Converts a byte array to a readable ip address string InOut: Scope Name Type Return IPARRAY_TO_IPSTRING STRING Input abyIPAddress ARRAY [0..3] OF BYTE
IPARRAY_TO_UDINT (FUN) ¶ FUNCTION IPARRAY_TO_UDINT : UDINT Converts a byte array to an udint ip address value InOut: Scope Name Type Return IPARRAY_TO_UDINT UDINT Input abyIPAddress ARRAY [0..3] OF BYTE
IPSTRING_TO_UDINT (FUN) ¶ FUNCTION IPSTRING_TO_UDINT : UDINT Converts a readable ip address string to an udint value InOut: Scope Name Type Return IPSTRING_TO_UDINT UDINT Input sIPAddress STRING
IS_MULTICAST_GROUP (FUN) ¶ FUNCTION IS_MULTICAST_GROUP : BOOL Checks if this address is a multicast address InOut: Scope Name Type Return IS_MULTICAST_GROUP BOOL Input udiIPAddress UDINT
UDINT_TO_HEX (FUN) ¶ FUNCTION UDINT_TO_HEX : STRING(8) InOut: Scope Name Type Return UDINT_TO_HEX STRING(8) Input value UDINT
UDINT_TO_IPARRAY (FUN) ¶ FUNCTION UDINT_TO_IPARRAY : ARRAY [0..3] OF BYTE Converts an udint value to a byte array InOut: Scope Name Type Return UDINT_TO_IPARRAY ARRAY [0..3] OF BYTE Input udiIPAddress UDINT
UDINT_TO_IPSTRING (FUN) ¶ FUNCTION UDINT_TO_IPSTRING : STRING Converts an udint value to a readable ip address string InOut: Scope Name Type Return UDINT_TO_IPSTRING STRING Input udiIPAddress UDINT