Apex lighting schedule help

  • Thread starter Thread starter Snprhed
  • Start date Start date
  • Tagged users None

Snprhed

Active Member
View Badges
Joined
Jul 6, 2008
Messages
210
Reaction score
1
Rating - 0%
0   0   0
So im pretty new to apex programming. For whatever reason the "language" has been difficult for me to get. Once i have something, i am usually ok with manipulating it.

So i am looking at doing a non-clock based lighting schedule (kinda). A 4 hour on 8 hour off schedule. I currently have 2 separate tanks that operate on opposing lighting schedules (more for heat distribution then ph). So im having difficulty figuring out the starting statement to keep them on opposing photo periods
 
You can use either purely time-based programming (easier to understand) or you can use the OSC statement (perhaps more elegant).

Time-based

System 1
Fallback OFF
Set OFF
If Time 00:00 to 04:00 Then ON
If Time 04:00 to 12:00 Then OFF
If Time 12:00 to 16:00 Then ON
If Time 16:00 to 24:00 Then OFF

System 2
Fallback OFF
Set OFF
If Time 00:00 to 08:00 Then OFF
If Time 08:00 to 12:00 Then ON
If Time 12:00 to 20:00 Then OFF
If Time 20:00 to 24:00 Then OFF


Or, using the OSC command, you would do this

System 1
Fallback OFF
Set OFF
OSC 480/240/000 Then ON

System 2
Fallback OFF
Set OFF
OSC 240/480/000 Then OFF

CJ
 

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