# Speedbar goes to 10% randomly after stops

**URL:** <https://forum.universal-robots.com/t/speedbar-goes-to-10-randomly-after-stops/15372>\
**Category:** Report a Bug\
**Created:** [July 9, 2021, 1:13am UTC](https://forum.universal-robots.com/t/speedbar-goes-to-10-randomly-after-stops/15372 "2021-07-09T01:13:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@mike](https://forum.universal-robots.com/u/mike)\
**Post date:** [July 9, 2021, 1:13am UTC](https://forum.universal-robots.com/t/speedbar-goes-to-10-randomly-after-stops/15372/1 "2021-07-09T01:13:17Z")

</div>

I have a system (I didn’t program) where after a stop, door open, or similar, the speedbar goes to 10%

It sometimes moves manually, sometimes it takes quite a bit of time. I.E. if you slide the speedbar, it immediately goes back to 10%

The robot is enclosed, so the settings are 100% unlimited if the doors are closed. If the doors are opened, the robot stopps.

We’re running a UR5E, running 5.11.0. I didn’t see any relevant fixes in 5.11.1. I don’t see any code setting the speedbar.

If this is a programmed setting that I’m missing, please let me know. Has anyone else experienced this?

---

<div class="post-metadata">

**Author:** ![terryc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/terryc/32/3006_2.png) [@terryc](https://forum.universal-robots.com/u/terryc)\
**Post date:** [July 9, 2021, 4:29pm UTC](https://forum.universal-robots.com/t/speedbar-goes-to-10-randomly-after-stops/15372/2 "2021-07-09T16:29:35Z")

</div>

Wow that sounds frustrating. As far as I know, besides the speed being set externally by RTDE, the robot code can change the speed slider using an undocumented command. Here’s a function posted by @mbush:

```auto
def runSlow(speed):
  socket_open("127.0.0.1",30002)
  socket_send_string("set speed")
  socket_send_string(speed)
  socket_send_byte(10)
  socket_close()
end

```

Do you see anything like that in the code anywhere? Maybe in a script block? Is there a PLC in the system somewhere?

---

<div class="post-metadata">

**Author:** ![mike](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@mike](https://forum.universal-robots.com/u/mike)\
**Post date:** [July 9, 2021, 7:57pm UTC](https://forum.universal-robots.com/t/speedbar-goes-to-10-randomly-after-stops/15372/3 "2021-07-09T19:57:41Z")

</div>

Nope, nothing like that. All of the scripts are ones I recognized. It’s in an enclosed cell, it does a safeguard stop of the doors are opened.

So occasionally when the operators open the door, adjust something, and close the door to resume, it drops to 10% and they operator doesn’t realize it.

---

<div class="post-metadata">

**Author:** ![mbush](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mbush/32/76_2.png) [@mbush](https://forum.universal-robots.com/u/mbush)\
**Post date:** [July 9, 2021, 9:56pm UTC](https://forum.universal-robots.com/t/speedbar-goes-to-10-randomly-after-stops/15372/4 "2021-07-09T21:56:22Z")

</div>

I can say the only time I’ve seen anything like that an external system was dropping the speed. We have a customer that one of their other internal integrators does that, anytime you violate safety the speed slider goes to 10 or 20 percent. In all the robots we’ve done with safeguard stops I’ve never encountered that.

Hope you’re able to find the issue.
