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)
SysDirAsyncFB.SysDirCloseAsync (METH) ¶ METHOD SysDirCloseAsync : RTS_IEC_HANDLE This method asynchronously closes an open directory. For details, see Description. InOut: Scope Name Type Comment Return SysDirCloseAsync RTS_IEC_HANDLE Handle of AsyncJob Input pParam POINTER TO tSysDirClose pudState POINTER TO UDINT Current state of AsyncJob pResult POINTER TO RTS_IEC_RESULT Result of AsyncJob creation
SysDirAsyncFB.SysDirCreateAsync (METH) ¶ METHOD SysDirCreateAsync : RTS_IEC_HANDLE This method asynchronously creates a new directory with the specified name. For details, see Description. InOut: Scope Name Type Comment Return SysDirCreateAsync RTS_IEC_HANDLE Handle of AsyncJob Input pParam POINTER TO tSysDirCreate pudState POINTER TO UDINT Current state of AsyncJob pResult POINTER TO RTS_IEC_RESULT Result of AsyncJob creation
SysDirAsyncFB.SysDirDeleteAsync (METH) ¶ METHOD SysDirDeleteAsync : RTS_IEC_HANDLE This method asynchronously deletes a directory with the specified name. For details, see Description. InOut: Scope Name Type Comment Return SysDirDeleteAsync RTS_IEC_HANDLE Handle of AsyncJob Input pParam POINTER TO tSysDirDelete pudState POINTER TO UDINT Current state of AsyncJob pResult POINTER TO RTS_IEC_RESULT Result of AsyncJob creation
SysDirAsyncFB.SysDirGetCurrentAsync (METH) ¶ METHOD SysDirGetCurrentAsync : RTS_IEC_HANDLE This method asynchronously gets the current working directory for IEC file access. For details, see Description. InOut: Scope Name Type Comment Return SysDirGetCurrentAsync RTS_IEC_HANDLE Handle of AsyncJob Input pParam POINTER TO tSysDirGetCurrent pudState POINTER TO UDINT Current state of AsyncJob pResult POINTER TO RTS_IEC_RESULT Result of AsyncJob creation