Apex programming difficulty

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

Dorado

Active Member
View Badges
Joined
Feb 10, 2019
Messages
207
Reaction score
323
Location
Placentia, CA
Rating - 0%
0   0   0
I’m trying to program a solenoid to go on for only two hours a week but I can’t seem to get it right. I’d like it to go on Sunday from 18:00 to 20:00. Would somebody mind helping me? Thanks
 
Try this:

Fallback Off
Set Off
If Time 18:00 to 20:00 Then ON
If DoW -MTWTFS Then OFF

Making Sunday the dash will turn it on and should run the Time code. All other days it will remain off And not run the Time code.

Test it first. I run a similar code on my DOS dosing pumps, so they only dose every other day.
 

TOP 10 Trending Threads

HOW DO YOU COVER THE TOP OF YOUR REEF TANK?

  • Full mesh screen

    Votes: 15 53.6%
  • Glass or acrylic lid

    Votes: 4 14.3%
  • Partial screen or cover

    Votes: 0 0.0%
  • Canopy or fitted hood

    Votes: 3 10.7%
  • Open top

    Votes: 5 17.9%
  • A combination of these

    Votes: 1 3.6%
  • Other (Post in the comments)

    Votes: 0 0.0%
Back
Top
Home
Post thread…
Market
What's new