Mitsubishi Electric MELSEC FX3U Programming Manual page 515

Melsec fx series programmable logic controllers
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.
0: Decimal point
S
2
8 (Total number of
+1
S
2
2 (Number of digits
+2
S
2
of decimal part)
+1
S
1
−1.23456
- 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
+1
S
1
−1.23456
- "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
digits
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)
format
number of
digits)
S
1
0
number of
8
2
S
1
E
Sign (exponent part)
S
Automatically
1
added.
18 Floating Point – FNC110 to FNC139
18.4 FNC116 – ESTR / Floating Point to Character String Conversion
Total
digits
1
2 3
Low-order digits of decimal
part
Automatically added.
Total
digits
1
2 3
Low-order digits of decimal
part
"20H (space)" is stored.
b15
ASCII code in "(specified
D
total number of digits - 1)"th
digit
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
+3
D
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
b8 b7
ASCII code for sign
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.
11
12
13
14
15
b0
16
17
18
19
20
513

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents