Sounds like a polarity problem on the opposite end of travel. If it looks to the controller like the far end travel limit switch has been "made", it won't allow travel in that direction. This presumes of course that you have travel limits on both ends of the axis.

If you have the limit configured for NC (normally closed) and there's a wire break, it looks to the controller like the switch has been made, because the line will be open. Check continuity.