Contec CONPROSYS nano CPSN-PCB271-S1-041 Reference Manual page 109

Table of Contents

Advertisement

 CFA_FileClose
Operating functions
This closes a file.
Input value
Name
hFile
Output value
Name
eError
 CFA_FileCloseAll
Operating functions
This closes all files that are open.
Input value
None
Output value
Name
eError
 CFA_FileRead
Operating functions
This reads data from a file.
Input value
Name
hFile
pBuffer
szBuffer
Output value
Name
eError
szSize
Programing with CODESYS
CPSN-PCB271-S1-041 Reference Manual (Software)
Data type
DWORD
This specifies a handle number of the file.
Data type
ERROR
This indicates an error code.
Data type
ERROR
This indicates an error code.
Data type
DWORD
This specifies a handle number of the file.
POINTOR TO
This specifies an address of the area to store data that are read.
BYTE
WORD
This specifies a size of the area to store data.
Data type
ERROR
This indicates an error code.
WORD
This indicates the number of data that are read.
— 109 —
Meaning
Meaning
Meaning
Meaning
Meaning

Advertisement

Table of Contents
loading

Table of Contents