3.4 Method for Specifying Data
3.4.4 Single-precision real/double-precision real data
3-13
3
CONFIGURA
TION
OF IN
S
T
RU
CTIONS
(2) Using word devices
Devices used in lower 16 bits are specified for a word device.
'Specified device number' and 'specified device 1' are used for instructions that
process 32-bit data.
3.4.4
Single-precision real/double-precision real data
Single-precision real/double-precision real data are 32-bit floating-point data used in basic
instructions and application instructions.
Real number data can be stored only in word devices.
(1) Single-precision real (single-precision floating-point data)
Devices used in lower 16 bits are specified for instructions that use real number data.
Real number data are stored in 32 bits of 'specified device number' and 'specified device 1'.
Remark
Floating-point data are represented by two word devices.
[Sign] 1. [Fraction] 2
[Exponent]
The following explains the bit configuration and its meaning when floating-point
data are internally represented.
• Sign
b31 represents a sign.
0: Positive
1: Negative
• Exponent
b23 to b30 represent n of 2
n
.
The values of n are as follows according to BIN values of b23 to b30.
• Fraction
23 bits of b0 to b22 represent a value of XXXXXX... when the fraction is
expressed as 1.XXXXXX... in binary
M0
DMOV
EN
ENO
d
s
D0
1
00
T
w
o
p
oints (3
2
b
its) o
f
D0 and D
1
are t
h
e target
w
ord devices
Trans
f
ers 3
2
-
b
it data
M0
EMOV
EN
ENO
d
s
Var_R
1
00
Var_D0
T
w
o
p
oints (3
2
b
its) o
f
R
1
00 and R
1
0
1
are t
h
e target
w
ord devices
T
w
o
p
oints (3
2
b
its) o
f
D0 and D
1
are t
h
e target
w
ord devices
Trans
f
ers real num
b
er data
b
3
1
b
30
to
b2
3
b22
b16
to
b15
b
0
to
b
3
1
S
i
gn
b2
3
to
b
30
E
x
p
onent
b
0
to
b22
F
ract
i
on
b2
3
to
b
30
FF
H
FE
H
F
D
H
8
1
H
80
H
7
F
H
7
E
H
0
2
H
0
1
H
00
H
n
N
ot
used
12
7
126
2
1
0
-1
-125 -126
N
ot
used
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......