8 exponential (exp), 1 ) operation, 2 ) format – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 178: 3 ) programming example

5.6 Basic Function Instructions
5.6.8 Exponential (EXP)
5-109
Instructions
5
5.6.8 Exponential (EXP)
( 1 ) Operation
The EXP instruction calculates the value obtained by raising base e of the natural logarithm to the real number input
data and stores the result in the output data.
“e” is the base of the natural logarithm.
( 2 ) Format
∗ C and # registers cannot be used.
( 3 ) Programming Example
The following programming example calculates base e of the natural logarithm raised to 1.0 in the input data in
MF00000, and stores the result in the output data in DF00000.
e
1.0
→ DF00000 = 2.718282
If the operation result overflows, the output data will be set to the maximum value 3.402E+38 and an operation error will not
occur.
Input data
Output data
e
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
Input data (Src)
×
×
×
{
×
×
{
Output data (Dest)
×
×
×
{
*
×
×
×
Input data
Output data
Icon:
Key entry: EXP
INFO