Check my Apex code please!

AmatuerAuer

Active Member
View Badges
Joined
Feb 23, 2015
Messages
349
Reaction score
48
Rating - 0%
0   0   0
Fallback OFF
OSC 000:00/010:00/050:00 Then ON
If Time 03:00 to 23:59 Then OFF
If pH > 8.75 Then OFF

My understanding that 00:00 (midnight) it will come on for 10mins, stay off for 50mins and repeat this cycle from 12-1am, then again from 1-2 and again from 2-3am.

For a total of 30mins on before staying off from 3am to 11:59pm.

If the pH rises above 8.75 it will not come on. Do I have this correct?

Thank you in advance!
AA
 
Are you trying to program your alk dosing? I never feel confident that I've gotten the OSC commands correct, I would just use something like this that makes it really obvious when things turn on and off:

Fallback OFF
Set OFF
If Time 00:00 to 00:10 Then ON
If Time 01:00 to 01:10 Then ON
If Time 02:00 to 02:10 Then ON
If pH > 8.75 Then OFF


HTH,
Larry
 
Perfect, I'll try dosing around the clock, 1:08secs every hour. Off set Calc and Alk by 30mins
 
Code looks good. :-)

Fallback OFF
OSC 000:00/010:00/050:00 Then ON
If Time 03:00 to 23:59 Then OFF
If pH > 8.75 Then OFF

My understanding that 00:00 (midnight) it will come on for 10mins, stay off for 50mins and repeat this cycle from 12-1am, then again from 1-2 and again from 2-3am.

For a total of 30mins on before staying off from 3am to 11:59pm.

If the pH rises above 8.75 it will not come on. Do I have this correct?

Thank you in advance!
AA
 
Thanks all, I updated the code with the generator so I have a consistent 24hr dose. I'll test all daily and Calc every three days to make sure I'm good!
 

TOP 10 Trending Threads

IF YOU WERE CHOOSING YOUR MAIN REEF TANK TODAY, WHAT SIZE WOULD YOU PICK COMPARED WITH YOUR CURRENT

  • Much smaller

    Votes: 2 2.5%
  • A little smaller

    Votes: 1 1.3%
  • About the same

    Votes: 8 10.0%
  • A little larger

    Votes: 24 30.0%
  • Much larger

    Votes: 25 31.3%
  • About the same volume, but different dimensions

    Votes: 9 11.3%
  • I’d keep this one and add a second tank

    Votes: 8 10.0%
  • I don’t have a reef tank yet

    Votes: 0 0.0%
  • Other (Post in the comments)

    Votes: 3 3.8%
Back
Top
Home
Post thread…
Market
What's new