RobotStudio event

PC SDK - hardware info?

Hello everybody!

I would like ask if it is possible to get information about IRC5 controller hardware with use of PC SDK? For example: SafeMove Controller - firmware version and revision? I know it is possible to get information about mechanical units, but can't find anything about optional hardware. I know this informations are available in ABB menu in Flexpendant -> System Info. Is there any way to get this information from the controller (maybe some .xml file...)?

Regards,
bombq


bombq
Cracov University of Technology

Comments

  • Hi
    You can probably do this by using the DeviceManger class in namespace ABB.Robotics.Controllers. I tested/played a bit with the code below. Perhaps it can give you some ideas.

     

    MyDevicemanager = new DeviceManager(MyController);
    ienumerable1 = MyDevicemanager.GetChildren();

    foreach (IDeviceNode idevicenode1 in ienumerable1)
    {
     ienumerable2=idevicenode1.GetChildren();
    foreach (IDeviceNode idevicenode2 in ienumerable2)
    {
     ienumerable3=idevicenode2.GetChildren();
    foreach (IDeviceNode idevicenode3 in ienumerable3)
    {
    ienumerable4 = idevicenode3.GetChildren();
    foreach (IDeviceNode idevicenode4 in ienumerable4)
    {
    ienumerable5 = idevicenode4.GetChildren();
    if (idevicenode4.ToString().Equals("Computer power supply"))
    {
    Debug.Print(idevicenode4.ToString());
    }
    }
    }
    }
     }
    Lennart H
  • Thank you for fast answer!

    I will investigate this way and post as soon as I will get some results.


    bombq
    Cracov University of Technology