![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268600.webp)
561
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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...