Stepcraft Laser Upgrade with PLH3D-Series Lasers - Using G-Code Generator
To cut or engrave, it is necessary to generate the appropriate G-code that using the following commands:
M10 |
Laser ON |
M11 |
Laser OFF |
QXXX |
PWM duty where XXX is number between 0 and 255 (e.g.: 0 = 0% and 255 = 100%) |
To see an example of G-code, please refer to Appendix 1: G-Code Example.
Generating G-code
The easiest way to generate proper G-code is to use our software: Generator.
- You will need DXF file from which you will generate G-code.
- In G-CODE Settings, you have to set Stepcraft as G-CODE Profile
- In Tools set 0 as Focus Distance
- Set parameters in DXF / Settings / Parameters (set Material thickness as 0 if you want to engrave) and click Open DXF file to load the DXF file.
- Click Generate G-Code and save it.
- Now, you can load the generated G-code in UCCNC software and begin using the laser.