# Trying to pause and restart the robot program

**URL:** <https://forum.universal-robots.com/t/trying-to-pause-and-restart-the-robot-program/21165>\
**Category:** URScript\
**Created:** [May 9, 2022, 4:14pm UTC](https://forum.universal-robots.com/t/trying-to-pause-and-restart-the-robot-program/21165 "2022-05-09T16:14:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon1673223](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@anon1673223](https://forum.universal-robots.com/u/anon1673223)\
**Post date:** [May 9, 2022, 4:14pm UTC](https://forum.universal-robots.com/t/trying-to-pause-and-restart-the-robot-program/21165/1 "2022-05-09T16:14:32Z")

</div>

I am setting and programming my first UR. I am looking for a way to pause the robot program if a digital input is made then resuming the program if a second digital input is made. Do I type script to pause the program based off the digital input? Any information will be greatly appreciated?

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [May 9, 2022, 4:22pm UTC](https://forum.universal-robots.com/t/trying-to-pause-and-restart-the-robot-program/21165/2 "2022-05-09T16:22:13Z")

</div>

In the Installation, you can select certain predefined behaviors for the digital inputs. Pause and Start happen to be 2 of these:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/7/797c4b27c76c014510dc1b27205f544d10d755b0.png)

Just set one to Pause program and the other to Start program I believe.

---

<div class="post-metadata">

**Author:** ![anon1673223](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@anon1673223](https://forum.universal-robots.com/u/anon1673223)\
**Post date:** [May 9, 2022, 4:35pm UTC](https://forum.universal-robots.com/t/trying-to-pause-and-restart-the-robot-program/21165/3 "2022-05-09T16:35:39Z")

</div>

Thank you. I will give that a try.

---

<div class="post-metadata">

**Author:** ![anon1673223](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@anon1673223](https://forum.universal-robots.com/u/anon1673223)\
**Post date:** [May 9, 2022, 5:48pm UTC](https://forum.universal-robots.com/t/trying-to-pause-and-restart-the-robot-program/21165/4 "2022-05-09T17:48:47Z")

</div>

That does work. What I actually need to do is resume the program from the point that it paused. Is that possible?

---

<div class="post-metadata">

**Author:** ![anon1673223](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@anon1673223](https://forum.universal-robots.com/u/anon1673223)\
**Post date:** [May 9, 2022, 6:17pm UTC](https://forum.universal-robots.com/t/trying-to-pause-and-restart-the-robot-program/21165/5 "2022-05-09T18:17:37Z")

</div>

I figured it out. I placed the robot in Remote Mode. It worked the way I wanted.
