1.Description
This module sends a sliding average. The average is determined with the following function: Value=(old value * (P-1) + IV) / P. The value is calculated cyclically after expiry of the periods.
2.Inputs
No. | Name | Initialisation | Description |
---|---|---|---|
1 | E1 Value | 0 | Input value (IV) |
2 | E2 Periods | 0 | Number of periods (P) |
3 | E3 Reset | 0 | Reset when value is not equal to zero. The result is set to zero |
4 | E4 duration (sec.) | 0 | Duration of a period in seconds |
3.Outputs
No. | Name | Initialisation | SBC | Description |
---|---|---|---|---|
1 | A1 MV | 0 | s | Average (result) |
2 | A2 Valid | 0 | s | Sends a 1 as soon as there is a valid value. The value is valid as soon as the number of values that have arrived is equal to the number of periods. |
s = send, sbc = send by change
4.Other
Recalculation during start: | Yes |
---|---|
Module is retentive: | Yes |
Internal designation: | 9067 |
Category: | Math. functions |