Jump to content
Sign in to follow this  
3dtopo

G-Code to set 2nd Extruder Temp

Recommended Posts

Posted · G-Code to set 2nd Extruder Temp

Greetings,

Can anyone please tell me how to what g-code I would use to set the 2nd extruder temperature?

Thanks!

Share this post


Link to post
Share on other sites
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.

Share this post


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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Our picks

    • Ultimaker Cura 4.0 | Stable available!
      Ultimaker Cura 4.0 is mainly focused on the improved user interface and cloud integration.
      As always, we want to collect your user feedback for this release. If there are any improvements you can think of, feel free to mention it here and help us to shape the next release.
      • 98 replies
×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!