3 extended mathematical operators – NORD Drivesystems BU0550 User Manual
Page 29
3 AWL (Instruction List, IL)
BU 0550 GB-0813
29
3.2.3
Extended mathematical operators
Operator
Explanation
EXP
Exponential function
LOG
Logarithm, base 10
LN
Logarithm, base e
SQRT
Root
COS, ACOS
Trigonometrical operators
SIN, ASIN
TAN, ATAN
Table 21 Overview of extended mathematical operators
NOTE
The operators listed here require a large amount of computation. This may result in a
considerably longer running time for the PLC program.
3.2.3.1
EXP
Forms the exponential of the accumulator to the base of Euler's number (2.718). Up to 3 places behind the
decimal point may be stated, i.e. 1.002 must be entered as 1002.
1000
1000
Akku
e
Akku
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD 1000
EXP
Result = 2718
ST Var1
Table 22 EXP
3.2.3.2
LOG
Forms the logarithm to base 10 from the accumulator. Up to 3 places after the decimal point may be stated,
i.e. 1.000 must be entered as1000.
1000
1000
10
log
Akku
Akku
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD 1234
LOG
Result = 91
ST Var1
Table 23 LOG