GCode compatibility issue with WinCNC controller

Hello,

I am trying to configure LightBurn Core 2.0.05 to generate GCode compatible with a WinCNC controller (laser diode setup).

I am not using GRBL or UCCNC firmware. The controller is WinCNC.

The issues I am encountering:

  1. LightBurn automatically injects setup blocks such as:
    G00 G17 G40 G20

    WinCNC rejects G17 and does not accept multiple G codes on the same line.

  2. When using variable laser power, LightBurn outputs:
    G1 X… S20 F…

    WinCNC rejects S parameters inside motion commands.

  3. Even when modifying Custom GCode settings, LightBurn still injects internal setup code.

My questions:

  • Is there a way to completely disable automatic setup code injection (G17, G20, etc.)?

  • Is there an officially supported GCode flavor that is closest to WinCNC?

  • Does LightBurn officially support WinCNC for laser control with variable power?

I would appreciate guidance on the correct configuration for a WinCNC-based laser machine.

Thank you.

Hi @ccprau
This isn’t a setting you’re missing.

LightBurn generates laser GCode in a fixed format (including how it handles setup and variable power), and that format can’t be fundamentally changed or turned off.

WinCNC is not a supported laser controller in LightBurn, and there isn’t a WinCNC-specific output mode or post-processor available.