Hey guys,
I finished my CNC some weeks ago but I still didnt mill any "real parts" cause I am still waiting for the flutes from china.
However, I tried to run some gcodes without any flute. In general, its working fine. But yesterday I tried a very "complex" gcode (67 MB file) and the machine just stopped / paused after some minutes. 4 Minutes later, it moved a few cm, then it stopped again.
When I paused the process by touchscreen, the machine responded (Z moved up and down again) - so it hasn't freezed / hung up.
The elapsed time in the TFT also counts up...
It seems as the controller was kind of "stuck" in die gcode.
Are there any limitations regarding gcode "complexity" / number of lines in the file?
The gcode was generated by estlcam (marlin profile).
thx in advance
Re: RS-CNC pausing / stopping sporadically
Posté : 07 oct. 2019 00:29
par Steve H
Hi, I’m not familiar with Estlcam but are you using the right post processor to create the gcode?
Sent from my iPad using Tapatalk
Re: RS-CNC pausing / stopping sporadically
Posté : 07 oct. 2019 12:55
par mstrens
There is no limit in the size of the Gcode files as far I know.
Re: RS-CNC pausing / stopping sporadically
Posté : 07 oct. 2019 21:50
par SebastianM
Yes, I used the correct postprocessor.
Is there a possibility to debug the CNC while its working? Can I get a serial output?
I ran this gcode 4 times. It stopped 3 times but worked once.
Help ?!
Re: RS-CNC pausing / stopping sporadically
Posté : 08 oct. 2019 10:19
par SebastianM
Hello,
I ran the same gcode with repetier-host over usb. The problem is the same - the proccess stopps at a certain time.
The log shows that the commands are sent continuously (green) by my computer, but the CNC just stays at the same position over and over again (red). But its alive, it has not freezed.
Did you ever find a cause of this, as I have had it happen a couple of times as well.
Many thanks
Re: RS-CNC pausing / stopping sporadically
Posté : 29 oct. 2019 13:33
par SebastianM
I never found a cause, but I have a theorie:
I think my gcode was simply to complex. In ESTLCAM I had set my tool to do a 0.5mm oscillation in z, so the router always moved a little up and down. This led to a 250mb gcode file. I gues this was just "too much" for the arduino.
But I found another very strange issue:
When you create a minimal gcode file with only two lines, the system just freezes:
G90
G01 X300 Y300 F600
---> doesnt work. I have to hard-reset the device.
Re: RS-CNC pausing / stopping sporadically
Posté : 29 oct. 2019 14:56
par Steve H
Hi Sebastian. Thanks for that, its certainly something to look at. I was also wondering about the issue of ensuring screend cables, that I think was raised somewhere.
If I find anything I will cetainly come back.
Thanks again