Sliding average (cyclical)
Contents

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.NameInitialisationDescription
1E1 Value0
Input value (IV)
2E2 Periods0
Number of periods (P)
3E3 Reset0
Reset when value is not equal to zero. The result is set to zero
4E4 duration (sec.)0
Duration of a period in seconds

3.Outputs

No.NameInitialisationSBCDescription
1A1 MV0s
Average (result)
2A2 Valid0s
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

5.Similar functions

Curve funct. (2 points)
Curve funct. (4 points)
Random generator
Minimum value (continuous)
Minimum value (comparative)
Maximum value (continuous)
Maximum value (comparative)
Exponential function
Natural logarithm
Summation
Sliding average (event)
Root
x to the power of y
Logarithm (Base 10)
Absolute value