DUT ¶ tSysDirClose (Struct) tSysDirCreate (Struct) tSysDirDelete (Struct) tSysDirGetCurrent (Struct) tSysDirOpen (Struct) tSysDirRead (Struct) tSysDirRename (Struct) tSysDirSetCurrent (Struct)
tSysDirClose (STRUCT) ¶ TYPE tSysDirClose : STRUCT InOut: Name Type Comment pulOut POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
tSysDirCreate (STRUCT) ¶ TYPE tSysDirCreate : STRUCT InOut: Name Type Comment szDir STRING(254) Name of the directory pulOut POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
tSysDirDelete (STRUCT) ¶ TYPE tSysDirDelete : STRUCT InOut: Name Type Comment szDir STRING(254) Name of directory pulOut POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
tSysDirGetCurrent (STRUCT) ¶ TYPE tSysDirGetCurrent : STRUCT InOut: Name Type Comment szDir STRING(254) Name of current directory diMaxDirLen DINT Max lenght of directory buffer (0..80) pulOut POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
tSysDirOpen (STRUCT) ¶ TYPE tSysDirOpen : STRUCT InOut: Name Type Comment szDir STRING(254) Directory entry as string Note Empty string (‘’) is the request for the current working directory. szDirEntry STRING(254) Directory entry as string diMaxDirEntry DINT Max number of bytes to write in szDirEntry (0..80) pDirInfo POINTER TO DirInfo Directory information Note Can be 0 (so only directory name is provided in szDirEntry) pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library) pulOut POINTER TO RTS_IEC_HANDLE Handle
tSysDirRead (STRUCT) ¶ TYPE tSysDirRead : STRUCT InOut: Name Type Comment szDirEntry STRING(254) Directory entry as string diMaxDirEntry DINT Max number of bytes to write in szDirEntry (0..80) pDirInfo POINTER TO DirInfo Directory information Note Can be 0 (so only directory name is provided in szDirEntry) pulOut POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
tSysDirRename (STRUCT) ¶ TYPE tSysDirRename : STRUCT InOut: Name Type Comment szOldDirName STRING(254) Name of existing directory szNewDirName STRING(254) Name of new directory pulOut POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
tSysDirSetCurrent (STRUCT) ¶ TYPE tSysDirSetCurrent : STRUCT InOut: Name Type Comment szDir STRING(254) Name of current directory pulOut POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
SysDirAsyncFB (FB) ¶ FUNCTION_BLOCK SysDirAsyncFB EXTENDS AsyncBaseClass Methods: SysDirCloseAsync SysDirCreateAsync SysDirDeleteAsync SysDirGetCurrentAsync SysDirOpenAsync SysDirReadAsync SysDirRenameAsync SysDirSetCurrentAsync SysDirCloseAsyncWrapper SysDirCreateAsyncWrapper SysDirDeleteAsyncWrapper SysDirGetCurrentAsyncWrapper SysDirOpenAsyncWrapper SysDirReadAsyncWrapper SysDirRenameAsyncWrapper SysDirSetCurrentAsyncWrapper Structure: SysDirCloseAsync (Method) SysDirCreateAsync (Method) SysDirDeleteAsync (Method) SysDirGetCurrentAsync (Method) SysDirOpenAsync (Method) SysDirReadAsync (Method) SysDirRenameAsync (Method) SysDirSetCurrentAsync (Method) Wrapper SysDirCloseAsyncWrapper (Method) SysDirCreateAsyncWrapper (Method) SysDirDeleteAsyncWrapper (Method) SysDirGetCurrentAsyncWrapper (Method) SysDirOpenAsyncWrapper (Method) SysDirReadAsyncWrapper (Method) SysDirRenameAsyncWrapper (Method) SysDirSetCurrentAsyncWrapper (Method)