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.
On this page
ALARMerror:5Setting disabled
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
- If the machine has limit switches set $22=1
- Without switches do not use $H
Example
$H$22=1
$HBefore 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
- Grbl error 9: G-code lock
- Grbl error 10: Homing not enabled
- Grbl error 15: Travel exceeded
- Grbl ALARM:1: Hard limit
- Grbl ALARM:2: Soft limit
- Grbl ALARM:3: Abort during cycle
- Grbl ALARM:6: Homing fail: reset
- Grbl ALARM:7: Homing fail: door
- Grbl ALARM:8: Homing fail: pull-off
- Grbl ALARM:9: Homing fail: switch not found
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 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?