Posted 10 May 2008 Hi, I have specific task to program so before I start I would appreciate the advice and ideas from all of you. I have to program automatic washing of 30 filters. PLC is Omron CS1. Any filter can request washing, but only one filter can be washed at the time. So it'll probably be on the FIFO basis, but the problem is that operator can take out the filter from the queue, or move it to any place if desired, and the rest should shift up or down. What would be the best approach for this, what instructions should I use? Thanks in advance. Share this post Link to post Share on other sites
Posted 10 May 2008 CS1 instruction set has a set of stack commands that should be able to accomplish the application. There are stack instructions (SSET, FIFO, PUSH). There are also insert and delete instructions (I forget the actual instructions) that can add or delete items from the stack. The other way to do it would be run a stack manually with indirect addressing. Share this post Link to post Share on other sites