Appendices
A-8
NJ/NX-series CPU Unit Built-in EtherCAT Port User’s Manual (W505)
A-2 Monitoring Packets
Packet monitoring stores a certain number of the most recent packets sent and received by the Ether-
CAT master along with time information.
You can use an EtherCAT communications instruction or the Sysmac Studio to save the captured
packet data in packet data files in the system in the CPU Unit.
You can use any of the following methods to obtain the packet data saved in the system memory in the
CPU Unit.
• Reading directly from the Sysmac Studio
• Saving to an SD Memory Card inserted in the CPU Unit
You can view the captured packet data with packet analyzer software, such as WireShark. You can also
use the data for analysis applications, such as error analysis and data mining.
For the NJ301- and NJ101- CPU Units, unit version 1.10 or later and Sysmac
Studio version 1.12 or higher are required to use the packet monitoring function.
The _EC_PktMonStop system-defined variable, which shows the operating status of packet
monitoring, will always be TRUE in an NJ301- CPU Unit with unit version 1.09 or earlier.
If you execute any EtherCAT instructions for packet monitoring (EC_StartMon, EC_StopMon,
EC_SaveMon, or EC_CopyMon) in the user program, an error is returned that says packet mon-
itoring cannot be used.
NJ/NX-series CPU Unit
Sysmac Studio
You can check and analyze
data with packet analyzer
software, such as WireShark.
You can save packet
data to the memory in
the CPU Unit.
You can save
data to files on an
SD Memory Card.
Packet data
SD Memory Card
Packets
Reading directly from the
Sysmac Studio
Slave
Slave