Mach may see the homing signal light up, but it does absolutely nothing with it. Homing is the responsibility of the motion controller itself. If the switch isn't also being used as a limit, maybe the motion controller is seeing the home switch light up and stopping movement? If so, maybe you need to talk to the motion controller manufacturer.
Steve