File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 13.12.2023, 11:04:54 companyName string 3S-Smart Software Solutions GmbH libraryFile TraceMgr2_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile TraceMgr2_Itfs.clean.json version version 2.0.0.0 ProjectInformation IECCodeConverter bool True IsInterfaceLibrary True Released True LastModificationDateTime date 13.12.2023, 11:04:52 LibraryCategories library-category-list Intern|Visu Author string CODESYS Development GmbH Company Intern CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace TraceMgr_Interfaces Description See: Description Project TraceMgr2_Itfs Title Trace Mgr2 Interfaces Version version 4.5.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. Base Interfaces ¶ Library Identification ¶ Name: Base Interfaces Version: newest Company: System Namespace: IBaseLibrary Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Base Interfaces, * (System) Data Server Interfaces ¶ Library Identification ¶ Name: Data Server Interfaces Version: newest Company: System Namespace: Dataserver_Interfaces Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Data Server Interfaces, * (System) SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
UDP Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title UDP Version 3.5.19.0 Categories Intern|Networking Namespace UDP Author 3S - Smart Software Solutions GmbH Placeholder UDP Description 1 ¶ A socket based UDP library for sending and receiving UDP datagrams. Contents: ¶ UDP Enum Functionblocks Functions Global Constants Indices and tables ¶ 1 Based on UDP.library, last modified 02.03.2023, 10:52:31. LibDoc 4.4.0.0-b.27 The content file UDP.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 10:52:33.
UDP ¶ Enum OS (Enum) SocketType (Enum) Functionblocks Port (FunctionBlock) 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) UDPDriver (FunctionBlock) ClosePort (Method) CreatePort (Method) Select (Method) 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) Global Constants CONSTANTS (GVL)
Enum ¶ OS (Enum) SocketType (Enum)
OS (ENUM) ¶ TYPE OS : Not in use! Internally used to differe between several operating systems. Some require special socket handling. InOut: Name Initial AnySystem 0 Linux
UDPDriver (FB) ¶ FUNCTION_BLOCK UDPDriver UDP driver creates, maintains and closes sockets Methods: ClosePort CreatePort Select Structure: ClosePort (Method) CreatePort (Method) Select (Method)
UDPDriver.ClosePort (METH) ¶ METHOD ClosePort : SysTypes.RTS_IEC_RESULT Close the udp port InOut: Scope Name Type Comment Return ClosePort SysTypes.RTS_IEC_RESULT Input pPort POINTER TO Port Port to close Output eLogCode ErrorCode
UDPDriver.CreatePort (METH) ¶ METHOD CreatePort : SysTypes.RTS_IEC_RESULT Create a new port InOut: Scope Name Type Comment Return CreatePort SysTypes.RTS_IEC_RESULT Input pPort POINTER TO Port Pointer of the port to be created Output eLogCode ErrorCode
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