Jump to content
Ultimaker Community of 3D Printing Experts

Dual Extruder - random M104 Commands


MachuRoberts
 Share

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

  • 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.

  • 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

     

  • 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
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        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
        • 11 replies
    ×
    ×
    • Create New...