Jump to content

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

      • UltiMaker Cura 5.9 stable released!
        Here comes Cura 5.9 and in this stable release we have lots of material and printer profiles for UltiMaker printers, including the newly released Sketch Sprint. Additionally, scarf seams have been introduced alongside even more print settings and improvements.  Check out the rest of this article to find out the details on all of that and more
          • Like
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Heart
          • Thanks
          • Like
        • 4 replies
    ×
    ×
    • Create New...