If your machine is configured as an “xTool” device type then Constant Power Mode won’t be available to you. You can confirm your device type by pushing the Devices button in Laser window.
There are generic g-code lists.
Here’s one from LinuxCNC. GRBL firmware tends to follow LinuxCNC standards where it can.
However, xTool devices likely deviate from this for some commands or have slightly different behavior.
Additionally, this would not cover any xTool specific add-on/custom commands for proprietary functions on the machine. Those are largely not documented in one spot as far as I’m aware but may have snippets here and there based on what people have found or what’s been made available.
Is there something specific you’re trying to achieve?
Yes xTool device (came from the import configuration for the S1)
I will try to install et conf my S1 with GRBL devise on an other computer to see if the “constant power” is present.
For the macro I want to create 4 actions :
Move the laser - 10mm X and Y
Focus
Move the laser +10mm x and Y
Frame
kind of process to give me time to move my a** from my computer to check the frame and focus during this process.
The Move instructions are fairly trivial. Those would likely be G0 commands. Focus is likely an M-code. I’d suggest reviewing the original GRBL based S1 .lbdev file for the macro for focus. The xTool device type uses the “Focus Z” button in LightBurn. I assume this sends the same code as the macro in the background but not certain.
The Framing is likely to be non-trivial. LightBurn sends actual dynamic move instructions based on the available geometry rather than a fixed code. And I don’t believe LightBurn level commands are available within a macro.