Defining new RAPID instructions and appending code to an existing module
abnha
✭
Hi!
I have just started working with the RobotStudio SDK so my knowledge is quite limited. At the moment, I try to figure out what are the possibilities and limitations.
I have just started working with the RobotStudio SDK so my knowledge is quite limited. At the moment, I try to figure out what are the possibilities and limitations.
In that respect, I have two questions:
- Is it possible to define and compile new "core" RAPID instructions based on code written in for instance C#? The reason I want to do so is because my RAPID library is going to contain some mathematically cumbersome functionality requiring linear algebra and the like. This would be a lot easier to implement if I could make use of existing linear algebra libraries implemented in .NET or other frameworks.
- What is the best way of writing robtargets and PROC-calls to a module file using C#? Lets say I have an existing module file called mymodule.mod that I want to appendsome robtargets and PROC-calls to.
Best Regards,
Andreas
0
Comments
-
Hello
1. The RAPID instructions are in the RobotWare and cannot be modified. However you can create something called RW addins using the Addin packaging tool. As this RW addin is added to the system, modules with your custom instructions can be loaded. Check for instance LincolnArc addin in RobotStudio > Add-ins > RobotWare add-ins.
2. See this example on syncing between station and RAPID
http://developercenter.robotstudio.com/Index.aspx?DevCenter=RobotStudio&OpenDocument&Url=html/9c077d11-de91-a3ac-c026-fe157cbd73c7.htm
/Pavel
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