Apex code question for ATO pump

  • Thread starter Thread starter Hulley
  • Start date Start date
  • Tagged users Tagged users None

Hulley

Active Member
View Badges
Joined
Jan 1, 2018
Messages
309
Reaction score
411
Location
Hoschton, GA.
What state or country do you live in
Georgia
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
 
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
 
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

Awesome, thank you!
 
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

WHEN NUISANCE ALGAE OR CYANO FIRST APPEARS, WHAT DO YOU DO FIRST?

  • Manually remove it and observe

    Votes: 5 16.1%
  • Retest nutrients and other parameters

    Votes: 8 25.8%
  • Adjust flow or lighting

    Votes: 0 0.0%
  • Reduce or change feeding

    Votes: 0 0.0%
  • Add or strengthen the cleanup crew

    Votes: 4 12.9%
  • Improve filtration or nutrient export

    Votes: 1 3.2%
  • Use a targeted treatment

    Votes: 0 0.0%
  • Wait and let the tank find its balance

    Votes: 10 32.3%
  • Phone a friend...

    Votes: 0 0.0%
  • It depends (explain in the comments)

    Votes: 3 9.7%
Back
Top
Home
Post thread…
Market
What's new