ST_MoveRelativeCAOptions

TYPE ST_MoveRelativeCAOptions :
STRUCT
    GapControlMode          : MC_GAP_CONTROL_MODE := mcGapControlModeGroupDefault;
    PositionReferenceSystem : OTCID := 0;
    DynamicsReferenceSystem : OTCID := 0;
END_STRUCT
END_TYPE

Name

Type

Description

GapControlMode

MC_GAP_CONTROL_MODE

See the description of the data type MC_GAP_CONTROL_MODE for further information.

PositionReferenceSystem

(As of TF5400 V3.1.6.03)

OTCID 

  • This input is of type OTCID and can therefore refer to a mover template.
  • For the position reference to the XTS motor path, the input PositionReferenceSystem can be left open or set to the value zero so that compatibility with earlier versions of this function block is maintained.
  • For the position reference to the path defined by a Mover Template Object, set PositionReferenceSystem to its object ID. Then the position input will be interpreted according to the offset path.

DynamicsReferenceSystem

(As of TF5400 V3.1.6.03)

OTCID 

  • This input is of type OTCID and can therefore refer to a mover template.
  • For the dynamic reference to the XTS motor path, the input DynamicsReferenceSystem can be left open or set to the value zero so that compatibility with earlier versions of this function block is maintained.
  • For dynamic reference to the path defined by a Mover Template Object, set DynamicsReferenceSystem to its object ID. Then the dynamics of the motion profile will be constrained to the given path.

Requirements

Development environment

Target system type

PLC libraries to be linked

TwinCAT V3.1.4018.26

TF5400 Advanced Motion Pack V3.1.1.17

PC or CX (x86 or x64)

Tc3_McCollisionAvoidance, Tc3_McCoordinatedMotion, Tc2_MC2