thinkyhead shitcreek

M3 - Spindle CW / Laser On

1.1.2 control Set the spindle CW speed or laser power SPINDLE_LASER_ENABLE

Description

Wait for moves to complete, then set the spindle speed (clockwise) or laser power.

Notes

S is interpeted as the configured value range: PWM (default), Percentage, or RPM. (See CUTTER_POWER_UNIT)

M3 and M4 aren’t needed with LASER_POWER_INLINE and LASER_MOVE_POWER enabled. Power is set directly in G1G5

Usage

M3 [I<mode>] [O<power>] [S<power>]

Parameters

[I<mode>]

Inline mode ON / OFF.

[O<power>]

Spindle speed or laser power in PWM 0-255 value range

[S<power>]

Spindle speed or laser power in the configured value range (see CUTTER_POWER_DISPLAY). (PWM 0-255 by default)