Hi folks,
My home-built CNC router has been running for about a year. It's a 3-axis stepper motor trapezoid (metric ACME) thread machine driven by Mach3.
It's been working fine, but recently I've been making heavier cuts in MDF and pine timber and have seen an issue with the limit switches.
When I run a g-code program the machine starts OK, but as the cutter load increases Mach3 reports a limit switch hit - but the machine is nowhere near any of the limits. The machine will stop in exactly the same place if I re-run the job (the machine will air-cut until it hits the point it stopped at before). If I turn off the limit switch sensing (obviously I don't like doing this) the job will run without a hitch.
The limit switches are microswitches (low operating force in fact - I had a batch lying around) wired N/C to 0V with a 1K pull-up to 5V. The switch lines are all unshielded (this is probably a bad idea).
Seems there are two possiblities:
1) The cutter load is vibrating the machine and the vibration is triggering a uswitch (is this even possible?).
2) The load causes more current demand through the mains (240v) cable to my router - noise from the lead is breaking through to the limit switch wiring.
I'm sure it must be (2) - I guess it's time to re-wire with shielded cable?
Also, is there any way in Mach3 to tell which limit switch fired?
Cheers,
Paul.