ECommandType

Identifies the type of a motion command.

Syntax

Definition:

TYPE ECommandType :
(
    Invalid      := 0,
    MoveAbsolute := 2000,
    Halt         := 2001,
    MoveRelative := 2002,
    MoveModulo   := 2003,
    MoveVelocity := 2004,
    Stop         := 2005,
    Home         := 2006,
    CamIn        := 2019,
    CamExchange  := 2020,
    CamAdd       := 2021,
    CamRemove    := 2022
)UDINT;
END_TYPE

Values

Name

Description

Invalid

No supported motion command type is available.

MoveAbsolute

Point-to-point move to an absolute target position.

Halt

Controlled deceleration to standstill.

MoveRelative

Point-to-point move by a relative distance from the start position.

MoveModulo

Point-to-point move to an absolute modulo target position.

MoveVelocity

Continuous motion at a specified velocity without a defined end position.

Stop

Immediate stop; cannot be superseded by other motion commands while active.

Home

Homing procedure to establish a reference position.

CamIn

Couples a slave axis to a master axis via a cam table.

CamExchange

Exchanges the active cam table on a coupled slave axis.

CamAdd

Adds an additional cam table to a coupled slave axis.

CamRemove

Removes a cam table from a coupled slave axis.

Versionsinformation

  • TwinCAT Standard >= v3.1.4026.23.1
  • TF5500 MC3 Base >= v4.0.24