The library SysLibFileAsync.libΒΆ

This library supports asynchronous file access from the IEC-application. If the target system supports the library, the following function blocks can be instanciated:

Note

Attention: If you are working with target system CoDeSys SP RTE, please regard, that file access operations can affect the realtime behaviour !

The function blocks provided by this library have the following common parameters:

- Input parameter bEnable : BOOL

- Output parameter bDone : BOOL

- Output parameter bBusy : BOOL

- Output parameter bError : BOOL

- Output parameter wErrorId : WORD

All these function blocks start an action on a rising edge at the input parameter bEnable. After an action has been started, all these function blocks have to be called until the output parameter bDone is set. Now the outputs are valid.

The common parameters listed above will not explicitly be mentioned in the following descriptions of the particular function blocks.

The row I/O shows I for inputs, O for outputs.