Jump to content
Ultimaker Community of 3D Printing Experts
  • Sign Up

Dual Extruder Start GCode heats both Extruders

Recommended Posts

Posted · Dual Extruder Start GCode heats both Extruders

I have a Replicator 2X that I have recently moved over to the world of Cura.

After reading many of the threads here and abroad, I put together a start GCode script for a two extruder printer

I was able to create the configuration file so that it could be pulled up in Cura just like any other printer.


However, I am having a challenge with the start script (and probably the extruder script)


My start script is below:


; **** Replicator 2X start.gcode ****

M73 P0 ; enable build progress

G162 X Y F3000 ; home XY maximum

G161 Z F1200 ; home Z minimum

G92 X0 Y0 Z-5 A0 B0 ; set Z to -5

G1 Z0 ; move Z to 0

G161 Z F100 ; home Z slowly

M132 X Y Z A B ; recall home offsets

M135 T0 ; load right extruder offsets

G1 X-130 Y-75 Z30 F9000 ; move to wait position off table

G130 X20 Y20 Z20 A20 B20 ; lower stepper Vrefs while heating

;M126 S[fan_speed_pwm]

M140 S{material_bed_temperature, 0} T0

M134 T0 ; stabilize bed temperature

M104 S{material_print_temperature, 0} T0

M104 S{material_print_temperature, 1} T1

M133 T0 ; stabilize extruder temperature

M133 T1 ; stabilize extruder temperature


G130 X127 Y127 Z40 A127 B127 ; default stepper Vrefs

G92 A0 B0 ; zero extruders

G1 Z0.4 ; position nozzle

G1 E25 F300 ; purge nozzle

G1 X-125 Y-70 Z0.15 F1200 ; slow wipe

G1 X-120 Y-65 Z0.5 F1200 ; lift

G92 A0 B0 ; zero extruders

M73 P1 ;@body (notify GPX body has started)

; **** end of start.gcode ****


You will notice that both extruders are heated.

I would like to be able to load a different material in each extruder and then chose at build time which material to extrude.

How do I write the code so that only the active extruder is heated if its a single extruder build, or both extruders are heated if its a dual extruder build?


Similarly, what does the code look like for each extruder?

Presently I have:

; - Start Extruder 0 Start G Code

;Switch to Extruder 0


; - End Extruder 0 Start G Code -


; - Start Extruder 1 Start G Code

;Switch to Extruder 1


; - End Extruder 1 Start G Code -


But I have no Extruder End G Code


Any help would be appreciated.











Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Our picks

    • Talking additive | The 3D printing podcast
      Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
        • Like
      • 2 replies
    • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
      Save your seat for either broadcast on September 23.
      What will you learn?
      · Best practices for iterative print preparation and every lesson you should learn from each print
      · The right way to use per-object settings and when they are most useful
      · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
      · How to optimize print profile settings and whether to “keep” or “discard” changes
      · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
      · And a whole lot more tips and tricks!
      How can I join?
      This free masterclass will take place twice:
      1. 11am CEST (5pm SGT, 5am EDT)
      2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
        • Like
      • 0 replies
    • Do you use 3D printing at work? Let us know
      It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
      • 1 reply
  • Create New...