Pass Selected robtarget in Program Editor to a PROC?
Without having to develop a full-fledged FlexPendant application, is at all possible via RAPID to pass to a PROC the robtarget (either its name or the data itself) that's currently selected in the Program Editor? Much in the same way that you can select a robtarget->Debug->View Value or robtarget->Debug->Modify Position, etc.
What I'm trying to achieve is a spin-off of "Go to Position" but with the active displacement applied -- a "Go to Offset Position" if you will.
I've scoured the TRM for a means of grabbing the selected target, but haven't had any luck.
What I'm trying to achieve is a spin-off of "Go to Position" but with the active displacement applied -- a "Go to Offset Position" if you will.
I've scoured the TRM for a means of grabbing the selected target, but haven't had any luck.
0
Answers
-
Which program editor? The pendant or robotstudio?Lee Justice0
-
Sorry, I should have made that more clear. It's the Program Editor on the FlexPendant.0
-
Hello,
I think this is not possible, because you cannot call a routine from the editor which has parameters.0 -
I am thinking maybe you could do a data search for robtargets and prompt the user to select one. Then you could pass that selected robtarget into a routine which would contain the move instruction. Could be rather tedious though.Lee Justice0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 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