Jump to content

Dual Extruder Start GCode heats both Extruders


AndyK

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

      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
      • Ultimaker Cura 5.6 stable released
        Cura now supports Method series printers!
         
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 48 replies
    ×
    ×
    • Create New...