@Schorschi Those are not valid G-code commands, at least not standard MIT/NIST codes that Grbl uses.
Use G92 to set an offset.
@ekleynha It may be helpful to post a picture or since this isn't related to Eleksmaker maybe better to contact me directly (see my website for contact email). It sounds like you are correct, the center pin of the potentiometer (variable resistor) would usualy be the PWM input.
@bhayter I did what you said, but get: G01 X99.8 Y100 M03 S0, however that isn't really important as the method is what needs to be changed not the G-code generation for a raster scan.
If you set the hatch spacing to 0.2 and use a vector solution it will be faster and more accurate than converting it to a raster image. You also won't have to combine jobs or worry about alignment.
The same is true with the other methods I explained.
@Schorschi It is used with DXF colors, enable Sequential output and it will process each separately and wait for the tool change before you continue. It is for CNC mode although you can enable laser operation also. As I said, it doesn't solve the problem you asked about as it's for a different purpose. Using custom buttons would allow a shift in 0,0 to offset from laser #1 to laser #2 automatically.
@bhayter I'm not sure I follow your process here, but if you have Sketch you could use Sketch (Hatch) to do the fill and then the single job has an outline and fill. You could also do an image and use Sketch Plus (Overlay) with auto-trace and it would do the outlines and fill. Of course if you are creating the DXF in Inkscape you can add the hatch fill there with greater control and just import a single job. All of these options are easier as you don't have 2 G-code jobs to merge and potential for an offset in origin (0,0).
When you use relocate origin (which is a band-aid for a poor design) there is a risk of misalignment, but I am not clear if that's what you are seeing or something else due to the work flow you are using.
@Schorschi Automatic is not possible as your machine (firmware) does not support it. There is only one PWM output available on the Nano / Grbl for the spindle and although T2Laser supports tool change it will still use the same spindle.
Looks like your connection to Offical Forum was lost, please wait while we try to reconnect.