File.SetPos

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

File.SetPos

Previous pageReturn to chapter overviewNext page

This function block modifies the current offset for a file access. The file must be opened via File.Open.

Inputs:

xExecute

 

BOOL

 

hFile

CAA.HANDLE

File handle

uidPos

UDINT

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

 

Outputs:

xDone

 

BOOL

 

 

xBusy

BOOL

 

xError

BOOL

 

 

eError

FILE.ERROR

Error ID