RobotStudio event

PC SDK - Synchronize to the real controller

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?  John Wiberg2011-05-30 16:18:02

Comments

  • 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.
    Henrik Berlin
    ABB
  • 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?






  • 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)
    PC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Task ?-? LoadModuleFromFile(String, RapidLoadMode)

    Alternatively, you can do it on a program level (includes all program modules):
    PC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Task ?-? SaveProgramToFile(String)
    PC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Task ?-? LoadProgramFromFile()

    (Moving the topic to Developer Tools)

    Henrik Berlin2011-05-27 16:05:28
    Henrik Berlin
    ABB
  • Thank you verA? much!