Here is my FULL code RP which pertains to my CA Reactor and some pointers:
Regulator
Fallback ON
If pH2 > 06.65 Then ON
If pH2 < 06.45 Then OFF
If pH < 08.00 Then OFF
I have fallback on because if the Neptune malfunctions I can still use the outlet and have the regulator work. My needle valve is set to about 3 bubbles per second and my effluent is set to 3 drops per second. Starting out I would recommend
Fallback ON
If pH2 > 07.00 Then ON
If pH2 < 06.80 Then OFF
If pH < 08.00 Then OFF
The first 2 ph values adjust down by .05 and keep them .20 apart. The third ph value is your main tanks PH. 8.00 might not work for you. Look at your logs and see what the lowest your PH has been in the last week. Take that value and subtract .05 from it. So if your lowest ph is 7.95 then set the value to 7.90
For the feed pump this is my code:
Fallback ON
Set ON
If Switch1 CLOSED Then OFF
If pH < 08.00 Then OFF
If pH2 < 06.35 Then OFF
Dont mind Switch1 - that is my float valve in the sump so nothing runs dry, it will shut off the pump if its tripped. Obviously if the main tanks PH drops below 8 then it shuts off the feed pump and if the PH in the reactor falls below .1 of what the regulator is supposed to shutoff at it stops the feed pump.
Now if the coding somehow fails I also have coding for the main pump to shut off if the PH drops .04 below the 8.0 threshold.
Fallback ON
Set ON
If Outlet SumpFloat = ON Then OFF
If FeedA 000 Then OFF
If FeedD 002 Then OFF
If pH < 07.96 Then OFF
And my alarms:
Set OFF
If Switch1 CLOSED Then ON
If Temp > 82.0 Then ON
If Temp < 75.0 Then ON
If pH > 08.40 Then ON
If pH < 08.00 Then ON
If pH2 > 07.00 Then ON
(this tells me im out of CO2!)
If pH2 < 06.25 Then ON
(this tells me the outlet is stuck on, its happened before!)
If Outlet Power = ON Then ON
Hope that helps Jamie, if you need any help setting it up lmk