Check my Apex code please!

AmatuerAuer

Active Member
View Badges
Joined
Feb 23, 2015
Messages
349
Reaction score
50
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!
 

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