Quick Apex Program question (easy one)

D.WhiteShark

Shoulder Deep in Saltwater.......Again
View Badges
Joined
Jul 7, 2017
Messages
1,395
Reaction score
1,058
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.
 

TOP 10 Trending Threads

Back
Top
Home
Post thread…
Market
What's new