ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
File managing
378
READBUFFER_TO_STRING
3452
Unit type = function block (FB)
Contained in the library:
ifm_PDM_FILE_Vxxyyzz.LIB
Available for the following devices:
- PDM360: CR1050, CR1051, CR1060
- PDM360compact: CR1052, CR1053, CR1055, CR1056
- PDM360NG: CR108n, CR9042
Symbol in CoDeSys:
Description
3554
READBUFFER_TO_STRING is a help function for other units.
The FB combines the contents of a file (max. 500 bytes) into a number of strings.
Parameters of the inputs
3555
Parameter
Data type
Description
BYTEARRAY
ARRAY[1..500] OF BYTE
matrix of 1...500 bytes as read contents of a file (read buffer)
Parameters of the outputs
3556
Parameter
Data type
Description
TEXT_LINE
ARRAY[1..25] OF STRING(80) matrix of read text lines
NO
BYTE
number of found text lines
FORMAT_ERROR
BOOL
TRUE:
read data format not ok
FALSE:
read data format ok