Positioning stepper motor spindle via potentiometer

I am familiar with that... I even had some projects with switchless arrangements. Think they were trinamics. the axis would hit solid and then define the reference point.