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.4K RobotStudio
- 384 UpFeed
- 15 Tutorials
- 12 RobotApps
- 290 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 283 IRC5
- 44 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 746 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings