-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The tablet program is stopping in the middle of milling #20
Comments
There have been reports of problems with very large GCode files, larger than 4 MB. How large are your files? When you say stop, do you mean that part of the file will be read but the rest is not there, or do you mean that when you select a file it will not load at all? |
My files are less than 100 Ko. I read the 4 MB file problem but in my case this is strange. Thank you for your answer ! |
Do you mean that the execution of the file is stopping in the middle? What controller are you using? GRBL? g2core? tinyg? Marlin? |
Yes, in the middle. And i use GRBL. |
With a given program, does it always stop in the same place? Or does a given program work sometimes and fail sometimes? |
I don't know if it could help but i tried again yesterday and as always the machine stop the milling on this line in the grbl file (see next picture) |
Do you have limits enabled? It's possible that one of the moves is exceeding a limit value, causing the controller to stop. |
Another possibility - when you turn on the spindle, maybe it is causing electrical noise that falsely trips a limit switch. |
I'm having this issue and I can replicate it reliably, so here is a bunch of detail:
CNCjs: 1.9.22 @MitchBradley Per your comment, since it seems to be related to device sleeping/inactivity, I'm not sure how to replicate it the same way on a PC (so that I can keep an eye on the JS console). I'll keep trying though. [edit] My app.js did not have the mentioned
Tried a few times, and the line it fails on will change depending on when the error occurs, but that error is followed by the |
Okay that's a good clue. I'll look into it. |
Looking at the GRBL source, error 8 means that there was an attempt to execute a non-GCode command that won't work when a GCode job is going on. Such commands include $ to read setting, H for homings, and commands that alter settings. The most likely thing, I believe, is that the shopfloor-tablet UI is getting restarted and then issuing a $ to get the settings. Here is something to try: In app.js, comment out line 103: |
With those changes, I wasn't able to make it halt over a couple of runs. 👍 |
When i use the tablet program instead of cncjs regular interface, the reading of grbl code seem's to stop (randomly?) . I try differents gcode files.
I use rpi 4. Somebody have the same problem ?
Thank you !
The text was updated successfully, but these errors were encountered: