adding CO2 scrubber coding.

becon776

Active Member
View Badges
Joined
Nov 11, 2018
Messages
462
Reaction score
158
Rating - 0%
0   0   0
Hey there guys,
Never posted in this forum before and this is mostly just for a double check of my code.
So I have added a CO2 scrubber onto the system and then after burning thru a refill of media each week I decided to drill skimmer cap and make recirculating which means my scrubber is pulling its air from skimmer cup (co2 rich) and supplying the skimmer with air from the scubber output. should help to save on media. anyway... Just wanted to add correct code in case skimmer overflows or in case the scrubber starts to work too well. For now i just added to end. seems messy. Also I always want to be sure that if I turn my return pump off then the skimmer turns off and if I turn return pump back on the skimmer will restart with a delay. It seems there should also be a delay with the high pH = skimmer off because it would just keep going on and off on and off as the pH responds to skimmer being on and off. (i could be wrong about this though)

Fallback OFF
Set ON
If Output Returnpump = OFF Then OFF
If pH > 8.30 Then OFF
If pH < 8.30 Then ON
Defer 002:00 Then OFF
Defer 002:00 Then ON
If Power Apex Off 001 Then OFF
Defer 001:00 Then ON
 
You only need 1 defer statement in there, fusion will only make the last one true.

Just to clarify, the two Defer ... Then ON statements are redundant and only the last one applies.

However, if he wants to defer on both ON and OFF then he does need two Defer statements. One Defer... Then ON and one Defer ... Then OFF
 
Hey there guys,
Never posted in this forum before and this is mostly just for a double check of my code.
So I have added a CO2 scrubber onto the system and then after burning thru a refill of media each week I decided to drill skimmer cap and make recirculating which means my scrubber is pulling its air from skimmer cup (co2 rich) and supplying the skimmer with air from the scubber output. should help to save on media. anyway... Just wanted to add correct code in case skimmer overflows or in case the scrubber starts to work too well. For now i just added to end. seems messy. Also I always want to be sure that if I turn my return pump off then the skimmer turns off and if I turn return pump back on the skimmer will restart with a delay. It seems there should also be a delay with the high pH = skimmer off because it would just keep going on and off on and off as the pH responds to skimmer being on and off. (i could be wrong about this though)

Fallback OFF
Set ON
If Output Returnpump = OFF Then OFF
If pH > 8.30 Then OFF
If pH < 8.30 Then ON
Defer 002:00 Then OFF
Defer 002:00 Then ON
If Power Apex Off 001 Then OFF
Defer 001:00 Then ON

Like @Sisterlimonpot said, you want to remove the if pH < 8.30 Then ON because that isn’t necessary. It will already be on because of the SET ON and will only be turned off if the pH is too high, if the return pump is off or if the power has failed.

However, it’s also worth noting that the lower statements take priority. So as you have it written now if your return pump is off, but the pH is below 8.3 then it will still be on because the If pH < 8.30 Then On is below the If Output Returnpump = OFF Then OFF, so it takes priority. You could switch the order of the statements and it would work, but like I said above the If pH < 8.30 Then On isn’t necessary so it can just be removed entirely.
 
Here is the code I use for my skimmer for PH control. I set the "on" a bit lower than the off so the skimmer doesn't rotate between on and off all the time. With this my skimmer sill generally on turn off 1 time per day.

With the recirculating CO2 scrubber I found on one of my systems I was getting a lot of moisture in my CO2 scrubber. To solve this problem I run an empty media reactor with the sponges in it between the C02 scrubber intake and the skimmer which eliminated my excess moisture in the CO2 scrubber. I had an extra BRS dual reactor that I used but expect a single reactor would work fine also.




If pH > 8.40 Then OFF
If pH < 8.35 Then ON
 
ok so following advice I have changed to below. I absolutely want to make sure the if return pump off then off followed by a delay is not messed with because feed modes, water changes, tank maintenance. also raised pH a bit because I will probably hit that 8.4 and that is fine.
Fallback OFF
Set ON
If Output Returnpump = OFF Then OFF
If pH > 8.30 Then OFF
If pH < 8.30 Then ON
Defer 002:00 Then OFF
Defer 002:00 Then ON
If Power Apex Off 001 Then OFF
Defer 001:00 Then ON
 
sorry
Fallback OFF
Set ON
If Output Returnpump = OFF Then OFF
If pH > 8.50 Then OFF
Defer 002:00 Then ON
If Power Apex Off 001 Then OFF
Defer 001:00 Then ON
 
Looks good. With the defer statements it won’t turn off until 2 minutes after the return pump is shut off. And when the return pump is turned back on this will turn off one minute later.
 
i have a question,
So if ph rises above 5 it will turn off but then turn back on 2 min later?
i like that for when i cut return pump but not for the pH
 
i have a question,
So if ph rises above 5 it will turn off but then turn back on 2 min later?
i like that for when i cut return pump but not for the pH

If the pH rises above 8.5 and stays above 8.5 it will turn off and stay off. If the pH then lowers below 8.5 and stays under 8.5 for one minute then it will turn back on.

If the return pump is off for at least 2 minutes then it will turn off and stay off until the return pump has been on for at least one minute.

It is possible to have different defers for different things, but it is much more complicated to program and requires virtual outlets.
 

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