OK – so here’s a puzzler.
I first noticed something odd on a G28.2 homing command – Z axis homed, then X just stopped mid-way to the homing switch. I thought “that’s weird”, entered a G28.2 again, and that time it homed normally.
Next – jogging to position, I did a X+100mm command, and again, it just stopped about 75mm in. I tried moving over with a Y=25, heard a distinct “click” of motor powering up, and got no motion. I homed again, started over, and everything seemed OK.
I ran a simple G-code file (cutting a 20mm ring out of ABS sheet) that should have been no problem for the machine (I was taking 1mm cuts with a 1/8” end mill, my machine cut stuff tougher than this before), but I noticed some odd “jogs” in the cut line like it was missing steps occasionally. After two trips around the ring, it just stopped moving entirely.
The sender (CNCjs) seemed to still believe the cycle was going on – the “pause” button was clickable. No error codes, no blinking red light, nothing to indicate that anything bad was happening. I hit pause, and then resume - *and this is probably important* - when resuming, the spindle moved to a totally inappropriate location and started cutting again.
All this points to a condition where the motors stop moving, but TinyG thinks that everything is still moving along normally.
Now, my machine was running fine all summer, with one exception – I had a squirrelly connection to one of my (NC) limit switches which would occasionally fault out and stop a job due to a bad connection at one of the 1/8” phone jacks I was using to connect the switches to my control box. I re-wired the limit switches with better jacks (RCA-style), and, for good measure, used shielded cable.
I also grounded the cable to the chassis of the machine, and then grounded the machine itself to an earth ground. (I thought “as long as I’m doing this I might as well overkill it.”) I also ran a common ground wire between all moving segments of the machine, linking the Z-carriage to the Y-gantry to the X base.
*It was at this time that the weird behavior started.*
My thinking is that, in some way, grounding/bonding the machine has caused this behavior. I haven’t had time to go out and disconnect all the grounding wires yet (first step in troubleshooting), but I am baffled how this could cause the motors to stop. The random stops have occurred on all three axes so I don’t think it’s just a bad jack or a loose connection. Have I somehow created some kind of a bizarre ground loop or unintentional-capacitor effect? Any ideas on what could be causing this?
Any input is appreciated.