ST_LeaveTrackOptions

Options for the "LeaveTrack" command of the Planar Mover.

Syntax

Definition:

TYPE ST_LeaveTrackOptions :
STRUCT
    useOrientation  : BOOL;
    direction       : MC_DIRECTION;
    additionalTurns : UDINT;
END_STRUCT
END_TYPE

Parameters

Name

Type

Default

Description

useOrientation

BOOL

TRUE

If TRUE, the target orientation is also reached at the end of the movement.

direction

MC_DIRECTION

mcDirectionNonModulo

Direction in which the target orientation is approached.

additionalTurns

UDINT

0

Addition turns to move in modulo movement (positive or negative).

Name

Type

Default

Description

useOrientation

BOOL

TRUE

If TRUE, the target orientation is also reached at the end of the movement.