EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #517 background imageLoading...
Page #517 background image
A-33
Appendices
CJ2 CPU Unit Software User’s Manual
A-1 Instruction Functions
App
A-1-10 Conversion Instructions
DOUBLE
SIGNED
BINARY-TO-
BCD
BDSL
@BDSL
473 Output Required
GRAY CODE
CONVERSION
GRY 474 Converts the Gray code data in the specified word to binary,
BCD, or angle (?) data at the specified resolution.
Output Required
GRAY CODE
TOBINARY
CONVERT
GRAY
_BIN
@GRAY_
BIN
478 Converts the word of gray code specified by S to one word of
binary data, and outputs it to D.
Output Required
DOUBLE
GRAYCODE
TO BINARY-
CONVERT
GRAY
_BINL
@GRAY_
BINL
479 Converts the two words of gray code specified by S to two
words of binary data, and outputs them to D.
Output Required
BINARY TO
GRAYCODE
CONVERT
BIN
_GRAY
@BIN_
GRAY
480 Converts the word of binary data specified by S to one word of
gray code, and outputs it to D.
Output Required
DOUBLE BINA-
RYTO GRAY
CODECON-
VERT
BIN
_GRAYL
@BIN_
GRAYL
481 Converts the two words of binary data specified by S to two
words of gray code, and outputs them to D.
Output Required
FOUR-DIGIT
NUMBER TO
ASCII
STR4
@STR4
601 Converts a 4-digit hexadecimal number (#0000 to #FFFF) to
ASCII data (4 characters).
Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
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
D
S: Source
(gray code)
D: Destination
(binary data)
GRAY_BINL(479)
S
D
D
S: 1st source
word (gray code)
D: 1st destination
word (binary)
BIN_GRAY(480)
S
D
D
S: Source word
(binary data)
D: Destination
word (gray code)
BIN_GRAYL(481)
S
D
D
S: 1st source
word (binary data)
D: 1st destination
word (gray code)
STR4
S
D
S: Numeric
D: ASCII text
1 2 4 3
31 32
33 34
15 8 7 0
15 8 7 0 11 12 3 4
D+1
D
ASCII
Hexadecimal: #1234
S

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals