EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 153

Omron CJ - PROGRAMMING MANUAL 12-2009
448 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...
113
Logic Instructions
Section 3-11
LOGICAL OR
ORW
@ORW
035
Output
Required
DOUBLE
LOGICAL OR
ORWL
@ORWL
611
Output
Required
EXCLUSIVE OR
XORW
@XORW
036
Output
Required
DOUBLE EXCLU-
SIVE OR
XORL
@XORL
612
Output
Required
EXCLUSIVE NOR
XNRW
@XNRW
037
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
I
1
I
2
R
ORW(035)
I
1
: Input 1
I
2
: 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
Takes the logical OR of corresponding bits in single words of word
data and/or constants.
I
1
I
2
R
ORWL(611)
I
1
: Input 1
I
2
: 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
Takes the logical OR of corresponding bits in double words of word
data and/or constants.
I
1
I
2
R
XORW(036)
I
1
: Input 1
I
2
: 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
Takes the logical exclusive OR of corresponding bits in single words
of word data and/or constants.
XORL(612)
I
1
I
2
R
I
1
: Input 1
I
2
: 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
Takes the logical exclusive OR of corresponding bits in double words
of word data and/or constants.
I
1
I
2
R
XNRW(037)
I
1
: Input 1
I
2
: 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
1
0
0
1
Takes the logical exclusive NOR of corresponding single words of
word data and/or constants.

Table of Contents

Related product manuals