ReduceSegment (FUN) ¶ FUNCTION ReduceSegment : UDINT This fuction reduces a segment to get a segment with only complete utf8 runes in it. It returns the number of the necessary bytes for the utf8 runes. InOut: Scope Name Type Comment Return ReduceSegment UDINT Input pbyData POINTER TO BYTE Pointer to the first byte of segment udiSize UDINT Size of the segment in bytes
RuneCount (FUN) ¶ FUNCTION RuneCount : UDINT Returns the number of runes in pbyData . Erroneous and short encodings are treated as single runes of length 1 byte. InOut: Scope Name Type Comment Return RuneCount UDINT Input pbyData POINTER TO BYTE Pointer to the first byte in memory udiSize UDINT Memory size in byte
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