Ec_Startmon - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

EC_StartMon

The EC_StartMon instruction starts execution of packet monitoring for EtherCAT communications.
Instruction
Name
EC_StartMon
Start EtherCAT
Packet Monitor
Variables
Only common variables are used.
Function
The EC_StartMon instruction starts execution of packet monitoring for EtherCAT communications. The
packet monitor function collects a specified number of the most recent EtherCAT communications pack-
ets. When the specified number of packets is exceeded, old packets are discarded in order. After the
EC_StartMon instruction is executed, packet monitoring continues until the EC_StopMon instruction is
executed.
Related System-defined Variables
Name
_EC_PktMonStop
Packet Monitoring
Stopped
_EC_PktSaving
Saving Packet Data
File
Additional Information
• You cannot save collected packet data in an internal file of the main memory of the CPU Unit during
ECATStartMonitor execution.
• Do the following to save packet data in an internal file in the main memory of the CPU Unit: First, exe-
cute the EC_StopMon instruction to stop packet monitoring. Then execute the EC_SaveMon instruc-
tion to save the packets.
• Refer to the NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (Cat. No. W505) or NY-
series Industrial Panel PC / Industrial Box PC Built-in EtherCAT Port User's Manual (Cat. No. W562)
for details on EtherCAT communications.
2-908
FB/
Graphic expression
FUN
FB
EC_StartMon_instance
EC_StartMon
Execute
Meaning
Data type
BOOL
BOOL
EC_SatrtMon_instance(Execute, Done,
Busy, Error, ErrorID);
Done
Busy
Error
ErrorID
Description
This variable shows if packet monitoring is stopped.
TRUE: Stopped.
FALSE: Not stopped.
This variable shows if the instruction is saving packet
data in an internal file in the main memory of the CPU
Unit.
TRUE: Saving.
FALSE: Not saving.
NY-series Instructions Reference Manual (W560)
ST expression

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents