File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:08:35 companyName string 3S-Smart Software Solutions GmbH libraryFile SysShm_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysShm_Itfs.clean.json version version 2.0.0.0 ProjectInformation IsInterfaceLibrary bool True Released True SourceLibrary False LastModificationDateTime date 20.04.2021, 16:08:35 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Patch 3 DefaultNamespace Description See: Description DocFormat reStructuredText Project SysShm_Itfs Title SysShm Interfaces Version version 3.5.17.0
SysSocket Implementation Library Documentation ¶ Company System Title SysSocket Implementation Version 3.5.19.0 Categories System|SysLibs Author CODESYS Development GmbH Placeholder SysSocket Implementation Description 1 ¶ Library, to get access to the socket interface for TCP/IP communication on the target. Contents: ¶ SysSockAccept (Function) SysSockBind (Function) SysSockClose (Function) SysSockCloseUdp (Function) SysSockConnect (Function) SysSockCreate (Function) SysSockCreateUdp (Function) SysSockFdInit (Function) SysSockFdIsset (Function) SysSockFdZero (Function) SysSockGetFirstAdapterInfo (Function) SysSockGetHostByName (Function) SysSockGetHostName (Function) SysSockGetNextAdapterInfo (Function) SysSockGetOSHandle (Function) SysSockGetOption (Function) SysSockGetPeerName (Function) SysSockGetRecvSizeUdp (Function) SysSockGetSockName (Function) SysSockGetSubnetMask (Function) SysSockHtonl (Function) SysSockHtons (Function) SysSockInetAddr (Function) SysSockInetNtoa (Function) SysSockIoctl (Function) SysSockListen (Function) SysSockNtohl (Function) SysSockNtohs (Function) SysSockPing (Function) SysSockRecv (Function) SysSockRecvFrom (Function) SysSockRecvFromUdp (Function) SysSockRecvFromUdp2 (Function) SysSockRecvMsg (Function) SysSockSelect (Function) SysSockSend (Function) SysSockSendTo (Function) SysSockSendToUdp (Function) SysSockSetDefaultGateway (Function) SysSockSetIPAddress (Function) SysSockSetIpAddressAndNetMask (Function) SysSockSetOption (Function) SysSockSetSubnetMask (Function) SysSockShutdown (Function) Indices and tables ¶ 1 Based on SysSocket Implementation.library, last modified 02.03.2023, 11:06:30. LibDoc 4.4.0.0-b.27 The content file SysSocket Implementation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 11:06:32.
SysSockAccept (FUN) ¶ FUNCTION SysSockAccept : RTS_IEC_HANDLE Accept the next incoming TCP connection. This functions calls the function accept of the operating system, which can accept a request to connect to a socket. A new descriptor (handle) for the socket is returned. The original socket is reset to the “listening” state (see SysSockListen). InOut: Scope Name Type Comment Return SysSockAccept RTS_IEC_HANDLE Handle to the new accepted socket or RTS_INVALID_HANDLE if failed. Input hSocket RTS_IEC_HANDLE Handle to the socket pSockAddr POINTER TO SOCKADDRESS Socket address of the client, who is connected pdiSockAddrSize POINTER TO DINT Pointer to size of socket address structure pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
extern30 ¶ GVL (GVL) SysSharedMemoryClose (Function) SysSharedMemoryOpen (Function) SysSharedMemoryRead (Function) SysSharedMemoryWrite (Function)
GVL (GVL) ¶ InOut: Scope Name Type Initial Comment Constant SYSSHM_INVALID_HANDLE UDINT 16#FFFFFFFF -1 is not valid for a unsigned int in IEC
SysSharedMemoryClose (FUN) ¶ FUNCTION SysSharedMemoryClose : UDINT InOut: Scope Name Type Return SysSharedMemoryClose UDINT Input hShm UDINT
SysSharedMemoryOpen (FUN) ¶ FUNCTION SysSharedMemoryOpen : UDINT InOut: Scope Name Type Return SysSharedMemoryOpen UDINT Input pszName REFERENCE TO STRING ulPhysicalAddress UDINT pulSize POINTER TO UDINT pResult POINTER TO UDINT
SysSharedMemoryRead (FUN) ¶ FUNCTION SysSharedMemoryRead : UDINT InOut: Scope Name Type Return SysSharedMemoryRead UDINT Input hShm UDINT ulOffset UDINT pbyData POINTER TO BYTE ulSize UDINT pResult POINTER TO UDINT
SysSharedMemoryWrite (FUN) ¶ FUNCTION SysSharedMemoryWrite : UDINT InOut: Scope Name Type Return SysSharedMemoryWrite UDINT Input hShm UDINT ulOffset UDINT pbyData POINTER TO BYTE ulSize UDINT pResult POINTER TO UDINT
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 03.07.2018, 10:35:18 companyName string 3S-Smart Software Solutions GmbH libraryFile SysShm23.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP13 contentFile SysShm23.clean.json version version 2.0.0.0 ProjectInformation Released bool True Support32BitOnly True LastModificationDateTime date 03.07.2018, 10:35:17 LibraryCategories library-category-list System|SysLibs23 Author string 3S - Smart Software Solutions GmbH Company System Description See: Description Project SysShm23 Title SysShm23 Version version 3.5.13.0