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

Retract from specific tool if not selected

Scheduled Pinned Locked Moved
Tuning and tweaking
6
13
516
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.
  • undefined
    CJ.BRAVO
    last edited by 30 Jan 2020, 11:39

    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?

    undefined undefined undefined 3 Replies Last reply 30 Jan 2020, 11:45 Reply Quote 0
    • undefined
      deckingman @CJ.BRAVO
      last edited by 30 Jan 2020, 11:45

      @CJ-BRAVO Why not use the tool change macro files https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Tool_change_files?

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

      1 Reply Last reply Reply Quote 0
      • undefined
        Danal
        last edited by 30 Jan 2020, 12:08

        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
        • undefined
          dc42 administrators @CJ.BRAVO
          last edited by 30 Jan 2020, 12:50

          @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

          undefined 1 Reply Last reply 2 Feb 2020, 11:24 Reply Quote 0
          • undefined
            CJ.BRAVO @dc42
            last edited by 2 Feb 2020, 11:24

            @dc42

            I using duet 2.

            RRF 3 is only for DUET 3, correct?

            undefined 1 Reply Last reply 2 Feb 2020, 11:58 Reply Quote 0
            • undefined
              deckingman @CJ.BRAVO
              last edited by 2 Feb 2020, 11:58

              @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
              • undefined
                zerspaner_gerd @CJ.BRAVO
                last edited by 2 Feb 2020, 23:30

                @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

                undefined 1 Reply Last reply 3 Feb 2020, 06:36 Reply Quote 0
                • undefined
                  deckingman @zerspaner_gerd
                  last edited by 3 Feb 2020, 06:36

                  @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

                  undefined 1 Reply Last reply 3 Feb 2020, 08:17 Reply Quote 0
                  • undefined
                    CJ.BRAVO @deckingman
                    last edited by 3 Feb 2020, 08:17

                    @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
                    • undefined
                      dc42 administrators
                      last edited by dc42 2 Mar 2020, 08:21 3 Feb 2020, 08:21

                      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
                      • undefined
                        CJ.BRAVO
                        last edited by 3 Feb 2020, 08:56

                        hmm..

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

                        undefined 1 Reply Last reply 3 Feb 2020, 09:17 Reply Quote 0
                        • undefined
                          dc42 administrators @CJ.BRAVO
                          last edited by 3 Feb 2020, 09:17

                          @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
                          • undefined
                            SteveYYC
                            last edited by SteveYYC 2 Apr 2020, 23:50 3 Feb 2020, 14:03

                            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
                            10 out of 13
                            • First post
                              10/13
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA