Timing pulley setting method: (360 °/motor step angle) x subdivision number / circumference of the timing pulley.
For example, using A4988 motor drive module, 16 subdivision, 1.8° Stepper motor, and 20-tooth 2GT timing pulley. The number of pulses required for the motor to rotate one revolution: (360° /1.8°) X16 = 3200
We've learned that the perimeter of 20-tooth 2GT timing pulley is 40mm, namely, when the stepper motor drives 20-tooth 2GT timing pulley to turn a circle, 3200 pulses runs 40mm, then the step value is 3200/40 = 80. Ballscrew set method: (360 °/motor step angle) x subdivision number / screw lead
For example: use A4988 motor drive module, 16 subdivision, 1.8 ° stepper motor, 1204 ball screw. The number of pulses required to turn the motor through a circle: (360 °/1.8 °) x16 = 3200.;We've learned that the 1204 ball screw lead is 4mm, namely, when stepper motor drive the 1204 ball screw turn a circle, 3200 pulses runs 4mm, then: step value = 3200/4 = 800.
E-axis step value calculation formula: (360 ° / motor step angle) x subdivision number/ circumference of the drive gear (circumference = π x diameter)