6-3
Instructions Used in EtherCAT Com-
munications
6-3-1
EtherCAT Communications 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
Stops packet monitoring of the EtherCAT master
built into the NJ/NX-series CPU Unit.
Save Packet Data File
Saves captured data in a file in the system of the
NJ/NX-series CPU Unit with the packet monitoring.
The packet monitoring is a function of the EtherCAT
master built into the NJ/NX-series CPU Unit.
The captured files in the system of the NJ/NX-ser-
ies CPU Unit are not retained when the power is in-
terrupted.
Copy Packet Data File to
SD Memory Card
Copies the captured data that was saved in the
system 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-ser-
ies 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 re-
placement 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.)
*1.
For the NJ301-
££££
CPU Units, the CPU Unit with unit version 1.10 or later and Sysmac Studio version
1.12 or higher are required to use the packet monitoring. However, for project unit version 1.40 or later, the
packet monitoring cannot be used regardless of the models of the CPU Units. If the packet monitoring can-
not be used, the
_EC_PktMonStop
system-defined variable, which shows the operating status of packet
monitoring, will always be TRUE.
In addition, if you execute any EtherCAT instructions for packet monitoring (EC_StartMon, EC_StopMon,
EC_SaveMon, or EC_CopyMon) in the user program, an error that shows packet monitoring cannot be used
occurs.
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 Process Data Communications and SDO Communications
6-25
NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (W505)
6-3 Instructions Used in EtherCA
T Communications
6
6-3-1
EtherCA
T Communications Instructions
Summary of Contents for NJ101-10 Series
Page 10: ...Manual Structure 8 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Page 80: ...3 EtherCAT Communications 3 12 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Page 236: ...9 Troubleshooting 9 38 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Page 274: ...Appendices A 38 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Page 275: ...I Index I 1 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505 I...
Page 279: ......