MoveOnTrack

MoveOnTrack 1:

Initiates a movement on the track to the specified position and returns command ID.

Syntax

Definition:

METHOD MoveOnTrack
VAR_INPUT
    commandFeedback       : Reference To MC_PlanarFeedback;
    targetTrack           : Reference To MC_PlanarTrack;
    targetPositionOnTrack : LREAL;
    constraint            : Reference To DynamicConstraint_PathXY;
    options               : Reference To ST_MoveOnTrackOptions;
END_VAR

MoveOnTrack 2: Inputs

Name

Type

Description

commandFeedback

Reference To MC_PlanarFeedback

The feedback object for the command.

targetTrack

Reference To MC_PlanarTrack

Target track for the movement. If none is specified, this defaults to the current track.

targetPositionOnTrack

LREAL

Target position on the target track.

constraint

Reference To DynamicConstraint_PathXY

Constraint on maximal dynamics during the movement (V,A,D,J).

options

Reference To ST_MoveOnTrackOptions

Options for the movement.