Apex code question for ATO pump

Hulley

Active Member
View Badges
Joined
Jan 1, 2018
Messages
309
Reaction score
411
Location
Hoschton, GA.
Rating - 0%
0   0   0
How to I write in that if the pump/switch stays open for a set amount time, to turn off?
I don't want to take a chance on overflowing so I want the pump to turn off after a certain amount of time and then email/text me when the time has exceeded.
Apex ATO.PNG
 

Bob Escher

Welcome to Saltwater
View Badges
Joined
Aug 8, 2015
Messages
2,940
Reaction score
1,668
Location
Nashotah Wisconsin
Rating - 0%
0   0   0
How to I write in that if the pump/switch stays open for a set amount time, to turn off?
I don't want to take a chance on overflowing so I want the pump to turn off after a certain amount of time and then email/text me when the time has exceeded.
Apex ATO.PNG
Here is my code

Fallback OFF
Set OFF
If AtkLow OPEN Then ON
If AtkHig CLOSED Then OFF
If ResLow OPEN Then OFF
When On > 002:00 Then OFF
Defer 010:00 Then ON
Min Time 050:00 Then OFF
 

vhuang168

Active Member
View Badges
Joined
Apr 17, 2015
Messages
212
Reaction score
135
Location
San Jose, CA
Rating - 0%
0   0   0
When ON > Time Then OFF will shut off the outlet when it has been on for the set time. This only works in Auto mode of course.

On the alert side, you need to put in If Error (output name) Then On. This will send you an alert if that outlet exceed the set time and was turned off using the When statement.
 

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