499
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
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
b) In the case of exponent format
• When "2BH (+)" is specified as the sign in the floating point format or when the sign is omitted, a character string is
converted into a positive value.
When "2DH (-)" is specified as the sign, a character string is converted into a negative value.
• When "2BH (+)" is specified as the sign in the exponent format or when the sign is omitted, a character string is
converted into a positive exponent.
When "2DH (-)" is specified as the sign, a character string is converted into a negative exponent.
• When "20H (space)" or "30H (0)" exists between numbers except the first "0" in a character string specified by
, "20H" or "30H" is ignored during conversion.
• When "30H (0)" exists between a number and "E" in a character string in the exponent format, "30H" is ignored
during conversion.
• A character string can consist of up to 24 characters.
"20H (space)" and "30H (0)" in a character string are counted as one character respectively.
b15 b8 b7 b0
+1
+2
+3
+4
+5
+6
Rounded.
+1
Binary floating point
(real number)
−
1.35034E
−
2
20H(.)
2EH(.)
00H
35H(5)
33H(3)
2DH(-)
31H(1)
33H(3)
30H(0)
31H(1)
45H(E)
32H(2)
34H(4)
32H(2)
30H(0) 2DH(-)
5 0 33 4 2 E11 0 2
S
S
S
S
S
S
S
D
D
Up to 6 digits are
securely equivalent.
S
b15 b8 b7 b0
+1
+2
+3
Ignored.
+1
Binary floating point
(real number)
−
1.231
20H(space)
31H(1)
32H(2)
31H(1)
2DH(-)
30H(0)
2EH(.)
33H(3)
2 3 110
+4
S
S
S
S
S
D
D
00H
b15 b8 b7 b0
Ignored.
+1
−
1.0453E+3
20H(space)
2EH(.)
34H(4)
33H(3)
2DH(-)
31H(1)
30H(0)
35H(5)
2BH(+)
33H(3)
30H(0)
45H(E)
4 5 30 E 0 3+1
D
D
00H