Function Blocks 
CMPR Comparison Calculation Function Block 
120    HC900 Hybrid Control Designer Function Block Reference Guide  Revision 11 
  2/07 
CMPR Comparison Calculation Function Block 
Description 
The CMPR label stands for Comparison Calculation.  
 
 
 
This block is part of the 
Calculations category. 
Function 
Compares value of X input to value of Y input and turns ON one of three outputs based on this comparison. 
•  If X input is greater than Y input, then: XGY = ON. 
•  If X input equals Y input, then: XEY = ON. 
•  If X input is less than Y input, then: XLY = ON. 
Input 
X
 = First analog value. 
Y = Second analog value 
Output 
XGY
 = Digital signal state based on calculation. 
XEY = Digital signal state based on calculation. 
XLY = Digital signal state based on calculation. 
Block properties 
Double click on the function block to access the function block properties dialog box. 
Example 
HFigure 24 shows a Function Block Diagram using a CMPR function block to open a vent if input 1 is 
higher than input 2. 
 
 
 
Figure 24  CMPR function block example