PC SDK
samosamo
✭
Hello guys!
I have one question about PC SDK. I would like to do PC application in c# with SDK library. Last month we got new irb 120 robot arm and now it will be use for educational purpose. Is it possible that I can write entire module and procedure in c# language and than it sends to irc5 controller or I can send only few parameters as RobTarget, Num, Bool on controller where the program is loaded beforhand.
Thanks for help guys!
Samo
samosamo2010-12-01 22:48:39 0
Comments
-
HiThe language that you are using when you are programming the robot is RAPID. You can use C# for writing an application that will transfer modules, written in RAPID, to the robot. If you are new to the PC SDK I strongly recommend that you read the section Using the PC SDK->Create a simple PC SDK application in the attached application manual.
Lennart H0 -
I read this article. Now I start with c# programming language and PC sdk. I am write in c# next code:
public Form1(){InitializeComponent();
this.scanner = new NetworkScanner();this.scanner.Scan();
info = scanner.Find(new Guid("{EEEFF971-5943-4FDE-80F8-BD10FC7797DC}"));
controller = ControllerFactory.CreateFrom(info);
}
When the program comes to below statement
private void Form1_Load(object sender, EventArgs e)
{
if (info.Availability == Availability.Available)
{
if (this.controller != null)
{
this.controller.Logoff();
this.controller.Dispose();
this.controller = null;
}
this.controller = ControllerFactory.CreateFrom(info);
this.controller.Logon(UserInfo.DefaultUser);
}
else
{
MessageBox.Show("Selected contoller not availabe.");
}
}this.controller.Logon(UserInfo.DefaultUser);
then I get exception with next text: PC Interface option not found. Now i do not know, where is problem.Thanks for help!0 -
An IRC5 controller can be accessed by a PC Application only if the system has the robotware option 616-1 PC Interface.
BRCarlos Martinez
ABB0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings