Omron CJ - REFERENCE MANUAL 10-2009 Reference Manual page 475

Table of Contents

Advertisement

Function
XNRW
XNRW(037) takes the logical exclusive NOR of data
specified in I
and I
and outputs the result to R.
1
2
XNRL
XNRL(613) takes the logical exclusive NOR of data
specified in I
and I
and outputs the result to R, R+1.
1
2
Sample program
When the execution condition CIO 0.00 is ON, the logical exclusive NOR is taken of corresponding bits
in CIO 801, CIO 800, and CIO 101, CIO 100 and the results will be output to corresponding bits in D501
and D500.
0.00
CS/CJ/NSJ Series Instructions Reference Manual (W474)
S
: 800CH
1
S
+1: 801CH
1
800
100
D500
Note: The symbol indicates exclusive logical NOR.
I
I
+ I
I
R
1
2
1
2
I
I
1
2
1
1
1
0
0
1
0
0
(I
I
+1) (I
, I
+1) + (I
, I
+1) (I
1,
1
2
2
1
1
I
I
+1
I
I
+1
1,
1
2,
2
1
1
1
0
0
1
0
0
S
: 100CH
2
S
+1: 101CH
2
D500
D501
3. Instructions
R
1
0
0
1
, I
+1)
(R, R+1)
2
2
R, R+1
1
0
0
1
D: D500
D+1: D501
437
3

Advertisement

Table of Contents
loading

Table of Contents