CamScalingData

Contains scaling and offset factors to be applied in cam table couplings.
MasterCamPos = (MasterPos - MasterOffset) / MasterScaling
SlaveCamPos = CamTable(MasterCamPos)
SlavePos = (SlaveCamPos * SlaveScaling) + SlaveOffset.

Syntax

Definition:

TYPE CamScalingData :
STRUCT
    MasterOffsetMode : ECamOffsetMode;
    MasterOffset     : LREAL;
    MasterScaling    : LREAL;
    SlaveOffsetMode  : ECamOffsetMode;
    SlaveOffset      : LREAL;
    SlaveScaling     : LREAL;
END_STRUCT
END_TYPE

Parameters

Name

Type

Default

Description

MasterOffsetMode

ECamOffsetMode

None

Defines how the master offset is determined during cam activation.

MasterOffset

LREAL

0.0

Position offset applied to the master input before cam table lookup.

MasterScaling

LREAL

1.0

Scaling factor applied to the master input before cam table lookup.

SlaveOffsetMode

ECamOffsetMode

None

Defines how the slave offset is determined during cam activation.

SlaveOffset

LREAL

0.0

Position offset added to the slave output after cam table evaluation.

SlaveScaling

LREAL

1.0

Scaling factor applied to the slave output after cam table evaluation.

Weiterführende Informationen

Die Skalierung einer Kurvenscheibe kann mit den Funktionsbausteinen MC_CamScaling für aktive Kurvenscheibenkopplungen vorgenommen werden. Auch bei einer Änderung der Kopplungssituation über MC_CamAdd, MC_CamIn und MC_CamExchange ist eine Skalierung der neuen Kurvenscheibenkopplung möglich.

Versionsinformation

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