Jump to content
Ultimaker Community of 3D Printing Experts

Dual Extruder - random M104 Commands


Recommended Posts

Posted · Dual Extruder - random M104 Commands

Hi Team! new to the forum, using Cura for a while.

Recently did a dual extruder upgrade - no matter how i seem to slice the file i am getting Gcode with random M104 commands to change the temperature throughout the print which is really screwing things up. For the life of me i cannot figure out where in my settings i am telling the temperature to change.

Trying to do a calibration cube (2 color)

loaded both models

assigned an extruder to each

merged the models

went through the settings for both extruders to make sure they are identical - and i get garbage Gcode (attached).

i have also tried merging then undoing to allow to control the "per model settings". same result

Tried on 3.4.1 and 3.3.1 same result which leads me to think its me!

CFDMP_20mm_Cube_B.gcode

  • Share this post


    Link to post
    Share on other sites
    Posted · Dual Extruder - random M104 Commands

    Please keep in mind your printer has two extruders and each of them has the temperature settings. If you want to set everything to the same temperature (maybe it's good to have the standby temperature a bit lower in order to avoid oozing?), don't forget the second extruder.

  • Share this post


    Link to post
    Share on other sites
    • 8 months later...
    Posted · Dual Extruder - random M104 Commands

    I'm experiencing the same problem, but only when using versions 3.6 and higher. The problem can be avoided if all the temps are set equal. However, it would be better if Cura would reactivate the current extruder after setting the previous one to standby temp. That can be done using the same command but using T1 instead of T0, if the current extruder is T1. For example, turn this:

     

    M82 ;absolute extrusion mode
    ; tool end script
    G92 E0
    G1 E-6 F10000    ; retract to prevent stringing
    ;G91        ; switch to relative positioning
    ;G1 Z1        ; travel +1 on z
    G90        ; switch to absolute positioning
    M82        ; ensure e is absolutely positioned
    G1 X24 Y15 {travel_speed}    ; move to 10 0
    ;G92 E0
    ;G1 E6 F2000    ; undo retract
    ;G92 E0
    ;G1 E-5 F2000    ; stage 1 of 3 stage retraction
    ;G92 E0
    ;G1 E2 F2000    ; stage 2
    G92 E0
    G1 E-58 F3000    ; stage 3, this keeps from producing "hair"
    G92 E0
    M83 ;relative extrusion mode
    T1
    M82 ;absolute extrusion mode
    ; tool start script
    G92 E0
    G1 E59.5 F2000                ; return - 1 to keep nozzle from oozing
    G92 E0
    M83 ;relative extrusion mode
    M104 T0 S170

     

    into this:

     

    M82 ;absolute extrusion mode
    ; tool end script
    G92 E0
    G1 E-6 F10000    ; retract to prevent stringing
    ;G91        ; switch to relative positioning
    ;G1 Z1        ; travel +1 on z
    G90        ; switch to absolute positioning
    M82        ; ensure e is absolutely positioned
    G1 X24 Y15 {travel_speed}    ; move to 10 0
    ;G92 E0
    ;G1 E6 F2000    ; undo retract
    ;G92 E0
    ;G1 E-5 F2000    ; stage 1 of 3 stage retraction
    ;G92 E0
    ;G1 E2 F2000    ; stage 2
    G92 E0
    G1 E-58 F3000    ; stage 3, this keeps from producing "hair"
    G92 E0
    M83 ;relative extrusion mode
    T1
    M82 ;absolute extrusion mode
    ; tool start script
    G92 E0
    G1 E59.5 F2000                ; return - 1 to keep nozzle from oozing
    G92 E0
    M83 ;relative extrusion mode
    M104 T0 S170

    M104 T1 S200

     

  • 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
    • Our picks

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
         
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    ×
    ×
    • Create New...