# Example: Terminal spindle with gear

A spindle is activated by a D/A converter terminal KL4032; a voltage of 10 V at the input of the drive controller corresponds to a speed of 9000 rpm; the motor is fitted with a gear which has a gear ratio of i=5 (5 motor revolutions correspond to one revolution at the gear output). With the D/A converter terminal KL4032, a digital output value of 32767 (0x7FFF) is equivalent to an output voltage of 10 V with default scaling.

Step 1 of 3:

As in the previous example, the conversion factor between motor revolutions per minute and the command value transferred in the cyclic telegram is:

A value of 3.6408 would therefore be output to the D/A converter in order to rotate the spindle motor at a speed of 1 rpm.

Step 2 of 3:

Now the use of a gear becomes noticeable.

To reach a speed of 1000 °/min, the following motor speed is required:

Step 3 of 3:

At a velocity scaling factor f, the output velocity command value for 1000 °/min is:

The value of multi_gain is therefore:

The possible values for P-AXIS-00129 and P-AXIS-00128 would then be:

P-AXIS-00129 | 50 | 506 | 5057 | …
P-AXIS-00128 | 1 | 10 | 100 | ...