498
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.5 FNC117 – EVAL / Character String to Floating Point Conversion
a) In the case of decimal point format
b) In the case of exponent format
• When a character string to be converted into binary floating point specified by has 7 digits or more excluding
the sign, decimal point and exponent part, the conversion result may contain rounding error.
a) In the case of decimal point format
31H(1)
b15 b8 b7 b0
+1
+2
+3
+4
30H(0)
38H(8)
32H(2)
2DH(-)
2EH(.)
37H(7)
31H(1)
7 8 101 2
+1
Binary floating point
(real number)
−
1.07812
D
S
S
S
S
S
D
00H
b15 b8 b7 b0
+1
+2
+3
+4
20H(space)
2EH(.)
32H(2)
31H(1)
2DH(-)
31H(1)
33H(3)
30H(0)
2BH(+)
30H(0)
31H(1)
45H(E)
+5
+6
3 2 01 1 + 1 0E
+1
Binary floating point
(real number)
−
1.3201E+10
D
S
D
S
S
S
S
S
S
00H
S
b15 b8 b7 b0
+1
+2
+3
+4
20H(space)
31H(1)
00H
33H(3)
31H(1)
2DH(-)
2EH(.)
30H(0)
36H(6)
31H(1)
38H(8)
35H(5)
+5
+6
3 0 11 5 8 1 26
32H(2)
20H(space)
Rounded.
+1
Binary floating point
(real number)
−
1.30156
Up to 6 digits are securely
equivalent.
S
S
S
S
S
S
S
D
D