Warning
The current version of MillMage is a Release Candidate — a stable version of software that is nearly ready for official release, but in need of additional public testing. Please report any unexpected behavior in the MillMage Software Questions section of our forum, including screenshots and as much detail as possible. Ask hardware compatibility questions in the MillMage Hardware Compatibility section.
Users new to MillMage should follow the Getting Started guide.
Video: How to Use a Release Candidate
This video features our sister software, LightBurn. While there may be slight differences in appearance and layout, the demonstrated processes are similar in MillMage.
Warning
This documentation is in active development and in a prerelease state. These documents are not complete and may include missing pages, broken links, and placeholders. Content is being updated as feedback is reviewed. Your patience is appreciated.
GRBL Errors
GRBL devices have a number of different alarms and error codes you may encounter. These will be visible in the Console Window.
This page contains information about the errors and alarms MillMage users are most likely to encounter, as well as some other frequently encountered problems with GRBL devices. For additional information, we've found the following resources helpful:
GRBL Alarm Codes¶
Alarms are emergency messages, and are used when something has gone very wrong. These are shown in the Console Window as ALARM:#
, with a number to tell you what caused the alarm.
ALARM:1¶
A limit switch was triggered while the machine was moving. The machine position is probably lost, which causes the machine to hit the edges of its workspace.
Fix this alarm by rehoming the machine. If this continues to happen:
- Check your project setup, your workpiece origin, and the coordinate spce you're using, and make sure you are not commanding the mahcine to move outside of its physical bounds. See Coordinates and Job Origin.
- Make sure your machine is homing correctly by comparing the position shown in the Move window in MillMage to the machine's actual position within its work area.
- Some limit switches are triggered by reading resistance to stepper motors. Make sure the wires aren't snagging and causing a false trigger, and check your machine for mechanical problems.
ALARM:2¶
LightBurn Video
This video features our sister software, LightBurn. While there may be slight differences in appearance and layout, the demonstrated processes are similar in MillMage.
You're trying to send the machine outside of its known working area, and GRBL has prevented this to prevent damage to the machine. This can happen for several reasons:
- You're trying to run a job that exceeds the size of the machine work area.
- Your workpiece origin may not be set correctly.
ALARM:3¶
LightBurn Video
This video features our sister software, LightBurn. While there may be slight differences in appearance and layout, the demonstrated processes are similar in MillMage.
The CNC machine halted abruptly, sometimes due to another Alarm or Error, or, often, the computer losing connection to the machine. Rehome the machine to ensure the machine reports its coordinates correctly. See Connection Troubleshooting for help if this happens repeatedly.
ALARM:8¶
The machine failed to pull off one or both limit switches after homing.
- Inspect your CNC machine's limit switches to make sure they are not stuck in the closed position.
- Check your machine's mechanical setup to make sure it is capable of moving, homing properly, and clearing the limit switches. See Troubleshooting: Mechanical Issues for more information.
- Make sure your power supply is securely plugged in and functional. A USB connection can sometimes be enough to power a device's control board, but it will not provide enough power for the stepper motors to move off the limit switches.
ALARM:9¶
The machine's attempt to home failed because it didn't locate a limit switch. GRBL will stop homing to prevent potential damage to the machine if it doesn't encounter a limit switch within 1.5x the maximum travel distance.
- Make sure your machine has limit switches. If you installed them yourself, make sure they're wired correctly and the connectors are snug.
- Check your machine's belt tension and overall mechanical setup to make sure it is capable of moving and homing properly. See Troubleshooting: Mechanical Issues for more information.
- Make sure your power supply is securely plugged in and functional. A USB connection can sometimes be enough to power a device's control board, but it will not provide enough power for the stepper motors to respond to the homing command.
GRBL Error Codes¶
These error codes are less severe than alarm codes, and are used when your machine receives a command it can't act on. Like alarms, these are shown in the Console window as error:#
, with a number to tell you what caused the error.
Error:1¶
The machine received an invalid GCode command. This error code is usually the result of enabling GCode Clustering for a device that does not support it, or combining multiple commands into one line.
Make sure GCode Clustering is disabled in Device Settings.
If you are using Custom GCode, check your settings for accuracy. If you're typing commands in by hand in the Start or End GCode fields under GCode tab of the Device Settings window, check for typos.
Error:3¶
The machine received the $
system command but does not recognize or support it.
Error:5¶
MillMage sent the command to the controller to home it, but the controller does not have homing enabled or configured. Typically, this occurs when Auto-Home On Startup is enabled in Device Settings for a machine without homing switches.
Error:8¶
A command was sent to your machine while it was still processing another command. If your machine is homing, wait and try again.
This error can also be caused by communications corruptions or electrical interference.
- In the Device Settings window, try changing Transfer Mode to Synchronous.
- Try a new, shielded USB cable.
Error:9¶
MillMage tried to send a command to your device, but the machine is locked. GRBL locks devices while jogging (moving the gantry) or when the machine has an active GRBL alarm.
- If the machine is moving, wait for it to finish moving.
- Enter $X in the Console window to unlock the machine.
- If there is an active alarm, identify the alarm and address the cause.
Error:20¶
The machine received an unsupported or invalid GCode command. This is usually the result of the wrong device type being selected or devices with firmware using non-standard GCode.
Tip
To check what version of GRBL your CNC machine is running, enter $I
into the Console window and press Enter. The messages shown in response should include the GRBL version in a message starting with VER
.
- Make sure your device type is set correctly.
- Some machines — including Shapeokos — may not support homing individual axes. If you get this error while trying to home an individual axis, try homing all axes at the same time.
Error:24¶
The machine received an invalid GCode command, combining two GCode commands that both require X/Y/Z Axis parameters. This is usually the result of communications corruption.
- Try a new, shielded USB cable.
Other Common Problems for GRBL Machines¶
Busy¶
The Busy bar in the Job Control window is not necessarily an error - it shows that the machine is busy doing something. However, if you are seeing Busy but the machine is not moving, it may not be connected to the computer.
- You may need to select the correct communication port.
- If you don't have an appropriate port available, you may need to install drivers.
CNC Machine Not Connecting¶
If you see Disconnected in the Job Control window, your computer is unable to communicate with the CNC machine. Make sure it's plugged in and turned on. If it still does not connect:
- You may need to select the correct communication port.
- If you don't have an appropriate port available, you may need to install drivers.
- Check Connection Troubleshooting for more help troubleshooting your connection to the CNC machine.
For more help using MillMage, please visit our forum to talk with MillMage staff and users, or email support.