RuneLen (FUN) ¶ FUNCTION RuneLen : UDINT Returns the number of bytes required to encode the rune. It returns 0 if the rune is not a valid value to encode in UTF-8. InOut: Scope Name Type Comment Return RuneLen UDINT Input diRune RUNE The rune to be analyzed
Globals ¶ Constants (GVL)
Port.LeaveGroup (METH) ¶ METHOD LeaveGroup : SysTypes.RTS_IEC_RESULT Leave a multicast group InOut: Scope Name Type Comment Return LeaveGroup SysTypes.RTS_IEC_RESULT Input udiGroupAddress UDINT Address of the group to leave udiInterfaceAddress UDINT IP Address of the NIC which shall leave this group Output eLogCode ErrorCode
Port.SetInterface (METH) ¶ METHOD SetInterface : SysTypes.RTS_IEC_RESULT Defines the interface which shall be used to send multicast packets InOut: Scope Name Type Comment Return SetInterface SysTypes.RTS_IEC_RESULT Input udiIPAddress UDINT IP Address of the NIC which shall be used for sending multicast packets. Output eLogCode ErrorCode
Port.IPAddress (PROP) ¶ PROPERTY IPAddress : UDINT IP Address the port shall be bound to
Port.ReceivePort (PROP) ¶ PROPERTY ReceivePort : UINT Port on which messages are expected
Port.SendPort (PROP) ¶ PROPERTY SendPort : UINT Port through wich messages shall be sent.
Port.Socket (PROP) ¶ PROPERTY Socket : SysTypes.RTS_IEC_HANDLE
Port.Bind (METH) ¶ METHOD Bind : UDINT Bind the socket to a certain (local) address. InOut: Scope Name Type Comment Return Bind UDINT Input udiIPAddress UDINT Local IP Address the port shall be bound to.
Port.FdIsSet (METH) ¶ METHOD FdIsSet : BOOL Returns TRUE if the port’s socket is part of the file descriptor set InOut: Scope Name Type Return FdIsSet BOOL Input socketFD_SET SysSocket.SOCKET_FD_SET