Below is an example of aboveBy and belowBy blocks. If roomTemp is greater or less than 3 from roomSetpoint AND occMode is true, set boolVar to true.

aboveBy - Check if the base number is above the input number by a threshold
belowBy - Check if the base number is below the input number by a threshold