
—
Programing with CODESYS
—
CPSN-PCB271-S1-041 Reference Manual (Software)
—
111
—
CFA_FileGetLine
Operating functions
This reads one line in strings from a file.
The read carriage return will be deleted.
Input value
Name
Data type
Meaning
hFile
DWORD
This specifies a handle number of the file.
pszString
POINTOR TO
STRING
This specifies an address of the area to store data that are read.
szSring
WORD
This specifies a size of the area to store strings.
szString - 1 is the number of maximum characters.
Specify a sufficient size to include carriage return.
Output value
Name
Data type
Meaning
eError
This indicates an error code.
szSize
WORD
This indicates the string size that are read.
CFA_FilePutLine
Operating functions
This writes a string to a file.
A carriage return will be automatically added at the end of the string.
Input value
Name
Data type
Meaning
hFile
DWORD
This specifies a handle number of the file.
pszString
POINTOR TO
STRING
This specifies an address to write a string.
Output value
Name
Data type
Meaning
eError
This indicates an error code.
Содержание CONPROSYS nano CPSN-PCB271-S1-041
Страница 21: ...21 CONPROSYS nano WEB Setting This section describes the product system and functions...
Страница 49: ...49 CODESYS Installation This section describes the CODESYS installation procedure...
Страница 55: ...55 Basic Programming This section describes basic procedure to operate this product with CODESYS...
Страница 76: ...76 Programing with CODESYS This section describes the CODESYS programming procedure per function...
Страница 118: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 118 5 END_CASE...
Страница 122: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 122...
Страница 133: ...133 Maintenance This section describes how to perform maintenance on the product...
Страница 140: ...140 Appendix This section describes additional information of specification and the product...