# When does speedl() function return?

**URL:** <https://forum.universal-robots.com/t/when-does-speedl-function-return/33345>\
**Category:** URScript\
**Created:** [March 21, 2024, 9:55am UTC](https://forum.universal-robots.com/t/when-does-speedl-function-return/33345 "2024-03-21T09:55:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mar.pc.24](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@mar.pc.24](https://forum.universal-robots.com/u/mar.pc.24)\
**Post date:** [March 21, 2024, 9:55am UTC](https://forum.universal-robots.com/t/when-does-speedl-function-return/33345/1 "2024-03-21T09:55:31Z")

</div>

Searching in the Script Manual, it says that the speedl() function will return when the target speed is reached. But, in my case, when I try it in the Ursim with U10, the robot never stops, not until it reaches its limits. The command I am trying is:

> speedl([0,0,0.2,0,0,0],a=1)

I have tried adding t=0.5, t=0.2, t=0.0, but nothing changes. The robot never stops.

I would like to know when the speedl() function returns.

Thank you in advance!
