Pump Alternation

MuayThaiDCS

Member
Join Date
Jun 2007
Location
Indianapolis
Posts
1
Looking for some advice...

The scenario:
I have two discrete pumps used to empty a tank.
The lead pump is requested to run once a high level condition is met. The lag pump is requested to run once a high high level condition is met. The lag will stop running when the high high is no longer true. The lag will shut off when a low condition is satisfied. They are also required to alternate lead to lag once they are shut off (by the low condition). I am looking for the most efficient way to program the alternation. I have ideas, but want to see what others think...
 
This is got to be one of the easiest things to code.// Use a counter and the .ACC of the counter with the call to run to Alternate the pumps.
 
Use a modified flip flop. If you search here flip flop has been covered many times. It is pretty easy code for what you require.
 
Not necessarily related to the pump control (as this has been discussed numerous times in the past - try a search for pump control or pump rotation), but be smart about the programming vs alarming. You don't want your pump control to be the same as the alarm - just think about it - an alarm is to annunciate an abnormal condition that requires action. Normal operation of draining a tank isn't typically defined as an alarm. Consider not using your HiHi level, but rather a Hi level that has your alarming on the outside of operation range. Then you could determine if a single pump is not working (failed) and/or if the second pump is necessary.
 
We had a similar set-up in a previous company where we had two Vaughan wet-well vertical chopper pumps pumping effluent into the first of three cascaded sediment tanks. The pumps were on a 3-hour cyclic timer to alter lead-lag duty. There was four floats; low, lead, lag and high-level alarm. The control was relay logic. I've lately been messing with coding it in S7 and using PLCSim.

You could alternate duty after x cycles.

What are your ideas, Muay?
 
If you are turning the lag pump on and off based on high-high level, what will happen on a pump failure?

i.e. If the duty pump fails and the high-high level is reached the lag pump will turn on. Then when high-high level is off the lag pump will stop. You could get into a starting and stopping situation that could damage you pump, assuming you still have flow coming into tank.

If you have some way of sensing a duty pump failure, you could switch the standby pump to duty. If the standby pump is only starting to assist to bring the level down, you may want to pump down to some intermediate level before having it shut off.

Kim
 
I sincerely hope that I didn't just answer a homework question, but on the off chance that it is not, here is a very simple solution.

All you have to do is count in binary. Each time you count up the least signficant digit changes state, 0, 1, 0, 1, 0, 1, 0, 1, etc. You can use a counter or a flip flop.

In the examples below I have assumed that all of the float switches make on rising tank level.

A061407A.JPG



Here is one way you could do it with a flip flop.
A061407B.JPG



You can add the logic necessary to the pump seal in branch of each of the rungs it you want the lag pump to shut down when the high level switch is not made.
 
Last edited:
It is a "bit of word". Each time the value of C5:0.acc increments, the least significant bit will change states creating a "slick" form of a flip flop. I call it slick, because it is eloquent and simple and a little bit abstract to the casual observer, not to denigrate it in any way.

With Allen Bradley SLC and PLC-5 addressing, the"/" is the bit delimiter. "/0" means "bit zero".

So restating the answer for clarity, each time the value of C5:0.ACC is odd the value of C5:0.ACC/0 would be "1" and each time it is an even number, the value of C5:0.ACC/0 would be "0"
 
Last edited:

Similar Topics

My department has been tasked with writing the program for a 4 pump lift station that alternates all four pumps (one lead, one lag, two on...
Replies
4
Views
1,068
I'm sure this question has been asked a lot but i cant seem to find a response I understand. Im fairly new to programming so as much help as...
Replies
5
Views
2,512
Hi guys, I know that "this has been covered lots of times in the past and I should just search it"... But I am struggling to find the correct...
Replies
9
Views
5,501
Hi guys, I'm a automation student here in Norway, and I have just become an apprentice at a fish processing plant. One of my first tasks is to...
Replies
11
Views
6,754
Hi, I would like to assemble a simulator/practice booster pump system that uses PID to maintain steady water pressure under various outlet demands...
Replies
0
Views
60
Back
Top Bottom