7-9
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
Functional Classification: EtherCAT Communications Errors
7-1-3 EtherCAT Master Function Module, Category Name: _EC
Variable name _EC_ErrSta
Meaning Built-in EtherCAT Error Global/local Global
Function This system-defined variable provides the collective status of errors in the EtherCAT Master Function Module.
Refer to Meanings of Error Status Bits provided above 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 Error
• ResetECError
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 Meanings of Error Status Bits provided above 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 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 Meanings of Error Status Bits provided above 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 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 Meanings of Error Status Bits provided above 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 Error
• ResetECError