SysFileWrite (FUN) ¶ FUNCTION SysFileWrite : __XWORD Write number of bytes to the file. File must be opened with AM_WRITE or AM_APPEND . InOut: Scope Name Type Comment Return SysFileWrite __XWORD Number of bytes written to the file. 0=if failed Input hFile RTS_IEC_HANDLE Handle of the file pbyBuffer POINTER TO BYTE Pointer to buffer with data to write to file ulSize __XWORD Number of bytes to write in the file. Must be less or equal the buffer size! pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
SysDir23 Library Documentation ¶ Company System Title SysDir23 Version 3.5.13.0 Categories System|SysLibs23 Author 3S - Smart Software Solutions GmbH Description 1 ¶ Compatibility library for CoDeSys 2.3 projects, to get access to the directory structure of a filesystem on the target. Contents: ¶ Data types DIRECTORY_INFO (Struct) DIRFILETIME (Struct) Global Variables Globale_Variablen (GVL) POUs SysDirCreate (Function) SysDirOpen (Function) SysDirRead (Function) SysDirRemove (Function) SysDirRename (Function) extern30 DirInfo30 (Struct) SysDirClose30 (Function) SysDirCreate30 (Function) SysDirOpen30 (Function) SysDirRead30 (Function) SysDirRemove30 (Function) SysDirRename30 (Function) Indices and tables ¶ 1 Based on SysDir23.library, last modified 03.07.2018, 10:34:34. LibDoc 4.4.0.0-b.27 The content file SysDir23.clean.json was generated with CODESYS V3.5 SP13 on 03.07.2018, 10:34:34.
Data types ¶ DIRECTORY_INFO (Struct) DIRFILETIME (Struct)
DIRECTORY_INFO (STRUCT) ¶ TYPE DIRECTORY_INFO : STRUCT InOut: Name Type ftTime DIRFILETIME dwSize DWORD bDirectory BOOL
DIRFILETIME (STRUCT) ¶ TYPE DIRFILETIME : STRUCT InOut: Name Type dtCreation DT dtLastAccess DT dtLastModification DT
Global Variables ¶ Globale_Variablen (GVL)
Globale_Variablen (GVL) ¶ InOut: Scope Name Type Initial Constant SYSDIR_INVALID_HANDLE UDINT 16#FFFFFFFF
POUs ¶ SysDirCreate (Function) SysDirOpen (Function) SysDirRead (Function) SysDirRemove (Function) SysDirRename (Function)
SysDirCreate (FUN) ¶ FUNCTION SysDirCreate : BOOL InOut: Scope Name Type Return SysDirCreate BOOL Inout Const stName STRING
SysDirOpen (FUN) ¶ FUNCTION SysDirOpen : DWORD Function to open a directory for scanning the entries. Returns a handle to use in SysDirRead for further search scans. InOut: Scope Name Type Comment Return SysDirOpen DWORD Inout Const stDirectory STRING Name of directory to search in