Super basic programming question

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

TheWB

2500 Club Member
View Badges
Joined
Sep 22, 2017
Messages
3,901
Reaction score
8,160
Location
Puyallup,WA
What state or country do you live in
Washington
Rating - 0%
0   0   0
I realize this is probably less than Apex 101 level programming but I’m not programming savvy so I’m going to ask this question.
I want a particular Wavemaker to turn itself off every night for 8 hours. In the picture below if I change the Initial Off Time to 000:00, the On Time to 008:00 and the Off Time to 000:00 will the end result be that the pump shuts down every night at Midnight and powers back in every morning at 8:00am? Is that part correct and is there anything else I would need to do to make that scenario work? Thanks in advance for the assistance.
BF4A4F0F-84EF-4BED-A248-9DA882F1A98D.png
 
When the Control Type is set to "Powerhead", the configuration fields presented are for an oscillation timer where it runs for the number of minutes under "On Time" and is off for the combined minutes under "Initial Off Time" and "Off Time".

Since you want it to run during specific hours, you should change the Control Type to "Advanced", then paste this code into the program window:

Fallback ON
Set ON
If Time 00:00 to 07:59 Then OFF
If FeedA 005 Then OFF

The Control Type makes it easier to program for certain device types, but provides no flexibility compared to setting it to Advanced.

See my Apex Programming Tutorial series to get up to speed on programming: https://www.reef2reef.com/threads/neptune-apex-programming-tutorials.700483/
 
When the Control Type is set to "Powerhead", the configuration fields presented are for an oscillation timer where it runs for the number of minutes under "On Time" and is off for the combined minutes under "Initial Off Time" and "Off Time".

Since you want it to run during specific hours, you should change the Control Type to "Advanced", then paste this code into the program window:

Fallback ON
Set ON
If Time 00:00 to 07:59 Then OFF
If FeedA 005 Then OFF

The Control Type makes it easier to program for certain device types, but provides no flexibility compared to setting it to Advanced.

See my Apex Programming Tutorial series to get up to speed on programming: https://www.reef2reef.com/threads/neptune-apex-programming-tutorials.700483/
Thank you very much. I appreciate the help. I referenced your tutorial first but I didn’t understand (Your tutorials are great, I just have trouble wrapping my head around how even simple programming language works). I am going to take a stab at the Feed Timers and see how that works out. Thanks again.
 

TOP 10 Trending Threads

IF YOU HAD TO OPERATE EVERYTHING ELSE MANUALLY, WHICH AUTOMATED SYSTEM WOULD YOU KEEP?

  • Auto top-off

    Votes: 47 56.0%
  • Automated dosing

    Votes: 6 7.1%
  • Mechanical filtration / roller filter

    Votes: 4 4.8%
  • Automated water testing

    Votes: 3 3.6%
  • Automatic feeding

    Votes: 1 1.2%
  • Lighting schedule

    Votes: 15 17.9%
  • Controller and remote monitoring

    Votes: 3 3.6%
  • Leak detection and emergency shutoff

    Votes: 1 1.2%
  • Automatic water changes

    Votes: 3 3.6%
  • None. I prefer to operate everything manually

    Votes: 0 0.0%
  • Something else (explain in the comments)

    Votes: 1 1.2%

New Posts

Back
Top
Home
Post thread…
Market
What's new