Enabling an output trigger
Can someone help me with this?
I'm doing a simple temperature controller. I monitor the water temperature in my car and when it hits a pre-set level, I want to turn on some relays.
I have a screen that displays all my inputs, variables, & outputs, and when I set the controller up in the most straightforward way, it works as intended. But I want to enable the trigger based on the state of an 'enable' screen button.
I compare a Fahrenheit sensor to a number. Next I compare the output of the > comparator to a variable that represent the 'enable' state - based on my button. Then it goes to my output. But my 'then statements' trigger an output when the temp exceeds the threshold regardless of the state of the enable signal.
I also tried setting a new variable, but no difference.
Any ideas what I'm doing wrong?