6.3 Data Conversion Instructions
6.3.17 Double-precision to single-precision conversion
6-105
6
BA
S
IC
INSTRUCTIONS
EDCON
EDCON
6.3.17
Double-precision to single-precision conversion
EDCON
F
unct
i
on
Converts 64-bit floating-point real number specified for
to 32-bit floating-point real number,
and stores the conversion result to the device specified for
.
0 or values between 2
-1022
and 2
1024
can be specified for
.
EDCON(P)
P: Executing condition
:
indicates any of the following
instructions.
EDCON
EDCONP
Input
argument,
EN:
Executing condition
:Bit
s:
Conversion source data
:Double-precision real
Output
argument,
ENO:
Execution result
:Bit
d:
Converted data
:Single-precision real
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
E
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Per
f
ormance
EDCON
EN
ENO
d
s
Structured ladder
ST
EDCON
(EN, s, d);
ENO:=
s
d
s
d
s
6
4-
b
it
f
loating-
p
oint
real num
b
er
3
2
-
b
it
f
loating-
p
oint
real num
b
er
d
s
Содержание 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: ......