Any help with be useful for me as I'm stuck .So, I have a machine with a stepper motor which I can control using an HMI having two parameters, 1) number of pulses and 2) speed of motor( i.e PPS or Freq). Now I have used microstepping and further subdivided my 200 steps per revolution motor to 4000 steps per revolution with "microstepping for each step" as 20.
Now I want my stepper motor to make half a rotation. If I'm not wrong, if I give 4000 pulses it would make a full rotation. So, for half a rotation, i am setting the first parameter 1) number of pulses to 2000. As far I know, the second parameter (PPS) should have nothing to do with motor positioning and only have to do with speed. But, when I am changing the PPS, the stepper motor final positioning changes. If I keep the PPS as 2000, it is making a half rotation but very slowly. If I am changing it to say 13000 (to improve the speed), my stepper motor is only rotating around 40 degree instead of 180 degree intended. Why is the second parameter changing my motor position? What am I doing wrong here. I checked my stepper driver and it supports upto 200kHz frequency. I just want the motor to make a half rotation but faster. Please help me as I have tried everything but couldn't do it.