# Dashboard server returns "Failed to execute: play"

**URL:** <https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147>\
**Category:** Robot Communication\
**Created:** [April 28, 2020, 9:19pm UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147 "2020-04-28T21:19:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![schroeder](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@schroeder](https://forum.universal-robots.com/u/schroeder)\
**Post date:** [April 28, 2020, 9:19pm UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/1 "2020-04-28T21:19:25Z")

</div>

Hi,

I can’t figure out why I can’t ‘play’ my programs…

I am using the Dashboard server interface to connect to URSim running on a Linux box on my network.

I can “load” the programs, and all other commands work normally, but when I send “play”, I get this error.

I thought earlier today that it was because of some variable settings in one of my (urp) programs, but now I can’t play anything.

Can you tell me what can cause that message?

Thanks,

Joe Schroeder

---

<div class="post-metadata">

**Author:** ![m.birkholz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/m.birkholz/32/7084_2.png) [@m.birkholz](https://forum.universal-robots.com/u/m.birkholz)\
**Post date:** [April 29, 2020, 5:40am UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/2 "2020-04-29T05:40:23Z")

</div>

Hi,

are you using the e-Series URSim and did you activate the Remote Mode?

---

<div class="post-metadata">

**Author:** ![schroeder](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@schroeder](https://forum.universal-robots.com/u/schroeder)\
**Post date:** [April 29, 2020, 11:49am UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/3 "2020-04-29T11:49:23Z")

</div>

Hi. I am using the e-Series 5.7 URSim. It was working earlier in manual mode, but I have tried Remote also.

Is there any way to see the simulation while running in Remote mode?

---

<div class="post-metadata">

**Author:** ![schroeder](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@schroeder](https://forum.universal-robots.com/u/schroeder)\
**Post date:** [April 29, 2020, 4:56pm UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/4 "2020-04-29T16:56:05Z")

</div>

Update:  
I have gotten around my immediate problem, by reverting to using the secondary control interface to send scripts, rather than using the dashboard server to ‘play’ (the same) programs.

I keep the dashboard port open, which works well for detecting when the program (or script) has finished.

I still don’t understand why ‘play’ often returns ‘Failed to execute: play’ when I use the latter technique.

What conditions can cause that failure?

---

<div class="post-metadata">

**Author:** ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)\
**Post date:** [April 30, 2020, 10:45am UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/5 "2020-04-30T10:45:00Z")

</div>

If the robot is off it will cause the failure, but since the secondary client interface works that is not your issue.  
No program loaded is anothet

If the current program is undefined could cause the issue you are facing.

I have experienced that if your program require a Automove before starting, and your current pose is “far away”(probably closer to another inverse kinematic solution), the Play was failing. Avoiding this can be done by having a relative Waypoint as the first thing in your program.

---

<div class="post-metadata">

**Author:** ![schroeder](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@schroeder](https://forum.universal-robots.com/u/schroeder)\
**Post date:** [April 30, 2020, 12:10pm UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/6 "2020-04-30T12:10:28Z")

</div>

Thanks. I wondered about that “Automove”… when I start a program with Polyscope, I always have to move to home first…

Is there a setting for that?

Interesting, that I do have one short program that seems to work usually, and it just backs the tool along it’s Z axis by 100mm, using a relative move.

Joe

Get [BlueMail for Android](http://www.bluemail.me/r?b=15860)

---

<div class="post-metadata">

**Author:** ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)\
**Post date:** [April 30, 2020, 12:18pm UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/7 "2020-04-30T12:18:10Z")

</div>

No, but there is more information about it here:  
[https://www.universal-robots.com/articles/ur-articles/creating-a-safe-home-routine/](https://www.universal-robots.com/articles/ur-articles/creating-a-safe-home-routine/)

---

<div class="post-metadata">

**Author:** ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)\
**Post date:** [April 30, 2020, 12:30pm UTC](https://forum.universal-robots.com/t/dashboard-server-returns-failed-to-execute-play/7147/8 "2020-04-30T12:30:50Z")

</div>

Hi, @schroeder, @Ebbe

I created the urcap to do this.  
If tcp is within condition, robot can move the setting position at first.

Please see here.

> [@URCap Sample: Go Safety Home URCap](https://forum.universal-robots.com/t/sample-go-safety-home-urcap/7107):
>
> Go Safety Home URCap Description of functionality: The feature of this urcap is that the way to go safety home so as not to interfere from anywhere is created. What topics are covered: URCaps Samples GITHUB LINK [github](https://github.com/t-fujiki/safetyhome) Requirements: URCaps SDK v.1.9.0 Example When actual tcp pose is X=-150 Y=200 Z=150, robot moves linearly in the Z direction by 80mm at first because the pose is within conditions.
