PLC4me Posted February 19, 2008 Report Posted February 19, 2008 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
Nibroc Posted February 21, 2008 Report Posted February 21, 2008 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
Sleepy Wombat Posted February 21, 2008 Report Posted February 21, 2008 other alternative are DIST COLL and WSFT
beegee Posted March 20, 2008 Report Posted March 20, 2008 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now