Device Settings: 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
-
Dimensions / Units¶
Per-device unit and dimension settings.
-
Basic Settings¶
The most commonly used device settings.
-
GCode¶
Modify GCode output for GCode Devices.
-
Additional Settings¶
Settings for simulating previews and estimating time.
-
Custom GCode¶
Advanced GCode customization for the Custom GCode device type.
-
Galvo and Basic Settings¶
The most commonly used device settings for Galvo lasers.
-
Ports and Laser Settings¶
Configure a Galvo laser's ports and laser source.
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.
Fetch Settings on Connect¶
Enable this setting to have LightBurn read your laser's firmware settings from the controller each time it connects.
Check For Workpiece Offsets on Connect¶
Enable this setting to have LightBurn check whether there are workpiece offsets present when connecting to the controller.
For devices that don't comply fully with GRBL standards, you may need to disable this settings. It will also disable the G54 offset warning.
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.