This 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.
aboveBy belowBy