APEX DoW programming

Accidentalreefers

Community Member
View Badges
Joined
Feb 20, 2020
Messages
64
Reaction score
17
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.
 

Rocks reef

Rockin' the Reef
View Badges
Joined
Aug 14, 2017
Messages
11,365
Reaction score
66,273
Location
Michigan
Rating - 100%
4   0   0
Have you looked at this pinned thread?

 

Tangdora

Well-Known Member
View Badges
Joined
Feb 8, 2020
Messages
705
Reaction score
379
Rating - 0%
0   0   0
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
 
OP
OP
Accidentalreefers

Accidentalreefers

Community Member
View Badges
Joined
Feb 20, 2020
Messages
64
Reaction score
17
Rating - 0%
0   0   0
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
 

RussM

Active Member
View Badges
Joined
Jun 4, 2011
Messages
278
Reaction score
200
Location
El Cajon, CA
Rating - 0%
0   0   0
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

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 34 27.6%
  • 100% dry rock + 100% live sand

    Votes: 43 35.0%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 27 22.0%
  • 75% live rock, 25% live sand

    Votes: 11 8.9%
  • 25% live rock, 75% live sand

    Votes: 8 6.5%
Back
Top