File.GetPos

Navigation:  Libraries > CT File Access > Function Blocks - File Services >

File.GetPos

Previous pageReturn to chapter overviewNext page

This function block returns the offset position currently set in the file. The file must be opened via File.Open.

Inputs:

xExecute

 

BOOL

 

hFile

CAA.HANDLE

File handle

 

Outputs:

xDone

 

BOOL

 

 

xBusy

BOOL

 

xError

BOOL

 

 

eError

FILE.ERROR

Error ID

uidPos

UDINT

Offset position; Number of bytes from the start of the file