Is there any way to create a "deadband" or differential using click software?
For example to turn a heater on when temperature drops below 20 degrees but not shut if off until it hits 23.
hhAbsolutely: one way* is to use the Start/Stop Circuit pattern, see here. This could also be called hysteresis.
Take that Start/Stop Circuit pattern (image source is from the link above):
You need to find the "less than" comparison instruction, which compares analog values, in the Click instruction set.
- Start: Temperature is less than 20°
- Stop: Temperature greater than or equal to 23,
- N.B. programmed on the rung as
- not-Stop
- i.e. Temperature is less than 23°
- Seal-In and Run use the same bit tag as an operand.
* Another way would be to use a Set/Reset pattern (see here).
That makes total sense thank you!Absolutely: one way* is to use the Start/Stop Circuit pattern, see here. This could also be called hysteresis.
Take that Start/Stop Circuit pattern (image source is from the link above):
You need to find the "less than" comparison instruction, which compares analog values, in the Click instruction set.
- Start: Temperature is less than 20°
- Stop: Temperature greater than or equal to 23,
- N.B. programmed on the rung as
- not-Stop
- i.e. Temperature is less than 23°
- Seal-In and Run use the same bit tag as an operand.
* Another way would be to use a Set/Reset pattern (see here).