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

      • Help Us Improve Cura – Join the Ultimaker Research Program
        🚀 Help Shape the Future of Cura and Digital Factory – Join Our Power User Research Program!
        We’re looking for active users of Cura and Digital Factory — across professional and educational use cases — to help us improve the next generation of our tools.
        Our Power User Research Program kicks off with a quick 15-minute interview to learn about your setup and workflows. If selected, you’ll be invited into a small group of users who get early access to features and help us shape the future of 3D printing software.

        🧪 What to Expect:
        A short 15-minute kickoff interview to help us get to know you If selected, bi-monthly research sessions (15–30 minutes) where we’ll test features, review workflows, or gather feedback Occasional invites to try out early prototypes or vote on upcoming improvements
        🎁 What You’ll Get:
         
        Selected participants receive a free 1-year Studio or Classroom license Early access to new features and tools A direct voice in what we build next
        👉 Interested? Please fill out this quick form
        Your feedback helps us make Cura Cloud more powerful, more intuitive, and more aligned with how you actually print and manage your workflow.
        Thanks for being part of the community,

        — The Ultimaker Software Team
        • 0 replies
      • Cura 5.10 stable released!
        The full stable release of Cura 5.10 has arrived, and it brings support for the new Ultimaker S8, as well as new materials and profiles for previously supported UltiMaker printers. Additionally, you can now control your models in Cura using a 3D SpaceMouse and more!
          • Like
        • 18 replies
    ×
    ×
    • Create New...