Pump Sequencing RSLogix 5000 and FTView ME

wfortuny

Member
Join Date
Jan 2011
Location
Portland OR
Posts
19
I am working on a PLC program to allow an operator to select the order (of 6 pumps) that they would like them to start in. For example I have an overview screen with 6 pump graphics, and I would like the operator to be able to select the pumps (by pressing a button near the pump graphic) in the order that they want them to start up in (any order they like, 5,4,3,6,1,2 or any other order). How can I monitor and keep track of the order that they select the pumps? I have an array tag with 6 elements in RSLogix that can hold these values but can't figure out how to send the pump number to the correct element in the array based on the order the buttons are pressed.

Please help.

Thanks.
 
Last edited:
I have done a search, but I can only find where they are trying to cycle the pumps on a not so random sequence: 1,2,3,4,5,6 to 2,3,4,5,6,1 to 3,4,5,6,1,2.

This does not help me. I would like to select the pumps in any order from the touch screen and update a sequence array to start the pumps in that order.

Thanks.
 
The first thing that came to mind when I read your post:

How does the operator fix it when they choose the wrong order? (If this could be an issue, I suggest using a data entry field which lets them type in a number for the order).

Once you know how to deal with that (or not deal with it), then there must be some way shape or fashion to start from the beginning with no pumps selected.

When that event happens, FLL Source 0, PumpOrder[0], Length 6, CLR N. I used PumpOrder[N] as an example tagname and N as an example for indirect addressing.

When any of the six buttons are pressed, move the value representing that button into PumpOrder[N] and then increment N.

So, when they press pump 4, stuff a value of 4 into PumpOrder[0] (because N=0), and increment N.

Then they press button for pump 3 so you stuff a 3 into PumpOrder[1] because N=1, then increment it again.

When N=6 they have all been assigned. There is nothing to keep a person from selecting the same pump twice though. If that is necessary, I would simply latch six bits (one for each pump) as they are chosen, and use those bits to inhibit their subsequent selection. When the "reset and clear everything out" event occurs, unlatch the six bits.
 
Last edited:
The first thing that came to mind when I read your post:

How does the operator fix it when they choose the wrong order? (If this could be an issue, I suggest using a data entry field which lets them type in a number for the order).

Once you know how to deal with that (or not deal with it), then there must be some way shape or fashion to start from the beginning with no pumps selected.
I use two sets of registers, preset and working, to program a random sequence selection like this. The operator enters the the pump numbers in the desired sequence into the preset registers. A simple test must be passed to verify that the presets are valid before they can be copied to the working registers: Any given set of unique numbers will have a unique combination of sum and product. When the preset pass the test, the Save button lights up and can be touched/clicked to update the working registers. For pumps 1 through 6, the sum is 21 and the product is 720.
 

Similar Topics

I recently made a simple program which controls four pumps to maintain line pressure of a glycol system. Two pumps are running at any given time...
Replies
7
Views
2,171
Hi, I have a situation with four pumps which have to work 3 duty and 1 standby. However the question is how I can make work to sequence them...
Replies
4
Views
1,542
Hi Everybody I have three pumps to control in auto mode. Is it possible to do the sequencing of the three pump in hardwired without the use of a...
Replies
40
Views
20,721
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
108
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,504
Back
Top Bottom