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)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:03:32 companyName string 3S-Smart Software Solutions GmbH libraryFile SysFile.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysFile.clean.json version version 2.0.0.0 ProjectInformation LinkInSimulation bool True Released True LastModificationDateTime date 20.04.2021, 16:03:32 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description DocFormat reStructuredText Placeholder SysFile Project SysFile Title SysFile Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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)
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTypes Interfaces ¶ Library Identification ¶ Name: SysTypes Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes Interfaces, * (System)
SysFileAsync Library Documentation ¶ Company System Title SysFileAsync Version 3.5.19.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder SysFileAsync Description 1 ¶ Asynchronous file access Contents: ¶ DUT tSysFileClose (Struct) tSysFileCopy (Struct) tSysFileDelete (Struct) tSysFileDeleteByHandle (Struct) tSysFileEOF (Struct) tSysFileGetName (Struct) tSysFileGetPath (Struct) tSysFileGetPos (Struct) tSysFileGetSize (Struct) tSysFileGetSizeByHandle (Struct) tSysFileGetStatus (Struct) tSysFileGetTime (Struct) tSysFileOpen (Struct) tSysFileRead (Struct) tSysFileRename (Struct) tSysFileSetPos (Struct) tSysFileWrite (Struct) Documentation (GVL) General Information: USAGE of the FB: SysFileAsyncFB (FunctionBlock) SysFileCloseAsync (Method) SysFileCopyAsync (Method) SysFileDeleteAsync (Method) SysFileDeleteByHandleAsync (Method) SysFileEOFAsync (Method) SysFileGetNameAsync (Method) SysFileGetPathAsync (Method) SysFileGetPosAsync (Method) SysFileGetSizeAsync (Method) SysFileGetSizeByHandleAsync (Method) SysFileGetStatusAsync (Method) SysFileGetTimeAsync (Method) SysFileOpenAsync (Method) SysFileReadAsync (Method) SysFileRenameAsync (Method) SysFileSetPosAsync (Method) SysFileWriteAsync (Method) Indices and tables ¶ 1 Based on SysFileAsync.library, last modified 02.03.2023, 11:05:38. LibDoc 4.4.0.0-b.27 The content file SysFileAsync.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 02.03.2023, 11:05:40.
DUT ¶ tSysFileClose (Struct) tSysFileCopy (Struct) tSysFileDelete (Struct) tSysFileDeleteByHandle (Struct) tSysFileEOF (Struct) tSysFileGetName (Struct) tSysFileGetPath (Struct) tSysFileGetPos (Struct) tSysFileGetSize (Struct) tSysFileGetSizeByHandle (Struct) tSysFileGetStatus (Struct) tSysFileGetTime (Struct) tSysFileOpen (Struct) tSysFileRead (Struct) tSysFileRename (Struct) tSysFileSetPos (Struct) tSysFileWrite (Struct)
tSysFileClose (STRUCT) ¶ TYPE tSysFileClose : STRUCT Parameter to close a file asynchronously InOut: Name Type Comment pulOut POINTER TO RTS_IEC_RESULT [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)
tSysFileCopy (STRUCT) ¶ TYPE tSysFileCopy : STRUCT Parameter to copy a file asynchronously InOut: Name Type Comment szDestFile STRING(254) Destination file name. File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) and not with a Backslash (\)! szSrcFile STRING(254) Source file name. File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) and not with a Backslash (\)! pulCopied POINTER TO __XWORD [OUT] Number of bytes copied pulOut POINTER TO RTS_IEC_RESULT [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)
tSysFileDelete (STRUCT) ¶ TYPE tSysFileDelete : STRUCT Parameter to delete the file specified by name InOut: Name Type Comment szFile STRING(254) File name. File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) and not with a Backslash (\)! pulOut POINTER TO RTS_IEC_RESULT [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)
tSysFileDeleteByHandle (STRUCT) ¶ TYPE tSysFileDeleteByHandle : STRUCT Parameter to delete the file specified by handle InOut: Name Type Comment pulOut POINTER TO RTS_IEC_RESULT [OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)