MoveJointsRel#

This command has the exact behavior as the MoveJoints command, but instead of accepting the desired (target) joint set as arguments, it takes the desired relative joint displacements. The command is particularly useful when you need to displace certain joints a certain amount, but you do not know the current joint set and wish to avoid having to use the command GetRtTargetJointPos.

Syntax#

MoveJointsRel(Δθ1,Δθ2,Δθ3,Δθ4,Δθ5,Δθ6)

Arguments#

  • the desired relative displacement of each joint, in degrees. The value of each of the arguments can be positive, negative or zero.

Usage restrictions#

This command is added to the robot’s motion queue and can only be executed when the robot is ready for motion, not in an error state and when no safety signal conditions are present. Otherwise, the robot will report one of the following:

  • [1005][The robot is not activated.]

  • [1006][The robot is not homed.]

  • [1011][The robot is already in error.]

Cyclic protocols#

In cyclic protocols, the MoveJointsRel command is represented by MotionCommandID 29. See Section 4.2 for more details.