Firmware Configuration

Using the WorkBee PLH3D Mount and Magnetic Docking Station makes connecting the laser head effortless, but also decreases the available workspace slightly. To prevent damage to the laser head mount, it is necessary to set the X-axis minimum to 25mm.

  1. Start WorkBee Control. In File Management/System open config.g.

WorkBee Firmware Configuration for Laser Engraving

  1. Copy the G-code line that sets the axis minimum.

G-Code Line Set at WorkBee

  1. Close config.g without saving and open customconfig.g.

Custom Configurations for WorkBee

  1. Paste the copied command and change the X value to 25. Save changes.

Limiting X-Axis at WorkBee

Now, your X-axis minimum is limited to 25 mm (in machine coordinates). Remember this when the laser is not in use. Set working coordinates only when the machine position in the X-axis is equal or higher than 25.

When a PLH3D-6W laser head is mounted, an additional 50mm in the X-axis has to be added. So the minimum limit in this axis will be 75mm.

Generating G-code

To cut or engrave, it is necessary to generate the appropriate G-code using the following commands:

M307 H3 A-1 C-1 D-1

Disable Heater output on pin #8 (HEATER3)

M452 P3 R255 S1 F1000

Enable Laser mode on output 3 (HEATER3), with max PWM value 255, laser power (S parameter) is sticky across G1 commands and a PWM frequency is 1000


Laser ON


Laser OFF


PWM duty where XXX is number between 0 and 255 (e.g.: 0 = 0% and 255 = 100%)

The first three commands should be placed at the beginning of the G-code file (in the header). The fourth command should be at the end of file (in the footer). The ā€œSā€ command has to be at least in every line where laser power is being changed (except G0 lines, because G0 automatically turns off laser).  To see a G-code example, please refer to Appendix 1.