7 System-defined Variables That Are Related to the Built-in EtherCAT Port
7-14
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 data type is Array [1..192] OF BOOL.
* For NX102 and NX1P2 CPU Units and NJ-series CPU Units, the data type is Array [1..192] OF BOOL.
* For NX102 and NX1P2 CPU Units and NJ-series CPU Units, the data type is Array [1..192] OF BOOL.
Variable name _EC_MBXSlavTbl
Meaning Message Communications Enabled Slave Table Global/local Global
Function This table indicates the slaves that can perform message communications.
Slaves are given in the table in the order of slave node addresses.
The element for a slave is TRUE if message communications are enabled for it (pre-operational, safe-operation,
or operational state).
Note Use this variable to confirm that message communications are possible for the relevant slave before you
execute message communications with an EtherCAT slave.
Data type
Array [1..512] OF 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
Disconnect EtherCAT Slave
• EC_DisconnectSlave
Connect EtherCAT Slave
• EC_ConnectSlave
Variable name _EC_PDSlavTbl
Meaning Process Data Communicating Slave Table Global/local Global
Function This is a table that indicates the slaves that are performing process data communications.
Slaves are given in the table in the order of slave node addresses.
The element for a slave is TRUE if process data of the corresponding slave is enabled (operational) for both slave
inputs and outputs.
Note Use this variable to confirm that the data for the relevant slave is valid before controlling an EtherCAT
slave.
Data type
Array [1..512] OF 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
Disconnect EtherCAT Slave
• EC_DisconnectSlave
Connect EtherCAT Slave
• EC_ConnectSlave
Variable name _EC_DisconnSlavTbl
Meaning Disconnected Slave Table Global/local Global
Function Slaves are given in the table in the order of slave node addresses.
The element for a slave is TRUE if the corresponding slave was disconnected.
Data type
Array [1..512] OF 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
Disconnect EtherCAT Slave
• EC_DisconnectSlave
Connect EtherCAT Slave
• EC_ConnectSlave