I am not sure if I fully understand the application of defer and min (despite reading lots). I would appreciate a second look at my programming.
I have two pH probes and would like the buffer pump to run only when both are in agreement. I don't want the buffer pump to turn on and off quickly if the pH jumps around a little. Lastly, if the buffer pump runs for more than 30 min, send me a message (as the solution is out).
Virtual outlet for the second pH probe called BackpH:
BackpH
If pH2 < 8.00 Then ON
If pH2 > 8.20 Then OFF
Virtual outlet for the timer called VBuffertimer:
VBuffertimer
Set OFF
If Output Buffer-Pump = ON Then ON
Defer 030:00 Then ON
Outlet controlling the buffer pump called Buffer-Pump:
Buffer-Pump
Set OFF
If pH1 < 8.00 Then ON
If Output BackpH = ON Then ON
If Output VBufferTimer = ON Then OFF
Min Time 002:00 Then OFF
Defer 001:00 Then ON
Then a line in my e-mail alarm:
If Output VBufferTimer = ON Then ON
I am not sure if I am using the defer and min commands properly in the virtual timer and outlet properly.
Many thanks.
Bookmarks