Mitsubishi FX3U Series Programming Manual page 468

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
2. In the case of decimal point format
Decimal point
S
2
format
Total number of
+1
S
2
digits
Number of digits
+2
S
2
of decimal 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 ≥ 2
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 + 3)
• The number of digits of the decimal part which can be specified by
However, make sure to achieve "Number of digits of decimal part ≤ (Total number of digits - 3)"
For example, when the total number of digits is "8", the number of digits of the decimal part is "3", and
"-1.23456" is specified, data is stored in
S
2
+1
S
2
+2
S
2
+1
S
1
−1.23456
Binary floating point
(real number)
• The character string data after conversion is stored in the devices
- As the sign, "20H (space)" is stored when the binary floating point data is positive, and "2DH (-)" is
stored when the data is negative.
- If the decimal part of the binary floating point data cannot be accommodated in the number of digits of
the decimal part, low-order digits of the decimal part are rounded.
S
2
+1
S
2
+2
S
2
S
1
466
Sign
S
1
Total
0
number
of digits
Number of
8
digits of
decimal part
3
1
2 3 5
Sign
S
1
0: Decimal point
format
8 (Total number of
digits)
2 (Number of digits
of decimal part)
+1
S
1
−1.23456
18.4 FNC116 – ESTR / Floating Point to Character String Conversion
b15
ASCII code in "(specified
total number of digits - 1)"th
D
ASCII code in "(specified
+1
total number of digits - 3)"th
D
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)
+4
D
00H is automatically stored at the end of a
+1 is as follows (24 digits maximum):
S
2
and later as shown below:
D
b15
20H(space)
D
+1
D
+2
D
+3
D
+4
D
00H is automatically stored at the end of a
Total
number of
digits
1
2 3
4 5 6
Low-order
Rounded.
digits of
decimal part
18 Floating Point – FNC110 to FNC139
b8 b7
ASCII code for sign
digit
ASCII code in "(specified
total number of digits - 2)"th
digit
digit
ASCII code for decimal point
(.)
(2E
ASCII code in "(specified
total number of digits - 6)"th
digit (decimal part)
00
H
character string.
+2 is from 0 to 7.
S
2
b8 b7
2DH(-)
31H(1)
20H(space)
32H(2)
2EH(.)
35H(5)
33H(3)
00H
character string.
and later as shown below:
D
b0
)
H
b0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents