Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to M25

Harald Wagener (oliof)

[title|M25]
+
+[summary]Pause SD Print[/summary]
-==== M25: Pause SD print ====
+==== M25: Pause SD Print ====
***Example***
* M25
-The machine pauses printing at the current position within the file. To resume printing, use [[Gcode#Section_M24_Start_resume_SD_print|M24]]. Do not use this code to pause the print in the currently printing G-code file, use [[Gcode#Section_M226_Synchronous_Pause|M226]] instead. M226 is intended for use in the GCode file being printed, for example to pause after a particular layer has completed. So it waits until all the moves in the queue have been completed. M25 is intended for use from a different source of GCodes than the current print from SD card (like the web interface console, PanelDue or Macro).
+The machine pauses printing at the current position within the file. To resume printing, use [[M24]]. Do not use this code to pause the print in the currently printing G-code file, use [[M226]] instead. [[M226]] is intended for use in the GCode file being printed, for example to pause after a particular layer has completed. So it waits until all the moves in the queue have been completed. M25 is intended for use from a different source of GCodes than the current print from SD card (like the web interface console, PanelDue or Macro).
M25 attempts to execute as quickly as possible and follows the following logic:
That means the longest it will take to pause is 1 move+2 seconds. In most situations pause occurs much quicker than that.
-After movement is halted as described above but prior to the pause operation completing, the macro file ***pause.g*** is run. This allows the head to be moved away from the print, filament to be retracted, etc.
+After movement is halted as described above but prior to the pause operation completing, the macro file ***sys/pause.g*** is run. This allows the head to be moved away from the print, filament to be retracted, etc.

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

Revert Changes