APEX DoW programming

Accidentalreefers

Community Member
View Badges
Joined
Feb 20, 2020
Messages
64
Reaction score
17
What state or country do you live in
Canada
Rating - 0%
0   0   0
Hey everyone, sorry for posting this here as for some reason on the apex forms when i try and make an account it says I'm a spammer and can't register...

I need some help with programming, I have an auto water changing system and I want my return pump, skimmer, power head, to turn off every Tuesday and Thursday at 17:00 to 18:35, here is my programming

Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If Time 17:00 to 18:35 Then OFF
If DoW --T-T-- Then OFF
The issue is it turned off Today (Monday) at 17:00 I just changed it today before i had it as

Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If Time 17:00 to 18:35 Then OFF
If DoW SM-W-FS Then OFF

when I had it this way I woke up at 6am today (Monday) and it was all off I'm not sure why that happened.
if I could get a proper line for turning my equipment off every Tuesday and Thursday between 17:00 to 18:35 that would be great thanks.
 
In your case you need a virtual outlet

(VO-name)
Fallback ON
Set ON
If Time 17:00 to 18:35 Then OFF
If DoW SM-W-FS Then on

Your existing code

Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If outlet (VO-name) = off then off
 
In your case you need a virtual outlet

(VO-name)
Fallback ON
Set ON
If Time 17:00 to 18:35 Then OFF
If DoW SM-W-FS Then on

Your existing code

Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If outlet (VO-name) = off then off
Thanks!! Ill give that a shot
 
In your case you need a virtual outlet
This is incorrect. No VO is needed; using a VO in this case is adding unnecessary programming complexity to overcome a programming logic error.

@Accidentalreefers

The error is that the If DoW has the wrong logic, and the order is incorrect to achieve what you want:

Fallback ON
Set ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If Time 17:00 to 18:35 Then OFF
If DoW --T-T-- Then OFF
The issue is it turned off Today (Monday) at 17:00 I just changed it today before i had it as

What you need to do to fix this to use Dow differently:

If DoW SM-W-FS Then ON, and change the sequence of the statements to:

Fallback ON
Set ON
If Time 17:00 to 18:35 Then OFF
If DoW SM-W-FS Then ON
If FeedA 000 Then OFF
If FeedB 000 Then OFF

The outlet will be ON by default. The programming will try to turn off the outlet during the specified timeframe, but the If DoW will override that, keeping the output ON all days except Tuesday and Thursday. Previously, the If Feed statements would not always work. With the change in statement order, they will now always work.
 

TOP 10 Trending Threads

WHICH PART OF YOUR SETUP IS HARDEST TO REACH OR REMOVE FOR ROUTINE MAINTENANCE?

  • Glass behind or beside the tank

    Votes: 9 23.1%
  • Powerheads or wavemakers

    Votes: 3 7.7%
  • Sump or rear filtration chambers

    Votes: 5 12.8%
  • Skimmer or other filtration equipment

    Votes: 4 10.3%
  • Overflow or plumbing

    Votes: 8 20.5%
  • Lights or lids

    Votes: 0 0.0%
  • Mine is pretty easy to access!

    Votes: 9 23.1%
  • Other—tell us what I missed

    Votes: 1 2.6%
Back
Top
Home
Post thread…
Market
What's new