Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 149

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Logic Instructions
Instruction
Symbol/Operand
Mnemonic
Code
LOGICAL OR
ORW(035)
ORW
@ORW
035
I
1
: Input 1
I
2
: Input 2
R: Result word
DOUBLE
ORWL(611)
LOGICAL OR
ORWL
@ORWL
611
I
1
: Input 1
I
2
: Input 2
R: Result word
EXCLUSIVE OR
XORW(036)
XORW
@XORW
036
I
1
: Input 1
I
2
: Input 2
R: Result word
DOUBLE EXCLU-
XORL(612)
SIVE OR
XORL
@XORL
612
I
1
: Input 1
I
2
: Input 2
R: Result word
EXCLUSIVE NOR
XNRW(037)
XNRW
@XNRW
037
I
1
: Input 1
I
2
: Input 2
R: Result word
Takes the logical OR of corresponding bits in single words of word
data and/or constants.
I
1
→R
I
+ I
2
1
I
2
I
I
1
2
R
1
1
1
0
0
1
0
0
Takes the logical OR of corresponding bits in double words of word
data and/or constants.
I
1
+1) → (R, R+1)
(I
I
+1) + (I
I
,
,
1
1
2
2
I
2
I
I
+1
I
I
+1
1
,
1
2
,
2
R
1
1
1
0
0
1
0
0
Takes the logical exclusive OR of corresponding bits in single words
of word data and/or constants.
I
1
→R
I
. I
+ I
.I
1
2
1
2
I
2
I
I
R
1
2
1
1
1
0
0
1
0
0
Takes the logical exclusive OR of corresponding bits in double words
of word data and/or constants.
I
1
(I
I
+1). (I
I
+1) + (I
,
,
1
1
2
2
I
2
I
I
+1
I
I
+1
R
1
,
1
2
,
2
1
1
0
1
0
1
0
0
Takes the logical exclusive NOR of corresponding single words of
word data and/or constants.
I
1
→R
I
. I
+ I
.I
I
1
2
1
2
2
I
I
R
1
2
1
1
0
1
0
1
0
0
Function
R
1
1
1
0
R, R+1
1
1
1
0
R
0
1
1
0
+1) → (R, R+1)
I
+1). (I
I
,
,
1
1
2
2
R, R+1
0
1
1
0
R
1
0
0
1
Section 3-11
Location
Execution condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
111

Advertisement

Table of Contents
loading

Table of Contents