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

CommandWhat it does
M3 SxxxEnables the laser; it fires with the next move.
M4 SxxxTurns the laser on immediately.
M5Turns the laser off.
G200 QxxxPower ramping.

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.

TIP
Start each laser file with M3 S0. The laser is enabled at zero power, so it doesn't mark the material on the rapid move to the start point. The first engraving move then sets the power.
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.

INFORMATION
The Laser button on the F2 screen doesn't light up in M4 mode.

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

Software
V5.13 or later
Equipment
Multimeter, DC volts
Readings
Below 5 V
1
Connect the black meter lead to one of the black terminals between TTL Outputs 12 and 13.
2
Connect the red meter lead to TTL Output 11.
3
In MDI, enter T111 M6.
4
Run each MDI command below and note the reading.
TestMDI commandLaser disconnectedLaser connected
1M4 S1000About 4.6 VA little lower, e.g. 3.6 V
2M4 S500About 2.3 VHalf of test 1, e.g. 1.8 V
3M4 S00 V0 V
TestWhat it shows
1The pulse voltage MASSO sends to the laser; at S1000 the output is on continuously. It must be high enough to turn your laser on – most diode lasers need at least 2.8 V. Check your laser manual.
2Reads lower because a multimeter shows the average of the PWM signal. At 50% duty cycle, 2.3 V average means the pulses are still 4.6 V.

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.