5.3 Mathematical functions
Description Formula Limits
330
Addition and subtraction of
input values and an offset.
P2P1I3I2I1-O2O1 −+ −+==
±327.67%
331
Addition and subtraction of
position values and offset.
Result Long.
PI3I2I1O +−+=
O1, P1 = Low word
O2, P2 = High word
0 … (2
32
-1)
332
Multiplication of the input val-
ues and a factor.
P1I2I1-O2O1 ××==
±327.67%
333
Multiplication of position val-
ues and offset. Result Long.
P1I2I1O1|O2 ××=
O1 = Low word
O2 = High word
0 … (2
32
-1)
334
Multiplication of input value by
a constant fraction.
P2
P1
I1-O2O1 ×==
±327.67%
335
Multiplication of long input
value by percentage divided
by a constant.
P1
I2I1
-O2O1
×
==
0 … (2
32
-1)
336
Division of an input value by
variable input values.
I3I2
I1
-O2O1
×
==
+P1
- P2
[±327.67%]
337
Division of input value by con-
stant.
P1
I1
-O2O1 ==
± P2
[±327.67%]
338
Division of a constant by the
input value (reciprocal).
I1
P1
-O2O1 ==
± P2
[±327.67%]
339
Combined multiplication and
division.
I3
I2I1
-O2O1
×
==
+P1
- P2
[±327.67%]
340
Average from 3 input values.
Multiplication by constant frac-
tion as correction factor.
P2
P1
3
I3I2I1
-O2O1 ×
++
==
±327.67%
341
Absolute value of two ortho-
gonal components. Multiplica-
tion by constant fraction.
P2
P1
I2I1-O2O1
22
× += =
±327.67%
342
Absolute value of three ortho-
gonal components. Multiplica-
tion by constant fraction.
P2
P1
I3I2I1-O2O1
222
× + += =
±327.67%
350 Integrator
I2dtI1
P1
1
-O2O1 +==
∫
±327.67%
351 Differentiator (D-element)
dt
I 1d
P1
1
-O2O1 ×==
±327.67%
360 Absolute value function
I1-O2O1 ==
±327.67%
361 Input value squared.
2
I1-O2O1 ==
+ P2
[±327.67%]
362 Input value cubed.
3
I1-O2O1 ==
± P2
[±327.67%]
363 Square root of input value.
I1
I1
I1-O2O1 ×= =
;
I1O1I1
I1O1I1
− =⇒−
+ =⇒+
± P2
[±327.67%]
364
Modulo, multiplication and
division, result with remainder
P2I3
P1I2I1
O2O1,
×
××
=
;
RestO2
ErgebnisO1
=