(Fixed!) Gcode suspended for more than 2 min error
Posté : 09 juil. 2020 21:40
Hi all, this is my first post so i wanted to say thanks to Romain for such a great design and sharing his hard work for us to use.
I've had my machine working for several months now, and on the whole it's worked very well. However, many of my CNC programmes have stopped randomly, with the spindle still spinning but no movement on any axes. It'll sit like that until the error "GCode suspended for more than 2 mins" comes on screen and the only option is to cancel the cutting and start again. Clicking on the wifi symbol brings up the error codes, and random weird characters can be seen on screen along with the occasional "oh" or "o+". I've seen on here that others have had similar problems and it's because of interference between the STM32 and ESP32 modules.
I've spent countless hours rewiring, adding more and more ground wires and shielding to all the cables, moving the STM32 as close as possible to the ESP32, and i even bought new STM and ESP modules - all with no success, if anything the problem has been getting worse to the point where it now stops almost every single time i run it.
Today, i was almost on the point of giving up! However, the last thing i could think of was to try running without the micro-usb cable connected to the ESP32 - the one that you can connect a PC to. Success!!!! I ran the same 10 minute job 10 times in a row without a single error or failure! I plugged the usb cable back in, 2 failures in a row with the weird characters and "Gcode suspended". Unplugged it, and the job worked fine again.
I can't explain why this would cause this - there wasn't a PC connected to it so it shouldn't be doing anything. But it now works without it connected, and i'm totally over the moon. I hope this helps others having the same problem.
While i'm on the subject of failures. I also had an issue where 1 of the axes would stop working after about an hour. Turns out the driver was overheating, a PC cooling fan has fixed that!
I've had my machine working for several months now, and on the whole it's worked very well. However, many of my CNC programmes have stopped randomly, with the spindle still spinning but no movement on any axes. It'll sit like that until the error "GCode suspended for more than 2 mins" comes on screen and the only option is to cancel the cutting and start again. Clicking on the wifi symbol brings up the error codes, and random weird characters can be seen on screen along with the occasional "oh" or "o+". I've seen on here that others have had similar problems and it's because of interference between the STM32 and ESP32 modules.
I've spent countless hours rewiring, adding more and more ground wires and shielding to all the cables, moving the STM32 as close as possible to the ESP32, and i even bought new STM and ESP modules - all with no success, if anything the problem has been getting worse to the point where it now stops almost every single time i run it.
Today, i was almost on the point of giving up! However, the last thing i could think of was to try running without the micro-usb cable connected to the ESP32 - the one that you can connect a PC to. Success!!!! I ran the same 10 minute job 10 times in a row without a single error or failure! I plugged the usb cable back in, 2 failures in a row with the weird characters and "Gcode suspended". Unplugged it, and the job worked fine again.
I can't explain why this would cause this - there wasn't a PC connected to it so it shouldn't be doing anything. But it now works without it connected, and i'm totally over the moon. I hope this helps others having the same problem.
While i'm on the subject of failures. I also had an issue where 1 of the axes would stop working after about an hour. Turns out the driver was overheating, a PC cooling fan has fixed that!