robtarget rapid editor
in RobotStudio
Hi
I create a path with eight Robtargets, i wanna change two of the eight robtargets foranother path.
is there some command withthat i can dao that? I find the the command pos.x=posx+50, but it doesnt work.
Iw anna change only the x-position of the two robtargets.
best regards
0
Comments
-
This is one way of doing what you want:Create a copy of the targets you want to offset and make the target you use in your moveinstruction equal to the one you needtask pers robtarget target_30 := [[x,y,z[,[q1,q2,q3,q4]....task pers robtarget target_30_original := [[10,10,10],....task pers robtarget target_30_offset := [[60,10,10],....IF PATH is 1 thentarget_30 = target_30_originalELSEtarget_30 = target_30_offsetENDIFRobWelding
The Netherlands0 -
hi sjoLi thanks for the answer, but i think i need an array, because i have over 60 positons.
I try to create a array.
PERS robtarget einpal{13}:=[[Target_70],[Target_80],[Target_90],[Target_100],[Target_110],[Target_120],[Target_13]];
PROC greifen()
FOR i FROM 1 to 13 DO
MoveL einpal,v1000,z100,Greifer_1\WObj:=wobj0;
ENDFOR
ENDPROC
is that right so?
0 -
Or just use the original points in your other paths and use an offset inst on them (similar to above).
MoveJ Offs(pOriginal, 50, 0, 0), v500, z1....etc
As long as your targets are not local if you are using different routines for the separate paths.
0 -
Or going on like SjoLi has described....
Make your ' x'offset a variable which only switches on special cases (Test/Case or If/Then)
PROC Path1()
MoveJ Offs(pOriginal, regXOffs, 0, 0) v500, z1
ENDPROC
Case 1
regXOffs := 50
Path1;
Case 2
regXOffs := 0
Path1;
0 -
Hi I have a question, can i with your declarition choose different Paths or need i an Array. Path a Path b Path c Path d Path e path f Best regards0
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)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings