Download FA-M3 Programming Tool WideField3 (Script)

Transcript
G9-43
G9.20 ITOF (Integer to Float)
ITOF() is a function for converting a 16-bit or 32-bit integer data into a single-precision
floating-point data.
Return value = ITOF(s)
Return
Value/
Arguments
A data to be converted,
or the first device
number of devices
whose data are
converted.
Conversion result
s
Return
value*1
Prefix
Description
W
L


D
F
E
S
B
Constant
Expression
Index
Modification





*1: Regardless of whether s is W or L, specify F for the return value.
 Return Value/Arguments
Return
Value/
Arguments
s
Return
value
Input/Output
Range
Input
Output
-
Behavior Restrictions
There is no restriction.
The processing result is stored.
 Available Devices
Arguments/
Return
Value
s
Return
value
Prefix
X
Y
I
E
L
M
W





L







F
T
C
D
B
F
W
Z
R
V
H
A
U



































P
 Step Counts
Prefix
Step Count*1
W
9
L
9
*1: In addition, 21 steps are used for each script instruction.
IM 34M06Q16-04E
3rd Edition: Dec. 25, 2013-00