text: <s>[INST] kinetix 5500's Summary: MAM will finish after an interrupt instead of executing new MAMI have run into an interesting issue. When i break the light curtain while my machine is in motion, safe torque off activates and the program holds that position until a return to home command or continue cycle is initiated. this is normal operation. On this machine though, i have found MAM's still enabled even if the rung isn't true anymore, and the drive will finish the motion that was in progress instead of executing the return to home MAM. is there a way to clear the memory of the drive in this situation so i can be sure it executes the MAM the logic dictates? as of now, the drive is not following the logic of my program. i have looked at scan times, made sure that my routines were being read in the right order, checked for duplicate MAM's and OTE's, made some logic very unique to ensure it wasn't duplicated in other places. i have worked on this issue for two days and not had any luck. processor is 1769-L27ERM-QBFC1B mated to 2198-H070, H008, H003 - ERS. Studio5000 version 30.11 I have 4 identical machines that were just built and all exhibit same behavior, so i'm certain it is in my program, but i cannot find the bug in the code. i have built 30+ machines like this but have never run into this issue before. [/INST] Gregory, you're far more likely to get a useful answer if you share your ACD file and point us to the location of the MAM that persists. \\n </s>