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