
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
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings