CDT_MCTOPLC_AXIS_ACT

CDT provides current act values.

Syntax

Definition:

TYPE CDT_MCTOPLC_AXIS_ACT :
STRUCT
    IsConnected  : BOOL;
    Position     : LREAL;
    Velocity     : LREAL;
    Acceleration : LREAL;
    PositionLag  : LREAL;
    Torque       : LREAL;
END_STRUCT
END_TYPE

Parameters

Name

Type

Description

IsConnected

BOOL

TRUE if the data area is connected and data is beeing received from MC.

Position

LREAL

Current actual position of the axis.

Velocity

LREAL

Current actual velocity of the axis.

Acceleration

LREAL

Current actual acceleration of the axis.

PositionLag

LREAL

Difference between set position and actual position (position following error).

Torque

LREAL

Current actual torque of the axis.

Versionsinformation

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