Output DescriptionΒΆ
xDone
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
If Output xDone changes to TRUE, the Function Block has finished its processing without an error and all other outputs become valid.
xBusy
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
Output xBusy signals if a Function Block has been triggered and is TRUE as long it is processing.
xError
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
Output xError is set if the Function Block finished and an error occurred during the Function Block processing. If xError is TRUE the error code can be read from output eError.
eError
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| FILE_ERROR | - | - | - |
Output eError is set if an error occurred during the Function Block processing. For error codes, see Error Messages of the CAA_File Function Blocks Error Messages.
deDirEntry
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| FILE_DIR_ENTRY | - | - | - |
Output deDirEntry is filled with the information on the read directory or file entry:
| FILE_DIR_ENTRY | ||
|---|---|---|
| Element | Type | Description |
| sEntry | CAA_FILENAME | Name of the directory or file |
| szSize | CAA_SIZE | File size |
| xDirectory | BOOL | Directory or file: TRUE => Directory FALSE => File |
| xExclusive | BOOL | Access mode on file: TRUE => exclusive access on the file FALSE => multiple access on this file possible |
| dtLastModification | DT | Date and time of last modification |