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

    Duet3 as hardware for LinuxCNC?

    Scheduled Pinned Locked Moved
    CNC
    12
    42
    4.3k
    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.
    • tenajaundefined
      tenaja @rjenkinsgb
      last edited by

      @rjenkinsgb
      Steppers can do just fine in a milling machine. If you size them properly and know their capabilities, and stick to those capabilities you will have no issues.

      You have to plan ahead not to overload them, especially if you are pushing the limits of weak steppers. Sure, you also have to do that in servo cnc gcode, too, and at least those machines will stop in an error. OTOH, with LinuxCNC, you could add encoders, and have the same feedback and error faults. (This is a "why LinuxCNC" thread, afterall.

      I have found the gwizard feeds & speeds tool invaluable in ensuring you don't take more of a cut than a machine is capable of.

      rjenkinsgbundefined 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @tenaja
        last edited by A Former User

        This post is deleted!
        rjenkinsgbundefined tenajaundefined 2 Replies Last reply Reply Quote 0
        • rjenkinsgbundefined
          rjenkinsgb @tenaja
          last edited by

          @tenaja said in Duet3 as hardware for LinuxCNC?:

          Steppers can do just fine in a milling machine. If you size them properly and know their capabilities, and stick to those capabilities you will have no issues.

          I don't disagree at all - it's how they are driven and incorporated in the axis position feedback loop that determines the axis capabilities.

          A stepper is in effect the concept as a multi-pole brushless DC servo motor - a set of phase coils creating a rotatable magnetic field around a permanent magnet rotor.

          The big differences are the precision of the drive waveforms applied to the phase windings - and how much they can be out of position before "slipping".

          Robert J.

          Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

          1 Reply Last reply Reply Quote 0
          • rjenkinsgbundefined
            rjenkinsgb @A Former User
            last edited by

            @arnold_r_clark said in Duet3 as hardware for LinuxCNC?:

            I think from your reply that you need to go and familiarize yourself with and fully understand how to use /deploy macro's as and when required, they would not be "littered" around the code at all, the base/core offsets would be contained within the config.g

            That may be OK for basic length offsets, but as of yet Reprap Firmware does not support tool path offsets at all, that I can find.

            They are one of the most fundamental facilities of a CNC milling machine.

            ie. G40-41-42 codes in conventional gcode programming.
            More info:
            http://www.cnccode.com/4298/cnc-milling-g41-and-g42-codes-tool-radius-offset

            Robert J.

            Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

            cjmundefined A Former User? 2 Replies Last reply Reply Quote 0
            • cjmundefined
              cjm @rjenkinsgb
              last edited by cjm

              @rjenkinsgb Apologies for a NOOB question but as many CAM programs seem capable of generating effective tool paths without requiring the G40,G41,G42 tool path offsets, what benefit does having them bring?

              roiki11undefined 1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @rjenkinsgb
                last edited by

                This post is deleted!
                JoergS5undefined 1 Reply Last reply Reply Quote 0
                • JoergS5undefined
                  JoergS5 @A Former User
                  last edited by

                  I believe G40...G42 is not included in RRF, because RRF historically comes from 3D printing and the offsets are analogous the nozzle width, so the calculation is done inside the slicer. I don't see a big problem to calculate it in RRF for CNC (not a problem, but some effort of course).

                  I agree that a priotitized CNC wishlist would be good. I would not split 3D and CNC RRF parts, but handle it by creation of different RRF bin files by flags 3D/CNC/Laser..., so there is one development base, but diffferent created firmware files.

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

                    @rjenkinsgb said in Duet3 as hardware for LinuxCNC?:

                    The Duet does not have tool path offsets at all, as far as I am aware?
                    (G40/41/42)

                    Correct, RRF does not yet support cutter radius compensation.

                    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 @JoergS5
                      last edited by dc42

                      @joergs5 said in Duet3 as hardware for LinuxCNC?:

                      I would not split 3D and CNC RRF parts, but handle it by creation of different RRF bin files by flags 3D/CNC/Laser..., so there is one development base, but diffferent created firmware files.

                      It's already a pain testing 5 main board firmware binaries, some of them on multiple machines. We don't want to treble that by having different binaries for FDM, CNC and Laser. Also there are at least two types of machine that use RRF on Duet to do both FDM and CNC operations.

                      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

                      JoergS5undefined 1 Reply Last reply Reply Quote 0
                      • JoergS5undefined
                        JoergS5 @dc42
                        last edited by

                        @dc42 said in Duet3 as hardware for LinuxCNC?:

                        already a pain testing 5 main board firmware binaries

                        I understand the reasoning, thanks for explaining.

                        1 Reply Last reply Reply Quote 0
                        • roiki11undefined
                          roiki11 @cjm
                          last edited by roiki11

                          @cjm

                          In a cnc program you want to adjust your toolpath based on measurements. So in one point you might see that the features are slightly too small. So you add cutter comp to cut a tiny bit smaller. You can also use it to walk your holes to a specific tolerance(for example). Add cutter comp to undersize the hole. Then walk back the offset and repeatedly run that program segment.

                          Cncs are not accurate like you imagine 3d printers to be. The machining process often requires fine tuning to get proper results and continuously regenerating the program is very slow and unnecessary. Just better to change a single value on the console and get on with it

                          cjmundefined 1 Reply Last reply Reply Quote 0
                          • cjmundefined
                            cjm @roiki11
                            last edited by

                            @roiki11 Thanks very much for the explanation - helps me to understand better!

                            1 Reply Last reply Reply Quote 0
                            • tenajaundefined
                              tenaja @A Former User
                              last edited by

                              @arnold_r_clark said in Duet3 as hardware for LinuxCNC?:

                              ... the base/core offsets would be contained within the config.g

                              And this is the reason "offsets do not exist" from a CNC users perspective. You cannot very well rerun your config file in the middle of making a part, to make an adjustment, and then resume the part.

                              Now, if you could run an immediate command to adjust the offset, that would be an inconvenient workaround, but if it wouldn't mess with your gcode file position, it could work.

                              And my experience with cnc and 3d printers is that the former is far more accurate and repeatable. However, the precision required is also often far more demanding... But tools regularly need replacing, and the tools vary. Every time a tool is replaced, the offsets typically require adjustment... But you can't know the adjustment amount until you've cut chips. And you don't want to discard that cutting progress just because an offset needed adjustment. It's often not like filament, where it's so cheap it doesn't matter.

                              JoergS5undefined 1 Reply Last reply Reply Quote 0
                              • JoergS5undefined
                                JoergS5 @tenaja
                                last edited by

                                @tenaja said in Duet3 as hardware for LinuxCNC?:

                                this is the reason "offsets do not exist" from a CNC users perspective. You cannot very well rerun your config file in the middle of making a part

                                I think this is not the case. Most G-Code commands can be run within config, G-code file or command line at any time, there is no difference. (The exceptions being some drive mapping/adding commands and similar). So I see no problem to change tool offsets between moves at any time.

                                tenajaundefined 1 Reply Last reply Reply Quote 0
                                • tenajaundefined
                                  tenaja @JoergS5
                                  last edited by tenaja

                                  @joergs5
                                  In a normal cnc machine, with a normal cnc controller, if you need to make an adjustment in the middle of the program, without restarting, these are the steps:

                                  • Hit pause
                                  • Navigate to the offset page
                                  • Make the adjustment
                                  • Navigate to the program page
                                  • Hit start (to continue the gcode where you left off)

                                  The program continues from where it was, using the new offset.

                                  How would that workflow be on duet?

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

                                    @tenaja said in Duet3 as hardware for LinuxCNC?:

                                    @joergs5
                                    In a normal cnc machine, with a normal cnc controller, if you need to make an adjustment in the middle of the program, without restarting, these are the steps:

                                    • Hit pause
                                    • Navigate to the offset page
                                    • Make the adjustment
                                    • Navigate to the program page
                                    • Hit start (to continue the gcode where you left off)

                                    The program continues from where it was, using the new offset.

                                    How would that workflow be on duet?

                                    Hit pause, send the command to change the offset, hit resume.

                                    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

                                    tenajaundefined 1 Reply Last reply Reply Quote 0
                                    • tenajaundefined
                                      tenaja @dc42
                                      last edited by

                                      @dc42 said in Duet3 as hardware for LinuxCNC?:

                                      @tenaja said in Duet3 as hardware for LinuxCNC?:

                                      @joergs5
                                      In a normal cnc machine, with a normal cnc controller, if you need to make an adjustment in the middle of the program, without restarting, these are the steps:

                                      • Hit pause
                                      • Navigate to the offset page
                                      • Make the adjustment
                                      • Navigate to the program page
                                      • Hit start (to continue the gcode where you left off)

                                      The program continues from where it was, using the new offset.

                                      How would that workflow be on duet?

                                      Hit pause, send the command to change the offset, hit resume.

                                      But then when you turn it on the next day to make another, is that number retained, for every tool?

                                      JoergS5undefined 1 Reply Last reply Reply Quote 0
                                      • JoergS5undefined
                                        JoergS5 @tenaja
                                        last edited by

                                        @tenaja I would not want to persist changes if they are e.g. temporary changes to tool offsets. But it may be a matter of taste or of situation and how one works.

                                        I think it's a question whether you want to persist the changes or not. There is e.g. M500 to store and M501 to restore by a config-override.g file at firmware startup, and tool offsets can be stored with this with M500 P10. Whether it works for multiple tools completely, I don't know for sure. https://duet3d.dozuki.com/Wiki/M500

                                        1 Reply Last reply Reply Quote 0
                                        • Miss Rebekahundefined
                                          Miss Rebekah
                                          last edited by

                                          canned drill cycles, g80 g81,g82,g83. cutter comp, a feed hold button that stops immediately( deal breaker for me) single block mode. an offset table for wcs and tools.

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

                                            @miss-rebekah cutter radius compensation and feed hold are under consideration for implementation in RRF 3.5. Canned drill cycles can probably be implemented already as macro files, now that you can not only create a macro file called G80.g to implement the G80 command but also pass parameters to it.

                                            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

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