Function Blocks 
MMA Min/Max/Avg Function Block 
Revision 11    HC900 Hybrid Control Designer Function Block Reference Guide  213 
2/07     
− 
if all inputs deviate more than the configured number (DEV) of standard deviations, then the MIN, 
MAX, AVG, and SUM outputs all equal zero (0), and ALM turns ON. 
 
•  Standard Deviation (SDEV) = 
i = n
∑
i = 1
n
(X  - X)
2
i
 
 
where: 
X  = AVG 
  n    = the number of connected inputs. 
 
Input 
X1
 = First analog value. 
X2 = Second analog value. 
X3 = Third analog value. 
X4 = Fourth analog value. 
X5 = Fifth analog value. 
X6 = Sixth analog value. 
Output 
MIN
  = Calculated minimum analog value. 
MAX  = Calculated maximum analog value. 
AVG  = Calculated average of analog values. 
SU  = Calculated sum of analog values. 
SDEV  = Square root of Z divided by N, where Z = the sum of individual squared deviations from the 
   average of the first n inputs. 
ALM  = Digital signal for alarm indication. 
Block properties