MotionSystemGetActiveMechanicalUnit Method |
Namespace: ABB.Robotics.Controllers.MotionDomain
public MechanicalUnit GetActiveMechanicalUnit()
Controller c = new Controller(); MotionSystem motion = c.MotionSystem; MechanicalUnit mech = motion.GetActiveMechanicalUnit(); if (mech.Name == "Rob_1") { //Do something }