EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #783 background imageLoading...
Page #783 background image
2-735
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Communications Instructions
2
EC_StartMon
• Execution of this instruction is continued until processing is completed even if the value of Execute
changes to FALSE or the execution time exceeds the task period. The value of Done changes to
TRUE when processing is completed. Use this to confirm normal completion of processing.
• Refer to Using this Section on page 2-2 for a timing chart for Execute, Done, Busy, and Error.
• This instruction can be used only for the NJ-series EtherCAT ports.
• An error occurs in the following case. Error will change to TRUE.
• A packet data save operation to an internal file in the main memory of the CPU Unit is in progress.
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 an inter-
nal file in the main memory 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.
Precautions for Correct Use
Sample Programming

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals