• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    rzi
    last edited by 27 May 2019, 18:21

    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
    • undefined
      gtj0
      last edited by 27 May 2019, 21:25

      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
      • undefined
        rzi
        last edited by 28 May 2019, 07:36

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

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 28 May 2019, 11:07

          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

          undefined undefined 2 Replies Last reply 28 May 2019, 12:12 Reply Quote 0
          • ?
            A Former User
            last edited by 28 May 2019, 11:16

            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
            • undefined
              wilriker @dc42
              last edited by wilriker 28 May 2019, 12:12

              @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

              undefined 1 Reply Last reply 28 May 2019, 12:29 Reply Quote 0
              • undefined
                dc42 administrators @wilriker
                last edited by 28 May 2019, 12:29

                @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

                undefined 1 Reply Last reply 28 May 2019, 12:58 Reply Quote 0
                • undefined
                  wilriker @dc42
                  last edited by wilriker 28 May 2019, 12:58

                  @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

                  undefined 1 Reply Last reply 28 May 2019, 21:06 Reply Quote 0
                  • undefined
                    deckingman
                    last edited by 28 May 2019, 13:08

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

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

                    undefined 1 Reply Last reply 28 May 2019, 13:10 Reply Quote 0
                    • undefined
                      wilriker @deckingman
                      last edited by 28 May 2019, 13:10

                      @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
                      • undefined
                        gtj0 @dc42
                        last edited by 28 May 2019, 15:49

                        @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.

                        undefined 1 Reply Last reply 29 May 2019, 14:47 Reply Quote 0
                        • undefined
                          dc42 administrators @wilriker
                          last edited by 28 May 2019, 21:06

                          @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

                          undefined 2 Replies Last reply 29 May 2019, 07:41 Reply Quote 1
                          • undefined
                            wilriker @dc42
                            last edited by 29 May 2019, 07:41

                            @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
                            • undefined
                              wilriker @dc42
                              last edited by 29 May 2019, 08:43

                              @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
                              • undefined
                                wilriker
                                last edited by 29 May 2019, 13:39

                                @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
                                • undefined
                                  rzi @gtj0
                                  last edited by 29 May 2019, 14:47

                                  @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!

                                  undefined 1 Reply Last reply 29 May 2019, 17:05 Reply Quote 0
                                  • undefined
                                    wilriker @rzi
                                    last edited by wilriker 29 May 2019, 17:05

                                    @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
                                    • undefined
                                      dc42 administrators
                                      last edited by dc42 29 May 2019, 18:01

                                      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

                                      undefined 1 Reply Last reply 30 May 2019, 06:21 Reply Quote 1
                                      • undefined
                                        rzi @dc42
                                        last edited by 30 May 2019, 06:21

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