Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 103

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE EXCLU-
XORL(612)
SIVE OR
XORL
@XORL
612
I
: Input 1
1
I
: Input 2
2
R: Result word
EXCLUSIVE NOR
XNRW(037)
XNRW
@XNRW
037
I
: Input 1
1
I
: Input 2
2
R: Result word
DOUBLE EXCLU-
XNRL(613)
SIVE NOR
XNRL
@XNRL
613
I
: Input 1
1
I
: Input 2
2
R: 1st result word
COMPLEMENT
COM(029)
COM
@COM
029
Wd: Word
DOUBLE COM-
PLEMENT
COML(614)
COML
@COML
614
Wd: Word
64
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
1
2
2
,
,
R
1
1
1
0
1
0
0
0
Takes the logical exclusive NOR of corresponding single words of
word data and/or constants.
I
1
I
. I
+ I
.I
→ R
1
2
1
2
I
2
I
I
2
1
R
1
1
0
1
0
1
0
0
Takes the logical exclusive NOR 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
1
2
2
,
,
R
1
1
1
0
0
1
0
0
Turns OFF all ON bits and turns ON all OFF bits in Wd.
Wd→Wd: 1 → 0 and 0 → 1
Wd
Turns OFF all ON bits and turns ON all OFF bits in Wd and Wd+1.
(Wd+1, Wd) → (Wd+1, Wd)
Wd
Function
I
+1). (I
I
+1) → (R, R+1)
1
,
1
2
,
2
+1
R, R+1
0
1
1
0
R
1
0
0
1
I
+1). (I
I
+1) → (R, R+1)
,
,
1
1
2
2
+1
R, R+1
1
0
0
1
Section 2-2
Location
Page
Execution
condition
Output
558
Required
Output
560
Required
Output
561
Required
Output
563
Required
Output
565
Required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents