Apex programming question

BigTimeIssues

Community Member
View Badges
Joined
Dec 6, 2022
Messages
85
Reaction score
101
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:
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.
 
Last true statement wins.
Set higher priority control last.
Maybe if return is off, skimmer off should be last.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top