Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
How to add an existing system to an station with an Addin
Good morning,
I would like to know how to add ( sample code if possible) of how to add an existing system to an station with an addin. I do not want to add an existing robot ( of this there are several examples in developercenter)I want to add the complete system with logic.
Thank you very much
0
Best Answer
-
As feedback ,this is the solution. However its very strange:myImportedSystem.StartAsync(VirtualControllerRestartMode.WarmStart,myMechanismList );myMechanismList is totally void ! (?¿)public static void ImportSystem(string SystemPath){Station myStation = Project.ActiveProject as Station;RsIrc5Controller myImportedSystem = new RsIrc5Controller(SystemPath);List<Mechanism> myMechanismList=new List<Mechanism>();myStation.Irc5Controllers.Add(myImportedSystem);myImportedSystem.StartAsync(VirtualControllerRestartMode.WarmStart,myMechanismList );}0
Answers
-
Im trying to figure out the same thing, i have built an addin that creates a virtual system and RsIrc5Controller from an excel sheet, I can see that your issue is that your trying to parse an empty mechanism list.... need to find out how to select the mechanism library available here C:\Program Files (x86)\ABB Industrial IT\Robotics IT\RobotStudio 6.06\ABB Library\Robots If you figure it out let me know!0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 364 IRC5
- 83 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings