RobotStudio event

PCSDK - How to I-Start a controller from VB




Hi
 
I am trying to restart a controller which is in system failler. Does anyone know how this can be done using vb.
 
Thank
 

John Wiberg2012-09-25 16:32:39

Comments




  • vb?
    Do you mean fixing a system failure with Visual Basic? If so, no you can't.
     
    Instead check out this post by Anders:
     
    Other than that you should read the controller manual carefully to see whatever is the errors to track the root cause of the failure.

    John Wiberg2012-09-25 16:35:37
  • The application I am working on is to rename the robot system. I have an application which does all of this but it requiers first a warm start and then an i start. The problem I have is that after the warm start the system is in system failer. I can manualy i start the robot and it is fine. We have a larg number of robots to rename which are all on a network, so the idea is to use this application to do the renaming, rather than having to build new systems for each machine. Robot studio is able to i start a robot is system failer so this would lead me to belive that there is a way? 



  • Sweet. It's so much easier to answer when you have a specific use case.
    Hug
     
    To perform an I-start using PC SDK you need to have mastership and then you do a controller.Restart(ABB.Robotics.Controllers.ControllerStartMode.IStart). You might be able to get away with ControllerStartMode.IStart or just IStart, but I haven't tested so you need to try that out yourself.
    That functionality was new from PC SDK 5.14.
     
    Remember that a restart kicks out mastership etc.
     
    EDIT, re-reading your topic header I now see that I misunderstood the text in your header. I have taken the liberty of changing it just in case someone else would have made the same mistake I did.

    John Wiberg2012-09-25 16:34:47