File.Close

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

File.Close

Previous pageReturn to chapter overviewNext page

This function block terminates the file access, i.e. closes the file.

Inputs:

xExecute

 

BOOL


xAbort

BOOL

 

udiTimeOut

UDINT

 

hFile

CAA.HANDLE

File handle

pBuffer

CAA.PVOID

The address from where the data can be obtained, can be determined with the help of operator ADR.

szSize

CAA.SIZE

Number of bytes to be written (can be determined via operator SIZEOF)

 

Outputs:

xDone

 

BOOL

 

 

xBusy

BOOL

 

xError

BOOL

 

eError

FILE.ERROR

Error ID