Jump to content
Ultimaker Community of 3D Printing Experts
  • Sign Up
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

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
Sign in to follow this  

×
×
  • Create New...