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
 

Larry L

Valuable Member
View Badges
Joined
Nov 4, 2014
Messages
1,348
Reaction score
1,389
Location
x
Rating - 0%
0   0   0
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
 
OP
OP
AmatuerAuer

AmatuerAuer

Active Member
View Badges
Joined
Feb 23, 2015
Messages
349
Reaction score
48
Rating - 0%
0   0   0
Perfect, I'll try dosing around the clock, 1:08secs every hour. Off set Calc and Alk by 30mins
 

ngvu1

Valuable Member
View Badges
Joined
Mar 5, 2014
Messages
2,254
Reaction score
1,044
Location
Orange County, CA, USA
Rating - 0%
0   0   0
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
 
OP
OP
AmatuerAuer

AmatuerAuer

Active Member
View Badges
Joined
Feb 23, 2015
Messages
349
Reaction score
48
Rating - 0%
0   0   0
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!
 
Back
Top
Home
Post thread…
Market
What's new