SysFileDelete (FUN) ¶ FUNCTION SysFileDelete : BOOL InOut: Scope Name Type Return SysFileDelete BOOL Inout Const FileName STRING
SysFileEOF (FUN) ¶ FUNCTION SysFileEOF : BOOL InOut: Scope Name Type Return SysFileEOF BOOL Input File DWORD
SysFileGetPos (FUN) ¶ FUNCTION SysFileGetPos : DINT InOut: Scope Name Type Return SysFileGetPos DINT Input File DWORD
SysFileGetSize (FUN) ¶ FUNCTION SysFileGetSize : DINT InOut: Scope Name Type Return SysFileGetSize DINT Inout Const FileName STRING
SysFileGetTime (FUN) ¶ FUNCTION SysFileGetTime : BOOL InOut: Scope Name Type Return SysFileGetTime BOOL Inout Const FileName STRING Input ftFileTime POINTER TO FILETIME
SysFileOpen (FUN) ¶ FUNCTION SysFileOpen : DWORD InOut: Scope Name Type Comment Return SysFileOpen DWORD Inout Const FileName STRING Mode STRING(20) Use ‘w’ (write), ‘r’ (read) or ‘rw’ (read and write)
SysFileRead (FUN) ¶ FUNCTION SysFileRead : DWORD InOut: Scope Name Type Comment Return SysFileRead DWORD Input File DWORD Buffer DWORD Address (ADR) to Buffer Size DWORD
SysSockListen (FUN) ¶ FUNCTION SysSockListen : RTS_IEC_RESULT Listen on a TCP server socket for new connection. InOut: Scope Name Type Comment Return SysSockListen RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input hSocket RTS_IEC_HANDLE Handle to the socket diMaxConnections DINT Maximum number of connections allowed
SysSockNtohl (FUN) ¶ FUNCTION SysSockNtohl : UDINT Convert a UDINT value from ethernet byte order into host format. InOut: Scope Name Type Comment Return SysSockNtohl UDINT Converted UDINT value Input ulNet UDINT Ethernet value
SysSockNtohs (FUN) ¶ FUNCTION SysSockNtohs : WORD Convert a WORD value from ethernet byte order into host format. InOut: Scope Name Type Comment Return SysSockNtohs WORD Converted WORD value Input usNet WORD Ethernet value