Jump to content
Ultimaker Community of 3D Printing Experts

G-Code to set 2nd Extruder Temp


Recommended Posts

Posted · G-Code to set 2nd Extruder Temp

I believe you just specify the T parameter for the M104/M109 command, T0 being extruder nr1 and T1 being extruder nr2...

M104 S200 T0 ; set 1st extruder temp to 200, don't wait for preheat

M109 S200 T1 ; set 2nd extruder temp to 200 deg, wait wait for preheating

But you may need to send tool change first with M6, or change gcode to address extruder via A/B axis. I am not sure which one Ultimaker / Marlin supports.

M6 T1 ; change to 2nd extruder

G1 E10 ; extrude 10mm from 2nd extruder

M6 T0 ; change to 1st extruder

G1 E10 ; extrude 10mm from 1st extruder

- or -

G1 A10 ; extrude 10mm from 1st extruder

G1 B10 ; extrude 10mm from 2nd extruder

I don't know which is correct, it shouldn't hurt anything to test via console, but I can't be responsible if you break your Ultimaker. :)

Either way you would likely need slicer support for dual extrusion, or handroll your gcode. I believe the development version of Cura has some support coming for this, hopefully Daid can provide some more info.

  • Link to post
    Share on other sites

    Posted · G-Code to set 2nd Extruder Temp

    Cura already has dual-extrusion support for 2 versions now.

    The "G1 A10" won't work, only the E and switching with T are implemented. Which is a bit of a shame, as the A/B method could control extruders at the same time.

  • 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

      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 13 replies
    • Create New...