grblHAL Error 22
grblHALErrorPosition is kept
A cutting move came before any feed rate (F) was set.
Position is kept. An error means the controller refused that one line or command, so nothing moved for it. (Hamrun's reading)
What to do
- Add a feed rate (like F1000) to the first cutting move, or have your CAM output one.
- Check the post-processor writes F on the first G1.
Official grblHAL message: “Feed rate has not yet been set or is undefined.” source
Got a different message?
Paste it into the decoder. Hamrun's editor checks your G-code before you run it, so a toolpath that leaves the machine's travel or a missing feed rate is caught before the machine stops.
Related codes
- GRBL 1.1 Error 22: A cutting move came before any feed rate (F) was set.
- FluidNC Error 22: A cutting move came before any feed rate (F) was set.
Official text copied from the grblHAL source on 2026-11-01. Steps and the position answer are Hamrun's reading unless marked “firmware says”. User reports are labelled CLAIMED.