Mitsubishi MELSEC Q Series Programming Manual page 282

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

FLT(P),DFLT(P)
(3) Due to the fact that 32-bit floating decimal point type real numbers are processed by simple
32-bit processing, the number of significant digits is 24 bits if the display is binary and
approximately 7 digits if the display is decimal.
For this reason, if the integer exceeds the range of
value), errors can be generated in the conversion value.
As for the conversion result, the 25th bit from the upper bit of the integer is always filled with
1 and 26th bit and later bits are truncated.
222030030 0 0 0 0 1 1 0 1 0 0 1 1 1 0 1 1
372588919 0 0 0 1 0 1 1 0 0 0 1 1 0 1 0 1
Operation Error
(1) There are no errors associated with the FLT,DFLT instruction.
6-80
Integer
b31
b24 b23
b16
b31
b24 b23
b16 b15
16777216 to 16777215 (24-bit BIN
b15
b8 b7
b0
1 1 1 0 1 0 0 0 1 1 0 0 1 1 1 0
b8 b7
b0
0 1 0 0 0 0 0 1 0 1 1 1 0 1 1 1
After conversion
Result of operation
is 222030032.
Truncation
Always filled with 1
Result of operation
is 372588928.
Truncation
Always filled with 1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents