A-2 Monitoring Packets - Omron Sysmac NJ Series User Manual

Machine automation controller, cpu unit built-in ethercat port
Hide thumbs Also See for Sysmac NJ Series:
Table of Contents

Advertisement

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.
You can save packet
data to the memory in
the CPU Unit.
NJ/NX-series CPU Unit
Packet data
Version Information
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 cannot 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.
Starting and Stopping Packet Monitor
You can start and stop packet monitoring either with instructions in the user program or with opera-
tions on the Sysmac Studio.
 Using Instructions in the User Program
• EC_StartMon (Start EtherCAT Packet Monitor) instruction: Starts the execution of packet moni-
toring and continues to update a fixed number of packets.
NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (W505)
Sysmac Studio
You can save
data to files on an
SD Memory Card.
Reading directly from the
Sysmac Studio
SD Memory Card
Packets
Slave
You can check and analyze
data with packet analyzer
software, such as WireShark.
Slave
Appendices
A
A-7

Advertisement

Table of Contents
loading

Table of Contents