Tag Archives: Cocoon Create

Super-Efficient Start G-Code for Wanhao i3

Here’s the most time-efficient start G-code I’ve come up with so far.

  • The bed and nozzle heat up at the same time, but the bed has a 50°C head start so that they reach target temperature at around the same time.
    • (The Wanhao Duplicator i3’s power supply handles this just fine.)
    • I use 220°C nozzle and 70°C bed for my PLA initial layers. You can change that S50 to something else to fit your temperature settings.
  • The axes are homed during heating.
  • This way, no time at all is wasted and the print starts the fastest.
  • Use a skirt because this start G-code does not include its own nozzle priming.
M190 S50 ;wait for 50C bed temp
M107 ;start with the fan off
M104 S{material_print_temperature_layer_0} ;set extruder temp
M140 S{material_bed_temperature_layer_0} ;set bed temp
G21 ;metric values
G90 ;absolute positioning
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G92 E0 ;zero the extruded length
M109 ;wait for extruder temp
M190 ;wait for bed temp

This G-code is written for the Wanhao i3, in the Repetier flavor, but you can probably use it with little to no modification on other systems. If you know how to use a subtract operator on that “material_bed_temperature_layer_0”, please show us how in the comments. Thanks!

Changelog:

Aug 11, 2017: Added the zero extruder command that I forgot earlier.