SingleATO Question

Do you have a question on how to do something.
Ask in here.
Post Reply
keithb
Posts: 18
Joined: Tue Jun 04, 2013 3:20 pm

SingleATO Question

Post by keithb »

I'm trying to use the SingleATO function "SingleATO(true,Box1_Port3,300,1)" but I'm getting the following error: "SingleATO not declared in this scope."

Where does one declare it?

Or better yet, is there a way to make RA wait a couple seconds when the ATO switch is toggled just to make sure its not a "False Alert?" As it stands right now the ATO pump is toggled 15-20 times an hour and I'm pretty sure that's not good for the pump.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: SingleATO Question

Post by lnevo »

First off, you need to call it ReefAngel.SingleATO.

Second, as far as the cycling, the easiest way I think would be to time control it. How many times per hour would you like it to run? Time becomes your "low" switch since your using single ato.
keithb
Posts: 18
Joined: Tue Jun 04, 2013 3:20 pm

Re: SingleATO Question

Post by keithb »

Ideally I'd love for the ato to run 2x an hour.
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

Re: SingleATO Question

Post by lnevo »

if (now%1800<305) ReefAngel.SingleATO(true,Box1_Port3,300,1)
else ReefAngel.Relay.Off(Box1_Port3);

The 3:05 is the runtime. I wanted it a little longer than your timeout time so that could activate if an issue or empty reservoir condition.
keithb
Posts: 18
Joined: Tue Jun 04, 2013 3:20 pm

Re: SingleATO Question

Post by keithb »

Awesome. Thanks a lot!
Post Reply