Position synchronism without basic speed

This function can be used to establish synchronism between a master axis and a drive axis (slave).

Preconditions

  • The technology module is in an error-free state.
  • The axis is enabled ( xReadyForMotion = TRUE).

Type

For the angular synchronism of master axis and drive axis, a setpoint position based on the master axis is calculated by means of cycle length coupling.

Measuring points relevant for the function

The measuring points are located in the structure L_TS2P_scSF_SyncAndCorrectionState

  • MP_IrSetGearboxPosIn : Input position of the measuring system adaptation

  • MP_IrSetGearboxPosOut : Output position of the measuring system adaptation

Parameters relevant for the function

The parameters are located in the L_TS2P_scPar_SyncAndCorrectionState structure.

  • scPar.dwGearingNumerator , DWORD, initial value: 1

  • scPar. dwGearingDenominator, DWORD, initial value: 1

Example 1: Synchronism with identical cycle

Synchronism with identical cycle (360/360)

Example 2: Synchronism with different cycle lengths

Synchronism with different cycle lengths (450/360)

Example 3: Synchronism with gearbox factor <> 1

The transmission ratio is freely adjustable via a virtual gearbox factor ( scPar.dwGearingNumerator and scPar.dwGearingDenominator ). If, for example, the gearbox factor is set to 2:1 ( scPar.dwGearingNumerator = 2, scPar.dwGearingDenominator = 1), the synchronous behavior will look like this:

Synchronism with gearbox factor <> 1 (here 2:1)