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:
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:

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top