472
FX
3U
/FX
3UC
Series Programmable Controllers
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)
00H
b15
b8 b7
b0
+1
+2
+3
+4
30H(0)
38H(8)
32H(2)
2DH(-)
2EH(.)
37H(7)
31H(1)
7 8 1
0
1
2
+1
Binary floating point
(real number)
−
1.07812
D
S
S
S
S
S
D
b15
b8 b7
b0
+1
+2
+3
+4
20H(space)
2EH(.)
00H
32H(2)
31H(1)
2DH(-)
31H(1)
33H(3)
30H(0)
2BH(+)
30H(0)
31H(1)
45H(E)
+5
+6
3 2 0
1
1
+ 1 0
E
+1
Binary floating point
(real number)
−
1.3201E+10
D
S
D
S
S
S
S
S
S
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 1
1
5
8 1 2
6
32H(2)
20H(space)
Rounded.
+1
Binary floating point
(real number)
−
1.30156
Up to the 6th digits are
securely equivalent.
S
S
S
S
S
S
S
D
D