Apex programming question

BigTimeIssues

Community Member
View Badges
Joined
Dec 6, 2022
Messages
85
Reaction score
97
Location
Mississippi
Rating - 0%
0   0   0
I want my skimmer off if the return is off

If wtrlvl1 is closed I want skimmer off.

If skimmer is off, I want it to defer a minimum of ten minutes before it comes on.

If pH is over 8.45 I want it off.


I don't know where I went wrong but my skimmer is on with a ph of 8.46.


Screenshot_20230126-133130_APEXFusion.jpg
Screenshot_20230126-132147_APEXFusion.jpg


Screenshot_20230126-132128_APEXFusion.jpg
 
Last edited:

vtecintegra

Valuable Member
View Badges
Joined
May 14, 2010
Messages
1,388
Reaction score
1,534
Location
Tampa
Rating - 0%
0   0   0
I'll take a shot since you haven't gotten an answer. Apex reads the statements top to bottom, and acts on the last true statement. My guess is WTRLV1 is keeping the skimmer running since it's after your pH command. I would write it like this:

Fallback Off
Set On
If Output Return = OFF Then OFF
If pH is > 8.45 then OFF
If WTRLV1 Closed Then OFF
Defer 010:00 Then ON
If Power Apex Off 002 Then OFF

Last line keeps the skimmer off for two minutes if there is a power outage, so the sump level can stabilize if necessary.
 

Pistondog

5000 Club Member
View Badges
Joined
Jun 28, 2020
Messages
6,067
Reaction score
9,991
Rating - 0%
0   0   0
Last true statement wins.
Set higher priority control last.
Maybe if return is off, skimmer off should be last.
 

TOP 10 Trending Threads

HOW DO YOU ADJUST YOUR CUC AS ALGAE DISAPPEARS?

  • Capture and re-home CUC

    Votes: 10 8.4%
  • Increase white light/hours in tank to spur algae growth to feed CUC

    Votes: 8 6.7%
  • Feed nori to support CUC

    Votes: 39 32.8%
  • Feed herbivore pellets to support CUC

    Votes: 42 35.3%
  • Allow attrition to balance CUC and algae

    Votes: 51 42.9%
  • Provide macro algae to feed CUC

    Votes: 8 6.7%
  • Introduce CUC predators

    Votes: 1 0.8%
  • Other (please explain)

    Votes: 12 10.1%
Back
Top