Jump to content

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

T0

; - End Extruder 0 Start G Code -

 

; - Start Extruder 1 Start G Code

;Switch to Extruder 1

T1

; - End Extruder 1 Start G Code -

 

But I have no Extruder End G Code

 

Any help would be appreciated.

 

Thanks.

 

 

 

 

 

 

 

 

  • 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

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...