Threshold returns true when input is above or below a setpoint with configurable deadband.

Threshold block