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 Remarks Only supported by mechanical unit type TCPRobot.
Examples This 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