MotionSystemGetMechanicalUnits Method |
Namespace: ABB.Robotics.Controllers.MotionDomain
public MechanicalUnitCollection GetMechanicalUnits()
Controller c = new Controller(); MotionSystem motion = c.MotionSystem; MechanicalUnitCollection mecUnits = motion.GetMechanicalUnits(); foreach (MechanicalUnit m in mecUnits) { if (m.Name == "ROB_1") // Do Something }