11 - 66 11 - 66
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
EXP
Function
EXPonential
• Returns the exponential function value of base e (e=2.718281).
EXP ( <numeric expression> )
Syntax
numeric expression
• • • •
Specify the multiplicator n of e
n
.
Examples
E=EXP(10)
• • • •
Calculates EXP(10) and stores it in E.
Description
• The EXP function returns the exponential function value of base e.
• Specify 87.33655 or smaller to <numeric expression>. An “Overflow” error occurs if it
exceeds this value.
• The EXP function calculates in single precision.
Program Example
10 ' Calculates the value of e^5.2
20 A=5.2
30 B=EXP(A)
:
'Calculates e^5.2
50 PRINT "e^5.2=";B
60 END
RUN
e^5.2= 181.272
OK
REMARK
See the LOG function.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...