Grbl · Text
Grbl error 2: Bad number format
Most often: comma instead of decimal point. First step: use a point as decimal sign.
On this page
ALARMerror:2Bad number format
What it means
A letter came without a valid number. Grbl has refused this line and has not executed it. The position is still right.
Common causes
- Comma instead of decimal point
- Empty value from the post processor
How to clear it
- Use a point as decimal sign
- Delete the empty word
Example
G1 X10,5 F500G1 X10.5 F500Before you continue: After the correction do not start in the middle of the program. Go back to the last tool change, use single block and a low rapid override, and watch the distance to go.
Tools that help
- G-Code CheckerPaste a CNC program and get a list of likely mistakes: missing G43, rapid moves below…
Related codes
Same group: text
Numbers of Grbl 1.1. FluidNC and grblHAL use the same basic numbers and add their own. Fanuc and Grbl are names of their owners. This site is independent.
The alarm comes back?
Post the block before the alarm, your control model and what you have checked.
Ask the communityFrequently asked questions
What does Grbl error 2 mean?
A letter came without a valid number.
How do I fix Grbl error 2?
Use a point as decimal sign. Delete the empty word.
Was this page helpful?