CAA_File LibraryΒΆ
Library file name: CAA_File.lib
The IEC61131 library CAA_FILE provides Function Blocks for accessing directories and files. File access is only supported in binary mode.
Note
All function blocks of this library can only be executed in RUN mode of the Processor Module, not in simulation mode.
For usage of CAA_File Library, CPU firmware V2.1 or higher is needed.
CAA_File.lib requires the following additional libraries:
- CAA_ASYNCMAN.lib
- CAA_CALLBACK.lib
- CAA_TICK.lib
- CAA_TICKUTIL.lib
- CAA_TYPES.lib
Most input values of the Function Blocks are stored in local internal variables. This does not apply for the contents of memory structures where a pointer is passed on as an input e.g. pBuffer of FILE_Read or FILE_Write.
Note
Differing from Standard ABB Libraries CAA Function Blocks set EITHER xDone (i.e. Function Block finished without error) OR xError (i.e. Function Block finished with error)!
- Characteristics
- Function Blocks
- Error Messages
- FILE_ArchiveAddFile
- FILE_ArchiveClose
- FILE_ArchiveList
- FILE_ArchiveOpen
- FILE_ArchiveUnpack
- FILE_ArchiveUnpackFile
- FILE_Close
- FILE_Copy
- FILE_Delete
- FILE_DirClose
- FILE_DirCreate
- FILE_DirList
- FILE_DirOpen
- FILE_DirRemove
- FILE_Rename
- FILE_DiskFormat
- FILE_DiskStatus
- FILE_EOF
- FILE_Flush
- FILE_GetPos
- FILE_GetSize
- FILE_GetTime
- FILE_Move
- FILE_Open
- FILE_Read
- FILE_DirRename
- FILE_SetPos
- FILE_Write
- Data Types