![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030600.webp)
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
1
1
1
1
0
0
0
1
0
0
0
1
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
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...