Posted 1 May Hello, simple question, How do I clear a range of devices in ladder in GXworks 3 mitsubishi PLC? I'd like to do something like MOV K0 D4500 D5000 where I put 0 in all devices from D4500 through D5000. I have scanned the documentation for an hour now and not finding how to do this. I also don't see a way to iterate a loop like I might do in C. For now I just made an array of RST D4500, RST D4501, ... and so on for about 20 devices just to keep moving forward with some development. But I need to wipe that whole space easily. Is there a way to input an array for the RST function? Thanks! Share this post Link to post Share on other sites
Posted 2 May Hello, I think, that you are looking for FMOV instruction. As it´s used in attached picture, once you turn on M0, it will fill hundred devices starting with D0 with zeroes Share this post Link to post Share on other sites
Posted 2 May Thank you. You saved me a lot of time! Share this post Link to post Share on other sites