EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Loading...
560
Logic Instructions Section 3-13
Description XNRW(037) takes the logical exclusive NOR of data specified in I
1
and I
2
and
outputs the result to R.
The logical exclusive NOR is taken of corresponding bits in I
1
and I
2
in
succession.
When the content of corresponding bits of I
1
and I
2
are different, a 0 will
be output to the corresponding bit of R and when they are different, 1 will
be output to the corresponding bit in R.
I
1,
I
2
+
I
1,
I
2
R
Flags
Precautions When XNRW(037) is executed, the Error Flag will turn OFF.
If as a result of the NOR, the content of R is 0000 hex, the Equals Flag will
turn ON.
If as a result of the NOR, the leftmost bit of R is 1, the Negative Flag will turn
ON.
3-13-8 DOUBLE EXCLUSIVE NOR: XNRL(613)
Purpose Takes the logical exclusive NOR of corresponding bits in double words of
word data and/or constants.
Ladder Symbol
Variations
Applicable Program Areas
I
1
I
2
R
111
100
010
001
Name Label Operation
Error Flag ER OFF
Equals Flag = ON when the result is 0.
OFF in all other cases.
Negative Flag N ON when the leftmost bit of R is 1.
OFF in all other cases.
XNRL(613)
I
1
I
2
R
I
1
: Input 1
I
2
: Input 2
R: Result word
Variations Executed Each Cycle for ON Condition XNRL(613)
Executed Once for Upward Differentiation @XNRL(613)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK

Table of Contents

Related product manuals