Programming a configuration change for axes groups with several configurations

For the most serial kinematics (e.g. Scara_3dof and Scara_4dof ), the calculation of the axis angles from the end effector position by backward transformation (inverse kinematics) cannot be solved unambiguously.

[16-3] Example: SCARA with two joints (2 rotary axes)

When the configuration is changed, the robot has to be traversed by a singular axis angle setting. This causes the robot to lose one or several of its Cartesian degrees of freedom.

  • The singular axis angle setting of the SCARA with two joints, for instance, corresponds to the extended position of the kinematics (angle of the axis A2 = 0).
  • No positioning in the sketched direction is possible anymore.
  • During movements in the work space of the robot accurate to path (MC_MoveLinear, MC_MoveCircular, and single axis commands on the Cartesian main axes), a change of the kinematic configuration is thus impossible.
  • The target position is always approached in the start configuration.
  • Via positioning in the axis space (MC_MoveDirect or single-axis movements of real drive axes), the user can change the configuration during operation.
  • If the target coordinates of the motion are defined in the ACS, the target configuration is created automatically.
    (For SCARA: Axis A2 > 0° or A2 < 0°)

[16-4] Example: SCARA with two joints (2 rotary axes)

Note!

The current configuration of the axes group can be read out via a Configuration property. An ARRAY[1..6] OF INT is returned in which the configuration is coded via {-1, 0, 1} (zero means a singular setting). The assignment of the array indices is kinematics-specific.