Alternate Pumps with Zen

glplc_007

Member
Join Date
Jan 2013
Location
north america
Posts
4
Hello all, I'm looking for a push in the right direction with this one.

I'm in need to alternate two pumps using an Omron 10C3AR-A-V2 Zen program.

Here is the setup--

Float switch 2 - on - no operation
Float switch 3 - on - pump starts
Float switch 3 - off - continue pumping
Float switch 2 - off - stop pump

Which I have working great, but I cannot ,for the life of me, figure out how to get the other pump to run on the next cycle.

Any help is greatly appreciated.
 
welcome to the site
use the logic to control an auxilary relay
then set up a counter - preset to 1
if counter is not = to 1 use pump 1
when pump 1 is told to stop increase count
then when count = 1
call pump 2
and reset counter when pumt 2 stop is given
 
Which I have working great, but I cannot ,for the life of me, figure out how to get the other pump to run on the next cycle.
As Ian said, you can use a counter to record that the first pump has run, so do not run it again until the second pump has its turn.

This is called alternating the pumps, often done to achieve even wear. There are several ways to create an alternator, including using a counter, one-shot bits, set and reset bits, and so on. If you search for "flip-flop" you will find many of these in old posts on this site.

Your ZEN is limited because you can only have one output per rung (no parallel outputs), and only 3 input-type instructions per rung. You can do a parallel input branch as long as you do not use more than 3 instructions. The ZEN has no built-in One-Shot (pulse) bits, so if you need that you have to create your own from normal relay-type outputs.

Luckily, there are ZEN outputs that have the Alternator Function built in for the Q, M, and Y-type outputs! The Q, M, or Y outputs can be the normal relay type ([), Set, Reset, or Alternate. Use a M-type internal relay bit for your Alternator, and use the M ON state to control Pump 1 (along with float swithces in series) and use the M OFF state to control Pump 2. For more information, see your ZEN online Help file.
 
Last edited:
I am getting closer, but still no success. Each change I make brings about some other change.

Posting what I have written.

Take a look, if you would. I know the second pump isn't in the program right now to alternate, just at the high float operation.

pumps.jpg
 

Attachments

  • pumps.zip
    748 bytes · Views: 40
Hello all, I'm looking for a push in the right direction with this one.

I'm in need to alternate two pumps using an Omron 10C3AR-A-V2 Zen program.

Here is the setup--

Float switch 2 - on - no operation
Float switch 3 - on - pump starts
Float switch 3 - off - continue pumping
Float switch 2 - off - stop pump

Which I have working great, but I cannot ,for the life of me, figure out how to get the other pump to run on the next cycle.

Any help is greatly appreciated.

Basically what you have to do is find a way to make the PLC "remember" that the First pump had been turned on in the earlier cycle and hence it is the turn of Pump 2 in the next cycle.Now the simplest way to do this is how Ian has described that is, by using the Counter memory to make the PLC "remember". This simple method's advantage is that it can be easily extended to cycle between more than 2 pumps.

If as in your case only 2 pumps are involved, then there is another way of doing it without having to use a counter which is shown in the attached image. Here the "Internal Bit" helps the PLC "remember" that in the previous cycle Pump 1 had already been turned on. This bit is used to prevent Pump 1 being turned on in the next cycle.Pump 2 turning on in the next cycle resets this memory bit to return the system to the initial condition for the next cycle.

If you have any doubts regarding this Logic please do ask and I shall be happy to clarify.

(Note: I have only written the part of the Logic involved in alternating the pumps)
 
Last edited:
For the limited ZEN, try something similar to this. The M0 internal relay should be set to the built-in "Alternate" function. You are limited to 3 horizontal instructions per rung. You do not need to invent new float switches for each rung - you only have TWO physical float switches FS2 and FS3, so you must get by with those. In any PLC program, you are allowed to reuse input instruction addresses as many times as you need them.

Alternating Pumps ZEN program-GLplc.jpg
 
Last edited:
Dear,
i am looking for LD program using logo plc 0BA6 220ac to run two pumps alternately , the only in put is a pressure switch
pump-1 start when main switch on
when pressure switch is high pump-1 stop
when again pressure switch low Pump-2 start
on high pressure pump -2 stop
on low pressure pump-1 start again
best regards
 
You might want to expand out the duty switch logic to accommodate pump not available issues ( assuming you have overloads as io etc)... Don't want to swap duty to a broken pump...
 

Similar Topics

Good morning everybody, I hope you are very well. I share with you the information of the PLC LOGO! Siemens and expansions that we have...
Replies
4
Views
1,086
i am struggling to alternate between two pumps in my lift station project. ( this is my first project so far ) whenever i test the whole...
Replies
22
Views
7,064
I need to be able to alternate between 2 pumps, wondering what is the best way to do this, using controllogix. If in auto and a start signal is...
Replies
1
Views
3,223
Hello All, I want to publish my data in sql server in Excel format as daily report. And xl reported pro version seem to be much expensive which...
Replies
1
Views
494
I'm looking for alternate module that I can use in place of Rockwell 5069-IO mainly for safety output card (OBV8S). Looking at the lead time, I...
Replies
2
Views
1,195
Back
Top Bottom