Posted 18 Jun 2015 Hey guys! What is best way to save cycle statistic? I want to save last 500 cycles, each cycle data is 16 word length. I have CJ2M-Cpu32 and NB10 HMI. Best Regards Share this post Link to post Share on other sites
Posted 18 Jun 2015 Using an arbitrary memory location that looks like this: Each of the last 500 cycles is reserved 16 words each from D10000 to D17999 (8000 words). A simple program to do this might look like this: This drawing illustrates what the program does: At the end of a cycle, the first transfer shifts the previous 499 cycles down by 16 words (overwriting the data for the 500th previous cycle). Then the second transfer moves the current data into the first slot as depicted. Share this post Link to post Share on other sites