11-5
Log File Specifications
Log files are stored in the SD Memory Card.
A log file is saved as a comma-delimited text file with a csv extension.
The header row of a log record is output in the first row. The contents of the log record are output in
the second and following rows.
Column Item Description
1st column Record index
(index)
Index number of the record. 0 to 2999
2nd column Sampling time
(time)
Sampling execution time. It is based on the time information configured in the
NX102 CPU Unit.
YYYY
-MM-DD hh:mm:ss.ms
3rd column
Condition is met
(condition)
When the trigger condition is met for the record, 1 is output.
* If the logging is stopped by pressing the service switch, there may be no re-
cord with 1 for this value.
4th column
and later
Sampling data
(variable name)
It lists all the sampling data corresponding to the number of logging target vari-
ables. All data is expressed in decimal notation.
BOOL/SAFEBOOL: 0 (FALSE), 1 (TRUE)
BYTE: 0 to 255
WORD/SAFEWORD: 0 to 65535
INT/SAFEINT
: -32768 to 32767
DINT/SAFEDINT: -2147483648 to 2147483647
After the final row of the record, the additional information (footer) shown below is output following a
blank row.
Row No. Item Description
1st footer
row
Trigger variable
(condition)
The trigger condition used for the logging is output.
2nd footer
row
Reason for logging
stopped
(StopT
ype)
The reason for the stopped logging is provided.
condition: The logging stopped because the trigger condition specified in
the logging setting was met.
other: The logging stopped due to any reason other than the trigger con-
dition.
This is a log file example:
(condition)
Logging completion condition: V
arX changes to F
ALSE
Logging target: Var1(SAFEBOOL), Var2(SAFEBOOL), Var3(WORD)
Reason for logging stopped: The trigger condition is met. (VarX changes to FALSE.) The condition
was met when No2205 was read in the sampling.
11 Safety Data Logging
11 - 8
NX-series Safety Control Unit User's Manual (Z930)