Check my ATO code

Electrotech

Community Member
View Badges
Joined
Sep 3, 2014
Messages
74
Reaction score
10
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:
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.
 
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

WHAT MOST MAKES A BLACK FRIDAY REEF DEAL WORTH CONSIDERING?

  • A real discount on something already on my list

    Votes: 43 76.8%
  • Free or reduced shipping

    Votes: 9 16.1%
  • A useful bundle of gear or supplies

    Votes: 1 1.8%
  • A good price on livestock I’ve already researched

    Votes: 13 23.2%
  • A rare chance to get something hard to find

    Votes: 10 17.9%
  • A seller or brand I trust

    Votes: 10 17.9%
  • I buy when I need something, sale or not

    Votes: 11 19.6%
  • Other (Post in the comments)

    Votes: 1 1.8%
Back
Top
Home
Post thread…
Market
What's new