APEX ATO - I'm sure this has been answered more than once

Shluffer

Active Member
View Badges
Joined
Jun 18, 2018
Messages
143
Reaction score
67
Rating - 0%
0   0   0
I have been searching, and think I figured this out, but I"m nervous so I'm asking. This is for an APEX Classic.

I have floats:
1) ATO_L that says "not enough water"
2) ATO_H that says "Stop, I'm drowning"

I also created a Virtual outlet ATO_MAX

What I want to happen:
1) If water is low for at least 1 minute, turn on
2) if water is too high, don't turn on
3) If on, don't stay on for more than 5 minutes
4) Once off, don't turn on for 360 minutes

My code:
ATO Outlet:
Fallback OFF
Set OFF
If ATO_L CLOSED Then ON //not enough water
If ATO_H OPEN Then OFF // I'm drowning
If Output ATO_MAX = ON Then OFF //Its been 5 minutes, shutoff
Defer 001:00 then ON //don't turn on unless low for a minute
Min Time 360:00 Then OFF // Once off, stay off for 3 hours

My ATO_MAX Virtual outlet:
If Output ATO = ON Then ON //If on then on
Defer 005:00 Then ON // but wait 5 minutes before turning on
 

Crabs McJones

I'm so shi-nay
View Badges
Joined
Jul 24, 2017
Messages
27,317
Reaction score
138,339
Location
Wisconsin
Rating - 0%
0   0   0
#reefsquad any coders in the mix? @dbl may have some insight for you as well :)
 

leepink23

2500 Club Member
View Badges
Joined
Nov 22, 2016
Messages
2,749
Reaction score
2,206
Location
Mississippi
Rating - 0%
0   0   0
With this coding min time means it can only cut on every 60 minutes, when on means it will only stay on max 3 minutes. This is my coding

4482FB44-A01B-4E2A-BEBF-00FC0ABF7664.png
 
OP
OP
S

Shluffer

Active Member
View Badges
Joined
Jun 18, 2018
Messages
143
Reaction score
67
Rating - 0%
0   0   0
Your defer statements, it waits 30 seconds before turning on, and 10 seconds before turning off. Am I reading it correctly?
 

When to mix up fish meal: When was the last time you tried a different brand of food for your reef?

  • I regularly change the food that I feed to the tank.

    Votes: 11 37.9%
  • I occasionally change the food that I feed to the tank.

    Votes: 11 37.9%
  • I rarely change the food that I feed to the tank.

    Votes: 6 20.7%
  • I never change the food that I feed to the tank.

    Votes: 1 3.4%
  • Other.

    Votes: 0 0.0%
Back
Top