...there are other Options maybe...one is there should be an enable/disable + (plus) and an enable/disable - (minus) direction Inputs on each Axis drive amp module. Wiring switches at both ends of travel this way and it's easy and failsafe way to stop overtravel and still be able to Jog off the switch when overtraveled.
DJ