Hello, found this forum a great help hadn't had to ask a question up till now as the same questions had been asked and answered.
I have added a laser to my duet cnc.
I use lightburn to produce the gcode and edit the code to turn put duet in laser mode etc.
This works well, the issue I'm having is every time there is a G0 move it turns laser off as it should but the next G1 has to have a S value to trigger the laser again. Lightburn appears to presume to preserve the S value for the next G1 move.
My question is, is this how the duet works or is my code the issue.
Here is my G code.
; LightBurn 0.9.06
; absolute coords
G00 G17 G21 G54
M307 H3 A-1 C-1 D-1 ; Disable Heater output on H3
M452 P3 S1 R255 F60 ; Enable Laser mode, on output 3 (heater 3), with max intensity being 255, and a PWM frequency of 200
M571 P3 F200 S0
G1Y760 <<<<<I need to add S255 here to get laser to fire again