Grbl · Homing and limits

Grbl error 5: Setting disabled

Most often: $22 is 0. First step: if the machine has limit switches set $22=1.

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

What it means

You asked for homing, but homing is switched off. Grbl has refused this line and has not executed it. The position is still right.

Common causes

  • $22 is 0

How to clear it

  1. If the machine has limit switches set $22=1
  2. Without switches do not use $H

Example

Gives the alarm
$H
Correct
$22=1
$H

Before you continue: Before you move the axis, look at the tool, the part and the direction. Use a low override and keep one hand on feed hold. A wrong direction makes a small alarm a big repair.

Same group: homing and limits

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 5 mean?
You asked for homing, but homing is switched off.
How do I fix Grbl error 5?
If the machine has limit switches set $22=1. Without switches do not use $H.
Was this page helpful?