Grbl · G-code

Grbl error 38: Tool number too high

Most often: CAM numbers tools above 255. First step: number the tools from 1.

By cnccode · Updated
On this page
  1. What it means
  2. Common causes
  3. How to clear it
  4. Example
  5. Same group: g-code
  6. Frequently asked questions

What it means

The T number is above the maximum of the firmware. Grbl has refused this line and has not executed it. The position is still right.

Common causes

  • CAM numbers tools above 255

How to clear it

  1. Number the tools from 1

Example

Gives the alarm
T300
Correct
T3

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.

Same group: g-code

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 38 mean?
The T number is above the maximum of the firmware.
How do I fix Grbl error 38?
Number the tools from 1.
Was this page helpful?