Quick Apex Program question (easy one)

D.WhiteShark

Shoulder Deep in Saltwater.......Again
View Badges
Joined
Jul 7, 2017
Messages
1,391
Reaction score
1,056
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
If you want to just do it one time everyday, don’t use OSC, do what @SuncrestReef said. If you are trying to do it on a more frequent cycle, like hourly, then I’d recommend OSC.
 
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.
 

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 54 76.1%
  • Free or reduced shipping

    Votes: 13 18.3%
  • A useful bundle of gear or supplies

    Votes: 3 4.2%
  • A good price on livestock I’ve already researched

    Votes: 17 23.9%
  • A rare chance to get something hard to find

    Votes: 15 21.1%
  • A seller or brand I trust

    Votes: 14 19.7%
  • I buy when I need something, sale or not

    Votes: 13 18.3%
  • Other (Post in the comments)

    Votes: 2 2.8%
Back
Top
Home
Post thread…
Market
What's new