Skip to content

GCode

The GCode tab of Device Settings allows for modification of the GCode output for GCode devices. Please see Device Settings: Custom GCode if you are using a Custom GCode device.

Click an option in the image below to jump directly to the relevant section for that option, or scroll down for a list of options and descriptions.

The GCode tab of Device Settings

Start / End Scripts

Some devices may need additional commands before or after running a job. GCode entered into these boxes will be added to the start or end of each job LightBurn sends to your device.

Warning

LightBurn does not validate whether these commands are valid or safe. Any modifications here are done at your own risk.

Use G0 Moves for Overscan

Enable this setting to use G0 moves for overscan instead of G1. Some controllers, such as FabCreator Smoothieware boards, have a non-zero power value for their minimum output, causing them to burn during the overscan portion of an engraving. If you find that your laser doesn't shut off completely for overscan moves, try enabling this setting.

Emit S Value With Every G1 Command

Enable this setting to have LightBurn specify the output power of the laser with every move command, rather than only when the power level changes. Enable this setting if your laser does not turn back on after travel moves.

Troubleshooting

  • If you aren't seeing a setting you expected to see, check which tab you're in and make sure it's applicable to your laser.

For more help using LightBurn, please visit our forum to talk with LightBurn staff and users, or email support.