EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 478

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
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...
445
Logic Instructions Section 3-12
(I
1,
I
1
+1), (I
2
, I
2
+1)
+ (I
1
, I
1
+1), (I
2
, I
2
+1) (R, R+1)
Flags
Precautions When XORL(612) is executed, the Error Flag will turn OFF.
If as a result of the exclusive OR, the content of R, R+1 is 00000000 hex, the
Equals Flag will turn ON.
If as a result of the exclusive OR, the leftmost bit of R+1 is 1, the Negative
Flag will turn ON.
Examples When the execution condition CIO 0.00 is ON, the logical exclusive OR will be
taken of corresponding bits in CIO 1001, CIO 1000 and D1001, D1000 and
the results will be output to corresponding bits in D1201 and D1200.
3-12-7 EXCLUSIVE NOR: XNRW(037)
Purpose Takes the logical exclusive NOR of corresponding single words of word data
and/or constants.
Ladder Symbol
I
1,
I
1
+1 I
2,
I
2
+1 R, R+1
110
101
011
000
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.
S: CIO 1000
S
1
+1: CIO 1001
S: D1000
S
2
+1: D1001
D: D1200
D+1: D1201
D1200
D1201
D1000
D1001
0.00
1000
D1000
D1200
1000.00
1000.01
1000.02
1000.03
1000.15
1001.00
1001.15
Note: The s
y
mbol indicates exclusive lo
g
ical OR.
XNRW(037)
I
1
I
2
R
I
1
: Input 1
I
2
: Input 2
R: Result word

Table of Contents

Related product manuals