Skip to main content
WARNING! From February 2022, these pages are no longer maintained.
Please see the current Duet3D documentation at https://docs.duet3d.com/
Help

Revision to M0

Ian A-S

[title|M0]
-
-[summary]M0: Stop or Unconditional stop[/summary]
-=== Parameters ===
+==== M0: Stop or Unconditional stop ====
+
+***Parameters***
* ''This command can be used without any additional parameters.''
-* '''Hnnn''' Keep heaters on
+* ***Hnnn*** Keep heaters on
-=== Example ===
+***Example***
* M0
# The firmware finishes any moves left in its buffer.
-# '''Either''': if the axes are homed and if a print is being cancelled (M25), it executes the macro file '''cancel.g''' if present.[br]
-'''Or''': if M0 is sent at any other time, '''stop.g''' is run if present.
+# ***Either***: if the axes are homed and if a print is being cancelled (M25), it executes the macro file ***cancel.g*** if present.[br]
+***Or***: if M0 is sent at any other time, ***stop.g*** is run if present.
# All motors are put into idle mode.
-# If no H1 parameter is present, the heaters are turned off too.
+# If there is no stop.g or cancel.g file (as appropriate) then all heaters are turned off too. In RRF versions prior to 3.4 you can prevent heaters being turned off using parameter H1.
See also M1, M112.

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes