Problem In G code

I have a problem with Light Burn, in that when saving G-code for a drawing with cutting or engraving, the M3 command responsible for operating the laser is not present in the code. When writing on the M3 console with a command for the power, the laser operates. How do I solve this problem?

What specific firmware are you using?

Also, what device type have you configured your laser for in LightBurn?

You list Arduino as a controller in your profile. If you are running GRBL older than 1.1f then you will not have access to variable power which uses M4 for operation. This may be why M3 works but you say no M3 is included in the g-code. Do you see M4 instead?

If your firmware is older than 1.1f then you can switch your device type to GRBL-M3. That will use M3 for laser power on. However, I’d advise you to upgrade if possible since newer GRBL versions come with advantages including variable power.

If you are not on an older firmware or have not configured GRBL as your device type then please provide the following:

  1. Full screenshot of LightBurn with project ready to burn.
  2. Go to File->Save gcode, save with .txt extension and upload the file here.
  3. Go to Edit->Device Settings and take screenshots of each tab.
3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.