Mitsubishi Electric FX3G SERIES Programming Manual page 496

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
- 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.
S
2
+1
S
2
+2
S
2
S
1
- 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.
S
2
+1
S
2
+2
S
2
S
1
- "00H" or "0000H" is automatically stored at the end of the converted character string.
3. In the case of exponent format
S
Exponent format
2
Total number of
+1
S
2
Number of digits
+2
S
2
of decimal part
Sign (integer part)
+1
S
1
Binary floating point
(real number)
• The total number of digits which can be specified by
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)
494
0: Decimal point
format
8 (Total number of
digits)
2 (Number of digits
of decimal part)
+1
S
1
−1.23456
0
8
2
+1
S
1
−1.23456
digits
E
Sign (exponent part)
S
Automatically
1
added.
18.4 FNC116 – ESTR / Floating Point to Character String Conversion
Total
number of
digits
1
2 3
Low-order digits of decimal
part
Automatically added.
Total
number of
digits
1
2 3
Low-order digits of decimal
part
"20H (space)" is stored.
b15
ASCII code in "(specified
total number of digits - 1)"th
D
ASCII code for decimal point
+1
D
(.) (2EH)
ASCII code in "(specified
+2
D
total number of digits - 5)"th
digit (decimal part)
ASCII code in "(specified
D
+3
total number of digits - 7)"th
digit (decimal part)
ASCII code of sign
+4
D
(exponent part)
ASCII code in "(specified
+5
D
total number of digits -
11)"th digit (exponent part)
+6
D
0000H is automatically stored at the end of the
+1 is as follows (24 digits maximum):
S
2
18 Floating Point – FNC110 to FNC139
b8 b7
ASCII code for sign
digit
ASCII code in "(specified
total number of digits - 2)"th
digit
ASCII code in "(specified
total number of digits - 4)"th
digit (decimal part)
ASCII code in "(specified
total number of digits - 6)"th
digit (decimal part)
45H(E)
ASCII code in "(specified
total number of digits -
10)"th digit (exponent part)
0000H
character string.
b0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents