NORD Drivesystems BU0550 User Manual
Page 30
PLC logic for NORD SK 54xE frequency inverters
30
BU 0550 GB-0813
3.2.3.3
LN
Logarithm to base e (2.718). Up to 3 places behind the decimal point may be stated, i.e. 1.000 must be
entered as 1000.
1000
1000
ln
Akku
Akku
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD 1234
LN
Result = 210
ST Var1
Save the value 210 in Value1
Table 24 LN
3.2.3.4
SQRT
Forms the square root of the accumulator. Up to 3 places behind the decimal point may be stated, i.e. 1.000
must be entered as 1000.
1000
1000
Akku
Akku
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD 1234
SQRT
Result = 1110
ST Var1
Save the value 1110 in Var1
Table 25 SQR
3.2.3.5
COS, ACOS, SIN, ASIN, TAN, ATAN
Calculates the relevant mathematical function. The value to be calculated must be available in the
accumulator in radians. The scaling corresponds to 1 = 1000.
Conversion: Angle in radians = (Angle in degrees * PI / 180)*1000
e.g. an angle of 90° is converted as follows 90° * 3.14 / 180) *1000 = 1571
1000
1000
sin
Akku
Akku
1000
1000
cos
Akku
Akku
1000
1000
tan
Akku
Akku
1000
1000
sin
Akku
a
Akku
1000
1000
cos
Akku
a
Akku
1000
1000
tan
Akku
a
Akku
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD 1234
SIN
ST Var1
Save the value 943 in Var1
Table 26 Trigonometrical functions