# PC SDK - Synchronize to the real controller

**URL:** <https://tech-community.robotics.abb.com/t/pc-sdk-synchronize-to-the-real-controller/4210>\
**Category:** Developer Tools\
**Created:** [May 27, 2011, 2:23pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk-synchronize-to-the-real-controller/4210 "2011-05-27T14:23:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarsle14](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@tarsle14](https://tech-community.robotics.abb.com/u/tarsle14)\
**Post date:** [May 27, 2011, 2:23pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk-synchronize-to-the-real-controller/4210/1 "2011-05-27T14:23:14Z")

</div>

We can synchronize from the station to VC, and from the VC to the station, but can we synchronize the station to the real controller?

---

<div class="post-metadata">

**Author:** ![Henrik\_Berlin](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/henrik_berlin/32/1011_2.png) [@Henrik\_Berlin](https://tech-community.robotics.abb.com/u/Henrik_Berlin)\
**Post date:** [May 27, 2011, 2:28pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk-synchronize-to-the-real-controller/4210/2 "2011-05-27T14:28:03Z")

</div>

No, you can’t. You need to transfer the RAPID code by saving the program from the VC in the Offline tab and loading it into the real controller in the Online tab.

---

<div class="post-metadata">

**Author:** ![tarsle14](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@tarsle14](https://tech-community.robotics.abb.com/u/tarsle14)\
**Post date:** [May 27, 2011, 3:36pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk-synchronize-to-the-real-controller/4210/3 "2011-05-27T15:36:53Z")

</div>

Thanks! Is there any way to save the program from VC to a file, and then load the file to the real controller using the RobotStudio AddIn?

---

<div class="post-metadata">

**Author:** ![Henrik\_Berlin](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/henrik_berlin/32/1011_2.png) [@Henrik\_Berlin](https://tech-community.robotics.abb.com/u/Henrik_Berlin)\
**Post date:** [May 27, 2011, 4:04pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk-synchronize-to-the-real-controller/4210/4 "2011-05-27T16:04:54Z")

</div>

I suppose you can use the PC-SDK from a RobotStudio add-in to implement this.

Either you can do it on a module level by using the following methods:

PC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Module ?-? SaveToFile(String)

````auto

```
PC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Task ?-? LoadModuleFromFile(String, RapidLoadMode)
```

Alternatively, you can do it on a program level (includes all program modules):

````

````auto

```
PC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Task ?-? SaveProgramToFile(String)
```

PC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Task ?-? LoadProgramFromFile()

(Moving the topic to Developer Tools)

````

---

<div class="post-metadata">

**Author:** ![tarsle14](https://avatars.discourse-cdn.com/v4/letter/t/cdc98d/32.png) [@tarsle14](https://tech-community.robotics.abb.com/u/tarsle14)\
**Post date:** [May 27, 2011, 4:27pm UTC](https://tech-community.robotics.abb.com/t/pc-sdk-synchronize-to-the-real-controller/4210/5 "2011-05-27T16:27:35Z")

</div>

Thank you verA? much!
