Delta AS Series Programming Manual page 1030

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
2104
D
Device
X
S
D
Data
type
S
D
Symbol
_6
Explanation
1.
This instruction converts a hexadecimal ASCII code in S into a hexadecimal binary number, and stores the
conversion result in D.
2.
For 16-bit instructions, the operand S occupies two word devices. If the value in S is a string and does not include
the ending character 16#00, the conversion can be up to 4 digits (sign excluded). The hexadecimal ASCII code in
S must be between 0000–FFFF. If S is a string, the string must be between "0"–"FFFF".
3.
For 32-bit instructions, the operand S occupies four word devices. If the value in S is a string and does not include
the ending character 16#00, the conversion can be up to 8 digits (sign excluded). The hexadecimal ASCII code in
S must be between 00000000–FFFFFFFF. If S is a string, the string must be between "0"–"FFFFFFFF".
6 - 7 5 0
HABIN
P
Y
M
S
T
b15
b7
b8
b0
S + 0
" A "
" 5 "
S + 1
" D "
" 8 "
Operand
S, D
C
HC
D
FR
SM
Pulse instruction
AS
S : Source value
D : Device where the conversion result is stored
b15
b0
Function
Converting a hexadecimal ASCII code into
a hexadecimal binary number
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
16#5A8D
D
"$"
F
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents