Omron NX701-17 Series User Manual page 260

Nj/nx-series, machine automation controller, cpu unit built-in ethercat port
Hide thumbs Also See for NX701-17 Series:
Table of Contents

Advertisement

Appendices
Sample Programming
This sample transfers EtherCAT communications packets to an SD Memory Card when an EtherCAT
slave error occurs. The file name is 'PacketFile.' The processing procedure is as follows:
1
The system-defined variable _EC_ErrSta (EtherCAT Error) is monitored and processing is
started if an error occurs.
2
The EC_StopMon instruction is used to stop execution of packet monitoring for EtherCAT com-
munications.
3
The EC_SaveMon instruction is used to save EtherCAT communications packet data to a file in
the system of the CPU Unit.
4
The EC_CopyMon instruction is used to copy that file to the SD Memory Card.
5
The EC_StartMon instruction is used to restart execution of packet monitoring for EtherCAT
communications.
A-12
NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (W505)

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents