It’s a feature that allows the connected controller to know the exact position of the stepper motor ... wiring of the coils, as well as complications such as skipped steps due to mechanical or ...
There are a lot of fun projects you can do with stepper motors salvaged ... won’t do anything to drive the motor. Others have a case ground wire. Steppers have either 4, 5, 6, or 8 drive wires ...