Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Why does my Toolchange not work?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    570
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AS-3D Druckundefined
      AS-3D Druck
      last edited by

      Hey Guys,

      i've found a Toolchange Script for a 2 Extruder to 1 Hotend Solution and tweaked it a bit that it works better on my Printer. (Only a few Delays and extrusion lenght)
      If i use that gcode it don't select T1 (if we are first on T0).
      It only uses 1 Extruder.

      Here is it:

      [[language]]
      T[old_tool] ; use the current Tool
      G92E0 ; zero extrusion lenght
      G1 E-10 F2800 ; retract the filament from melting zone
      G92E0 ; zero extrusion lenght
      G1 X20 Y20 F3000 ;move the hotend to bed edges or corners to finish the filament swap job. normally over the prim pillar is ideal
      G4 S20 ;wait for X seconds to reduce the filament stringing
      G1 E-112 F2800 ; retract the filament cross the intersection back to the its own tube waiting for the Gcode summon. distance is depending on your hardware setup
      G92E0 ; zero extrusion lenght
      
      M400
      
      T[new_tool] ; use the next Tool
      G92 E0 ; zero extrusion lenght
      G1 E45 F1500 ; extrude 45mm in to the Hotend from the Splitter
      G4 S2 wait 2 Seconds
      G1 E15 F1500 ; extrude 15mm and pass the Hotend
      G4 S1 ; wait 1 Second
      G1 E62 F1500 ;extrude the new selected filament to the nozzle 
      G92 E0 ; zero extrusion lenght
      
      M400
      
      

      Any Idea what

      Best regards
      AS-3D Druck / Andre

      1 Reply Last reply Reply Quote 0
      • AS-3D Druckundefined
        AS-3D Druck
        last edited by

        I got the now.
        The Toolchange needs to be sliced and cann not be executed by a Macro.

        Best regards
        AS-3D Druck / Andre

        1 Reply Last reply Reply Quote 0
        • fmaundefined
          fma
          last edited by

          You can also use tpre_.g and tpost_.g (and tfree_.g) macros (where _ is the num of the tool) to execute G-Codes before a tool is selected, after it is selected, and when it is released.

          Frédéric

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA