![IFM PDM360NG Series System Manual Download Page 367](http://html1.mh-extra.com/html/ifm/pdm360ng-series/pdm360ng-series_system-manual_3875026367.webp)
ifm
System Manual
ecomat
mobile
PDM360NG (CR1080, CR1081, CR9042) Target V01
2011-07-28
Managing the data
File managing
367
File structure
Pointer
File structure in linear mode
1
Timestamp, alarm code (byte 0), alarm code (byte 1), alarm state,..., alarm value (byte 3)
2
Timestamp, alarm code (byte 0), alarm code (byte 1), alarm state,..., alarm value (byte 3)
3
Timestamp, alarm code (byte 0), alarm code (byte 1), alarm state,..., alarm value (byte 3)
: :
n
Timestamp, alarm code (byte 0), alarm code (byte 1), alarm state,..., alarm value (byte 3)
Parameters of the inputs
3531
Parameter
Data type
Description
ENABLE
BOOL
TRUE:
unit is executed
FALSE:
unit is not executed
> POU inputs and outputs are not active
FILENAME
STRING(80)
path and name of the CSV file,
e.g.:
'/home/project/alarm.csv'
FILE_POS
WORD
number of dataset to be read in the alarm history
READ BOOL
edge FALSE
TRUE:
dataset is read (only for 1 cycle)
FALSE:
during further processing of the program
Parameters of the outputs
3532
Parameter
Data type
Description
EOF
BOOL
TRUE:
file end reached
FALSE:
file end not yet reached
HISTORY_csv_READ
STRING(80)
dataset red from the file consisting of:
time stamp, alarm code, LSB+MSB, alarm
state ON/OFF (1/0), more information,
history value LSB+MSB
TIMESTAMP
STRING(80)
time stamp of read dataset
History_Alarmcode WORD
alarm code, can be linked, for example, to a text matrix in the
application
History_Alarmstate BOOL
TRUE:
alarm state = ON
FALSE:
alarm state = OFF
History_Value DWORD
History value: when was the alarm activated and when deactivated?
History_Alarm_Add
BYTE
More information: This is the actual value at the moment of the alarm
(e.g. temperature) or the value at the moment when the alarm was
deactivated again.