# Can I test multiple robot controllers with one PC SDK application ?

**URL:** <https://tech-community.robotics.abb.com/t/can-i-test-multiple-robot-controllers-with-one-pc-sdk-application/8514>\
**Category:** Developer Tools\
**Tags:** c, pc-sdk, robotstudio\
**Created:** [October 15, 2018, 2:53pm UTC](https://tech-community.robotics.abb.com/t/can-i-test-multiple-robot-controllers-with-one-pc-sdk-application/8514 "2018-10-15T14:53:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikram6892](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/vikram6892/32/1103_2.png) [@vikram6892](https://tech-community.robotics.abb.com/u/vikram6892)\
**Post date:** [October 15, 2018, 2:53pm UTC](https://tech-community.robotics.abb.com/t/can-i-test-multiple-robot-controllers-with-one-pc-sdk-application/8514/1 "2018-10-15T14:53:55Z")

</div>

We have a custom made virtual Robotic production cell with 3 Robots (IRB 6700 235 ) and a communication tool to connect with Robotstudio.

I have the backup file for each of the three robots, with target points and paths (in Robotstudio).

I want to test the operation of this cell (with 3 robots) simultaneously with a C# application using PC SDK.

Will this be possible ? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![steph](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@steph](https://tech-community.robotics.abb.com/u/steph)\
**Post date:** [November 23, 2018, 11:27am UTC](https://tech-community.robotics.abb.com/t/can-i-test-multiple-robot-controllers-with-one-pc-sdk-application/8514/2 "2018-11-23T11:27:01Z")

</div>

Hi Vikram,  
I am a beginner with PC SDK but I know how to connect to a real or virtual robot controller. So if all three are online in you network, you can test some examples of PC SDK (e.g. show a list of all robot controllers).  
With this example you can get mastership of at least one robot.

Since every controller has a unique ID (i think it is called Guid) you can differ between these controllers in your code.

Maybe this helps a bit. I don’t have experience with Multimove or more than one robot in the simulation, sorrry.

---

<div class="post-metadata">

**Author:** ![vikram6892](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/vikram6892/32/1103_2.png) [@vikram6892](https://tech-community.robotics.abb.com/u/vikram6892)\
**Post date:** [November 23, 2018, 12:40pm UTC](https://tech-community.robotics.abb.com/t/can-i-test-multiple-robot-controllers-with-one-pc-sdk-application/8514/3 "2018-11-23T12:40:52Z")

</div>

Hello Steph,  
Thank you for you reply.  
As you said, I wish to take control (Mastership) over these 3 robot (virtual) controllers simultaneously. Because all 3 robots handles the workpiece surrounding single turntable.  
So my application in turn has to control them.  
Sadly, I too don’t have experience with Mutlimove option.

---

<div class="post-metadata">

**Author:** ![scottdf93](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@scottdf93](https://tech-community.robotics.abb.com/u/scottdf93)\
**Post date:** [October 27, 2020, 9:58am UTC](https://tech-community.robotics.abb.com/t/can-i-test-multiple-robot-controllers-with-one-pc-sdk-application/8514/4 "2020-10-27T09:58:56Z")

</div>

ControllerInfoCollection controllers = new ControllerInfoCollection();

foreach (Controller controller in controllers)  
{  
IMastershipResource mastershipResource = controller;  
controller.MastershipPolicy = ControllerMastershipPolicy.Automatic;  
controller.Logon(UserInfo.DefaultUser);  
Mastership.Request(mastershipResource);  
}
