Retreiving a wobj definition from Robot Web Services
Humphrey
✭
Does anyone know how to get the wobj definition from the REST API? More precisely: what REST URL gives me the x,y,z,q1,q2,q3,q4 values of a certain wobj that is loaded in the controller?
Scenario:
-I load a RAPID program with a wobj: 'WobjTable' for example
-I adjust this wobj with the flexpendant and the 3 point method
-Now I would like to retreive this new wobj definition from the Robot Web Services REST API
I was looking under
Scenario:
-I load a RAPID program with a wobj: 'WobjTable' for example
-I adjust this wobj with the flexpendant and the 3 point method
-Now I would like to retreive this new wobj definition from the Robot Web Services REST API
I was looking under
/rw/rapid/but couldn't find it there so far..
Tagged:
0
Comments
-
Ok, apparently there is no function to do this directly, however you can get it by searching through the module text:
First loop over all modules:/rw/rapid/modules?task=T_ROB1
then search for the wobjdata definitions:/rw/rapid/modules/PUT_MODULENAME_HERE?task=T_ROB1&startrow=0&startcol=0&text=wobjdata
then with the results you can get the actual text where the wobj is defined:/rw/rapid/modules/PUT_MODULENAME_HERE?task=T_ROB1&startrow=PUT_RESULTS_HERE&startcol=PUT_RESULTS_HERE&endrow=PUT_RESULTS_HERE&endcol=PUT_RESULTS_HERE<br>
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings