Control of Return Pump

Do you have a question on how to do something.
Ask in here.
Post Reply
jgregory
Posts: 6
Joined: Mon Apr 02, 2012 8:02 am

Control of Return Pump

Post 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
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Control of Return Pump

Post by rimai »

Try this:

Code: Select all

  if (!ReefAngel.HighATO.IsActive()) ReefAngel.Relay.Off(Port7);
Roberto.
jgregory
Posts: 6
Joined: Mon Apr 02, 2012 8:02 am

Re: Control of Return Pump

Post 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...
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Control of Return Pump

Post 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.
Roberto.
jgregory
Posts: 6
Joined: Mon Apr 02, 2012 8:02 am

Re: Control of Return Pump

Post by jgregory »

I completely agree - thanks for the advice!
Appleseed
Posts: 96
Joined: Sat Jun 30, 2012 9:21 am

Re: Control of Return Pump

Post 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
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: Control of Return Pump

Post by rimai »

You should use this instead:

Code: Select all

ReefAngel.Relay.Set(Port7,ReefAngel.LowATO.IsActive());
Roberto.
Appleseed
Posts: 96
Joined: Sat Jun 30, 2012 9:21 am

Re: Control of Return Pump

Post by Appleseed »

rimai wrote:You should use this instead:

Code: Select all

ReefAngel.Relay.Set(Port7,ReefAngel.LowATO.IsActive());
thanks for that. :D
Image
Post Reply