I often have a problem with my LR2 stopping at various occasions. Without any clear reason it seems. The machine just stops. I get no indication on why in CNCjs. The solution if 95% to click PAUSE and then PLAY one or several times in CNCjs. That “fix” will make the machine begin to run the job again from where it stopped. If I rerun the job, it doesn’t stop at the same spots.
The console in CNCjs doesn’t say anything when it stops.
Ramps 1.4 with joystick running Marlin.
Please help, I have to have constant focus on the machine to notice when it stops and that is a bit frustrating
I have not seen that with cncjs. The joystick version isn’t as common. So that might be why. But that is too easy.
What I am guessing is happening is that the messages are coming slightly out of order and a message like ‘ok’ from marlin gets lost and cncjs thinks marlin is busy. But marlin has already sent an ‘ok’. The pause play gets it unstuck with more oks coming in.
Does sound like handshake error. (So does your other thread.)
How long is the cable from the Pi to your mainboard? Is it shielded? Do you have adequate power to the Pi? (If you have a display, does it show a little lightning bolt in the corner?) Do you have any kind of power filtering (Like a ferrite bead on your router power cable) installed?