pump change over

vinuvinod

Member
Join Date
Nov 2003
Posts
9
Dear plc friends,
i am new to plc programming.my company have s7 200/300 plcs used contol a process in which there are two pumps working as duty standby.
i have to develop a program by which the pump operation should alternate between each start ups.can any one help me?inputs available are start and stop signals from push buttons.
 
Sounds like a Flip-Flop

When you start pump "A", set a latch bit that will be the permissive for pump "B" when you are ready to run it. When you run pump "B", then reset the latch when you stop pump "B" and you will be ready for pump "A" again. There are probably 100 variations on this theme so any one should work ok. Try it out and let us know how you do. There are several people who frequent this site that are S7 speakers but I am not. Been a long time AB guy and have not programmed any TIs since the old 5TI. Of course that was back when TI was in the PLC business and before Seimens bought them out.
 
This code assumes the following:

1) The start and stop buttons are momentary.
2) The Start button has normally open contacts that close when the button is pushed.
2) The stop button has normally closed contacts that open when the button is pushed.



Start
Button Latch 1 pump b STOP
---||-------|/|---------|/|------||----+---(pump A) Pump output
| +---(PD A) one shot
pump A |
---||---------------+

PD A
--------||-----------(SET) Latch 1


Start
Button Latch 1 pump A STOP
---||-------| |---------|/|------||----+---(pump B) Pump output
| +---(PD B) one shot
pump B |
---||---------------+

PD B
---||-----------------(RST) Latch 1





P.S. Credit to Randy, as this is what he described.

Have fun!
 
Last edited:
One simple way to do this is to ADD a value of 1 to a register every time you start a pump.

You then use the LSB in serie with the starting run. One with a NO and one with NC.

So in only one single rung you have all the logic to do this task.
 
If you are using LogixPro or want to download it from www.thelearningpit.com, you can use the program I posted on the file storage site. The link to it is here, down at or near the bottom fo the page. It is titled motor starter.rsl. I based it on the two compressor sim which comes with the LogixPro software. Seems to work pretty well and between this one and the one elevmike put up for the S7, you ought to be able to make something happen.

p.s. Mike, thanks for the idea credit.
 

Similar Topics

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
86
I've gotten to the learning curve where I can program a call for pump to come on at set point but I'm not sure how to turn the same pump off when...
Replies
1
Views
139
Hey Guys, I was looking for a little help on a school project. I was asked to program three pumps with two inputs, more and less. The project...
Replies
23
Views
2,522
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,080
So I very much new to doing ladder coding I have a pump with a Stop float switch that stops the pump when a sump is low. I want my manual run mode...
Replies
13
Views
1,393
Back
Top Bottom