![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262488.webp)
Appendices
A-28
CP2E CPU Unit Software User’s Manual(W614)
A-1-11
Logic Instructions
Instruction
Mnemonic
Variations
Symbol/Operand
Function
LOGICAL AND
ANDW
@
Takes the logical AND of corresponding bits in single words of
word data and/or constants.
DOUBLE
LOGICAL AND
ANDL
@
Takes the logical AND of corresponding bits in double words of
word data and/or constants.
LOGICAL OR
ORW
@
Takes the logical OR of corresponding bits in single words of word
data and/or constants.
DOUBLE
LOGICAL OR
ORWL
@
Takes the logical OR of corresponding bits in double words of
word data and/or constants.
EXCLUSIVE
OR
XORW
@
Takes the logical exclusive OR of corresponding bits in single
words of word data and/or constants.
DOUBLE
EXCLUSIVE
OR
XORL
@
Takes the logical exclusive OR of corresponding bits in double
words of word data and/or constants.
I
1
I
2
R
ANDW(034)
I1
: Input 1
I2
: Input 2
R
: Result word
I
1
. I
2
→
R
I
1
1
1
0
0
I
2
1
0
1
0
R
1
0
0
0
ANDL(610)
I
1
I
2
R
I1
: Input 1
I2
: Input 2
R
: Result word
(I
1
,
I
1
+1). (I
2
,
I
2
+1)
→
(R, R+1)
I
1
,
I
1
+1
1
1
0
0
I
2
,
I
2
+1
1
0
1
0
R, R+1
1
0
0
0
I
1
I
2
R
ORW(035)
I1
: Input 1
I2
:
Input 2
R
: Result word
I
1
1
1
0
0
I
2
1
0
1
0
R
1
1
1
0
I
1
+ I
2
→
R
I
1
I
2
R
ORWL(611)
I1
: Input 1
I2
: Input 2
R
: Result word
(I
1
,
I
1
+1) + (I
2
,
I
2
+1)
→
(R, R+1)
I
1
,
I
1
+1
1
1
0
0
I
2
,
I
2
+1
1
0
1
0
R, R+1
1
1
1
0
I
1
I
2
R
XORW(036)
I1
: Input 1
I2
: Input 2
R
: Result word
I
1
.
I
2
+
I
1
.I
2
→
R
I
1
1
1
0
0
I
2
1
0
1
0
R
0
1
1
0
XORL(612)
I
1
I
2
R
I1
: Input 1
I2
: Input 2
R
: Result word
(I
1
,
I
1
+1). (I
2
,
I
2
+1) + (I
1
,
I
1
+1). (I
2
,
I
2
+1)
→
(R, R+1)
I
1
,
I
1
+1
1
1
0
0
I
2
,
I
2
+1
1
0
1
0
R, R+1
0
1
1
0
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......