Omron SYSMAC CV Series Operation Manual page 548

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Instruction Set
Name, mnemonic, variations,
and symbol
DOUBLE BCD-TO-DOUBLE BINARY
BINL, jBINL
(102)
BINL
S
DOUBLE BINARY-TO-DOUBLE BCD
BCDL, jBCDL
(103)
BCDL
S
2'S COMPLEMENT
NEG, jNEG
(104)
NEG
S
DOUBLE 2'S COMPLEMENT
NEGL, jNEGL
(105)
NEGL
S
SIGN
SIGN, jSIGN
(106)
SIGN
S
538
Converts the BCD value of the two source
words (S: starting word) into binary and
outputs the converted data to the two result
words (R: starting word). All words for any one
operand must be in the same data area.
R
S+1
Converts the binary value of the two source
words (S: starting word) into eight digits of
BCD data, and outputs the converted data to
the two result words (R: starting result word).
Both words for any one operand must be in
R
the same data area.
S
S+1
Takes the 2's complement of the 4-digit
hexadecimal content of the source word (S)
and outputs the result to the result word (R).
This operation is effectively the same as
subtracting S from $0000 and outputting the
D
result to R.
GR (A50005) is ON when the content of S is
$8000.
EQ (A50006) is ON when the content of S is 0.
N (A50008) is the same as the status of bit 15
of R after execution.
Takes the 2's complement of the 8-digit
hexadecimal content of the source words (S
and S+1) and outputs the result to the result
words (R and R+1). This operation is
effectively the same as subtracting S and S+1
D
from $0000 0000 and outputting the result to R
and R+1.
GR (A50005) is ON when the content of S is
$8000.
EQ (A50006) is ON when the content of S is 0.
N (A50008) is the same as the status of bit 15
of R after execution.
Places FFFF into D+1 if the sign bit (bit 15) of
S is 1, places 0000 into D+1 if the sign bit is 0,
and copies the content of S to D.
D
Function
R
S
R+1
R
R+1
S
0000 or
FFFF
D+1
D
Appendix A
Operand data
Page
areas
S:
R:
221
CIO
CIO
G
G
A
A
T/C
DM
DM
S:
R:
222
CIO
CIO
G
G
A
A
T/C
DM
DM
S:
D:
223
CIO
CIO
G
G
A
A
T/C
DM
#
DR
DM
IR
DR
IR
S:
D:
224
CIO
CIO
G
G
A
A
T/C
DM
#
DR
DM
IR
DR
IR
S:
D:
225
CIO
CIO
G
G
A
A
T/C
DM
#
DM
DR
IR

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents