Originally Posted by
rkpetersen
Here's the code I use to dispense about a gallon a day of RODI/kalk through a kalk reactor, for both the ATK Pmup as well as an inline solenoid present as a safeguard. It defers dosing if the high sensor is closed, which is rarely the case. At 11 seconds dosing every 30 minutes, the acute effect of each dose on pH and alk is very small. There are multiple timed email warnings for both high and low sensors, to keep me well informed of their status, of the type zombie described. For example, if the low sensor stays open too long, typically it means that evaporation is slightly greater than normal (as when using a cooling fan in the summer) and I need to add a bit of RODI water (not kalk) to the sump. It's not entirely perfect but works for me at present.
Fallback OFF
OSC 015:00/000:11/014:49 Then ON
When On > 000:15 Then OFF
If Sal < 33.0 Then OFF
If pH > 8.35 Then OFF
If SumpHi CLOSED Then OFF
If LeakRO CLOSED Then OFF
If RODILo OPEN Then OFF
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If FeedC 000 Then OFF
If FeedD 000 Then OFF
If Output ReturnPump = OFF Then OFF
If Output LeakDetected = ON Then OFF