Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to Setting up to resume a print after a power failure

David Crocker

-'''These instructions relate to RepRapFirmware 1.20.''' The auto-save facility was first introduced in version 1.19, however improvements in 1.20 necessitated changes to the configuration mechanism.
+'''These instructions relate to RepRapFirmware 1.20 and later (including RRF 2.x and 3.x).''' The auto-save facility was first introduced in version 1.19, however improvements in 1.20 necessitated changes to the configuration mechanism.
== Overview ==
* After the power is restored, you can use command M916 to resume the print from where it stopped. This command runs file '''sys/resurrect.g''' which calls '''sys/resurrect-prologue.g''' at an appropriate point to home the printer
-== Configuring auto-pause ==
+== Configuring low power automatic pause and save ==
-Use the [[Gcode#Section_M911_Configure_auto_save_on_loss_of_power|M911 command]]. Example for a 24V Cartesian printer:
+Use a [[Gcode#Section_M911_Configure_auto_save_on_loss_of_power|M911 command]] in your configg file. Example of this for a 24V Cartesian printer:
[code]M911 S21.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"[/code]
-In this example, the power fail procedure is execute if VIN drops below 21.0V. It does the following:
+In this example, the power fail procedure is execute if VIN drops below 21.0V. The quoted string is the command that is executed when low power is detected. In this example it does the following:
* Set X and Y motors to zero current (M913 X0 Y0). This is to make the power last longer. Don't do this on a delta printer. Important: use M913, not M906. This is because M906 won't execute until all queued moves have been completed, whereas M913 will execute immediately.
* If your power fail procedure in the M911 command retracts filament and your printer has a single nozzle, you may wish to undo the retraction.
-Example for a delta printer:
+Example resurrect-prologue.g file for a delta printer:
[code]
[/code]
-Example for a Cartesian or CoreXY printer using recent firmware (G92 command included in resurrect.g):
+Example resurrect-prologue.g file for a Cartesian or CoreXY printer using recent firmware (G92 command included in resurrect.g):
[code]

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

Revert Changes