MechanicalUnitSetUserDefIncStepSize Method |
Sets the user defined incremental step size.
Namespace:
ABB.Robotics.Controllers.MotionDomain
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
Exceptions
RemarksOnly supported by mechanical unit type TCPRobot.
ExamplesThis example sets the incremental step size for joint wise movement to 0.002
radians of the active mechanical unit.
Controller c = new Controller();
MotionSystem motion = c.MotionSystem;
MechanicalUnit mech = motion.GetActiveMechanicalUnit();
try
{
mech.SetUserDefIncStepSize(UserDefIncStepSizeMode.Joint, 0.002);
}
catch (ArgumentOutOfRangeException)
{
}
See Also