Set gearbox factor

For synchronising the slave axis and master axis, the slave velocity is directly coupled to the master velocity by means of the coupling factor.

Execution

The coupling factor can either be defined by unit coupling or set cycle lengths.

  • scPar.eCouplingMode = 0 (unit coupling)

    Coupling factor = scPar.dwGearingNumerator / scPar.dwGearingDenominator

  • scPar.eCouplingMode = 1 (coupling via cycle lengths)

    Coupling factor = cycle length of the slave axis / cycle length of the master axis

    The cycle lengths are set in the axes.

Parameters relevant for the function

  • scPar.eCouplingMode , initial value: 1 (coupling via cycle lengths)

  • scPar.dwGearingNumerator , initial value: 1

  • scPar.dwGearingDenominator , initial value: 1

Examples

Synchronism with identical cycle lengths (360/360) at master speed = 200 unit/s

Synchronism with different cycle lengths (450/360) at master speed = 200 unit/s