RAPID - exec style statement
in RobotStudio
I'm attempting to create a python wrapper which sends RAPID calls from a network connected control PC, without needing to hard-code each RAPID function I thought about using an 'exec' style statement to pass a string, which would allow the connect PC to control the arm.
Thanks for any input!
Alex
0
Comments
-
HiI think there is no feature what you described, but usually there is workaroundsOne easy way could be to hard-code some parameterized Rapid procedures and just pass the needed parameters from PC.Another way I have used in some cases is to build up a new Rapid module according to strings received from PC. So basically I have created a new Rapid module with Rapid (text file with correct format and .mod extension) and saved it as a file and opened it as a program module. It's not so fast way, but maybe useful if your cycle time is not so critical.-Osku0
-
Thanks for the reply Osku,Yeah I thought that was going to be the case, I was just hoping to avoid having to hard-code it. I did consider the other option too but I would prefer the hard-coded option.Thanks again!Alex0
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)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings