# Robot is in a singularity (stopl unable to generate a valid set point)

**URL:** <https://forum.universal-robots.com/t/robot-is-in-a-singularity-stopl-unable-to-generate-a-valid-set-point/7944>\
**Category:** Technical Questions\
**Tags:** bugs\
**Created:** [June 30, 2020, 12:45pm UTC](https://forum.universal-robots.com/t/robot-is-in-a-singularity-stopl-unable-to-generate-a-valid-set-point/7944 "2020-06-30T12:45:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![david2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/david2/32/1176_2.png) [@david2](https://forum.universal-robots.com/u/david2)\
**Post date:** [June 30, 2020, 12:45pm UTC](https://forum.universal-robots.com/t/robot-is-in-a-singularity-stopl-unable-to-generate-a-valid-set-point/7944/1 "2020-06-30T12:45:31Z")

</div>

# Summary

We recently upgraded our UR10e software from **5.6.0** to **5.8.2** but shortly afterwards we started bumping into one new error:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/8/89e9aa40b9eee8361cd775dd2174b275e482a9b1.png)

We issue a `stopl(10)` command after failing to provide the next target _on time_ during a blended motion. It is basically something like this:

```auto
movel(p1, a=2.5, v=0.3)
movel(p2, a=7.0, v=1.0, r=0.12)
movel(p3, a=7.0, v=1.0, r=0.1) 
stopl(10)

```

## Error code

```auto
2020-06-29 14:37:08.531 :: C0A0:10 :: singularity:stopl unable to generate valid setpoint: :: ::

```

The code is `C0A` and according to the [Service Manual](https://s3-eu-west-1.amazonaws.com/ur-support-site/41382/ServiceManual_EN_e-Series_V_1.1.8.pdf) it is supposed to indicate `No error`. Also, it doesn’t seem like an actual [singularity](https://www.universal-robots.com/articles/ur-articles/what-is-a-singularity/).

# TCP configuration & joint limits

 ![Screenshot from 2020-06-30 10-06-06](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/6/6d18278a445150a0351d2ab0b6a614a2df5c82ff.png)

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

## Reproducible with URSim

Configure the TCP position and run the `broken_move.urp` script. The error will always be triggered with **5.8.0** and **5.8.2** versions:

 ![broken_motion_5.8.2.10297_lightweight](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/c/c100e588a1b513e67058ec0e1fbd0a13808df0d8.gif)

On the contrary, the error doesn’t appear with **5.6.0** :

 ![broken_motion_5.6.0.90886_lightweight](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/1/19dc22243c7f2db2f2bd012cd5e6f5eac292ce20.gif)

## Questions

- Was there any changes in the logic behind `stopl` or `movel`?  
The [Release Notes](https://www.universal-robots.com/articles/ur-articles/release-note-software-version-58xx/) only mentions a fix in the algorithm for blended `movel`s.

- Do you have any recommendations on how to avoid this error?  
Ex: Maximum/minimum motion profiles for UR10e, blending radii, configurations.

[broken\_motion.zip](https://forum.universal-robots.com/uploads/short-url/jWHp0Pk00Fe1gD8ovW9vkVhly1s.zip) (2.5 MB)

---

<div class="post-metadata">

**Author:** ![kaha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kaha/32/5058_2.png) [@kaha](https://forum.universal-robots.com/u/kaha)\
**Post date:** [July 6, 2020, 6:54pm UTC](https://forum.universal-robots.com/t/robot-is-in-a-singularity-stopl-unable-to-generate-a-valid-set-point/7944/2 "2020-07-06T18:54:38Z")

</div>

Hello David,

I have already answered your question on Tech Support email, but for these looking for a solution: problem seems to be caused by extremely high acceleration, what in connection to blend radius and even more extreme deceleration cause given warning to occur. I have tested presented program in URSim with changed acc and dec values for few hours and problem doesn’t occur, as it was earlier (every few cycles).

---

<div class="post-metadata">

**Author:** ![david2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/david2/32/1176_2.png) [@david2](https://forum.universal-robots.com/u/david2)\
**Post date:** [July 8, 2020, 6:30am UTC](https://forum.universal-robots.com/t/robot-is-in-a-singularity-stopl-unable-to-generate-a-valid-set-point/7944/3 "2020-07-08T06:30:43Z")

</div>

Thanks again for all the help Karol!

I will modify and validate the motion profiles before attempting to upgrade the software version again.
