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

    Retract from specific tool if not selected

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    6
    13
    517
    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.
    • Danalundefined
      Danal
      last edited by

      As mentioned, this is the very reason that tool change macros are separate per tool.

      Delta / Kossel printer fanatic

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @CJ.BRAVO
        last edited by

        @CJ-BRAVO said in Retract from specific tool if not selected:

        I've got several tools(extruders) that have different steps from each other.

        I usually run my gcode file and press PAUSE which retracts:
        "G1 E-10 F3600 ; retract 10mm of filament"

        My issue is that each tool I'd like to have certain amount of retractions and speeds.

        Can I select specific tool to retract while in PAUSE?
        Let's say tool 1 is selected in the file thats running and it needs "E-100 F6000" and tool 2 which will need "E-500 F8000". I don't want to change the PAUSE file each time I have a different tool.

        Ideas?

        Use the conditional GCode facilities of RRF 3.01.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        CJ.BRAVOundefined 1 Reply Last reply Reply Quote 0
        • CJ.BRAVOundefined
          CJ.BRAVO @dc42
          last edited by

          @dc42

          I using duet 2.

          RRF 3 is only for DUET 3, correct?

          deckingmanundefined 1 Reply Last reply Reply Quote 0
          • deckingmanundefined
            deckingman @CJ.BRAVO
            last edited by

            @CJ-BRAVO said in Retract from specific tool if not selected:

            @dc42

            I using duet 2.

            RRF 3 is only for DUET 3, correct?

            No. (but in any case, you don't need RRF3 to use the tool change macros which, IMO Iis the easiest way to achieve what you want to do).

            Ian
            https://somei3deas.wordpress.com/
            https://www.youtube.com/@deckingman

            1 Reply Last reply Reply Quote 0
            • zerspaner_gerdundefined
              zerspaner_gerd @CJ.BRAVO
              last edited by

              @deckingman said in Retract from specific tool if not selected:

              No. (but in any case, you don't need RRF3 to use the tool change macros which, IMO Iis the easiest way to achieve what you want to do).

              No tool change macros are executed during the pause

              @CJ-BRAVO said in Retract from specific tool if not selected:

              Can I select specific tool to retract while in PAUSE?

              Board: Duet WiFi 1.03 | Firmware Version: 3.1.1 | WiFi Server Version: 1.23 | Web Interface Version: 3.1.1

              deckingmanundefined 1 Reply Last reply Reply Quote 0
              • deckingmanundefined
                deckingman @zerspaner_gerd
                last edited by

                @zerspaner_gerd True. But using the tool change macros is a better way to achieve what he wants to do than using pause.

                Ian
                https://somei3deas.wordpress.com/
                https://www.youtube.com/@deckingman

                CJ.BRAVOundefined 1 Reply Last reply Reply Quote 0
                • CJ.BRAVOundefined
                  CJ.BRAVO @deckingman
                  last edited by

                  @deckingman

                  My initial issue is that I do want to pause the job and have a retraction - with any tool (which have different steps).
                  So does the tool change macro work? Maybe just I'll write a new pause macro?

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by dc42

                    Two solutions:

                    1. Use T-1 in the pause.g file to deselect the tool, so that it runs the tfree file. Then use T R1 in resume.g to reselect it.
                    2. Use RRF 3 with conditional GCode in pause.g.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • CJ.BRAVOundefined
                      CJ.BRAVO
                      last edited by

                      hmm..

                      I am leaning towards RRF3...
                      Where should I goto for some conditional GCode in RRF 3.01 lessons?

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @CJ.BRAVO
                        last edited by

                        @CJ-BRAVO said in Retract from specific tool if not selected:

                        hmm..

                        I am leaning towards RRF3...
                        Where should I goto for some conditional GCode in RRF 3.01 lessons?

                        https://duet3d.dozuki.com/Wiki/GCode_Meta_Commands

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        1 Reply Last reply Reply Quote 0
                        • SteveYYCundefined
                          SteveYYC
                          last edited by SteveYYC

                          If you don't want to use conditional processing (or upgrade to RRF3):

                          You could set your firmware retract for the tool in the tool change macro (ie tpostn.g for tool n):

                          M207 S-10  F3600 ; retract 10 mm
                          

                          then use G10/G11 firmware retracts in the pause command

                          G10 ; retract the filament by a tool-specific amount
                          
                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA