Generation of new RAPID code-lines via SDK
Hi.
Is it in any way possible to generate new lines of rapid instructions in a module of an active station, using an Add-in written in C# in visual studio?
Eg. if I want my add-in to generate a number of speeddata dataobjects, or if I want to add an "CirPathMode\CirPointOri" instruction to my RAPID module.
This means that I do not wish to alter existing rapid instruction, but to add new ones.
Sincerely Patrick
0
Comments
-
Hi Patrick,I think you should to create a files .mod as a file .txt but with the good extension.You can use the function StreamWriter in C# for do this,After this, go to developper center ABB and such a function who spell : LoadModuleFromFileUse it and you are a new module in your rapid code.Regards,Armand0
-
Hi Patrick,
did you succeed?
There are basically two approaches.
On is to use standard .NET libraries to generate a module file, like Armand suggested.
Another one is to use the RobotStudio SDK to create objects in the 3d view like robtargets, move instructions or action instructions (like SetDO and CirPathMode). Then synchronize to the controller.
Tell me if this is still an open issue for you.
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