Function Blocks
MMA Min/Max/Avg Function Block
212 HC900 Hybrid Control Designer Function Block Reference Guide Revision 11
2/07
MMA Min/Max/Avg Function Block
Description
The MMA label stands for Min-Max-Average-Sum.
This block is part of the
Calculations category.
Function
Accepts inputs from up to six analog input values (X1 - X6) and calculates these values for output:
• MIN - Minimum input value
• MAX - Maximum input value
• AVG - Average of the 6 input values
• SUM - Sum of the 6 input values
• DEV - Standard deviation of the 6 input values
• ALM - Alarm output for deviations
Turns ON ALM when any input is outside the configured number of standard deviations when the
configuration parameter DEV > 0.
• If DEV configured < 0, then:
− no standard deviation is calculated;
− all inputs connected to the block are used to calculate the MIN, MAX, AVG, AND SUM outputs.
• If DEV configured = 0, then:
− the standard deviation is calculated for the number of inputs connected to the block, and
− all inputs connected to the block are used to calculate the MIN, MAX, AVG, and SUM outputs.
• If DEV configured > 0, then:
− the standard deviation is calculated for the number of inputs connected to the block, and SDEV =
result;
− any inputs that deviate more than the configured number (DEV) of standard deviations from the
average are not used to calculate the MIN, MAX, AVG, and SUM outputs;
− if any input deviates more than the configured number (DEV) of standard deviations, ALM turns ON;