Does this index refer to the Angle? If so, according to the motor inherent stepping Angle\/subdivision = the Angle of each step of the motor and then you need to rotate how many angles, = the Angle of each step of the motor * Pulse number The number of pulses can be controlled by programming chips, such as single-chip microcomputer timer to take the inverse IO way to generate pulses, and then use a variable to count