PDA

View Full Version : ATO program for pH


drock59
01/13/2013, 05:54 PM
Below is my current program for my peristaltic pump which supplies kalkwasser top off water to my tank.

Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch2 OPEN Then OFF
Defer 002:00 Then ON
Min Time 030:00 Then OFF
If FeedA 010 Then OFF
If FeedB 010 Then OFF


I am interested in adding parameters so that the pump only comes on when pH is below, say, 8.1 and does NOT come on when/if the pH is above, say, 8.3. I think this will be fairly easy to do but I am not sure where in the code my commands should go.

Any help appreciated.

Mark Bianco
01/14/2013, 06:33 AM
With the Apex programing, remember the last true code wins.

Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch2 OPEN Then OFF
Defer 002:00 Then ON
Min Time 030:00 Then OFF
If FeedA 010 Then OFF
If FeedB 010 Then OFF
IF PH(X)> 8.3 Then OFF

grcforce327
01/14/2013, 08:02 AM
What about your salinity? If the PH stays above 8.1, and water keeps evaporating,then salinity goes up.

drock59
01/14/2013, 02:41 PM
The ATO will be on if pH is less than 8.3. I assure you this be almost all of the time. My pH hovers in the 8-8.1 range. I'll have to keep an eye on it for a while though.


Thanks Mark!

drock59
02/15/2013, 07:51 PM
Could someone take a look at this before I turn it on. :)

Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch2 OPEN Then OFF
Defer 002:00 Then ON
Min Time 030:00 Then OFF
If pH > 08.30 Then OFF
If pH < 08.10 Then ON

Everything above the ph statements is working fine right now with no Kalk.


Thanks!

drock59
02/15/2013, 08:42 PM
Decided to leave off the low ph value. It didnt really serve a purpose.

Fallback OFF
Set OFF
If Switch1 CLOSED Then ON
If Switch2 OPEN Then OFF
Defer 002:00 Then ON
Min Time 030:00 Then OFF
If FeedA 010 Then OFF
If FeedB 010 Then OFF
If pH > 08.30 Then OFF