Thanks for that information Jazz. My noodle is easily fried. I used a digital calliper and let the gantry push it up against a stop on the rail. Ive unwired it all now because my control enclosure was delivered today. Im going to use the proximity sensors for homing and mechanical switches for limits. I'l position the limit switch so the gantry just touches it without switching when its detected by the proximity sensor. That way if the gantry goes to close the sensor it'l trip the limit before it damages anything.

https://www.youtube.com/watch?v=HZF8jKtbkvo