Delta AS Series Programming Manual page 1046

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
2110
Device
X
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction converts a string in S into a floating-point number, and stores the conversion result in D.
_6
S
S + 1
S + 2
......
S +n-1
S +n
Refer to the following sections for the ASCII code usage.
For decimal or exponential formats, the maximum length for the floating-point string (m) is 24 characters
(excluding the ending character 16#00) and the maximum length of n is 13 characters.
6 - 7 6 6
$FVAL
P
Y
M
S
T
C
High byte
Second ASCII code
First ASCII code
Fourth ASCII code
Third ASCII code
Fifth ASCII code
Sixth ASCII code
......
m-1th ASCII code
mth ASCII code
16#00
ending character
Floating-point string
Operand
S, D
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
S : Source value
D : Device where the conversion result is stored
Low byte
Function
Converting a string into a floating-point
number
SR
E
K
16#
32-bit instruction
AS
(D+1,D)
Floating-point number
"$"
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents