Posted 19 Feb 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 Share this post Link to post Share on other sites
Posted 21 Feb 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 Share this post Link to post Share on other sites
Posted 21 Feb 2008 other alternative are DIST COLL and WSFT Share this post Link to post Share on other sites
Posted 20 Mar 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 Share this post Link to post Share on other sites