Overview Average

This function block calculates the arithmetic mean (average) of all inputs. The sum of all input values is divided by the number of inputs and provided at the output. The value is recalculated whenever an input changes. The number of inputs is set with the parameter „Number of inputs“ (at least 2).


Inputs

E1..En
Input 1..n
Values to be averaged. The number of inputs corresponds to the parameter „Number of inputs“.

Outputs

DS
Average
Arithmetic mean of all inputs (sum divided by the number of inputs).

Parameters

Number of inputs
Number of input values to be averaged (at least 2).

See also common parameters of all function blocks.