Averaging of time-based measured values with tendency
Contents

1.Description

This module is used to average chronological measured values. The average value is calculated cyclically (in the case of active start release - Input 1) after expiry of each time interval (Input 2) and output at Output 3. The average value is calculated from the "current value" (Input 3) and the "last value" (value at Input 3 at the start of the time interval - previous current value). After the time interval expires, Output 1 sends the respective current value to Output 2 and a 1 to the control output (Output 4). This output can be used in order to reset a counter to 0 after expiry of the time interval. Output 1 additionally sends the current value once at the start of the module (available optionally - is normally not required because the current measured value is already available). Output 5 informs about an increasing, constant or falling tendency of the average value.

2.Inputs

No.NameInitialisationDescription
1ON/OFF0
On/Off (1 = cyclic calculation, 0 = no calculation)
2Time interval0
Time interval [s]
3current measured value0
current measured value

3.Outputs

No.NameInitialisationSBCDescription
1current value0s
current value
2last value0s
last value
3Average0s
Average
4Control output0s
Control output
5Tendency0s
Tendency (0=undefined, 1= increasing, 2=constant, 3=falling)
s = send, sbc = send by change

4.Other

Recalculation during start:No
Module is retentive:Yes
Internal designation:19017
Category:Math. functions

5.Similar functions

Logarithm (free basis)