Example: Terminal spindle
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; no gear is present. 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:
The conversion factor between rpm and the command value transferred in the cyclic telegram is then:
A value of 3.64 would therefore be output to the D/A converter in order to rotate the spindle at a speed of 1 rpm.
Step 2 of 3:
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 | 10 | 101 | 1011 | ... |
P-AXIS-00128 | 1 | 10 | 100 | ... |