A-67
Appendices
NJ-series CPU Unit Software User’s Manual (W501)
A-4 Specifications for Individual System-defined Variables
App
A-4-5 EtherCAT Master Function Module, Category Name: _EC
Variable name _EC_PortErr
Meaning Communications Port Error Global/local Global
Function This system-defined variable provides the collective status of errors in the communications ports for the EtherCAT
master.
Refer to A-3-7 Meanings of Error Status Bits for the meanings of the error status bits.
Data type 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 Controller Error
• ResetECError
Variable name _EC_MstrErr
Meaning Master Error Global/local Global
Function This system-defined variable provides the collective status of EtherCAT master errors and slave errors detected
by the EtherCAT master.
Refer to A-3-7 Meanings of Error Status Bits for the meanings of the error status bits.
Data type 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 Controller Error
• ResetECError
Variable name _EC_SlavErr
Meaning Slave Error Global/local Global
Function This system-defined variable provides the collective status of all the error status for EtherCAT slaves.
Refer to A-3-7 Meanings of Error Status Bits for the meanings of the error status bits.
Data type 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 Controller Error
• ResetECError
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 192).
Refer to A-3-7 Meanings of Error Status Bits for the meanings of the error status bits.
Data type Array [1..192] 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 Controller Error
• ResetECError