This function block of the ⇘ CAA_File.library returns the offset position currently set in the file. The file must be opened via ⇘ FILE.Open.
Output:
xDone |
BOOL |
see: ⇘ “CAA 指南” |
xBusy |
BOOL |
see: ⇘ “CAA 指南” |
xError |
BOOL |
see: ⇘ “CAA 指南” |
eError |
FILE.ERROR |
Error ID |
udiPos |
UDINT |
Offset position; Number of bytes from the start of the file |