7.12 Special Function Instructions
7.12.20 Exponential operation on floating-point data (double precision)
7-269
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
EXP
D
EXPD
7.12.20
Exponential operation on floating-point data
(double precision)
EXPD
Function
(1) Evaluates the exponential function on the value specified for
, and stores the result to the
device specified for
.
0 or values between 2
-1022
and 2
1024
can be specified for
.
(2) Exponential operation is evaluated taking the base (e) as 2.71828.
(3) When the operation results in
−
0 or an underflow, the result is processed as 0.
EXPD(P)
P: Executing condition
:
indicates any of the following
instructions.
EXPD
EXPDP
Input argument,
EN:
Executing condition
:Bit
s:
Data on which the exponential function is evaluated
:Double-precision real
Output argument,
ENO:
Execution result
:Bit
d:
Operation result
:Double-precision real
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
E
Others
Bit
Word
Bit
Word
−
−
−
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
E
XPD
EN
ENO
s
d
E
XPD
(EN,
s
, d);
ENO:=
s
d
s
d
s
Fl
oat
i
ng
-
po
i
nt
rea
l
number
)
Fl
oat
i
ng
-
po
i
nt
rea
l
number
(
e
s
d
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: ......