Omron CJ2 CPU UNIT SOFTWARE User Manual page 517

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
Code
DOUBLE
BDSL
473
SIGNED
@BDSL
BINARY-TO-
BCD
GRAY CODE
GRY
474
CONVERSION
GRAY CODE
GRAY
478
TOBINARY
_BIN
CONVERT
@GRAY_
BIN
DOUBLE
GRAY
479
GRAYCODE
_BINL
TO BINARY-
@GRAY_
CONVERT
BINL
BINARY TO
BIN
480
GRAYCODE
_GRAY
CONVERT
@BIN_
GRAY
DOUBLE BINA-
BIN
481
RYTO GRAY
_GRAYL
CODECON-
@BIN_
VERT
GRAYL
FOUR-DIGIT
STR4
601
NUMBER TO
@STR4
ASCII
CJ2 CPU Unit Software User's Manual
Symbol/Operand
Converts double signed binary data to double signed
BDSL(473)
BCD data.
C
S
D
Signed binary
C: Control word
Signed binary
S: 1st source word
D: 1st destination
word
Converts the Gray code data in the specified word to binary,
GRY (474)
BCD, or angle (?) data at the specified resolution.
C
S
D
C: Control word
S: Source word
D: 1st destination
word
Converts the word of gray code specified by S to one word of
GRAY_BIN(478)
binary data, and outputs it to D.
S
D
D
S: Source
(gray code)
D: Destination
(binary data)
Converts the two words of gray code specified by S to two
GRAY_BINL(479)
words of binary data, and outputs them to D.
S
D
D
S: 1st source
word (gray code)
D: 1st destination
word (binary)
Converts the word of binary data specified by S to one word of
BIN_GRAY(480)
gray code, and outputs it to D.
S
D
D
S: Source word
(binary data)
D: Destination
word (gray code)
Converts the two words of binary data specified by S to two
BIN_GRAYL(481)
words of gray code, and outputs them to D.
S
D
D
S: 1st source
word (binary data)
D: 1st destination
word (gray code)
Converts a 4-digit hexadecimal number (#0000 to #FFFF) to
STR4
ASCII data (4 characters).
S
15
D
1
S
Hexadecimal: #1234
S: Numeric
D: ASCII text
ASCII
15
D
D+1
Function
Signed BCD format
specified in C
Signed BCD
Signed BCD
12
11
8
7
4
3
0
2
3
4
8
7
0
31
32
33
34
Appendices
Execution
Location
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
A-33

Advertisement

Table of Contents
loading

Table of Contents