SetPos (FB)¶
FUNCTION_BLOCK SetPos EXTENDS CBM.ETrig
This function block modifies the current offset for a file access. The file must be opened via FILE.Open.
- InOut:
Scope
Name
Type
Comment
Input
hFileCAA.HANDLEFile handle
udiPos__UXINTOffset position, Number of bytes from the start of the file
Output
eErrorLocal library error ID (0: no error; 5101: time out)