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
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......