--- tag: m0005 title: Spindle / Laser Off brief: Turn off spindle or laser author: thinkyhead contrib: shitcreek since: 1.1.2 requires: SPINDLE_LASER_ENABLE related: [ M3, M4 ] group: control codes: [ M5 ] notes: - '[`G0`](/docs/gcode/G000-G001.html) and [`G28`](/docs/gcode/G028.html) will also turn the laser off' parameters: examples: - pre: Turn off the spindle or laser code: M5 --- Wait for moves to complete, then turn off the spindle / laser power and PWM.