Home› Programming
Discussion
Back to discussions page
abeachy_HG24
Posts: 79 Handy
Program speed |
1.8K views
|
Answered | |
/ Most recent by matthewd92
in Programming
|
16 comments |

When the UR is in run mode, does the program speed slider default to 100%? Also, is there a way to use a script function of some sort to verify or set the speed slider to 100%? I am using the UR in a sealant dispensing application where the UR picks the part and moves it underneath a stationary needle. We had one cycle where it dispensed too much sealant because the UR was going slower than normal but I believe the UR was running in the program tab and the speed slider may have been lowered by accident.
Tagged:
To use this in your program you would just call runSlow(1) to set the speed slider to 100% or runSlow(0.25) to set it to 25%. I have put this in a background thread before when I wanted to enforce a given speed slider ratio for a program, that way if someone moved the slider in production it automatically moved it back. You can also choose whether to show the speed slider on the run screen or not.
One question here though, is the "set speed" a special kind of command that can only be used to send through port 30003? Because I don't find it from the URScript manual. Was wondering if you have a list of these commands that you can share?
My best recommendation for learning all the great little things that can be done is to read through all of the FAQ's and How-To's on the UR Support site which can be found at https://www.universal-robots.com/support/
I will start a thread where maybe everyone can post up any little functions that they have written that help simplifies using the robot such as the runSlow function above.
Do you know of any way to lock in the speed slider when the robot is being moved manually from the move screen? My goal would be to only allow operators to move the robot at a reduced speed.