Port (FB) ¶ FUNCTION_BLOCK Port Represent a UDP Port, which is managed (opened and closed) by an UDPDriver. Properties: IPAddress ReceivePort SendPort Socket Methods: Receive Receive2 Send Bind FdIsSet FdSet GetOption IoControl JoinGroup LeaveGroup SetInterface SetOption Structure: Multicast JoinGroup (Method) LeaveGroup (Method) SetInterface (Method) Properties IPAddress (Property) ReceivePort (Property) SendPort (Property) Socket (Property) Receive (Method) Receive2 (Method) Send (Method) Socket Bind (Method) FdIsSet (Method) FdSet (Method) GetOption (Method) IoControl (Method) SetOption (Method)
Multicast ¶ JoinGroup (Method) LeaveGroup (Method) SetInterface (Method)
Properties ¶ IPAddress (Property) ReceivePort (Property) SendPort (Property) Socket (Property)
Port.Receive (METH) ¶ METHOD Receive : SysTypes.RTS_IEC_RESULT Tries to receive data from a socket; returns ERR_PENDING if there is no data to receive InOut: Scope Name Type Comment Return Receive SysTypes.RTS_IEC_RESULT Input pbyData POINTER TO BYTE Pointer to receive buffer diDataSize __XINT Size of the receive buffer Output udiIPFrom UDINT IP Address of the sender uiPortFrom UINT Destination Port diRecvSize __XINT Size of the received data eLogCode ErrorCode
Port.Receive2 (METH) ¶ METHOD Receive2 : SysTypes.RTS_IEC_RESULT Tries to receive data from a socket; returns ERR_PENDING if there is no data to receive InOut: Scope Name Type Comment Return Receive2 SysTypes.RTS_IEC_RESULT Input pbyData POINTER TO BYTE Pointer to receive buffer diDataSize __XINT Size of the receive buffer Output udiIPFrom UDINT IP Address of the sender uiPortFrom UINT Destination Port diRecvSize __XINT Size of the received data eSocketType SocketType eLogCode ErrorCode
Port.Send (METH) ¶ METHOD Send : SysTypes.RTS_IEC_RESULT Sends data to sIPAddressTo and uiPortTo InOut: Scope Name Type Comment Return Send SysTypes.RTS_IEC_RESULT Input udiIPTo UDINT Addr of the receiver uiPortTo UINT OPTIONAL: Port to send the data to (Property SendPort is the default) pbyData POINTER TO BYTE Pointer to user data diDataSize __XINT Size of the user data Output diSent __XINT Number of Bytes that have been sent eLogCode ErrorCode
Socket ¶ Bind (Method) FdIsSet (Method) FdSet (Method) GetOption (Method) IoControl (Method) SetOption (Method)
VisuFbRecordingRangeRingBuffer.SetLastStop (METH) ¶ METHOD SetLastStop InOut: Scope Name Type Input uliTimestamp ULINT
VisuFbRecordingRangeRingBuffer.StartIteration (METH) ¶ METHOD StartIteration
VisuStructRecordingRange (STRUCT) ¶ TYPE VisuStructRecordingRange : STRUCT InOut: Name Type uliStart ULINT uliStop ULINT