491
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.5 FNC117 – EVAL / Character String to Floating Point Conversion
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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