How can I visualize a routine with parameters in the VC

Luxrobotic
✭✭
in RobotStudio
Good evening everybody,
one of my customer has made some changes in one of my programs. He add some routines with parameters.
The problem is that now, I can't load these new routines in the VC, and make adjustments of the robtargets.
The routines look like this:
PROC V408_Trunk_85_86_87_88_mod(robtarget p_offset)
CutL\On, Offs(p_offset,0,0,0), vCutFast, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,17,0,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,17,-7.5,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveC Offs(p_offset,0,-18.5,0),Offs(p_offset,-17,-7.5,0),vCutMedium,z1,tjet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,-17,7.5,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveC Offs(p_offset,0,18.5,0),Offs(p_offset,17,7.5,0),vCutMedium,z1,tjet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,17,-3,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
CutL\Off, Offs(p_offset,0,-3,0), vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
!
ENDPROC
I know that it should be possible to create some Action or Move instructions but I tried to, without any success.
I just want to be able to modify the position of the parametered robtarget.
Thanks in advance.
one of my customer has made some changes in one of my programs. He add some routines with parameters.
The problem is that now, I can't load these new routines in the VC, and make adjustments of the robtargets.
The routines look like this:
PROC V408_Trunk_85_86_87_88_mod(robtarget p_offset)
CutL\On, Offs(p_offset,0,0,0), vCutFast, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,17,0,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,17,-7.5,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveC Offs(p_offset,0,-18.5,0),Offs(p_offset,-17,-7.5,0),vCutMedium,z1,tjet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,-17,7.5,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveC Offs(p_offset,0,18.5,0),Offs(p_offset,17,7.5,0),vCutMedium,z1,tjet8\WObj:=Wobj_V408_Trunk_R2_T2;
MoveL Offs(p_offset,17,-3,0),vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
CutL\Off, Offs(p_offset,0,-3,0), vCutMedium, z1, tJet8\WObj:=Wobj_V408_Trunk_R2_T2;
!
ENDPROC
I know that it should be possible to create some Action or Move instructions but I tried to, without any success.
I just want to be able to modify the position of the parametered robtarget.
Thanks in advance.
Regards
http://www.luxrobotic.com
Cornet Raymond
Manager
+352 621 354 570
raymond.cornet@luxrobotic.com
http://www.luxrobotic.com
HP ZBook Fury 16 G11
0
Comments
-
Hi,I assume your problem is that you can't synchronize the procedure to the RobotStudio station from the VC.To be able to do that you need to create a "Move Instruction Template" for the routine in "Instruction Template Manager". But you need to add the tooldata and workobject to the procedure first:PROC V408_Trunk_85_86_87_88_mod(robtarget p_offset,,PERS tooldata tool\PERS wobjdata wobj)CutL\On, Offs(p_offset,0,0,0), vCutFast, z1, tooldata \WObj:=wobj;
MoveL Offs(p_offset,17,0,0),vCutMedium, z1, tooldata \WObj:=wobj;
MoveL Offs(p_offset,17,-7.5,0),vCutMedium, z1, tooldata \WObj:=wobj;
MoveC Offs(p_offset,0,-18.5,0),Offs(p_offset,-17,-7.5,0),vCutMedium,z1,tooldata \WObj:=wobj;
MoveL Offs(p_offset,-17,7.5,0),vCutMedium, z1, tooldata \WObj:=wobj;
MoveC Offs(p_offset,0,18.5,0),Offs(p_offset,17,7.5,0),vCutMedium,z1,tooldata \WObj:=wobj;
MoveL Offs(p_offset,17,-3,0),vCutMedium, z1, tooldata \WObj:=wobj;
CutL\Off, Offs(p_offset,0,-3,0), vCutMedium, z1, tooldata \WObj:=wobj;
!
ENDPROCBest regards,
Anders Spaak
ABB Robotics0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 20 Tutorials
- 15 RobotApps
- 303 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 353 IRC5
- 74 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 849 RAPID Programming
- 24 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings