Replies: 1 comment 4 replies
-
Sounds like the controller is crashing, due to EMI? What do you mean by "sporadically" - every few days or more often? And does it always happen when the machine is running gcode? Never when sitting idle?
Is the power supplied by a PC or a wall wart? If a PC, have you tried to run the controller via the USB connection?
Too many ground connections can sometimes be a problem as well, creating ground loops.
I do not know how the indicator LEDs are controlled, but likely by the MCU ethernet peripheral? However, I do not belive the LED status is significant. I do not believe it is software related since there are many users that connects the sender via ethernet, myself included. But one can never be sure. BTW which version of the firmware are you running? Built with the Web Builder? |
Beta Was this translation helpful? Give feedback.
-
I've been using grblHAL on the Teensy 4.1 with the ethernet module to control a few CNC machines, and I've been experiencing some random dropouts where the light on the ethernet module goes out and the machines stop dead in their tracks. The only way to connect back to grblHAL is to power cycle the teensy (unplugging and plugging the USB back in, then the ethernet light comes back on). If the spindle is on while it drops out, it keeps spinning while disconnected.
I've probed the 5V power pin on the teensy with a scope and the power appears pretty stable.
I've tried to get to the bottom of it through considering whether it's an EMI or ESD issue. Made sure my motors/drivers are well grounded to the chassis and chassis to earth ground, and got shielded ethernet cabling with a grounded ethernet switch yet it still seems to happen sporadically.
I'm trying to isolate if there's anyway that the light would dropout on the ethernet module if there was anything code related (either grblHAL code or my streaming/controlling code from my PC), or whether the light dropping out can only be hardware related, as I'm not very knowledgeable on the Ethernet PHY's on the teensy and how that would interact with the signal light on the magjack connector.
One thing I do is I use the spindle PWN signal to control a separate axillary system, but I need to use it while homing an axis so I toggle the default enable inversion pin and do a hard reset (CTRL+X) on the grbl to refresh that (and enable the system(, and then home that axis (so that the system and homing run at the same time, as grblHAL disables the spindle during homing). When homing is complete I flip that bit and do a hard reset again. Could doing that cause any weird issues like this?
Coming here for any guidance or other thoughts on what may be causing it and if anything software related could be causing it.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions