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


M104 S0

Set hotend temperature to 0

M140 S0

Set bed temperature to 0

G28 W

Auto home (without mesh bed leveling)

G92 X0 Y-86 Z-45

Offset to Y=-86 Z=-45. This way laser spot will be at the place when normally hotend was.


Print cooling fan off (disable laser)

G0 X0 Y0 Z0  F2000

After this command is done, material can be put on bed and laser can be connected to cut/engrave

M0 Click to continue

Wait until user push the button

Before every G0, G1 commands


Laser ON


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



Print cooling fan off (disable laser)

G92 X0 Y0 Z0

Reset selected workspace

To see an example of G-code, please refer to Appendix 1.