Min Max Avg Interval 1Ch
The Min Max Avg Interval 1Ch calculates the minimum, maximum and the average of the input values for the time period of the configured Interval. Furthermore the time values of minimum and maximum are shown. Note that all values are from the relative last interval and that they will only be updated when the interval is over. The calculation restarts when the time of the interval has elapsed.
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.
If only individual samples within the configured time signal are to be included in the calculation of the output values, this can optionally be implemented via the Boolean input Add Sample. All input values are considered for which the input Add Sample has the value TRUE.
Configuration Options
- Interval: Time Interval in which the values should be calculated.
Output values
- Min: Indicates the minimum of the input values in the last time interval.
- Max: Indicates the maximum of the input values in the last time interval.
- Avg: Indicates the average of the input values in the last time interval.
- Time Min: Indicates the time value of the minimum in the last time interval→ the event can be dragged and dropped into the Scope chart to display it as a trigger-event.
- Time Max: Indicates the time value of the maximum in the last time interval → the event can be dragged and dropped into the Scope chart to display it as a trigger-event.
- Current Interval Time: indicates the amount of time that has already elapsed from the current interval.
Standard HMI Controls
For the Min Max Avg Interval 1Ch algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The MinMaxAvg control visualizes the output values Min, Max, Avg, Time Min and Time Max as well as the input value of the data.
2. The EnergyMonitoring control visualizes the output values: Min, Max, Avg, Time Min, Time Max and the current input value.
3. The Thermometer control visualizes the average (Avg) temperature.
4. The Table Control or Multivalue Control visualizes all output values: Min, Max, Avg, Time Min, Time Max, Current Interval Time.
Alternatively, customer-specific HMI controls can be mapped in the Min Max Avg Interval 1Ch algorithm using the Mapping Wizard.