110
Conversion Instructions
Section 3-10
SIGNED BCD-
TO-BINARY
BINS
@BINS
470
Output
Required
DOUBLE
SIGNED BCD-
TO-BINARY
BISL
@BISL
472
Output
Required
SIGNED BINARY-
TO-BCD
BCDS
@BCDS
471
Output
Required
DOUBLE
SIGNED BINARY-
TO-BCD
BDSL
@BDSL
473
Output
Required
GRAY CODE
CONVERSION
GRY
474
(CS/CJ-series
Unit Ver. 2.0 or
later only, includ-
ing CS1-H, CJ1-H,
and CJ1M CPU
Units from lot
number 030201
and later)
Converts the Gray code data in the specified word to binary, BCD, or
angle (°) data at the specified resolution.
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
BINS(470)
C
S
D
C: Control word
S: Source word
D: Destination
word
Signed BCD
Converts one word of signed BCD data to one word of signed binary
data.
Signed BCD format
specified in C
Signed binary
BISL(472)
C
S
D
C: Control word
S: 1st source
word
D: 1st destination
word
Signed BCD
Signed BCD
Converts double signed BCD data to double signed binary data.
Signed BCD format
specified in C
Signed binary
Signed binary
BCDS(471)
C
S
D
C: Control word
S: Source word
D: Destination
word
Signed binary
Signed BCD
Signed BCD format
specified in C
Converts one word of signed binary data to one word of signed BCD
data.
BDSL(473)
C
S
D
C: Control word
S: 1st source
word
D: 1st destination
word
Signed BCD
Signed BCD
Converts double signed binary data to double signed BCD data.
Signed BCD format
specified in C
Signed binary
Signed binary
GRY (474)
C
S
D
C: Control word
S: Source word
D: 1st destination
word