# PC SDK

**URL:** <https://tech-community.robotics.abb.com/t/pc-sdk/3941>\
**Category:** Developer Tools\
**Created:** [December 1, 2010, 10:46pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk/3941 "2010-12-01T22:46:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![samosamo](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@samosamo](https://tech-community.robotics.abb.com/u/samosamo)\
**Post date:** [December 1, 2010, 10:46pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk/3941/1 "2010-12-01T22:46:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Lennart\_H](https://avatars.discourse-cdn.com/v4/letter/l/ac91a4/32.png) [@Lennart\_H](https://tech-community.robotics.abb.com/u/Lennart_H)\
**Post date:** [December 2, 2010, 7:50am UTC](https://tech-community.robotics.abb.com/t/pc-sdk/3941/2 "2010-12-02T07:50:40Z")

</div>

Hi  
The 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.  
[webwiz/151/PC\_SDK\_Application\_Manual.zip](http://forums.robotstudio.com/webwiz/151/PC_SDK_Application_Manual.zip)

---

<div class="post-metadata">

**Author:** ![samosamo](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@samosamo](https://tech-community.robotics.abb.com/u/samosamo)\
**Post date:** [December 2, 2010, 1:01pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk/3941/3 "2010-12-02T13:01:58Z")

</div>

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);

}

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.”);

}

}

When the program comes to below statement

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!

---

<div class="post-metadata">

**Author:** ![carlosmtz2000](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@carlosmtz2000](https://tech-community.robotics.abb.com/u/carlosmtz2000)\
**Post date:** [December 2, 2010, 3:07pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk/3941/4 "2010-12-02T15:07:20Z")

</div>

An IRC5 controller can be accessed by a PC Application only if the system has the robotware option 616-1 PC Interface.

BR
