Added setpoint alarm. Needs testing.