7 System-defined Variables That Are Related to the Built-in EtherCAT Port
7-4
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
*1 For NX102 and NX1P2 CPU Units and NJ-series CPU Units, the node address is 1 to 192 and the data type is Array
[1..192] OF WORD.
*2 For NJ-series CPU Units, the data type is Array [1..192] OF BOOL.
_EC_SlavAdrDupErr Slave Node
Address
Duplicated Error
TRUE if the same node address is set for
more than one slave.
BOOL TRUE or
FALSE
page 7-11
_EC_SlavInitErr Slave
Initialization Error
TRUE if there is an error in an initialization
command addressed to a slave.
BOOL TRUE or
FALSE
page 7-12
_EC_SlavAppErr Slave
Application Error
TRUE if there is an error in the slave’s appli-
cation status register.
BOOL TRUE or
FALSE
page 7-12
_EC_MsgErr EtherCAT
Message Error
TRUE when a message is sent to a slave that
does not support messages or when there is
an error in the format of the response to a
message that was sent to a slave.
BOOL TRUE or
FALSE
page 7-12
_EC_SlavEmergErr Emergency Mes-
sage Detected
TRUE if the master detects an emergency
message that was sent by a slave.
BOOL TRUE or
FALSE
page 7-12
_EC_IndataInvalidErr Input Process
Data Invalid Error
TRUE if the Input Data Invalid state continued
for the following period because the EtherCAT
master could not perform process data com-
munications normally when it was in the Oper-
ational state.
• When the task period is 10 ms or shorter:
100 ms
• When the task period is longer than 10 ms:
10 periods o the task
BOOL TRUE or
FALSE
page 7-12
_EC_CommErrTbl Communications
Error Slave Table
Slaves are given in the table in the order of
slave node addresses. The corresponding
slave element is TRUE if the master detected
an error for the slave.
ARRAY
[1..512]
OF BOOL
*2
TRUE or
FALSE
page 7-13
_EC_CycleExceeded EtherCAT Com-
munications
Cycle Exceeded
TRUE if the CPU unit cannot establish com-
munications within the set communications
period at startup.
Note You can use this system-defined variable
only for NX-series CPU Units.
BOOL TRUE or
FALSE
page 7-13
Variable name Meaning Function Data type
Range of
values
Reference