Laser
This page explains the four laser commands and how to check the MASSO laser output with a multimeter. For laser setup, see Laser Quick Start.
1. Laser commands
M3 – enable with motion
M3 takes an S value for laser power, from 0 (off) to 1000 (full power). M3 doesn't turn the laser on by itself: M3 S500 enables the output at 50% and the next move turns the laser on.
M3 S500 G1 X10 F2000 (laser on at 50% while moving to X10) G1 Y10 F2000 S200 (move to Y10 at 20% power)
Each move can carry its own S value, so power can change on every move – this is how greyscale photo engraving works. Dithered images use the same idea, switching between one power level and S0 to make a pattern of dots:
G1 X10 S700 X10.1 S0 X10.2 S700
M5 – turn off
During engraving, turn the laser off with S0, not M5. Use M5 at the end of the file.
M3 S0 G0 X0 Y0 G1 X10 F2000 S800
M4 – turn on immediately
M4 is useful for aligning the laser or testing an installation. For example, M4 S20 turns the laser on immediately at 2%. In a program it can be followed by a G04 dwell, for example to pre-heat a spot before welding or to pierce before cutting.
Overscanning
When engraving photos, the ends of each pass can burn darker because the axis is still accelerating or decelerating while the laser is on. Overscanning in your laser software fixes this: the laser turns off before the axis slows down, and turns on again only once it's back at full speed. 2–3 mm (0.08–0.12 in) of overscan is usually enough. Overscanning can't be used for line drawings, text or welding – use power ramping instead.
G200 Q – power ramping
On line drawings the laser slows at corners and arcs, which burns more. When welding, slowing at constant power can burn through. Power ramping links laser power to axis speed: if the axis slows by 50%, power drops by 50%. Q sets the minimum power it will drop to – Q0 is usual for engraving; for welding a minimum such as 10% may suit.
2. Testing the laser output
If you get these results, MASSO is working correctly and the problem is with the laser. If not, repeat the tests with the laser disconnected from MASSO, to rule out the laser loading the output.