Sign in to follow this  
Followers 0
verbatim

queue

2 posts in this topic

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0