I have my router table up, all axis working but none of the limit switches connected to the G540 will trigger a stop.

On the diagnostics tab all connections M1 M2 M3 M4 corresponding to port 1 pins 10 11 12 13 will light up on the diagnostics tab when the limit switch is triggered, and on the pins and ports tab x home y home and z home are all set to port 1 pins 10 11 12 but when triggered the gantry still moves and does not stop.

Any suggestions ?

Thanks
David