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 #121 background imageLoading...
Page #121 background image
2-73
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Sequence Control Instructions
2
MC and MCR
If you use the MC and MCR instructions and the FOR and NEXT instructions together, the operation
is as follows:
The following figure shows an MC-MCR pair inside a FOR-NEXT pair. Here, operation is as given
in the following table.
The following figure shows a FOR-NEXT pair inside an MC-MCR pair. Here, operation is as given
in the following table.
A building error occurs if the FOR, NEXT, MC, and MCR instructions are used in either of the follow-
ing orders.
FOR, MC, NEXT, MCR, or MC, FOR, MCR, NEXT
Value of In Operation
TRUE Master control region is not reset. The FOR loop is executed.
FALSE Master control region is reset. The FOR loop is executed, but the
instructions between the MC and MCR instructions are not exe-
cuted.
Value of In Operation
TRUE Master control region is not reset. The FOR loop is executed.
FALSE Master control region is reset. The FOR loop is not executed.
Flow of processing
In = TRUE
In = FALSE
Flow of processing
NEXT
FOR
UINT#1
UINT#1
MCR
EN ENO
MCNo
MC
In ENO
MCNo
NEXT
FOR
UINT#1
UINT#1
MCR
EN ENO
MCNo
MC
In ENO
MCNo
MC instruction
not executed.
MCR instruction
not executed.
MCR instruction
executed.
MC instruction
executed.
Not executed due
to MC instruction.
FOR instruction executed.
FOR instruction
executed.
Flow of processing
In = TRUE
In = FALSE
Flow of processing
NEXT
FOR
UINT#1
UINT#1
MCR
EN ENO
MCNo
MC
In ENO
MCNo
NEXT
FOR
UINT#1
UINT#1
MCR
EN ENO
MCNo
MC
In ENO
MCNo
MC instruction
not executed.
MCR instruction
not executed.
MCR instruction
executed.
MC instruction
executed.
Not executed due
to MC instruction.
FOR instruction executed.
FOR instruction
not executed.

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