start-and-end-gcode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
start-and-end-gcode [2019/03/23 04:31] โ€“ [Ending GCode] samuelpinchesstart-and-end-gcode [2019/11/16 13:02] โ€“ samuelpinches
Line 12: Line 12:
   * Set position to zero   * Set position to zero
   * Prime the extruder   * Prime the extruder
-  * Wipe the nozzle on the bed (not enabled by default - you need to add your own commands)+  * Wipe the nozzle on the bed (not enabled by default - you need to add your own commands, see below)
   * Enable [[a5:bed-levelling-probe|auto-bed]] or [[a5:mesh-bed-levelling-routine|mesh-bed levelling]] (if configured)   * Enable [[a5:bed-levelling-probe|auto-bed]] or [[a5:mesh-bed-levelling-routine|mesh-bed levelling]] (if configured)
  
Line 39: Line 39:
   * G92 E0.0 ; reset extruder distance position   * G92 E0.0 ; reset extruder distance position
  
-//Thanks to [[https://www.facebook.com/groups/857364187778691/permalink/981597605355348/?comment_id=981614012020374&comment_tracking=%7B%22tn%22%3A%22R%22%7D|DaHai]] for the wipe script.//+//Thanks to [[https://www.facebook.com/groups/857364187778691/permalink/981597605355348/?comment_id=981614012020374&comment_tracking=%7B%22tn%22%3A%22R%22%7D|DaHai]] for the wipe script. //
 ---- ----
  
Line 48: Line 48:
   * M140 S0; Turn off the bed heater   * M140 S0; Turn off the bed heater
   * M104 S0; Turn off the nozzle heater   * M104 S0; Turn off the nozzle heater
-  * G28 X Y; Home the X and Y axis+  * G28 X; Home the X axis
   * G0 Y280 F600; Bring the bed to the front for easy print removal   * G0 Y280 F600; Bring the bed to the front for easy print removal
   * M84; Turn off the motors   * M84; Turn off the motors
Line 55: Line 55:
  
 //Thanks to Rich Haubert for the suggestion to insert a small filament retraction.// //Thanks to Rich Haubert for the suggestion to insert a small filament retraction.//
 +
 +----
 +
 +=== Wait for Temperature ===
 +Your 3D printer must wait to get to temperature before trying to prime the extruder. Without doing so, it will do nothing but grind the gears on the filament (or crush flexible filament) unless it is still hot enough from a print immediately beforehand. However, the three lines below only have software-specific notation. 
 +
 +**If you are using Cura, then you do not need to add these lines to your start gcode, they are automatically added.** 
 +
 +If you are using Slic3r, then you may want to check that you have the following lines in your start gcode.
 +
 +For Slic3r:
 +    * M190 S[first_layer_bed_temperature] ; Set bed temp.
 +    * M140 S[first_layer_bed_temperature]  ; Wait for bed temp.
 +    * M109 S[first_layer_temperature_0]  ; Wait for all used extruders to reach temperature.
 +
 +For Cura you can add additional wait commands to the start gcode if you want, but note that the format is slightly different [[https://github.com/Ultimaker/Cura/issues/1131#issuecomment-378851858|(See here)]]:
 +    * M190 S{print_bed_temperature} ; Set bed temp.
 +    * M140 S{print_bed_temperature} ; Wait for bed temp.
 +    * M109 S{print_temperature} ; Wait for all used extruders to reach temperature.
 +
 +// Thanks to Poikilos for info on  Wait for temperature.//
 ---- ----
 ==== Links for more info ==== ==== Links for more info ====
start-and-end-gcode.txt ยท Last modified: 2020/12/25 02:13 by 127.0.0.1