Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
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.7K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 16 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 366 IRC5
- 87 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 857 RAPID Programming
- 40 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings