Grbl · Text

Grbl error 2: Bad number format

Most often: comma instead of decimal point. First step: use a point as decimal sign.

By cnccode · Updated
On this page
  1. What it means
  2. Common causes
  3. How to clear it
  4. Example
  5. Tools that help
  6. Related codes
  7. Same group: text
  8. Frequently asked questions

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

  1. Use a point as decimal sign
  2. Delete the empty word

Example

Gives the alarm
G1 X10,5 F500
Correct
G1 X10.5 F500

Before 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

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 community

Frequently 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?