Related codes:
Описание
Wait for moves to complete, then set the spindle speed (counter-clockwise) or laser power.
Примечание
S is interpeted as the configured value range: PWM (default), Percentage, or RPM. (See CUTTER_POWER_UNIT)
and
aren’t needed with LASER_POWER_INLINE and LASER_MOVE_POWER enabled. Power is set directly in
…
Использование
M4 [I<mode>]
Параметры
[I<mode>]
Inline mode ON / OFF.
Примеры
Set spindle rotation counter-clockwise at 50% with CUTTER_POWER_UNIT set to PERCENT
M4 S50
Set spindle rotation counter-clockwise at 50% with CUTTER_POWER_UNIT set to PWM
M4 S128
Set spindle rotation counter-clockwise at 80% in PWM
M4 O204
Turn on the laser at full / SPEED_POWER_STARTUP power
M4
Fire laser at 80% on next G1,G2 and G3 move
M4 S204 I