9-21
9 Troubleshooting
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
9-2 Troubleshooting
9
9-2-4 Diagnostic and Statistical Information
Precautions for Correct UsePrecautions for Correct Use
• To retain the log file saved in the SD Memory Card, rename the log file or save it in another
memory before you execute the diagnosis/statistics log. Once the diagnosis/statistics log is
started, the log file in the SD Memory Card is deleted and a new log file is created.
• During the diagnosis/statistics log, you cannot re-execute the diagnosis/statistics log. Check
that _EC_StatisticsLogBusy is FALSE before you execute the diagnosis/statistics log.
• Even if you change the value of _EC_StatisticsLogCycleSec during the diagnosis/statistics
log, the change is not reflected to the saving cycle of the diagnostic and statistical information.
The changed saving cycle is used during the next execution of the diagnosis/statistics log. To
use the changed saving cycle, you need to terminate the diagnosis/statistics log that is cur-
rently executed.
• Access _EC_StatisticsLogErr after _EC_StatisticsLogBusy changes from TRUE to FALSE.
The value of _EC_StatisticsLogErr varies while _EC_StatisticsLogBusy is TRUE.
The following are the examples of methods to retain the log file saved in the SD Memory Card.
• Use the SD Memory Card instruction such as FileRename or FileCopy to change the file
name.
• Use the FTP server function for the built-in EtherNet/IP to take the log file out.
• Eject the SD Memory Card and save the file in another medium.
Log file
Event logs
_EC_StatisticsLogErr
_EC_StatisticsLogEnable
_EC_StatisticsLogBusy
_EC_StatisticsLogCycle
EtherCAT Diagnosis/Statistics
Log Started
EtherCAT
Diagnosis/Statistics
Log Ended
Write Cycle = 30
Write Cycle
= 30
Write Cycle
= 30
Write Cycle
= 30
Acquired diagnostic/statistical
information is saved in a log file.
The previous log file
is deleted and a
new file is created.
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE