Skip to content
This repository has been archived by the owner on Jan 29, 2018. It is now read-only.

Workflow: Use Macro Panel to create Laser Test Fire button

Anthony Bolgar edited this page Jul 31, 2016 · 2 revisions

Courtesy of Superdave42

##LaserWeb Test-Fire Macro Button

This is a clever way to create a “test-Fire” button in the LaserWeb GUI. For a simple way to initiate a very fast pulse at whatever power range you want, follow this quick guide.

We will use the MACRO PANEL within the LaserWeb GUI to create 2 different buttons.

The first button will fire the laser for 1/10 second pulse at 10% power. The second button will fire for the same pulse duration but at 20% power. This way I can now use the GUI to fire a very brief pulse at low enough power to just mark the tape etc.

Step 1: Open LaserWeb GUI and press the Macro Panel icon

Step 2: Pres the Edit icon

Step 3: Press the + icon to add the first button

Step 4: Name your button, then add the function you want the button to have. In this case we are giving a G-CODE to move in the Z AXIS ! ( this is because a G1 command will fire the laser, and by commanding the Z axis to move the laser head itself will not move because it’s only X & Y axis.. Clever trick really.) so to fire at 10% power for 1/10 second you would input G1 Z1 F600 S0.2 You can also choose a color for your new custom button.

Step 5: While we are still here lets add a second button to fire the laser for the same duration but at 20% power.

Step 6: Press the Save icon

Now we have just created two macro commands that are useful. Now you can see 2 buttons when you go into the Macro Panel. This can be used for other functions as well. Use your imagination. These 2 buttons will be helpful for laser alignment in my case.