EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 107

Omron CJ - INSTRUCTIONS
1308 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...
69
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-10 Conversion Instructions
SIGNED BCD TO
BINARY
BINS
@BINS
470
Output
Required
414
DOUBLE
SIGNED BCD TO
BINARY
BISL
@BISL
472
Output
Required
414
SIGNED BINARY
TO BCD
BCDS
@BCDS
471
Output
Required
419
DOUBLE
SIGNED BINARY
TO BCD
BDSL
@BDSL
473
Output
Required
419
GRAY CODE
CONVERSION
GRY
474
(CS/CJ-series
Unit Ver. 2.0 or
later and CJ2 CPU
Units 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
423
GRAY CODE TO
BINARY CON-
VERT
GRAY_BIN
@GRAY_BIN
478
(CJ2 only)
Converts the specified word of gray code to one word of binary data. Output
Required
428
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
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
Signed binary
Signed binary
Signed BCD format
specified in C
Converts double signed BCD data to double signed binary data.
BCDS(471)
C
S
D
C: Control word
S: Source word
D: Destination
word
Signed BCD
Converts one word of signed binary data to one word of signed BCD
data.
Signed BCD format
specified in C
Signed binary
BDSL(473)
C
S
D
C: Control word
S: 1st source
word
D: 1st destination
word
Signed BCD
Signed BCD
Signed BCD format
specified in C
Signed binary
Signed binary
Converts double signed binary data to double signed BCD data.
GRY (474)
C
S
D
C: Control word
S: Source word
D: 1st destination
word
GRAY_BIN(478)
S
D
S: Source
(gray code)
D: Destination
(binary data)

Table of Contents

Related product manuals