Sign in to follow this  
Followers 0
PLC4me

FIFO instruction

5 posts in this topic

I Looking for a FIFO instruction, I want to save the register value of DM100 every time it change so I can recall it later and see all instance it was change. What best instruction should I use and does anyone have a example this would be great. Thanks

Share this post


Link to post
Share on other sites
Hi, What PLC model are you using ? CS/CJ Series see Omron Manual W340 section 3-17 for stack functions FIFO, LIFO, PUSH etc. Also the Manual W394 is a good read for these PLC's. CP Series, see Omron Manual W451 section 3-16 for similar functions. Let us know if you are using a different series of PLC. Note that the above manuals are freely available from Omron download sites. Nibroc

Share this post


Link to post
Share on other sites
other alternative are DIST COLL and WSFT

Share this post


Link to post
Share on other sites
another option is to use indirect addressing DM50 for the pointer and increasing that value everytime you trigger the write procedure. (you can save multiple DM's by adding for instance 5 to DM50 each time you write) Don't forget to write a section to return to the beginning once your value gets too big. then you can use *D50 to write to. Beegee

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