Appendix 2. G-Code Example for RRF 3.0+ - Ooznest WorkBee Laser Upgrade
;(Header)
M5
M452 C"!exp.heater3" R255 S1 F1000 ; laser uses heater3 pin, max PWM value 255, PWM frequency 1kHz
G0 X0 Y0
G90 ; absolute positions
G21 ; metric
M3 S0
;(Header end)
G0 X0.0000 Y42.5000 Z0.0000 F10000 S0
G1 X85.0000 F1000 S255
G0 X42.5000 Y0.0000 F10000 S0
G1 Y85.0000 F1000 S255
G0 X22.5000 Y42.5000 F10000 S0
G3 X62.5000 I20.0000 J0.0000 F1000 S255
G3 X22.5000 I-20.0000 J0.0000 S255
G0 X2.5000 F10000 S0
G3 X82.5000 I40.0000 J0.0000 F1000 S255
G3 X2.5000 I-40.0000 J0.0000 S255
G0 X0.0000 Y0.0000 F10000 S0
;(Footer)
M5
G90
G0 X0 Y0
;(Footer end)