I finished building my cnc router and all was working well until i installed limit/home switches. i am getting constant false limit switch trips in Mach 3. I played with the debounce setting in Mach 3 and if I set it VERY high, around 40000 it will stop the false trips but adds a delay in the time between an actual switch trip and the time Mach 3 recognizes it. Even if I slow the home speed down to 10%, by the time mach 3 recognizes the home switch trip and stops the movemnet, the axis has physically hit and moved the limit/home switch out of position..
This is my first cnc build and didn't use shielded wire on the stepper motors which is the cause of the problem, or on the limit switch wires which are picking up the noise and sending false trip signals to the breakout board. I'm going to replace both sets of wires with shielded cables but I have a question about the connection between the BOB and the individual driver boards. Should those wires also be shielded?
Here is my setup
Mach 3 usb BOB using separate 5V power supply instead of the usb power, if that makes any difference.
2M542 microstep drivers (4) 1-X, 2-Y, 1-Z, with plans to add 1-4th axis down the road.
48vdc power supply
5vdc power supply
115vac cooling fan
All mounted in an old aluminum MAC computer case.