FUNCTION_BLOCK GetPos EXTENDS CBM.ETrig
This function block returns the offset position currently set in the file. The file must be opened via FILE.Open.
InOut:
|
Scope
|
Name
|
Type
|
Comment
|
Input
|
hFile
|
CAA.HANDLE
|
File handle
|
Output
|
eError
|
ERROR
|
Local library error ID (0: no error; 5101: time out)
|
udiPos
|
__UXINT
|
Offset position; Number of bytes from the start of the file
|
|