
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
File managing
359
READ_PARAMETER_WORD
3410
Unit type = function block (FB)
Executeable from the CoDeSys version 2.3.6.1. Don't use it for older projects!
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
3518
READ_PARAMETER_WORD reads datasets of type WORD from the indicated text file.
Saving the data in the text file must be right-aligned, e.g.:
Value
To be saved as
1 00001
123 00123
12345 12345
Parameters of the inputs
3519
Parameter
Data type
Description
READ BOOL
edge FALSE
TRUE:
dataset is read (only for 1 cycle)
FALSE:
during further processing of the program
FILENAME
STRING(80)
path and name of the file,
e.g.:
'/home/project/para.txt'
FILEPOS
WORD
number (1...n) of the dataset (of the line) to be read