Hello Guest it is March 28, 2024, 01:35:55 PM

Author Topic: Success with LightBurn - Mach4  (Read 925 times)

0 Members and 1 Guest are viewing this topic.

Success with LightBurn - Mach4
« on: September 03, 2020, 11:43:05 AM »

Mach4 and Lightburn GRBL3 Gcode.
After a bit of changes to the GRBL3 Gcode produced by Lightburn I finally achieved the results shown.

GRBL sends 'S' to to turn laser on and of.
Any 'S' followed by a number' I.e S57 means turn laser on at 57%. This simply needs replacing with M62P20
An 'S' number followed by a 0 means lase off. And needs replacing with M63P20
When you wish to create filled text like the letter 'O' shown be sure to tell Lightburn that your text is 'Line and fill'

Here is a small part of the code I used.
; LightBurn 0.9.16 George's WIFICARD
; GRBL-M3 (1.1e or earlier) device profile, current position
; Bounds: X0 Y0 to X71.17 Y43
G00 G17 G40 G21 G54
G91
; Image @ 6000 mm/min, 70% power
m2003 (LASER_VECTOR_PWM_PERCENTAGE=75)
m2003 (LASER_VECTOR_FREQUENCY=20000)
m2003 (LASER_VECTOR_GATE_DELAY=0.5)
m2003 (LASER_VECTOR_GATE_DURATION=0.5)
M2004
M62P20 F100.0
T1M06
S200M03 F100
G94 M63P20 
M8
M5
G0X4.98Y4.52
; Layer C00
M3
G1X6.1F100M62P20
G1X2.03M63P20
G1X3.56M62P20
G1X5.59M63P20
G1X1.01M62P20
G1X2.03M63P20



I hope this is of some help to others.

George
One step at a time!