Generic selectors
Exact matches only
Search in title
Search in content
Stay updated with Endurance newsletter.
I have read and agree with the Endurance privacy policy

Lightburn + Mach4 and GRBL.

Lightburn + Mach4 and GRBL.

Getting an Endurance 10 watt laser going with Mach4 and an Ethernet SmoothStepper.

“Here is a bit of background on my laser experience. I started with a CNC Router Parts, now  Avid CNC, Pro4896 router kit I built a few years ago. This uses a SmoothStepper to control the movement of the axis and run under Mach3. My initial laser was a 3.8 watt from Jtech which helped me learn about laser control. One of the very early lessons was that there is a delay with the laser coming on after an axis move and going off once the movement has stopped when using M3 and M5 to control the laser. Because of this delay, I started using M11Px and M10Px to turn the laser on and off and this was working fine. Then I found that Mach4 had M63Px and M63Px designed especially for lasers, these turned the laser only when there was movement and off when movement stopped so I moved to Mach4 for my laser. I then discovered the Wrap9, the SmoothStepper developer, was working on improvements for controlling lasers. Around this time I purchased an Endurance Laser 10 watt+ and with the help from SmoothStepper and Endurance community got it going on my machine. Recently Andy from Warp9 has incorporated some macro codes in the ESS to manage both vector and raster laser burning which has taken some of the processing load off Mach4.

 

To help others to get their laser connected to an ESS and Mach4 here is a bit of a guide. The laser power is controlled by Pules Width Modulation, PWM, which is generated by the ESS this is switched on and off by a gate. There are very good instruction on the Warp9 site to help configure things, https://warp9.com/index.php/faq-mach4#LaserSetup

 

There have been a few improvements to the ESS firmware since this instruction were published and you can see information on all releases of their updates on the Warp9 forum once you join the community at https://warp9.com

Proceed with a fast and secure checkout. 10 watt DPSS 1064 nm Nd:YAG laser module. FREE DHL express delivery worldwide!

 

One of the improvements is on the Laser tab of the ESS configuration screen where you can set the power for a manual firing of the laser, this is useful for focusing and aligning the laser in a workplace. You will need to load the ESS Laser V3.set screen set in Mach4 to use this.”

Ethernet Smoothstepper ESS Config Lightburn + Mach4 and GRBL.

Mach4 and Lightburn GRBL3 Gcode.

After a bit of change 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 the 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 Pilch
More questions you can ask to members of our Facebook community –

Calum MacLeod |

Jeremy Smith |

Proceed with a fast and secure checkout. An Endurance “PRO” laser modules. Ultra reliable.

Stay updated with Endurance newsletter.
I have read and agree with the Endurance privacy policy