7-17
7 System-defined Variables That Are Related to the Built-in EtherCAT Port
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
7-1 System-defined Variables That Are Related to the Built-in EtherCAT Port
7
7-1-3 EtherCAT Master Function Module, Category Name: _EC
* This system-defined variable was added for unit version 1.11 of the CPU Unit.
* This system-defined variable was added for unit version 1.11 of the CPU Unit.
* This system-defined variable was added for unit version 1.11 of the CPU Unit.
Variable name
_EC_StatisticsLogCycleSec
*
Meaning Diagnosis/Statistics Log Cycle Global/local Global
Function Specifies the interval to write the diagnostic and statistical information of the diagnosis/statistics log in units of
seconds.
When 0 is specified, the diagnostic and statistical information is written only once when the diagnosis/statistics
log is ended.
Note The write interval does not change even if you change the value of this system-defined variable while the
diagnosis/statistics log operation is in progress.
Data type UINT Range of values 0, or 30 to 1800
R/W access R/W Retained Not retained. Network Publish Published.
Usage in user program Possible. Related instruc-
tions
---
Variable name
_EC_StatisticsLogBusy
*
Meaning Diagnosis/Statistics Log Busy Global/local Global
Function TRUE while the diagnosis/statistics log operation is in progress.
Data type BOOL Range of values TRUE or FALSE
R/W access R Retained Not retained. Network Publish Published.
Usage in user program
Possible.
Related instruc-
tions
---
Variable name
_EC_StatisticsLogErr
*
Meaning Diagnosis/Statistics Log Error Global/local Global
Function TRUE when the diagnosis/statistics log failed to start or it is impossible to write into the log.
The value of this flag is determined when _EC_StatisticsLogBusy (Diagnosis/Statistics Log Busy) changes to
FALSE after the diagnosis/statistics log operation is started.
The error end is caused by the following.
• Another records cannot be added in the log file because the capacity of the SD Memory Card is fully used.
• The SD Memory Card is write protected.
• There is no SD Memory Card.
• The function cannot be started because the value specified for _EC_StatisticsLogCycleSec (Diagnosis/Statis-
tics Log Cycle) is invalid.
Data type BOOL Range of values TRUE or FALSE
R/W access R Retained Not retained. Network Publish Published.
Usage in user program Possible. Related instruc-
tions
---