CamCouplingInfo

Contains information about a cam table coupling, including its scaling, offset values, and whether it is active or buffered.

Syntax

Definition:

TYPE CamCouplingInfo :
STRUCT
    CamTableOid      : OTCID;
    CamTableName     : STRING(255);
    MasterOid        : OTCID;
    MasterName       : STRING(255);
    State            : ECamCouplingState;
    Activation       : CamCouplingActivationInfo;
    MasterOffsetMode : ECamOffsetMode;
    MasterOffset     : LREAL;
    MasterScaling    : LREAL;
    SlaveOffsetMode  : ECamOffsetMode;
    SlaveOffset      : LREAL;
    SlaveScaling     : LREAL;
END_STRUCT
END_TYPE

Parameters

Name

Type

Default

Description

CamTableOid

OTCID

 

Object ID of the cam table

CamTableName

STRING(255)

 

Name of the cam table object (resolved from CamTableOid)

MasterOid

OTCID

 

Object ID of the coupled master axis

MasterName

STRING(255)

 

Name of the coupled master as shown at the AXIS_REF (project-linked full object name, resolved from MasterOid)

State

ECamCouplingState

Undefined

Indicates whether this coupling is currently active or buffered

Activation

CamCouplingActivationInfo

 

Originating command and activation timing/reference for buffered entries. CommandType is Undefined and the other fields carry defaults for active couplings.

MasterOffsetMode

ECamOffsetMode

None

How the master offset of this coupling was determined. For active couplings always Absolute (the reported MasterOffset is the effective absolute value). For buffered entries this reflects the originally requested mode.

MasterOffset

LREAL

 

Currently effective master (X) offset of the cam coupling

MasterScaling

LREAL

 

Currently effective master (X) scaling factor of the cam coupling

SlaveOffsetMode

ECamOffsetMode

None

How the slave offset of this coupling was determined. For active couplings always Absolute (the reported SlaveOffset is the effective absolute value). For buffered entries this reflects the originally requested mode.

SlaveOffset

LREAL

 

Currently effective slave (Y) offset of the cam coupling

SlaveScaling

LREAL

 

Currently effective slave (Y) scaling factor of the cam coupling

Version information

  • TwinCAT Standard >= v3.1.4026.23.1
  • TF5550 MC3 Camming >= v4.0.19 (includes TF5500 MC3 Base >= v4.0.19)