gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
3.98k stars 1.59k forks source link

Error: 22 (Undefined Feed Rate) #1235

Open wb9tpg opened 7 months ago

wb9tpg commented 7 months ago

I'm starting to build a new controller using the 5x code to replace my old controller in my Shapeoko 3 with the intention of adding a 4th axis. I've purchased Mega 2560 v3 board and loaded the 5x code onto it successfully.

My initial testing is revealing problems as I'm getting Error: 22 (Undefined feed rate) errors after the job has run a while. If I repeat the job multiple times the errors occur at different points in the gcode. The gcode I'm testing with is a file I've successfully cut (as a commission) on my Shapeoko 3 controller using CNCjs. I'm using it as it seems using a proven gcode file is appropriate.

An example of a full error message is: G1X54.2911Y-77.9202Z-0.5015 (line=6424) error:22 (Undefined feed rate)

I've tested using both a Windows 11 PC running CNCjs and also a Mac running CNCjs and gSender with the same results (random error 22). The gcode is valid and previously run on my old controller. I replaced the USB cable with a new cable with the same results. So I believe the failure is somewhere in the 5x code or the Ardino hardware.

The Ardino board is running standalone and nothing other than the USB cable is connected to it. My intention is to use standalone DM566 motor drivers as I continue building the new controller. But I'm stuck until I can get this issue sorted out.

I'd transferred my settings from the old controller to the Ardino and I'll attach them and the gcode test file.

thanks, Gary

Settings.txt

VCarve V90 Groovee Jenny - Bold Universal.gcode.txt