Page 1 of 1

Request: Code to use single ATO as failsafe

Posted: Thu Dec 17, 2015 5:48 pm
by oscarinw
Hello folks,

I am trying to install a single float at the top of the sump (wire side up) and use it to turn port 5 of my only relay off. I currently have a standalone single float ATO plugged to port 5 which keeps the water stable but it has failed me a couple times. If it sticks on the low position it continues to import fresh water. To avoid overflowing the sump and flooding the room, I would like to install a single float at the top so it would stop it from continuing.
Also, which of the 2 connectors from the main controller should I use.

In sum: If single float gets pushed up, then turn OFF port 5.

Thanks in advance!

Re: Request: Code to use single ATO as failsafe

Posted: Tue Jan 05, 2016 9:15 pm
by oscarinw
Anybody?

Re: Request: Code to use single ATO as failsafe

Posted: Tue Jan 05, 2016 10:05 pm
by rimai
Try this:

Code: Select all

if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.Off(Port5);
Place it after the ATO function you are using now.

Re: Request: Code to use single ATO as failsafe

Posted: Wed Jan 06, 2016 6:58 pm
by oscarinw
rimai wrote:Try this:

Code: Select all

if (ReefAngel.LowATO.IsActive()) ReefAngel.Relay.Off(Port5);
Place it after the ATO function you are using now.
Thanks Roberto. What if I am not using an ATO function at all? Custom code area?

Re: Request: Code to use single ATO as failsafe

Posted: Wed Jan 06, 2016 7:36 pm
by rimai
yes