Mitsubishi Electric MELSEC-Q/L Programming Manual page 90

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Double-precision real number data (double-precision floating-point data)
Instructions which deal with double-precision floating-point data designate devices which are used for the lower 16 bits of
data.
Double-precision floating-point data are stored in the 64 bits which make up (designated device number) to (designated
device number + 3).
M0
EDMOV R100
In a sequence program, floating-point data are designated by E.
Double-precision floating-point data can be represented as follows, using four word devices.
[Sign] 1.[Mantissa]  2
The bit configuration and meaning for the internal representation of double-precision floating-point data are described below:
b63 b62
to
b63
b52 to b62
Sign
Exponent
• Sign: The most significant bit, b63, is the sign bit.
• 0: Positive
• 1: Negative
• Exponent: The 11 bits, b52 to b62, represent the excess n of 2
values in b52 to b62.
b52 to b62
7FF
H
n
Not used
• Mantissa: Each of the 52 bits, b0 to b51, represents the "XXXXXX..." portion when the data is represented in binary,
"1.XXXXXX...".
3 CONFIGURATION OF INSTRUCTIONS
88
3.2 Designating Data
D0
[Exponent]
b52
b51
to
b16
7FE
7FD
400
H
H
H
1023 1022
1
Designation of 4 points of word devices D0, D1, D2
and D3 (64 bits)
Designation of 4 points of R100, R101, R102 and
R103 (64 bits)
Double-precision floating-point data transfer
instruction
b15
to
b0 to 51
Mantissa
n
. The following shows the excess n according to the binary
3FF
3FE
3FD
3FC
H
H
H
H
0
-1
-2
-3
b0
02
01
00
H
H
H
-1021 -1022 Not used

Advertisement

Table of Contents
loading

Table of Contents