Slowing Down on Input

Don
✭
Hello,
I would like to perform a move (e.g., MoveL, MoveC) and have the robot move at 100mm/s when an input is off and 4mm/s when the input is on. I have tried using interupts and VelSet, but VelSet doesn't affect the current move - only subsequent moves. I have also tried using interupts and SpeedRefresh, but to obtain the required speed the argument to SpeedRefresh needs to be 4*100/MaxRobSpeed() = 0.08 which causes the robot cease movement. Any ideas?
Best regards,
Don.
I would like to perform a move (e.g., MoveL, MoveC) and have the robot move at 100mm/s when an input is off and 4mm/s when the input is on. I have tried using interupts and VelSet, but VelSet doesn't affect the current move - only subsequent moves. I have also tried using interupts and SpeedRefresh, but to obtain the required speed the argument to SpeedRefresh needs to be 4*100/MaxRobSpeed() = 0.08 which causes the robot cease movement. Any ideas?
Best regards,
Don.
0
Comments
-
Hi,In this case you should use SpeedRefresh 4 (as you want the speed to be 4% of v100).Please note that SpeedRefresh does not work instantaneously, there is a lag of 0,3 to 0,5 seconds.Look at the documentation of SpeedRefresh for more details. Good luck!frpa2009-11-27 14:55:510
-
Thanks mate. That's it.
0 -
Why not simply IF di1=1 THENMoveL p10, v100,z10,tGrip;ELSEMoveL p10,v4,z10,tGrip;ENDIFLee Justice0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 338 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 832 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings