Gear factor
RatioNumerator and RatioDenominator can be used to define a gear factor between the master and slave axes.
Example
In the following example, the slave axis should move four times as fast as the master axis.
The gearbox parameters for the master or slave axis are set on the Settings, Overview / Kinematics tab.
Setting gear factor 2 for master axis
Setting of gear factor 0.5 for slave axis
The resulting gear factor between the master and slave also influences the settings at the MasterSyncPosition and SlaveSyncPosition inputs.
In the example, the master has a gearbox factor of 2 (total gearbox factor = gearbox factor master * additional gearbox factor master), resulting in two motor revolutions directly at the motor shaft with a specification of 360 units. The slave has a gearbox factor of 0.5 (total gearbox factor = slave gearbox factor * additional slave gearbox factor); with the same specification of 360 units, the motor shaft moves by half a revolution.
This results in a gear factor of 4 between the master and slave. This factor could be specified at the input of RatioNumerator of MC_GearIn or MC_GearInPos so that the speed of both motor shafts is identical during coupling. If the coupling process is to be completed for both axes after one motor revolution, this results in a value of 180 units for the MasterSyncPosition and a value of 720 units for the SlaveSyncPosition.
To calculate the sync positions, the factor can be multiplied by the MasterSyncPosition to obtain the SlaveSyncPosition if the MasterSyncPosition is specified. If the SlaveSyncPosition is known, the SlaveSyncPosition can be divided by the factor to obtain the MasterSyncPosition.