Anytime someone asks me about building a CNC machine I tell them absolutely do not. Buy a kit that already has the bugs worked out and a support system in place to troubleshoot. Learn from my mistakes!
My DIY machine has been pretty much unusable since installing home switches with my G540 system. I will run a program and get an error message in UCCNC that reads "Ext E-stop triggered". I am running a Bosch 1617 router with an 80-20 frame and gantry. I figured this false E-stop was a noise problem so I been trying to add measures to eliminate the noise. I believe the noise is coming from the 1617 because if I drop feeds and speeds along with depth of cut I can reduce the frequency of it. But once the router starts to chatter or plunge into a heavy cut, E-stop.
I have sheilded wire on all my stepper motors (minus about 2" between where I soddered the wire and the motor casing, is that a problem?) tied to pin 3 on the Db9 connector. Shielded wire on all my limit switches tied to the ground inside my electronics enclosure. I hadn't grounded my machine bed or gantry before so I did that this weekend running ground lines to several points on the machine and did continuity checks to make sure everything is grounded, especially the body of the 1617. After all this I still get E-stop triggers.
I am thinking maybe I have a ground loop? I dont really know what that is except for reading about it on various forums and hearing its a bad thing. I have all my electronics in a 8"x10"x6" metal enclosure (AC inputs, 48V DC power supply, 12V DC power supply, G540, aviation plugs for limit switches, etc.), can I be generating noise inside the box? If that is the case, how do you explain the 1617 bogging down and immediately getting a false trigger?
Any advice would be much appreciated. Here is a diagram I drew up on how I have wired things together inside my box. Maybe it will help see if I have something hosed up. https://imgur.com/KHX9mrb
Tonight I plan on taking limit switches out one by one to see if I can run a full program without any false triggers. If you have other recommendations on troubleshooting steps to locate or diagnose the noise source and or where the false trigger is coming from please let me know. Also, it might be pertinent that I am using a laptop running UCCNC and UC100.