Instruction of orientation changes

Orientation changes can be instructed with the Move FBs for coordinated multi-axes movements. The resulting target orientation of the TCP is defined by the target coordinates A, B and C. The way these angles are interpreted depends exclusively on the CoordSystem input. The coordinate system specified via this input determines how the coordinates selected at the input Position or Distance are interpreted.

The rotation angles A, B and C for the coordinate systems MCS and PCS absolutely or relatively refer to the axes of this coordinate system.

In case of absolute orientations, the sequence of rotations can be selected via the Offset0-Subindex39 parameter.

Relative orientations always refer to the original coordinate axes of the reference coordinate system given at the CoordSystem input.

The following four examples shall illustrate the contexts. They refer to the standard setting 0: Intrinsic x-y'-z" rotation.

Example 1

Instruction

MC_MoveDirectAbsolute , MC_MoveCircularAbsolute , MC_MoveLinearAbsolute

Coordinate system

MCS

Target coordinates

A = 0, B = 0, C = 90°

In the target orientation TCS_Target, the TCS corresponds to the MCS rotated by 90° around C MCS (independent of a possibly available PCS and the TCS_Start starting position).

MCS

PCS

TCS_Start

TCS_Target

Example 2

Instruction

MC_MoveDirectRelative , MC_MoveCircularRelative , MC_MoveLinearRelative

Coordinate system

MCS

Target coordinates

A = 0, B = 0, C = 90°

In the target orientation TCS_Target, the TCS corresponds to the MCS relatively rotated by 90° around C MCS (independent of a possibly available PCS).

MCS

PCS

TCS_Start

TCS_Target

Important: A relative orientation around one or several axes of the MCS is not synonymous with the simple addition of the relative position to the start configuration due to the ambiguity of the orientation representation by Cardan angles.

  • The initial situation is as follows: TCS_Start := [90°, 0°, 90°] (shown in MCS)
  • The relative rotation of 90° around the C axis of the MCS lead to the new target configuration
    TCS_Target := [180°, 90°, 0°] (shown in MCS)

Example 3

Instruction

MC_MoveDirectAbsolute , MC_MoveCircularAbsolute , MC_MoveLinearAbsolute

Coordinate system

PCS

Target coordinates

A = 0, B = 0, C = 90°

In the target orientation TCS_Target, the TCS corresponds to the PCS rotated by 90° around C PCS (independent of the available MCS and the TCS_Start starting position ).

MCS

PCS

TCS_Start

TCS_Target

Example 4

Instruction

MC_MoveDirectRelative , MC_MoveCircularRelative , MC_MoveLinearRelative

Coordinate system

PCS

Target coordinates

A = 0, B = 0, C = 90°

In the target orientation TCS_Target, the TCS corresponds to the PCS relatively rotated by 90° around C PCS (independent of the available MCS).

MCS

PCS

TCS_Start

TCS_Target

Important: A relative orientation around one or several axes of the PCS is not synonymous with the simple addition of the relative position to the start configuration due to the ambiguity of the orientation representation by Cardan angles.

  • The initial situation is as follows: TCS_Start := [-90°, 180°, 0°] (shown in PCS)
  • The relative rotation of 90° around the C axis of the PCS lead to the new target configuration
    TCS_Ziel := [0°, 0°, 180°] (shown in PCS)
Note!

For kinematics with four degrees of freedom, the following applies: The programmed orientation must be adjustable through the kinematics, irrespective of the assignment type of the movement and the coordinate system.

This means e.g. for axes groups Scara_4dof , Portal_4dof and ArticulatedP_4dof that a constant value of 180° in A (or B) must be programmed for a target position with absolute orientations in the MCS .