7 System-defined Variables Related to the Built-in EtherCAT Port
Variable name
_EC_StatisticsLog-
Diagnosis/Statistics
CycleSec
Log Cycle
(Ver.1.11)
_EC_Statistic-
Diagnosis/Statistics
sLogBusy
Log Busy
(Ver.1.11)
_EC_StatisticsLogErr
Diagnosis/Statistics
(Ver.1.11)
Log Error
Meanings of Error Status Bits
The meanings of the individual bits in the following error status are the same.
• _ErrSta (Controller Error Status)
• _PLC_ErrSta (PLC Function Module Error Status)
• _CJB_ErrSta (I/O Bus Error Status)
• _CJB_MstrErrSta (I/O Bus Master Error Status)
• _CJB_UnitErrSta (I/O Bus Unit Error Status)
• _NXB_ErrSta (NX Bus Function Module Error Status)
• _NXB_MstrErrSta (NX Bus Function Module Master Error Status)
• _NXB_UnitErrStaTbl (NX Bus Function Module Unit Error Status)
• _MC_ErrSta (MC Error Status)
• _MC_ComErrSta (MC Common Error Status)
• _MC_AX_ErrSta (Axis Error Status)
• _MC_GRP_ErrSta (Axes Group Error Status)
• _EC_ErrSta (Built-in EtherCAT Error)
• _EC_PortErr (Communications Port Error)
• _EC_MstrErr (Master Error)
7-8
Meaning
Specifies the interval to write the diag-
nostic and statistical information of the di-
agnosis/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.
TRUE while the diagnosis/statistics log
operation is in progress.
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-protect-
ed.
•
There is no SD Memory Card.
•
The function cannot be started be-
cause the value specified for
_EC_StatisticsLogCycleSec (Diagno-
sis/Statistics Log Cycle) is invalid.
Function
Data type
UINT
BOOL
BOOL
NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (W505)
Range of
Reference
values
0, or 30 to
page 7-18
1800
TRUE or
page 7-19
FALSE
TRUE or
page 7-19
FALSE