Interface a smart component and an Add-in

Bpena
United States ✭
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:
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 this
Categories
- 10.1K All Categories
- 5.1K RobotStudio
- 331 UpFeed
- 10 Tutorials
- RobotApps
- 280 PowerPacs
- 401 RobotStudio S4
- 1.7K Developer Tools
- 229 ScreenMaker
- 2.5K Robot Controller
- 197 IRC5
- 28 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 650 RAPID Programming
- 14 Wizard Easy Programming
- 94 Collaborative Robots
- 2 Job listings