SysSockCloseUdp (FUN) ¶ FUNCTION SysSockCloseUdp : RTS_IEC_RESULT Close a UDP socket. Handle must be retrieved by SysSockCreateUdp ! This function calls the function closesocket of the operating system to close a socket working with the user datagram protocol UDP. InOut: Scope Name Type Comment Return SysSockCloseUdp RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input hSocketUdp RTS_IEC_HANDLE Handle to the UDP socket. Must be opened with SysSockCreateUdp !
SysSockConnect (FUN) ¶ FUNCTION SysSockConnect : RTS_IEC_RESULT Connect as a client to a TCP server. InOut: Scope Name Type Comment Return SysSockConnect RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input hSocket RTS_IEC_HANDLE Handle to the socket pSockAddr POINTER TO SOCKADDRESS Socket address of the server to connect to diSockAddrSize DINT Size of socket address structure
SysSockCreate (FUN) ¶ FUNCTION SysSockCreate : RTS_IEC_HANDLE Create a new socket and return the socket handle. InOut: Scope Name Type Comment Return SysSockCreate RTS_IEC_HANDLE Handle to the new socket. The return is a descriptor (handle) of the new socket, which is required as input parameter by other library functions like SysSockBind , SysSockConnect etc. Input iAddressFamily INT Socket address family diType DINT Socket type diProtocol DINT Socket protocol pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
SysSockCreateUdp (FUN) ¶ FUNCTION SysSockCreateUdp : RTS_IEC_HANDLE Higher level function, to create a complete UDP socket. The socket will make use of the user data protocol UDP. InOut: Scope Name Type Comment Return SysSockCreateUdp RTS_IEC_HANDLE Handle to the UDP socket Input diSendPort DINT Port number to send (host byte order) diRecvPort DINT Port number to receive (host byte order) pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
SysSockFdInit (FUN) ¶ FUNCTION SysSockFdInit : RTS_IEC_RESULT Add a socket to a socket set. InOut: Scope Name Type Comment Return SysSockFdInit RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input hSocket RTS_IEC_HANDLE Socket to add pfs REFERENCE TO SOCKET_FD_SET Socket Set
SysSocket2 Library Documentation ¶ Company System Title SysSocket2 Version 3.5.19.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder SysSocket2 Description 1 ¶ Library, to get access to the socket interface for TCP/IP communication on the target. Indices and tables ¶ 1 Based on SysSocket2.library, last modified 02.03.2023, 11:07:04. LibDoc 4.4.0.0-b.27 The content file SysSocket2.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 11:07:06.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 02.03.2023, 11:07:06 companyName string 3S-Smart Software Solutions GmbH libraryFile SysSocket2.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysSocket2.clean.json version version 2.0.0.0 ProjectInformation IsCommonLibraryContainer bool True Released True LastModificationDateTime date 02.03.2023, 11:07:04 LibraryCategories library-category-list System|SysLibs Author string `` 3S - Smart Software Solutions GmbH `` Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Patch 2 Description See: Description DocFormat reStructuredText Placeholder SysSocket2 Project SysSocket2 Title SysSocket2 Version version 3.5.19.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysSocket ¶ Library Identification ¶ Placeholder: SysSocket Default Resolution: SysSocket, * (System) Namespace: SysSocket Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysSocket SysSocket2 Implementation ¶ Library Identification ¶ Placeholder: SysSocket2 Implementation Default Resolution: SysSocket2 Implementation, * (System) Namespace: SysSocket2_Implementation Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: SysSocket2 Implementation SysSocket2 Interfaces ¶ Library Identification ¶ Name: SysSocket2 Interfaces Version: newest Company: System Namespace: SysSocket2_Interfaces Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: SysSocket2 Interfaces, * (System)
SysTimeCore Library Documentation ¶ Company System Title SysTimeCore Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder SysTimeCore Description 1 ¶ Library provides access to high resolution time routines for time calculations. Contents: ¶ SYSTIME (Alias) SysTimeGetMs (Function) SysTimeGetNs (Function) SysTimeGetUs (Function) Indices and tables ¶ 1 Based on SysTimeCore.library, last modified 20.04.2021, 16:11:44. LibDoc 4.4.0.0-b.27 The content file SysTimeCore.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:11:44.
SYSTIME (ALIAS) ¶ TYPE SYSTIME : ULINT High resolution time datatype to hold ticks