Points Question
Drake
✭
in RobotStudio
Hi. I made a program that receives a pair of point (origin and destination) in a array (Pontos) and moves objects. Always passing the same points (confirmed several times) the movements aren't the same. It I would like to know why. It seems that it doesn't execute de SetDo synchronized. Thanks
http://www.youtube.com/watch?v=3UtMTprTHc0
3 examples:
http://www.youtube.com/watch?v=3UtMTprTHc0
Program:
PROC Path_1()
var num j := 1;
FOR i FROM 1 to nrElements DO !nr Elements in the array
MoveL Target_10,v1000,fine,tool0WObj:=wobj0;
MoveL Pontos{j},v1000,fine,tool0WObj:=wobj0;
SetDO PickSignal,1;
MoveL Target_10,v1000,fine,tool0WObj:=wobj0;
j:=j+1;
MoveL Pontos{j},v1000,fine,tool0WObj:=wobj0;
SetDO PickSignal,0; j:=j+1;
ENDFOR
ENDPROC
Drake2009-08-13 13:24:52 0
Comments
-
When you simulate with eventmaneger you need at least 0.2 waittime from setting do and to the robot moves. Try out the time of waiting. dependst off CPU and grafic. Had same problem but solved it with waittime both before and after setting DOBR KlausBest Regards
Klaus Soenderhegn
www.cadalysator.dk0 -
thks, that solved the problem
0 -
Happy to helpBR KlausBest Regards
Klaus Soenderhegn
www.cadalysator.dk0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings