Check my ATO code

Electrotech

Community Member
View Badges
Joined
Sep 3, 2014
Messages
74
Reaction score
9
Location
Cincinnati, Oh
Rating - 0%
0   0   0
Here is the code for my ATO

Fallback OFF
If Sw1 CLOSED Then ON
If Sw1 OPEN Then OFF
If Sw2 CLOSED Then OFF
If Sw3 OPEN Then OFF

Sw1 is the Avast ATO switch, Closed is low water level
Sw2 is the high emergency level sensor for the sump, Closed is high water level
Sw3 is low level in RODI reservoir, Open is low water

Also have "If Sw3 OPEN Then ON" in my e-mail notification

Does this look right?
 
Last edited:

evolved

[email protected]
View Badges
Joined
Dec 16, 2010
Messages
10,630
Reaction score
10,987
Location
Phoenix, AZ
Rating - 0%
0   0   0
It will work, but a couple notes:

Put a "Set OFF" at the beginning of the code, then remove the statement: "If Sw1 OPEN Then OFF"

Consider reversing the orientation of Switch 2 (I presume these are magnetic sensors, in which case you can take the clip off and turn the float around). You should consider the fail-safe of any magnetic switch to be the "open" position; their failed state is almost guaranteed to be "open" if the switch itself fails.
 
OP
OP
E

Electrotech

Community Member
View Badges
Joined
Sep 3, 2014
Messages
74
Reaction score
9
Location
Cincinnati, Oh
Rating - 0%
0   0   0
Ok Flopped the polarity of Sw2 and now

Fallback OFF
Set OFF
If Sw1 CLOSED Then ON
If Sw2 OPEN Then OFF
If Sw3 OPEN Then OFF

Also added the "If Sw2 OPEN Then ON" in my e-mail notification, so I get notified if the level in the sump rises for some reason.
 
Last edited:

TOP 10 Trending Threads

HOW DO YOU ADJUST YOUR CUC AS ALGAE DISAPPEARS?

  • Capture and re-home CUC

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

    Votes: 5 7.7%
  • Feed nori to support CUC

    Votes: 27 41.5%
  • Feed herbivore pellets to support CUC

    Votes: 21 32.3%
  • Allow attrition to balance CUC and algae

    Votes: 31 47.7%
  • Provide macro algae to feed CUC

    Votes: 6 9.2%
  • Introduce CUC predators

    Votes: 1 1.5%
  • Other (please explain)

    Votes: 5 7.7%
Back
Top