A Reefaholic's 1000+ Gallon Mixed Reef System Build

So this isn't perfect but I ran into this problem when I first tried to make 3 powerheads work with random flow but I think the idea is the same. You should check me or someone should in case this is wrong because I never got to run it as I got a pair of MP40's and this wasnt needed anymore.

So the problem with the OSC command i think it runs based off of 24 hours and your reef mode isnt divisible into 24 hours so it won't run properly. So i changed it slightly but kept the ratios of time off to time on the same. Meaning instead of a total time of 2hrs 15min then repeat the code is based on 3hrs then repeat, but the total run time and off time for the pumps remains in the correct ratio. For example your total on time for your left pump was 90min and thats 2/3rds of the total time of 2hrs 15min. So converting that to 3hr total run time, total left pump on time is now 120 min which is still 2/3rds of 3hr. The pattern changes slightly but the randomness still remains similar. Does this make sense? The night fit so it wasnt complicated.

Either way the following code is based on the use of the 3 outlets for the pumps ( 1 for each pump) and 6 virtual outlets to control the pump based on time.

Main Outlets

CL_LPump
Fallback OFF
Set OFF
If Outlet CL_LeftDay = ON Then ON
If Outlet CL_LeftNight = ON Then ON

CL_MPump
Fallback OFF
Set OFF
If Outlet CL_MiddleDay = ON Then ON
If Outlet CL_MiddleNight = ON Then ON

CL_RPump
Fallback OFF
Set OFF
If Outlet CL_RightDay = ON Then ON
If Outlet CL_RightNight = ON Then ON


Virutal Outlets

CL_LeftDay
Fallback OFF
Set OFF
If Time 11:00 To 22:59:59 Then ON
OSC 40:00/120:00/20:00 Then ON


CL_MiddleDay
Fallback OFF
Set OFF
If Time 11:00 To 22:59:59 Then ON
OSC 40:00/60:00/80:00 Then OFF


CL_RightDay
Fallback OFF
Set OFF
If Time 11:00 To 22:59:59 Then ON
OSC 50:00/80:00/50:00 Then OFF


CL_LeftNight
Fallback OFF
Set OFF
If Time 23:00 To 10:59:59 Then ON
OSC 0/30:00/30:00 Then ON

CL_Middle Night
Fallback OFF
Set OFF
If Time 23:00 To 10:59:59 Then ON
OSC 0/60:00/60:00 Then ON


CL_Right Night
Fallback OFF
Set OFF
If Time 23:00 To 10:59:59 Then ON
OSC 30:00/30:00/0 Then ON



Feel free to ask questions, hopefully i can answer them and hope this helps or at least gives someone smarter an idea. I have followed your build from the beginning and it truly has come to be a beautiful and a well planned build
 
Justin, much tanks for help on this and guiding me in the right direction. I had to digest this a bit to and it works out pretty well! Working on programming now...
 
So this isn't perfect but I ran into this problem when I first tried to make 3 powerheads work with random flow but I think the idea is the same. You should check me or someone should in case this is wrong because I never got to run it as I got a pair of MP40's and this wasnt needed anymore.

So the problem with the OSC command i think it runs based off of 24 hours and your reef mode isnt divisible into 24 hours so it won't run properly. So i changed it slightly but kept the ratios of time off to time on the same. Meaning instead of a total time of 2hrs 15min then repeat the code is based on 3hrs then repeat, but the total run time and off time for the pumps remains in the correct ratio. For example your total on time for your left pump was 90min and thats 2/3rds of the total time of 2hrs 15min. So converting that to 3hr total run time, total left pump on time is now 120 min which is still 2/3rds of 3hr. The pattern changes slightly but the randomness still remains similar. Does this make sense? The night fit so it wasnt complicated.

Either way the following code is based on the use of the 3 outlets for the pumps ( 1 for each pump) and 6 virtual outlets to control the pump based on time.

Main Outlets

CL_LPump
Fallback OFF
Set OFF
If Outlet CL_LeftDay = ON Then ON
If Outlet CL_LeftNight = ON Then ON

CL_MPump
Fallback OFF
Set OFF
If Outlet CL_MiddleDay = ON Then ON
If Outlet CL_MiddleNight = ON Then ON

CL_RPump
Fallback OFF
Set OFF
If Outlet CL_RightDay = ON Then ON
If Outlet CL_RightNight = ON Then ON


Virutal Outlets

CL_LeftDay
Fallback OFF
Set OFF
If Time 11:00 To 22:59:59 Then ON
OSC 40:00/120:00/20:00 Then ON


CL_MiddleDay
Fallback OFF
Set OFF
If Time 11:00 To 22:59:59 Then ON
OSC 40:00/60:00/80:00 Then OFF


CL_RightDay
Fallback OFF
Set OFF
If Time 11:00 To 22:59:59 Then ON
OSC 50:00/80:00/50:00 Then OFF


CL_LeftNight
Fallback OFF
Set OFF
If Time 23:00 To 10:59:59 Then ON
OSC 0/30:00/30:00 Then ON

CL_Middle Night
Fallback OFF
Set OFF
If Time 23:00 To 10:59:59 Then ON
OSC 0/60:00/60:00 Then ON


CL_Right Night
Fallback OFF
Set OFF
If Time 23:00 To 10:59:59 Then ON
OSC 30:00/30:00/0 Then ON



Feel free to ask questions, hopefully i can answer them and hope this helps or at least gives someone smarter an idea. I have followed your build from the beginning and it truly has come to be a beautiful and a well planned build

Dude thats some serious programming but way above my pay grade.
 
Dude thats some serious programming but way above my pay grade.

Come on Wayne, you could do it! What got me was I was not going on something that was divisible by 24 so I was thinking I'd not be able to use the OSC command. It's in place and seems to be working fine looking back at my Apex graph!
 
Come on Wayne, you could do it! What got me was I was not going on something that was divisible by 24 so I was thinking I'd not be able to use the OSC command. It's in place and seems to be working fine looking back at my Apex graph!

Well I am glad it worked out for you. Still above my pay grade. I just fix them, not program them.
 
So.....Who following along is planning on making it to MACNA this year? Just made the decision today to go ahead and go and not sell my tickets.
 
I can only hope to go. Also Dustin, I know many posts ago I said my company is coming to Carmel and I was hoping to get to see your tank, however at this moment I won't be making the trip over. Maybe at another time

Corey
 
I can only hope to go. Also Dustin, I know many posts ago I said my company is coming to Carmel and I was hoping to get to see your tank, however at this moment I won't be making the trip over. Maybe at another time

Corey

I will be there Thursday night thru Sunday.
 
Yo D. Whats going on? Hows things going with the tank

Sorry for the lack of updates, I've just been very busy at work, kid, club, etc and have not had much spare time to take pictures and document my build thread. Thinking that after MACNA wraps up I'll have a little less to do so I can wind down and do a few projects I have in my mind for the fish room. (Finish QT system, bigger frag QT system, build workbench, etc)

Things are progressing. I had a screw up that left my alk spike about 4dKH and lost some of my nice acros. My colors have been recovering since then and of course this had to be days before I had 40-50 people over as I was hosting our club meeting for August! :headwalls::headwalls::headwalls:

Other than that, things are progressing. Currently working on a 200 gallon fish QT system and will be ordering round of tangs/trigger after getting back from MACNA so hopefully should have much more life in the main tank in October after a healthy round of fish in QT!
 
Back
Top