EasyManua.ls Logo

Omron SYSMAC CV Series - Page 553

Omron SYSMAC CV Series
636 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...
Appendix AInstruction Set
543
Name, mnemonic, variations,
and symbol
PageOperand data
areas
Function
DOUBLE LOGICAL AND
ANDL, jANDL
(134)
ANDL I
1
I
2
R
Logically ANDs the contents of I
1
and I
1
+1
with the contents of I
2
and I
2
+1 and sets the
bits in the result words (R and R+1) if the
corresponding bits in the input words are both
ON.
I
1
:
CIO
G
A
T/C
#
DM
I
2
:
CIO
G
A
T/C
#
DM
R:
CIO
G
A
DM
344
DOUBLE LOGICAL OR
ORWL, jORWL
(135)
ORWL I
1
I
2
R
Logically ORs the contents of I
1
and I
1
+1 with
the contents of I
2
and I
2
+1 and sets the bits in
the result words (R and R+1) when one or
both of the corresponding bits in the input
words are ON.
I
1
:
CIO
G
A
T/C
#
DM
I
2
:
CIO
G
A
T/C
#
DM
R:
CIO
G
A
DM
345
DOUBLE EXCLUSIVE OR
XORL, jXORL
(136)
XORL I
1
I
2
R
Exclusively ORs the contents of I
1
and I
1
+1
with the contents of I
2
and I
2
+1 and sets the
bits in the result words (R and R+1) when the
corresponding bits in input words differ in
status.
I
1
:
CIO
G
A
T/C
#
DM
I
2
:
CIO
G
A
T/C
#
DM
R:
CIO
G
A
DM
346
DOUBLE EXCLUSIVE NOR
XNRL, jXNRL
(137)
XNRL I
1
I
2
R
Exclusively NORs the contents of I
1
and I
1
+1
with the contents of I
2
and I
2
+1 and sets the
bits in the result words (R and R+1) when the
corresponding bits in both input words have
the same status.
I
1
:
CIO
G
A
T/C
#
DM
I
2
:
CIO
G
A
T/C
#
DM
R:
CIO
G
A
DM
346
COMPLEMENT
COM, jCOM
(138)
COM Wd
Inverts the bit status of one word (Wd) of data,
changing 0s to 1s and 1s to 0s.
Wd Wd
Wd:
CIO
G
A
DM
DR
IR
347
DOUBLE COMPLEMENT
COML, jCOML
(139)
COML Wd
Inverts the bit status of two consecutive words
of data (Wd and Wd+1), changing 0s to 1s and
1s to 0s.
Wd and Wd+1 Wd and Wd+1
Wd:
CIO
G
A
DM
348
SQUARE ROOT
ROOT, jROOT
(140)
ROOT Sq R
Computes the square root of an 8-digit BCD
value (Sq and Sq+1) and outputs the
truncated 4-digit integer result to the specified
result word (R). Sq and Sq+1 must be in the
same data area.
Sq+1 Sq
R
Sq:
CIO
G
A
T/C
#
DM
R:
CIO
G
A
DM
DR
IR
323

Table of Contents

Related product manuals