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

    Probe center of hole?

    Scheduled Pinned Locked Moved
    CNC
    6
    19
    1.5k
    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.
    • rziundefined
      rzi
      last edited by

      I'm using the duet for my Workbee CNC. On my other cnc machine, a GRBL driven Sourcerabbit mill, I'm able to probe the center of a hole. Very useful for my custom fixtures and in many other cases.

      I'm not sure how to make a macro for the duet that can probe the center of a hole as there is no way to use variables in duet macros .

      Maybe I'm missing something basic?

      Any advice is welcome.

      Cheers
      Rickard

      1 Reply Last reply Reply Quote 0
      • gtj0undefined
        gtj0
        last edited by

        I have absolutely NO CNC experience but does this help at all...

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M675_Find_center_of_cavity

        1 Reply Last reply Reply Quote 0
        • rziundefined
          rzi
          last edited by

          Yes, it seems to be exactly what I'm looking for. Off to the workshop to test.

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

            M-codes 673, 674 and 675 are not implemented in standard RepRapFirmware. I don't know who added them to the GCodes wiki page.

            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

            wilrikerundefined gtj0undefined 2 Replies Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              While we wait for potential support for G38.x this is what is suggested, but I can't say I've tried it for your use:

              https://duet3d.dozuki.com/Wiki/Gcode#Section_M585_Probe_Tool

              1 Reply Last reply Reply Quote 0
              • wilrikerundefined
                wilriker @dc42
                last edited by wilriker

                @dc42 said in Probe center of hole?:

                M-codes 673, 674 and 675 are not implemented in standard RepRapFirmware. I don't know who added them to the GCodes wiki page.

                @chrishamm and me both have a (very similar) implementation for M675. His is in his v2-chrishamm branch and I could provide a PR within minutes right away.

                Manuel
                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                with probably always latest firmware/DWC (incl. betas or self-compiled)
                My Tool Collection

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

                  @wilriker said in Probe center of hole?:

                  @dc42 said in Probe center of hole?:

                  M-codes 673, 674 and 675 are not implemented in standard RepRapFirmware. I don't know who added them to the GCodes wiki page.

                  @chrishamm and me both have a (very similar) implementation for M675. His is in his v2-chrishamm branch and I could provide a PR within minutes right away.

                  Please can you and chrishamm agree on a single implementation.

                  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

                  wilrikerundefined 1 Reply Last reply Reply Quote 0
                  • wilrikerundefined
                    wilriker @dc42
                    last edited by wilriker

                    @dc42 I checked his implementation against mine and the only difference is that mine uses existing helper functions to simplify code and adds some errors for missing parameters. Since we implemented it for the same reason and my implementation is currently used I would say use mine.

                    EDIT: Here's the Pull Request.

                    Manuel
                    Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                    with probably always latest firmware/DWC (incl. betas or self-compiled)
                    My Tool Collection

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

                      More divergence between the needs of CNC users and FDM users.......☺

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

                      wilrikerundefined 1 Reply Last reply Reply Quote 0
                      • wilrikerundefined
                        wilriker @deckingman
                        last edited by

                        @deckingman Now you're on the hunt... 😂

                        Manuel
                        Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                        with probably always latest firmware/DWC (incl. betas or self-compiled)
                        My Tool Collection

                        1 Reply Last reply Reply Quote 0
                        • gtj0undefined
                          gtj0 @dc42
                          last edited by

                          @dc42 said in Probe center of hole?:

                          M-codes 673, 674 and 675 are not implemented in standard RepRapFirmware. I don't know who added them to the GCodes wiki page.

                          @rzi Oops, sorry about that. I didn't notice they weren't implemented.

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

                            @wilriker said in Probe center of hole?:

                            @dc42 I checked his implementation against mine and the only difference is that mine uses existing helper functions to simplify code and adds some errors for missing parameters. Since we implemented it for the same reason and my implementation is currently used I would say use mine.

                            EDIT: Here's the Pull Request.

                            Thanks. Can you do a separate PR for RRF 3 to support using a Z probe as an alternative to an endstop switch, using the same mechanism as M585 in RRF3? See https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M585.

                            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

                            wilrikerundefined 2 Replies Last reply Reply Quote 1
                            • wilrikerundefined
                              wilriker @dc42
                              last edited by

                              @dc42 said in Probe center of hole?:

                              Can you do a separate PR for RRF 3 to support using a Z probe as an alternative to an endstop switch, using the same mechanism as M585 in RRF3?

                              I'll probably provide this either today or early next week. 👍

                              Manuel
                              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                              with probably always latest firmware/DWC (incl. betas or self-compiled)
                              My Tool Collection

                              1 Reply Last reply Reply Quote 1
                              • wilrikerundefined
                                wilriker @dc42
                                last edited by

                                @dc42 There you go: Pull Request for RRF 3.

                                Manuel
                                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                with probably always latest firmware/DWC (incl. betas or self-compiled)
                                My Tool Collection

                                1 Reply Last reply Reply Quote 0
                                • wilrikerundefined
                                  wilriker
                                  last edited by

                                  @dc42 I totally forgot: an implementation for M673 can also be found in v2-chrishamm branch in your repo. But since I don't know what it all comprises besides the code in GCode2.cpp I can't tell you what to take over. Also it seems he started implementing M674 but it's not finished.

                                  Manuel
                                  Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                  with probably always latest firmware/DWC (incl. betas or self-compiled)
                                  My Tool Collection

                                  1 Reply Last reply Reply Quote 0
                                  • rziundefined
                                    rzi @gtj0
                                    last edited by

                                    @gtj0 said in Probe center of hole?:

                                    @dc42 said in Probe center of hole?:

                                    M-codes 673, 674 and 675 are not implemented in standard RepRapFirmware. I don't know who added them to the GCodes wiki page.

                                    @rzi Oops, sorry about that. I didn't notice they weren't implemented.

                                    No problem. An implementation seem not too far away it seems, if I interpret the other posts right. 😃 Good thing!

                                    wilrikerundefined 1 Reply Last reply Reply Quote 0
                                    • wilrikerundefined
                                      wilriker @rzi
                                      last edited by wilriker

                                      @rzi said in Probe center of hole?:

                                      No problem. An implementation seem not too far away it seems, if I interpret the other posts right. 😃 Good thing!

                                      My pull requests have been accepted today so it will be in 2.03RC4 and also in the next 3.0 build.

                                      Manuel
                                      Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                      with probably always latest firmware/DWC (incl. betas or self-compiled)
                                      My Tool Collection

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

                                        2.03RC4 is now released. Thanks @wilriker for the PR.

                                        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

                                        rziundefined 1 Reply Last reply Reply Quote 1
                                        • rziundefined
                                          rzi @dc42
                                          last edited by

                                          @dc42 said in Probe center of hole?:

                                          2.03RC4 is now released. Thanks @wilriker for the PR.

                                          Damn, you guys are fast as lightning! Thanx

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