Beam Bench Docs

GRBL error codes

What error:N and alarm:N mean, and how to clear them.

You see

The Console panel shows error:N or alarm:N where N is a number. The machine refuses to move (alarm) or refused to accept a specific command (error).

What is happening

GRBL has structured error and alarm responses. The number is a code that names the exact thing that went wrong.

Common error codes

CodeMeaningCommon fix
error:1Expected command letterBad G-code syntax. Usually a Beam Bench bug, report it.
error:2Bad number formatSame.
error:3Invalid $ commandSend a valid $ command.
error:9G-code locked out during alarmClear the alarm first ($X or Unlock in the Move panel).
error:15Travel exceeds soft limitThe commanded move goes outside the machine's bed (per $130-$132). Check your project size and machine bed dimensions.
error:20Unsupported commandThe firmware does not know that G-code. Use a Beam Bench-supported subset.
error:22Feed rate not setThe first move had no F value. Usually a Beam Bench bug, report it.
error:24Move with no YSame.

Common alarm codes

CodeMeaningCommon fix
alarm:1Hard limit triggeredA limit switch was hit. Move the head away manually, then Unlock.
alarm:2G-code motion target exceeds machine travelThe job ran past the bed boundary. Reframe within bounds.
alarm:3Reset while in motionSoft reset happened mid-move. Position is uncertain, home before continuing.
alarm:8Homing failed: pull-off travel failed to clear switchA limit switch is stuck or wired wrong. Inspect switches.
alarm:9Homing failed: could not find limit switchThe head did not reach a limit switch within the homing distance. Check switch wiring, homing direction ($23), and that $132 is set correctly.

Fix

Clear an alarm

In the Move panel, click Unlock when the machine is in alarm state. This sends $X to GRBL.

Or send $X manually in the Console panel.

After unlocking, home before running anything. The machine no longer trusts its position.

Find the full meaning of a code you do not see above

GRBL's source documents every error and alarm code. Search "GRBL error codes" online for the full reference for your firmware version.

Repeated alarms during normal use

Suggests a mechanical or wiring issue: limit switch failing, soft-limits set wrong, motor stalling and the controller noticing.

Still stuck?

On this page