Mean 1Ch

The Mean 1Ch calculates the mean value over the input values according to the formula

The number of samples N that are included in the calculation can be configured by specifying a time interval. A cascaded output can be configured to realize a long-term mean value in a resource-saving way and to pick up intermediate results. The time interval of the configured cascade must correspond to an integer multiple of the time interval of the previous cascade.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Num Cascades: Number of output cascades
- Cascades: Configuration of the output cascades. The time interval of the configured cascade must correspond to an integer multiple of the time interval of the previous cascade.
- Sample Rate: Sample rate of the system to be analyzed in Hz.
- Startup Behavior:
WaitUntilFilled waits until the configured timespan of the cascade has elapsed. The result and the "NewResult" Boolean flag are only set for the first time after the timespan has expired.
UsePreviousCascadeValue: The cascades whose configured timespan has not yet expired use the next smallest result that has already been set.
Output values
- Mean: Output array in which the results of the mean value calculations are saved. The dimension corresponds to the number of set cascades. The startup behavior can be set via the Startup Behavior parameter.
Standard HMI Controls
For the Mean algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The Table Control or Multivalue Control visualizes all output values: Mean Results.



Alternatively, customer-specific HMI controls can be mapped in the Mean algorithm using the Mapping Wizard.