# Default Speed and Acceleration

**URL:** <https://forum.universal-robots.com/t/default-speed-and-acceleration/19490>\
**Category:** General Application Help: How do I?\
**Created:** [February 24, 2022, 6:52pm UTC](https://forum.universal-robots.com/t/default-speed-and-acceleration/19490 "2022-02-24T18:52:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnaylor](https://avatars.discourse-cdn.com/v4/letter/n/a9adbd/32.png) [@nnaylor](https://forum.universal-robots.com/u/nnaylor)\
**Post date:** [February 24, 2022, 6:52pm UTC](https://forum.universal-robots.com/t/default-speed-and-acceleration/19490/1 "2022-02-24T18:52:17Z")

</div>

I have a program (CB series) that essentially uses 2 tool speeds and accelerations. One is for general movement, the other is for dispensing a glue-type of material. We have some issues with the glue viscosity changing from batch to batch, requiring a slightly faster or slower speed for the dispensing.

Given that, my original thought is to set the default tool speed to what we need and change it accordingly, but I can’t find a setting for that anywhere.

My next thought is a script command of some sort at the beginning of the program that sets the speed and acceleration. Is there any way to do this?

My last thought is to put my entire program within a move command to be able to set the speed on that move command while all the waypoints use shared parameters.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![m.hammerton](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@m.hammerton](https://forum.universal-robots.com/u/m.hammerton)\
**Post date:** [February 25, 2022, 9:28am UTC](https://forum.universal-robots.com/t/default-speed-and-acceleration/19490/2 "2022-02-25T09:28:36Z")

</div>

nnaylor,  
you can write the move in URScript and have variables to set speed and acceleration on each move.

see here [https://www.universal-robots.com/download/manuals-e-series/script/script-manual-e-series-sw-511/](https://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.universal-robots.com%2Fdownload%2Fmanuals-e-series%2Fscript%2Fscript-manual-e-series-sw-511%2F&data=04%7C01%7Cm.hammerton%40bardenbearings.co.uk%7Cebcaf270b9b94b18721108d9f5403789%7C3ad1a92829134369bbf06dfbb1ccd1c6%7C0%7C0%7C637810478435704215%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=gdZ2uKwsTBU%2B0Ux8UQQvwDoJgZGxnhzbeFTHLgxhyiQ%3D&reserved=0)

page 30 onwards

You could set variables (process\_speed = #, process\_accel = #, etc) at the beginning of you program and in the move line in your script program use the variable name instead of writing a value.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![nnaylor](https://avatars.discourse-cdn.com/v4/letter/n/a9adbd/32.png) [@nnaylor](https://forum.universal-robots.com/u/nnaylor)\
**Post date:** [February 25, 2022, 1:19pm UTC](https://forum.universal-robots.com/t/default-speed-and-acceleration/19490/3 "2022-02-25T13:19:27Z")

</div>

Thank you for the response. This might be a little beyond me. I don’t have a script program, just the polyscope software. I have no problem with the variable, but not sure about how to implement it.

---

<div class="post-metadata">

**Author:** ![m.hammerton](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@m.hammerton](https://forum.universal-robots.com/u/m.hammerton)\
**Post date:** [February 25, 2022, 2:25pm UTC](https://forum.universal-robots.com/t/default-speed-and-acceleration/19490/4 "2022-02-25T14:25:50Z")

</div>

nnaylor,  
**You can** do all this in Polyscope.  
Step 1,  
In your program tick the Add before Start Sequence  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/e/e6dcfd09ec70bf8e03476a43fe3f0db47ca55e41.png)

Step 2,  
create all your path positions in the Installation \> Features page

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

Step 3,  
assign 3 new variables Process\_speed, Process\_accl, Process\_blend.  
these you can adjust whenever you want to change some speed acceleration or blend radius.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/1/19b923c2ad9bd2ae2a119c16418813fef148482f.png)

Step 4,  
Add a script file to your Polyscope program  
select Script from programming menu  
in the command window choose file instead of line.  
Now edit  
in the editor  
1, define you routine  
2, add the Moves  
3, end (very important to end any commands in script )

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

Save the Script as something meaningful.

Your PolyScope prog should look something like this

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

Run the Program and watch the magic happen!!!

You’ll always get support here.
