7 System-defined Variables That Are Related to the Built-in EtherCAT Port
7-10
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
* 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.
Variable name _EC_SlavErrTbl
Meaning Slave Error Table Global/local Global
Function This system-defined variable gives the error status for each EtherCAT slave.
The error status is given for each slave in the actual system configuration.
This variable array indicates slaves in which there are errors. Status is provided for each EtherCAT slave node
address (1 to 512).
*
Refer to Meanings of Error Status Bits provided above for the meanings of the error status bits.
Data type
Array [1..512] OF WORD
*
Range of values 16#0000 to 16#00F0
R/W access R Retained Not retained. Network Publish Published.
Usage in user program Possible. Related instruc-
tions
Get EtherCAT Error Status
• GetECError
Reset EtherCAT Error
• ResetECError
Variable name _EC_MacAdrErr
Meaning MAC Address Error Global/local Global
Function TRUE if there is an illegal MAC address.
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
Reset EtherCAT Error
• ResetECError
Variable name _EC_LanHwErr
Meaning Communications Controller Error Global/local Global
Function TRUE if there is a communications controller hardware error.
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
Reset EtherCAT Error
• ResetECError
Variable name _EC_LinkOffErr
Meaning Link OFF Error Global/local Global
Function TRUE if the communications controller link is not established.
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
Reset EtherCAT Error
• ResetECError
Variable name _EC_NetCfgErr
Meaning Network Configuration Information Error Global/local Global
Function TRUE if there is illegal network configuration information.
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
Reset EtherCAT Error
• ResetECError