

It is simple to set these up as macro buttons in the LightBurn console window. When you want to go back to using your machine for CNC use, clear the offset with: Then you tell LightBurn that the origin is at the front-left of the machine, instead of the rear-right, and you're done. This shifts the origin point of the machine left and forward by the size of the workspace. (If your machine is a different size, use your width and height values in mm instead of the 812's shown here, and remember the minus signs - those are important) That command says "set an offset" ( G10 L2) in the first coordinate system ( P1) of X -812 and Y -812. We're going to leave the direction alone, but change the origin position by using this command in the LightBurn Console window: This machine has an 812mm x 812mm working area, and the origin is set to the rear-right, with negative numbers going down and to the left (onto our workspace). We'll use a Shapeoko XXL as our example setup. This is an easy thing to work around though, using a workspace offset. Shapeoko machines typically use Grbl 1.1f, as do newer X-Carve and some other systems, but as they are designed as CNC machines, they are typically configured for negative workspace coordinates, which LightBurn doesn't support. Shapeoko, XCarve, and other negative workspace systems If this isn't an option, that's ok, but your results won't be as good, and pausing the laser runs the risk of leaving the beam on and ruining the job. If you aren't already running Grbl 1.1f (or later) on your controller, we highly recommend it for laser use. This is not always true with other versions of Grbl. This also has the benefit that when the laser comes to a complete stop, the beam turns off (zero speed equals zero power), meaning that pausing a job automatically turns off the laser. Since the machine needs to slow down to take sharp corners, this means corners get over-burnt, while long straight lines end up lighter. Older versions of Grbl do not have this feature, and simply run the laser at a constant power output for the duration of a cut. In this mode, Grbl adjusts the laser power as the machine speeds up and slows down, making for very consistent cutting and marking. The second is a feature called variable power mode, or the M4 command. Laser mode eliminates the pauses that happen when changing power output, because Grbl knows it's controlling a laser which reacts instantly, instead of waiting for a spindle to change RPM. The first is Laser Mode, enabled by setting $32=1 in the firmware settings. The more recent versions of Grbl (1.1f and up) support two things that are incredibly useful for lasers. Luckily this is easy to change, and easy to switch from one to the other. The "standard" way a CNC machine is configured is somewhat different from the way laser machines often are. It is highly configurable, and this is both a blessing and a curse. Grbl firmware was originally designed for CNC machines and 3D printers, with laser support added more recently. If your machine does not have homing switches (also called limit switches) you will need to home it manually if you want to use Absolute Coords or User Origin modes.Make sure the controller is reporting positions in mm, as expected by LightBurn ( $13=0).Set your machine status reporting to be relative to the workspace origin, not the machine origin ( $10=0).If your machine uses negative workspace coordinates you'll need to apply a workspace offset ( G10 L2 P1 xx yy).The pause, which happens on older versions, or when not using Laser Mode, will cause excessive burn spots when engraving images.
Grbl controller windows upgrade#
If you have an older version of GRBL (prior to 1.1f) it's highly recommended to upgrade the firmware, as Laser Mode also prevents the machine from pausing with every power change.You might need to enable "Laser Mode" if you have GRBL 1.1f or later ( $32=1).The value in LightBurn is called "S-Value Max", in the Device Settings. You might need to adjust your spindle max RPM value ( $30) to match the LightBurn default (1000) or vice versa.If you have a GCode-based system, like a Shapeoko, Eleksmaker, X-Carve, or Acro system, you might need to make some simple changes to get the most from LightBurn. Numeric Edits - size, position, orientation Machines without homing sensors / limit switches
