Finding example code for building SmartComponents
Maxim Riabichev
admin
When I did my bachelor thesis (find the report attached), I created a SmartComponent for Virtual Commissioning. I used the existing SmartComponents available in RobotStudio as inspiration for it.
In this post I'll explain how to find their source code, a.k.a. CodeBehind.
In Visual Studio there's an extension called ILSpy. With it you can browse DLL-files directly in Visual Studio.
It looks like this:
As you can see in the screenshot the CollisionSensor SC's CodeBehind can be found on the right.
The DLL-file containing the CodeBehind can be located in this location C:\Program Files (x86)\ABB\RobotStudio 2019\Bin and it is called RobotStudio.Services.SmartComponents.dll
The respective SmartComponents .xml file can unfortunately not be browsed in a similar manner (as far as I know).
The .xml which I created for my thesis can be found here: https://pastebin.com/ppt65wiy Perhaps it can be used as inspiration.
In this post I'll explain how to find their source code, a.k.a. CodeBehind.
In Visual Studio there's an extension called ILSpy. With it you can browse DLL-files directly in Visual Studio.
It looks like this:
As you can see in the screenshot the CollisionSensor SC's CodeBehind can be found on the right.
The DLL-file containing the CodeBehind can be located in this location C:\Program Files (x86)\ABB\RobotStudio 2019\Bin and it is called RobotStudio.Services.SmartComponents.dll
The respective SmartComponents .xml file can unfortunately not be browsed in a similar manner (as far as I know).
The .xml which I created for my thesis can be found here: https://pastebin.com/ppt65wiy Perhaps it can be used as inspiration.
—
Maxim Riabichev
PC Software Support Engineer
Tagged:
2
Categories
- All Categories
- 5.5K RobotStudio
- 390 UpFeed
- 17 Tutorials
- 13 RobotApps
- 296 PowerPacs
- 404 RobotStudio S4
- 1.8K Developer Tools
- 245 ScreenMaker
- 2.7K Robot Controller
- 302 IRC5
- 55 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 764 RAPID Programming
- 16 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings