I've mounted two optical homing switches for both X and A (Slaved to X) for my gantry and when it homes it squares up reasonably well but is off by about .9mm. I would like to make this exact without physically moving the switches but more within the software.

Is there a way to specify how far off the switch the motor comes once homed?

Not home off - because it still only physically moves off the switch and adds the nominal figure. Actually homing to zero but moving the axis more than just off the switch???

Thanks in advance
Andrew