# Motion recovery after Interrupt problem

**URL:** <https://tech-community.robotics.abb.com/t/motion-recovery-after-interrupt-problem/6003>\
**Category:** Robot Controller\
**Created:** [March 6, 2014, 2:29pm UTC](https://tech-community.robotics.abb.com/t/motion-recovery-after-interrupt-problem/6003 "2014-03-06T14:29:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacijent](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/pacijent/32/512_2.png) [@pacijent](https://tech-community.robotics.abb.com/u/pacijent)\
**Post date:** [March 6, 2014, 2:29pm UTC](https://tech-community.robotics.abb.com/t/motion-recovery-after-interrupt-problem/6003/1 "2014-03-06T14:29:14Z")

</div>

Hello to all, I’m trying to stop robot motion in the case robot loses it’s piece from gripper during motion, moves one step back, and starts from the beginning of program. I’m able to stop motion and move back using trap routine (path store-restore), but after robot exits trap routine goes back inside motion routine where error occurred, and stops. It doesn’t want to move any more, PP is frozen at move instruction. Why is this happening, and is it possible to exit trap routine not to position where error occurred but to let’s say to Main routine. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Dan\_Kobus](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@Dan\_Kobus](https://tech-community.robotics.abb.com/u/Dan_Kobus)\
**Post date:** [March 8, 2014, 10:38pm UTC](https://tech-community.robotics.abb.com/t/motion-recovery-after-interrupt-problem/6003/2 "2014-03-08T22:38:43Z")

</div>

using the command “Exit Cycle” will put the program pointer back to the top of the Main. also I believe you will need to use the “Start Move” command to re initialize the robot movement, but I could be mistaken.

---

<div class="post-metadata">

**Author:** ![pacijent](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/pacijent/32/512_2.png) [@pacijent](https://tech-community.robotics.abb.com/u/pacijent)\
**Post date:** [March 10, 2014, 8:40am UTC](https://tech-community.robotics.abb.com/t/motion-recovery-after-interrupt-problem/6003/3 "2014-03-10T08:40:18Z")

</div>

Thanks Dan for info, I did try to use StarMove at the end of trap, but still PP is stuck when it goes back to motion routine. Also robotstudio simulation just stops byitself, if I click simulation run, robot will continue motion. Pretty weird.

---

<div class="post-metadata">

**Author:** ![Dan\_Kobus](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@Dan\_Kobus](https://tech-community.robotics.abb.com/u/Dan_Kobus)\
**Post date:** [March 17, 2014, 11:24pm UTC](https://tech-community.robotics.abb.com/t/motion-recovery-after-interrupt-problem/6003/4 "2014-03-17T23:24:49Z")

</div>

I believe you need to have a program start input to re trigger the program. If your using a plc to control the robot you can add a toggling bit in the rung of logic ( if your using ladder) to re trigger the program start system input
