A problem with the zero detection of step motor
Just install a sensor at zero.I hope my answer will help you.
The step motor is different from the PG motor, which should not be tested for zero. An Index signal can be used as an internal reference point control if a more accurate closed-loop control is implemented.
The origin is zero, which is the start state. "Origin" means the stepper motor to drive straight line motion mechanism of starting point, the origin detection is in the position of the starting point for setting a detection device, such as proximity switch, trip switch