Weird behaviour of WaitRob with MoveL
Options
PetrB
✭
Hi,
I'm troubleshooting one program, which have some weird behavior. When robot starts to execute MoveAbsJ, it moves very slowly for few seconds and then finish the move with normal speed. I isolated problem to those 4 commands, all other modules are deactivated. Any idea whats wrong?
WHILE TRUE DO
MoveL [[0.001,231.257,-153.191],[0,-0.707106781,0.707106781,0],[-1,-1,0,1],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v200,fine,t_Sonotrode_8x18_185\WObj:=wobj_Toyota_817_B;
WaitRob\Inpos;
MoveL [[0.001,231.257,-153.191],[0,-0.707106781,0.707106781,0],[-1,-1,0,1],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v200,z20,t_Sonotrode_8x18_185\WObj:=wobj_Toyota_817_B;
MoveAbsJ [[0,10,50,0,-60,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v2000,z200,t_Connecting_flange\WObj:=wobj_World;
ENDWHILE
MoveL [[0.001,231.257,-153.191],[0,-0.707106781,0.707106781,0],[-1,-1,0,1],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v200,fine,t_Sonotrode_8x18_185\WObj:=wobj_Toyota_817_B;
WaitRob\Inpos;
MoveL [[0.001,231.257,-153.191],[0,-0.707106781,0.707106781,0],[-1,-1,0,1],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v200,z20,t_Sonotrode_8x18_185\WObj:=wobj_Toyota_817_B;
MoveAbsJ [[0,10,50,0,-60,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v2000,z200,t_Connecting_flange\WObj:=wobj_World;
ENDWHILE
0
Best Answer
-
I recommend you to play around with different z-parameters in your Move instructions. They seem to range from fine to 200, and the travel distance of your manipulator doesn't look to be that large.
Also, what purpose does WaitRob\Inpos do in your case, when it's directly after a move instruction with a fine z-parameter?
—Maxim RiabichevPC Software Support Engineer5
Answers
-
Thanks Maxim, changing the zones helped. I agree there is no purpose for WaitRob with fine parameter, it's just code I was given to
0
Categories
- All Categories
- 5.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings