EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 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 #198 background imageLoading...
Page #198 background image
5 Understanding Programming
5-106
CJ2 CPU Unit Software User’s Manual
z Using Execution Results in N.C. and N.O. Inputs
The Condition Flags will pick up instruction B execution results as shown in the example below even
though the N.C. and N.O. input bits are executed from the same output branch.
Make sure each of the results is picked up once by an OUTPUT instruction to ensure that execution
results for instruction B will be not be picked up.
Example: The following example will move #0200 to D200 if D100 contains #0010 and move #0300
to D300 if D100 does not contain #0010.
Reflects instruction B
execution results.
Reflects instruction A
execution results.
Instruction B
Instruction A
Condition Flag
P_EQ (Equals Flag)
Condition Flag
P_EQ (Equals Flag)
C
D
C
D
Reflects instruction A
execution results.
Instruction B
Instruction A
Condition Flag
P_EQ (Equals Flag)
Reflects instruction A
execution results.
Condition Flag
P_EQ (Equals Flag)
CMP
#0010
D100
MOV
D200
MOV
D300
P_EQ
P_EQ
(1)
(2)
Reflects MOV execution results.
Reflects CMP execution results.
#0200
#0300

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals