5.3.4 [339] Multiplication and division
Type Function
Type Function
I1 %
Input (numerator
1)
O1 %
I3
I2I1
O1
×
=
I2 %
Input (numerator
2)
O2 % inverted output = -1
I3 %
Input (denomina-
tor)
P1 % upper limit
I4 b Master Reset
P2 % lower limit
Description:
The input value at I1 is multiplied by the input value at I2 and the result is divided by the input
value at I3.
I3
I2I1
2 OO 1
×
=−=
The result of the division is limited to -P2 … +P1 (max. to ±327.67%).
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%) O1 = 140.00% * 40.00% / 20.00%
= (1.4000 * 0.4000 / 0.2000)
= 280.00%
I2=4000 (=40.00%)
I3=2000 (=20.00%)
Note:
Percentages [%] have two decimals.
For example: Value 12345
IN
= 123.45% = 1.2345
5.3.5 [340] Average function
Type Function
Type Function
I1 % Input 1
O1 %
P2
P1
3
I3I2I1
O1 ×
++
=
I2 % Input 2
O2 % inverted output = -1
I3 % Input 3
P1 i Factor numerator
I4 b Master Reset
P2 i Factor denominator
Description:
The average is calculated from the input values at I1, I2 and I3.
Parameters P1 and P2 can be adjusted as correction factors.
2P
1P
3
3 I2 I1 I
2 OO 1 ×
++
=−=
As long as status TRUE is present at I4 (Master Reset), the output value O1 is 0.
Example:
I1=14000 (=140.00%) O1 = (140.00% + 40.00% + 20.00%) / 3 * 5/4
= 200% /3 * 5/4
= 83.33%
I2=4000 (=40.00%)
I3=2000 (=20.00%)
P1= 5
P2= 4
If the average is to be calculated from two input values only, I1 and I2 must be used and I3
must be set to FALSE.
2P
1P
2
2 I1 I
O1 ×
+
=