Skimmer ph control

Reef man 89

Valuable Member
View Badges
Joined
Oct 8, 2016
Messages
1,902
Reaction score
1,343
Rating - 0%
0   0   0
I added a AFS to my apex and created a virtual outlet to turn off pumps and skimmer when it’s activated. Now before I added this I had my skimmer turn on and off if my ph got to high. If it did get to high then my skimmer( 8.35) would shut off till it fell 8.25 so my skimmer wouldn’t come on and off. But ever since I add the code it won’t wait till the ph get below 8.25 before it turns back on. It will keep turn on and off between 8.35-8.34. Can someone fix this code for me and tell me what I wrote out wrong

05FC46A5-794B-41BF-855C-C273D1EAF232.png
 
This is pretty cool and something that im sure no one has considered doing. Run 2 skimmers, one of them vented to the outside, use the apex to switch between the 2 based on the ph reading.
 
This is pretty cool and something that im sure no one has considered doing. Run 2 skimmers, one of them vented to the outside, use the apex to switch between the 2 based on the ph reading.
I only on one skimmer but it’s hooked up to a Co2 scrubber that’s works fantastic keeps my ph between 8.2-8.4
 
I was wounding what is so special about 8.35?
In the summer months my ph will go past 8.4 with no ill effects. In fact I get way beter coral growth at higher ph.

As far as your code I'm not sure sorry.
 
In order to control an output between two different values, you cannot use Set ON. On the "If pH" commands should be controlling it. Also, you can't use multiple Defer timers the way you have them listed.

Fallback OFF
If pH < 8.25 Then ON
If pH > 8.35 Then OFF
If Output Feeder_10_1 = ON Then OFF
If FeedA 000 Then OFF
Defer 005:00 Then ON

The drawback to this approach is that the skimmer will turn on as soon as the pH is below 8.25, but once the Feeder turns it off, it won't come back on again until 5 minutes after the pH drops below 8.25 again.
 
A better approach might be to add a separate virtual output that monitors the pH, then use that output's state in the skimmer code along with the Feed code:

[Skimmer_pH] — virtual output
If pH < 8.25 Then ON
If pH > 8.35 Then OFF

[Skimmer]
Fallback OFF
Set ON
If Output Skimmer_pH = OFF Then OFF
If Output Feeder_10_1 = ON Then OFF
If FeedA 000 Then OFF
Defer 005:00 Then ON

This would allow the skimmer to turn back on after feeding without waiting for the pH to drop below 8.25 again.
 
In order to control an output between two different values, you cannot use Set ON. On the "If pH" commands should be controlling it. Also, you can't use multiple Defer timers the way you have them listed.

Fallback OFF
If pH < 8.25 Then ON
If pH > 8.35 Then OFF
If Output Feeder_10_1 = ON Then OFF
If FeedA 000 Then OFF
Defer 005:00 Then ON

The drawback to this approach is that the skimmer will turn on as soon as the pH is below 8.25, but once the Feeder turns it off, it won't come back on again until 5 minutes after the pH drops below 8.25 again.
Greatly appreciated! I figured it was something dumb with the 2 deferred times. I will add a new v outlet for skimmer
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top