Delta AS Series Programming Manual page 1040

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
2109
Device
X
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
_6
Explanation
1.
This instruction converts the floating-point number in S
S
, and stores the conversion result in D.
2
2.
This instruction converts the floating-point number in S
the end of the string, and then stores the conversion result in D.
(S
Floating-point number
6 - 7 6 0
$FSTR
P
Y
M
S
T
C
D
+1,S
D + 1
1
1
D + 2
......
D +n-1 m
D +n
Operand
Converting a floating-point number into a
S
, S
, D
1
2
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
: Source value
S
1
: First device where the format is stored
S
2
First device where the conversion result is
D :
stored
into a string in accordance with the format setting value in
1
into a string and appends the ending character 16#00 to
1
High byte
Second ASCII code
First ASCII code
Fourth ASCII code
Third ASCII code
Fifth ASCII code
Sixth ASCII code
......
th
m-1
ASCII code
16#00 ending character
Floating-point string
Function
string
SR
E
K
16#
"$"
32-bit instruction
AS
Low byte
th
ASCII code
F
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents