7-15
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
* For NX102 and NX1P2 CPU Units and NJ-series CPU Units, the data type is Array [1..192] OF BOOL.
* Disabled slaves are not included.
Variable name _EC_DisableSlavTbl
Meaning Disabled 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 is disabled.
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
---
Variable name _EC_PDActive
Meaning Process Data Communications Status Global/local Global
Function TRUE when process data communications are performed with all slaves*.
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
Disconnect EtherCAT Slave
• EC_DisconnectSlave
Connect EtherCAT Slave
• EC_ConnectSlave
Variable name _EC_PktMonStop
Meaning Packet Monitoring Stopped Global/local Global
Function TRUE when packet monitoring is stopped.
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
Stop Packet Monitor
• EC_StopMon
Start Packet Monitor
• EC_StartMon
Variable name _EC_LinkStatus
Meaning Link Status Global/local Global
Function TRUE if the communications controller link status is Link ON.
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
---
Variable name _EC_PktSaving
Meaning Saving Packet Data File Global/local Global
Function Shows whether a packet data file is being saved.
TRUE: Packet data file being saved.
FALSE: Packet data file not being saved.
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
Saving Packet Data File
• EC_SaveMon