Newbie on the forum here and of course looking for a hand. I’m trying to configure LW to my laser cutter machine, just to generate G-Code.
I’m finishing a Workbee machine from Ooznest equipped with a laser unit from Optlasers. I’m using a duet maestro wifi board.
All goes well, the machine is nice and all is working sort of ok. My problem is generating G-code, I can’t find a free program that can deal with my needs. The laser unit is connected to the heatbed pin instead of the more common fan output. It works just fine and there must be a good reason for that.
My problem is that for that kind of working the G-Code is sort of special. Normally you turn the laser on, move from point A to point B and turn off the laser and so on. In my case, it doesn’t work like that but by appending an S parameter on each of the g commands (G0,G1, G2…) like in these samples:
G0 X0.0000 Y0.0000 Z10.0000 F10000 S0 ; Move Z at a speed of F and a laser power (S) of 0
G1 X10.0000 F5000 S20 ; Same for X but power 20 and speed 5000
G1 Y10.0000 F4000 S20 ; Similar for Y
G2 X20.0000 I5.0000 J0.0000 S30; an arc…
G1 X0.0000 Z20.0000 S255 ; Full power (PWM 0 to 255)
(Normally you would:
M3 S255 ; laser ON max power
M5 ;Laser Off
; or similar)
I hope that is clear so far. My problem is that I can not find a way to make the software append this F and S commands to the moves. Is it even possible? or maybe I’m missing something or doing something wrong …
Of course, I have tried with the sample files from the manufacturer and they work just fine, I have made by hand some G-Code files according to that principle and they work fine. It is just that I need an automated solution.
If you can help me and need any further info just ask !
Thanks for your help,