ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
File managing
357
Parameters of the inputs
3516
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
unit is executed
FALSE:
unit is not executed
> POU inputs and outputs are not active
WRITE_EVENT BOOL
edge FALSE
TRUE:
dataset is written (only for 1 cycle)
FALSE:
during further processing of the program
FILENAME
STRING(80)
path and name of the CSV file,
e.g.:
'/home/project/data.csv'
DATA
ARRAY[1..8] OF BYTE
dataset of 8 bytes
RINGMODE BOOL
TRUE:
ring
mode
FALSE: linear
mode
MAX (POS.)
DWORD
max. number of the dataset (of the line) to be written
RESET BOOL
delete
file and dataset pointer
CFG_FILENAME
STRING(80)
for ring mode: contains the last dataset pointer,
path and name of the pointer file,
e.g.:
'/home/project/pointer.csv'
Parameters of the outputs
3517
Parameter
Data type
Description
FILESIZE
DINT
current file size [bytes]
FILESIZE_OLD
DINT
previous file size [bytes] (informative)
TEXT_WRITE STRING(55)
written
dataset
DATASET_POINTER DINT number of the current dataset
RING_CNT
DWORD
counter for RINGMODE
MODE
STRING(80)
current operating mode:
- 'ring'
- 'linear'