Interface a smart component and an Add-in

Bpena
✭
Hi,
I was wondering how you would go about creating a sort of user interface to control a smartcomponent. For example lets say we have a smart component that represents an equipment that behaves as it would on the floor. I want to create a replica of an HMI for that equipment, a UI, that will control the "equipment" as an operator would on the floor. I was thinking you could create an add-in where all the graphical objects would sit, but then how do I interface it with a smart component?
Many Thanks!
I was wondering how you would go about creating a sort of user interface to control a smartcomponent. For example lets say we have a smart component that represents an equipment that behaves as it would on the floor. I want to create a replica of an HMI for that equipment, a UI, that will control the "equipment" as an operator would on the floor. I was thinking you could create an add-in where all the graphical objects would sit, but then how do I interface it with a smart component?
Many Thanks!
Tagged:
0
Answers
-
SmartComponent smartComp = (SmartComponent)station.GetAllObjects().First(x => x.TypeDisplayName == "SmartComponent" && x.DisplayName == "YourSmartComponentName");
This will return your smart component object, you can then drive bindings and IO directly from the add in using this0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings