Page 1 of 1
Control of Return Pump
Posted: Sat Jul 21, 2012 6:47 am
by jgregory
Hi Guys:
I'm looking for a code to allow control of the return pump by a float switch in the display (to prevent display overflow in the event of a drain clog)
My return pump is on outlet #7 and the float switch is connected to the right hand side port when looking at the controller.
Can anyone please help?
Thank you!
John
Re: Control of Return Pump
Posted: Sat Jul 21, 2012 8:48 am
by rimai
Try this:
Code: Select all
if (!ReefAngel.HighATO.IsActive()) ReefAngel.Relay.Off(Port7);
Re: Control of Return Pump
Posted: Tue Jul 24, 2012 4:47 am
by jgregory
Works like a charm, thank you!
One more request - can the return pump come back on automatically when the water level drops? Right now, I have to manually reset the controller to clear the high level...
Re: Control of Return Pump
Posted: Tue Jul 24, 2012 7:02 am
by rimai
Although we can code that, I'm not so sure if you should do that.
Overflow is not something that shouldn't happen often or at all if possible. If it is, then you may need to revise your drains. Just my 2 cents.
In the event that there is an overflow, I think you ought to check it out to see what caused the overflow. If it is reset automatically, you may just miss the overflow completely for days/months and never know what is really going on. You return pump could be turning on/off all the time without you even knowing.
Re: Control of Return Pump
Posted: Tue Jul 24, 2012 7:59 am
by jgregory
I completely agree - thanks for the advice!
Re: Control of Return Pump
Posted: Mon Jul 30, 2012 1:32 am
by Appleseed
rimai wrote:Although we can code that, I'm not so sure if you should do that.
Overflow is not something that shouldn't happen often or at all if possible. If it is, then you may need to revise your drains. Just my 2 cents.
In the event that there is an overflow, I think you ought to check it out to see what caused the overflow. If it is reset automatically, you may just miss the overflow completely for days/months and never know what is really going on. You return pump could be turning on/off all the time without you even knowing.
Possibly a stupid question by I assume the following would turn the relay back on?
if (!ReefAngel.LowATO.IsActive()) ReefAngel.Relay.On(Port7);
For intrest sake i wouldl like to use this to turn my skimmer off and on when the level in my sump rises to prevent the skimmer overflowing.
cheers
Andy
Re: Control of Return Pump
Posted: Mon Jul 30, 2012 9:44 am
by rimai
You should use this instead:
Code: Select all
ReefAngel.Relay.Set(Port7,ReefAngel.LowATO.IsActive());
Re: Control of Return Pump
Posted: Mon Jul 30, 2012 10:42 am
by Appleseed
rimai wrote:You should use this instead:
Code: Select all
ReefAngel.Relay.Set(Port7,ReefAngel.LowATO.IsActive());
thanks for that.
