# Errors when running script in URSim

**URL:** <https://forum.universal-robots.com/t/errors-when-running-script-in-ursim/20681>\
**Category:** URScript\
**Created:** [April 19, 2022, 4:52pm UTC](https://forum.universal-robots.com/t/errors-when-running-script-in-ursim/20681 "2022-04-19T16:52:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon87886619](https://avatars.discourse-cdn.com/v4/letter/a/34f0e0/32.png) [@anon87886619](https://forum.universal-robots.com/u/anon87886619)\
**Post date:** [April 19, 2022, 4:52pm UTC](https://forum.universal-robots.com/t/errors-when-running-script-in-ursim/20681/1 "2022-04-19T16:52:30Z")

</div>

I’m currently running a script I made in URSim and am getting a lot of syntax errors. I know the script is not perfect (this is my first time programming in URScript) but the syntax errors don’t really make any sense, as I coded the syntax in the same way as in the manual. I am trying to do moveC and it’s saying there is a syntax error, but it looks the same as how it’s defined in the manual.

 ![IMG_1195](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/b/bb4c54af1c600eccef5c02ef9f6b1f8ca277ea6c.jpeg)

Any tips or suggestions are appreciated.

---

<div class="post-metadata">

**Author:** ![anon7088760](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@anon7088760](https://forum.universal-robots.com/u/anon7088760)\
**Post date:** [July 6, 2022, 6:28am UTC](https://forum.universal-robots.com/t/errors-when-running-script-in-ursim/20681/2 "2022-07-06T06:28:36Z")

</div>

Hi @anon87886619

I think you should also type “v=” even if you use speed\_ms variable.

```auto
movec(p[x-half_rad, y_bot, z, 0, 0, 0], p[x-radius, y-radius, z, 0, 0, 0], a=1.0, v=speed_ms, r=0.005, mode=0)

```

I hope my post helps you !
