Move X-,Y- until a switch is triggered.
Incremental move X+0.5,Y+0.5 (enough to close the triggered switch… doesn’t matter which it was).
Move X- until switch is triggered.
Back off X until the switch closes.
X=0
Move Y- until switch is triggered.
Back off Y until switch closes.
Y=0
cncdrive wrote:But if there is one common home switch for the XY and you homing them together and the switch triggers then the controller have no idea which axis triggered the switch.
If X or Y or both triggered it.
And the controller will be then unable to decide which axis triggered the switch, because if it will start to move X or Y or XY down the switch will still not make it clear which axis is on the switch.
If it starts moving X to backoff then if it was who triggered the switch then all is OK, but if it was not the axis who triggered the switch then the backing off movement would be infinate, the same if both XY ran onto it's switch etc.
So, I see the only way to make this to work is if you have individual home inputs for the home switches.