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.
code_text
; LightBurn 0.9.06
; absolute coords
G00 G17 G21 G54
G90
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
M3
G0X406.4Y585.8
G1Y708.2S255F4200
G1X553.2
G1Y585.8
G1X406.4
G0X577.6Y702
G1Y760 <<<<<I need to add S255 here to get laser to fire again
G1X703
G1Y702
G1X577.6
M107
G1S0
M5
G90
; End
Regards Mike