Function Block AVG

The Function Block AVG determines the minimum, maximum and average value.

Input IN

The Input IN expects a number. This is then analyzed.

Input PT

Defines the interval in T# for calculating the value of the output AVG. This will be recalculated after this time if no change occurs.

Input DIS

If the input is true, it deactivates the calculation of the values.

Input RESET

If the input is true, it resets the calculation and sets the value of the input IN to all outputs.

Output Q

Corresponds to the Input Q.

Output MIN

The smallest value of the Input IN over the entire period since the last reset.

Output MAX

The largest value of the Input IN over the entire period since the last reset.

Output AVG

The moving average value of the Input IN over the entire period since the last reset.

See Also