Quick Apex Program question (easy one)

Reef Box

Shoulder Deep in Saltwater.......Again
View Badges
Joined
Jul 7, 2017
Messages
838
Reaction score
569
Location
Paso Robles, CA
Rating - 0%
0   0   0
If I want to program my Apex to run a doser for 30 seconds once per day starting at 10AM does this look right?
 
Fallback OFF
Set OFF
If Time 09:59 To 10:00 Then ON
Defer 001:30 Then ON

This will turn on the doser at 10:00:30 and turn if off at 10:01:00, for a total of 30 seconds. For more details on "If Time" and "Defer", including why the Defer is needed in this scenario, see my tutorial on Apex Timers: https://www.reef2reef.com/ams/neptune-apex-programming-tutorials-part-2-timers.689/

forgot to include what I had already DUH:

Fallback OFF
OSC 600:00/000:30/839:30 Then ON
 
forgot to include what I had already DUH:

Fallback OFF
OSC 600:00/000:30/839:30 Then ON

That also works. In this case, here are the 3 OSC timers:

Initial OFF time: 10 hours (first run begins at 10:00am)
ON time: 30 seconds
OFF time: 13:59:30 hours

The total cycle time is 24 hours, so it repeats each day at 10:00am.
 

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