You need to log in to create posts and topics.

Test fire Switch Macro for Light Burn

Instead of a physical three way switch or using the tiny test button on the laser power supply PCB, you can actually set up a macro in LightBurn that switches the controller to cnc mode which allows a timed test fire while the gantry is stationary.

Right click on the macro and enter a name and populate it with the $ settings and G-code commands as following (without the commentary):

$32=0 (to cnc mode)

S200 (strength 4 mA)

M3 (or M4 to switch on the LO connection)

G4 P1000 (or longer, dwell or pause command)

M5 (switch LO off)

$32=1 (restore to laser mode)

So when you click on the macro, it test fires for 1 sec which leaves a mark on the tape that you use to cover a mirror (don't touch it to the mirror surface but onto the rim). Start from 1st mirror at the tube and move toward the end (gantry). Adjust the mirrors and repeat across four corners of the laser. It's tedious and it can take a few hours to get a good alignment across all four corners.

Note: If you cannot align the dots on each mirror but got a misalignment of a millimeter don't worry too much, it will work well in practice. Anything more out of alignment indicates of a skewed gantry which can be solved by shims, washers or partly rebuilds...


Uploaded files:
  • Macro2.PNG
Cheers, Paul awesome.tech

Forum Registration