PDA

View Full Version : Calcium reactor code


The Saltman
10/26/2008, 06:13 PM
Hello,

I currently have the following code for my reactor:

If Time >00:00 Then CO2 ON---this turns on CO2 solenoid

If Ph < 06.80 Then CO2 OFF
Max Change 005 M Then CO2 OFF

If ph < 06.70 Then ALM ON
Max Change 005 M Then ALM ON


Just wanted to get some input on this coding. I prefer not to have my solenoid constantly turning off and on. Is there a better code than this?

kajung2k
10/26/2008, 08:08 PM
Hey Saltman -- This is what I did:

If PH >6.80 Then CO2 ON
If PH <6.70 Then CO2 OFF
Max Change 002 M Then CO2 OFF

clp
10/27/2008, 11:09 AM
I recommend the way kajung2k does the CO2 control as it has hysteresis based upon the pH value.

Curt