GRBL-M3 to have settings like Marlin M3 & M5

I just tested the M4 via UGS and that works as well. But can LightBurn generate the M4 instead of the M4?

Do you mean M4 instead of M3? If not, can you explain what you mean?

If yes, then LightBurn will generate M4 if you use GRBL instead of GRBL-M3. However, G1S0 is considered to be laser off when using M4, meaning that M5 is not issued for all laser-off states.

I think the problem is almost solved. With the non M3 of the Grbl version I get the M4 in the start (pen down) and a M5 at the and (pen up). But I draw a few rectangles and when the pen move to the next rectangle I did not get a M5 and M4. now I get a line from the one to the other rectangle. I hope it is clear. I am not a native English speaking person (Dutch)

This is what I was trying to explain before. Since G1S0 is considered laser off, M5 won’t be issued.

This is. an example with two lines (not connected)
After drawing the first line I thing I need an M5 and when the pen is at the start of the second line a M4

Chris

; LightBurn 1.4.00
; GRBL device profile, absolute coords
; Bounds: X122 Y234 to X281 Y366
G00 G17 G40 G21 G54
G90
M4
; Cut @ 100 mm/sec, 100% power
M8
G0 X177Y234
G0 Z0
; Layer C00
G1 X281Y276S180F6000
G0 X214Y366
G1 X122Y314
M9
G1 S0
M5
G90
; return to user-defined finish pos
G0 X0 Y0
M2

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