# A way to tell moveL separate Acceleration and Deceleration?

**URL:** <https://forum.universal-robots.com/t/a-way-to-tell-movel-separate-acceleration-and-deceleration/35388>\
**Category:** URScript\
**Created:** [July 23, 2024, 8:42am UTC](https://forum.universal-robots.com/t/a-way-to-tell-movel-separate-acceleration-and-deceleration/35388 "2024-07-23T08:42:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lxop](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@lxop](https://forum.universal-robots.com/u/lxop)\
**Post date:** [July 25, 2024, 12:14am UTC](https://forum.universal-robots.com/t/a-way-to-tell-movel-separate-acceleration-and-deceleration/35388/2 "2024-07-25T00:14:43Z")

</div>

I’m not aware of a way to do this in a single command, but if you can separate the movement into two commands then you can use a different value for each. The key here will be to set a blend radius on the first command so that the robot knows that it is not supposed to come to a stop between the two movements. Depending on the speed you are moving, you might need to use MoveP instead of MoveL, as it seems to work better.  
So you would change

```auto
movel(target)

```

to

```auto
movel(intermediate, a=accel, r=0.01)
movel(target, a=decel)

```

where `intermediate` is a location (almost) anywhere along the movement path. By setting `r` in the first command, you are telling the robot to blend the two movements without stopping in between, so it should look like a single motion.

---

_[View the full topic](https://forum.universal-robots.com/t/a-way-to-tell-movel-separate-acceleration-and-deceleration/35388)._
