493
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
18 Floating Point – FNC110 to FNC139
18.4 FNC116 – ESTR / Floating Point to Character String 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
- When the number of digits of the decimal part is set to any value other than "0", "2EH (.)" is automatically stored
in "specified number of digits of decimal part + 1"th digit.
When the number of digits of the decimal part is "0", "2EH (.)" is not stored.
- When the total number of digits subtracted by the digits for sign, decimal point and decimal part is larger than the
integer part of the binary floating point data, "20H (space)" is stored between the sign and the integer part.
- "00H" or "0000H" is automatically stored at the end of the converted character string.
3. In the case of exponent format
• The total number of digits which can be specified by +1 is as follows (24 digits maximum):
When the number of digits of the decimal part is "0" Total number of digits ≥ 6
When the number of digits of the decimal part is any value other than "0" Total number of digits ≥ (Number of digits
of decimal part + 7)
1 2 3
Low-order digits of decimal
part
0: Decimal point
format
8 (Total number of
digits)
2 (Number of digits
of decimal part)
+1
+2
Total
number of
digits
Automatically added.
+1
−
1.23456
S
1
S
1
S
2
S
2
S
2
1 2 3
Low-order digits of decimal
part
0
8
2
+1
+2
Total
number of
digits
"20H (space)" is stored.
+1
−
1.23456
S
1
S
1
S
2
S
2
S
2
Exponent format
Total number of
digits
Number of digits
of decimal part
E
Sign (integer part)
+1
+2
Sign (exponent part)
Automatically
added.
ASCII code in "(specified
total number of digits - 1)"th
digit
ASCII code in "(specified
total number of digits - 5)"th
digit (decimal part)
ASCII code in "(specified
total number of digits - 7)"th
digit (decimal part)
ASCII code for sign
ASCII code in "(specified
total number of digits - 2)"th
digit
ASCII code in "(specified
total number of digits - 6)"th
digit (decimal part)
0000H
b15
+1
+2
+3
+4
b8 b7 b0
0000H is automatically stored at the end of the
character string.
ASCII code of sign
(exponent part)
ASCII code in "(specified
total number of digits -
11)"th digit (exponent part)
45H(E)
ASCII code in "(specified
total number of digits -
10)"th digit (exponent part)
+5
+6
+1
Binary floating point
(real number)
ASCII code for decimal point
(.) (2EH)
ASCII code in "(specified
total number of digits - 4)"th
digit (decimal part)
S
1
S
2
D
S
2
S
2
S
1
D
D
D
D
D
D
S
2