7 System-defined Variables That Are Related to the Built-in EtherCAT Port
7-12
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
* This system-defined variable was added for unit version 1.13 of the CPU Unit.
Variable name _EC_SlavInitErr
Meaning Slave Initialization Error Global/local Global
Function TRUE if there is an error in an initialization command addressed to a slave.
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_SlavAppErr
Meaning Slave Application Error Global/local Global
Function TRUE if there is an error in the slave’s application status register.
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_MsgErr
Meaning EtherCAT Message Error Global/local Global
Function 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.
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
CoE messages (Read CoE SDO)
• EC_CoESDORead
CoE messages (Write CoE SDO)
• EC_CoESDOWrite
Variable name _EC_SlavEmergErr
Meaning Emergency Message Detected Global/local Global
Function TRUE if the master detects an emergency message that was sent by a slave.
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_IndataInvalidErr
Meaning Input Process Data Invalid Error Global/local Global
Function TRUE if the Input Data Invalid state continued for the following period because the EtherCAT master could not
perform process data communications normally when it was in the Operational 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
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