6-27
6 Process Data Communications and SDO Communications
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
6-3 Instructions Used in EtherCAT Communications
6
6-3-1 EtherCAT Instructions
6-3 Instructions Used in EtherCAT
Communications
Note Refer to the NJ/NX-series Instructions Reference Manual (Cat. No. W502) for details on the instructions that
are used with EtherCAT communications.
6-3-1 EtherCAT Instructions
Function Instruction Description
Start EtherCAT Packet
Monitor
EC_StartMon Starts packet monitoring of the EtherCAT master built
into the NJ/NX-series CPU Unit.
Stop EtherCAT Packet
Monitor
EC_StopMon Stops packet monitoring of the EtherCAT master built
into the NJ/NX-series CPU Unit.
Save Packet Data File EC_SaveMon Saves captured data in a file in the system of the
NJ/NX-series CPU Unit. The packet monitor is a func-
tion of the EtherCAT master built into the NJ/NX-series
CPU Unit. The captured files in the system of the
NJ/NX-series CPU Unit are not retained when the
power is interrupted.
Copy Packet Data File to
SD Memory Card
EC_CopyMon Copies the captured data that was saved in the sys-
tem of the NJ/NX-series CPU Unit to a file on an SD
Memory Card. The captured data is previously saved
from EtherCAT master built into the NJ-series CPU
Unit into the system of the NJ/NX-series CPU Unit.
The files saved to an SD Memory Card are retained
after the power is interrupted.
Disconnect EtherCAT
Slave
EC_DisconnectSlave Temporarily disconnects a slave from the EtherCAT
network for maintenance, such as replacement of the
slave.
Connect EtherCAT Slave EC_ConnectSlave Reconnects a temporarily disconnected slave to the
EtherCAT network after maintenance, such as
replacement of the slave.
Enable/Disable EtherCAT
Slave
EC_ChangeEnableSetting Enables or disables an EtherCAT slave.
Get EtherCAT Error Status GetECError Gets the status of Controller errors (partial faults or
minor faults) that occur in the EtherCAT master and
the highest-level event code for the current errors.
Reset EtherCAT Error ResetECError Resets Controller errors in the EtherCAT master.
(Execute this instruction only after eliminating the
cause of the error.)