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

    Is there a basic guide to set the duet up as a CNC

    Scheduled Pinned Locked Moved
    CNC
    4
    25
    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.
    • Danalundefined
      Danal @Asdasd1234
      last edited by

      @Asdasd1234 said in Is there a basic guide to set the duet up as a CNC:

      G28 home the machine
      Jog machine to start of file.
      Run macro that does:
      -G10 L20 P2 X0 Y0 Z0
      -G55
      Then run the file?

      Yes

      Delta / Kossel printer fanatic

      Asdasd1234undefined 1 Reply Last reply Reply Quote 0
      • Asdasd1234undefined
        Asdasd1234 @Danal
        last edited by

        @Danal
        Thats great, I'll try that now. Thanks a bunch for the help people. Its much appreciated

        1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal
          last edited by

          No problem.

          This does assume you've set Z0 to top of stock in Fusion. This is a fairly normal CNC practice.

          Delta / Kossel printer fanatic

          Asdasd1234undefined 1 Reply Last reply Reply Quote 0
          • Asdasd1234undefined
            Asdasd1234 @Danal
            last edited by

            @Danal
            I'm pretty sure I have, but will double check

            1 Reply Last reply Reply Quote 1
            • Asdasd1234undefined
              Asdasd1234
              last edited by

              Ah, I might have an issue.

              F360, when set to grbl only lists out the co-ordinates and doesn't do a G1/0 before them like:

              G1 Z1 F500
              Z-1.999
              Y26.033 Z-2 F1200
              Y26.034
              X28.967 Y26.035
              X28.595 Y26.047
              X28.194 Y26.057
              X27.792 Y26.067
              
              

              Will this still work?

              1 Reply Last reply Reply Quote 0
              • Danalundefined
                Danal
                last edited by

                No. Duet doesn't support "sticky" G1 or G0. You will need to select a different post processor, or modify that one.

                Delta / Kossel printer fanatic

                dc42undefined 1 Reply Last reply Reply Quote 0
                • Danalundefined
                  Danal
                  last edited by

                  I use Mach3 post. Which isn't perfect, but it does put G1 on each line.

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • Asdasd1234undefined
                    Asdasd1234
                    last edited by

                    i found a post processor online for duet. I need to manually delete out the G54 at the start, but my test pen-plot has come out perfect. Thanks a bunch!

                    1 Reply Last reply Reply Quote 1
                    • A Former User?
                      A Former User @Asdasd1234
                      last edited by A Former User

                      @Asdasd1234 said in Is there a basic guide to set the duet up as a CNC:

                      I have a gcode file (just a re-named .nc file from fusion 360)

                      you can edit the .cps file and change the line that says (line 28 in the grbl if thats what you used)
                      extension = "nc";
                      to say
                      extension = "gcode";
                      to not have to do the renaming.

                      @Asdasd1234 said in Is there a basic guide to set the duet up as a CNC:

                      I need to manually delete out the G54 at the start

                      try putting a "2" in WCS offset here if you wanted G55 instead.
                      Setup -> Post process tab:
                      2e1ae776-7f80-4a86-8b74-fe046c94d92e-image.png

                      (edit: or you could edit the file and change 1 to 2 in line 353 to make it permament and not have to set it each time.)
                      ((or search for var workOffset = currentSection.workOffset;and change workOffset = 1; to workOffset = 2; a few lines below if your post is different from the grbl))
                      (((or if you just wanted to get rid of the whole G54 thing try changeing the Safe retracts parameter in the post to ClearanceHeight
                      bc723522-0a24-4561-9959-30403c9e2562-image.png )))

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

                        @Danal said in Is there a basic guide to set the duet up as a CNC:

                        No. Duet doesn't support "sticky" G1 or G0. You will need to select a different post processor, or modify that one.

                        Yes it does, when in CNC mode and using recent firmware versions (2.05 or 3.x).

                        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

                        Danalundefined 1 Reply Last reply Reply Quote 0
                        • dc42undefined
                          dc42 administrators @A Former User
                          last edited by

                          @bearer said in Is there a basic guide to set the duet up as a CNC:

                          you can edit the .cps file and change the line that says (line 28 in the grbl if thats what you used)
                          extension = "nc";
                          to say
                          extension = "gcode";
                          to not have to do the renaming.

                          You don't have to rename anyway. DWC and RRF accept .nc files.

                          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
                          • dc42undefined
                            dc42 administrators @Asdasd1234
                            last edited by

                            @Asdasd1234 said in Is there a basic guide to set the duet up as a CNC:

                            Run macro that does:
                            -G10 L20 P2 X0 Y0 Z0
                            -G55

                            Alternatively, use P1 in the G10 command instead of P2, then you don't need the G55.

                            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

                            Danalundefined 1 Reply Last reply Reply Quote 0
                            • Danalundefined
                              Danal @dc42
                              last edited by

                              @dc42 said in Is there a basic guide to set the duet up as a CNC:

                              @Danal said in Is there a basic guide to set the duet up as a CNC:

                              No. Duet doesn't support "sticky" G1 or G0. You will need to select a different post processor, or modify that one.

                              Yes it does, when in CNC mode and using recent firmware versions (2.05 or 3.x).

                              Ah... I tried it, but not in CNC mode... grasshopper learns from master once again. 🙂

                              Delta / Kossel printer fanatic

                              1 Reply Last reply Reply Quote 0
                              • Danalundefined
                                Danal @dc42
                                last edited by

                                @dc42 said in Is there a basic guide to set the duet up as a CNC:

                                @Asdasd1234 said in Is there a basic guide to set the duet up as a CNC:

                                Run macro that does:
                                -G10 L20 P2 X0 Y0 Z0
                                -G55

                                Alternatively, use P1 in the G10 command instead of P2, then you don't need the G55.

                                This is true... but... a lot of people like to leave G54 matching machine, because there the controller is always in some Work Coordinate System, and it just makes more sense for the human to have G54 match the physical layout of the device, G55 match the first fixture, G56 the second fixture and so forth.

                                Again, there is no "right or wrong" here... and some people do it a completely different way... the most common practice I've seen is leaving G54 alone (or, technically, G54 has a 0,0,0 offset to G53).

                                Delta / Kossel printer fanatic

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