rfowler24
Member
Greetings,
This will be my inaugural post in this forum so here goes. I've searched through the forums and found bits and pieces of information but need help integrating them.
I have an application where I need to load several pumps into a run queue as they become available. (HOA switch to auto with no fatals active)
As demand calls for more capacity, I want to bring on "lag" pumps in the order that they were added to the queue.
This seems simple enough to do with a fifo stack. But there is one problem I don't know how to deal with. In the event that a pump trips (or the "lag" demand satisfies) how do I remove the appropriate word for that pump from the stack and have the pumps behind increment up. In the case of the lag demand being satisfied, I want to add that pump back to the bottom of the stack. (When there is another "lag" demand I want the next pump to start so I can minimize starts/hr per pump).
I don't know if there is a way to unload the fifo stack at any location other than the defined stack "0".
I've entertained the thought of the copy instructions and see how it could be done but the programming would be tedious and difficult to follow for others unfamiliar with our systems and programming. The fifo instruction seems like such an elegant solution if I can only find out how to unload from an alternate position.
I appreciate any help you can give me with this.
Randy
(I have no witty anecdotes yet)
This will be my inaugural post in this forum so here goes. I've searched through the forums and found bits and pieces of information but need help integrating them.
I have an application where I need to load several pumps into a run queue as they become available. (HOA switch to auto with no fatals active)
As demand calls for more capacity, I want to bring on "lag" pumps in the order that they were added to the queue.
This seems simple enough to do with a fifo stack. But there is one problem I don't know how to deal with. In the event that a pump trips (or the "lag" demand satisfies) how do I remove the appropriate word for that pump from the stack and have the pumps behind increment up. In the case of the lag demand being satisfied, I want to add that pump back to the bottom of the stack. (When there is another "lag" demand I want the next pump to start so I can minimize starts/hr per pump).
I don't know if there is a way to unload the fifo stack at any location other than the defined stack "0".
I've entertained the thought of the copy instructions and see how it could be done but the programming would be tedious and difficult to follow for others unfamiliar with our systems and programming. The fifo instruction seems like such an elegant solution if I can only find out how to unload from an alternate position.
I appreciate any help you can give me with this.
Randy
(I have no witty anecdotes yet)