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

    9 axis CNC Mill-Turn Center (professional build)

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    9
    13
    2.2k
    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.
    • Generic Defaultundefined
      Generic Default
      last edited by Generic Default

      Hi everyone!
      Some people may remember the SwissMak project from like 5 years ago. This is the culmination of that project.
      mt900 front duetforum.jpg
      It's a 12 servo, 8 axis mill turn machining center that runs on the Duet 3 with an expansion board and a custom transfer board we made that allows the Duet to control full sized industrial AC servos.
      MT900 Milling Aluminum Bar Twisty.jpg
      mt900 turning duetforum.jpg

      I have a lot of photos and videos but the file size limit of 4 mb here prevents the cool GIFs from being uploaded. I'll be posting content to YouTube and my website in the future. I'm not trying to advertise this machine here because it's prohibitively expensive for hobbyists and 3d printer people. My original goal of building super low cost machines never panned out, rather than producing a 4-5 thousand dollar mill turn for hobby level machining with stepper motors, we ended up building a $25,000 machine for job shops and companies that do prototyping which we call the MT-210, and the photos above are of the newest model, the MT-900. Both the MT-210 and MT-900 run on the Duet 3 board with an expansion board (they need like 10-12 servos!). We have heavily modified the RepRap firmware and the DWC to run Gcode from CAM software intended for CNC machines. I would like to contribute to the open source side by merging our additional G-codes and M-codes and the system we designed that allows the DWC to take feedback from the servo drivers and display it on the DWC menu in real time. We also need to update to 3.5 firmware because the 3.3 firmware has some bugs that negatively affect us. Our attempt at branching the RepRap/DWC code bases have been messy and inefficient, but we do have a working, functional system.

      We built two of these for the TIMTOS machine tool trade show which is coming up on March 6-11 of 2023. We have entered this in a competition for most innovative machine, and the big thing we're emphasizing is the Duet 3 control based system. Since the CNC manufacturers aren't used to seeing 3d printer controllers running full sizes CNC machines, we should stand out a bit. I'll post here with the results after next week, hopefully we win!
      mt900 facemill duetforum.jpg
      I think this is probably the most complex and expensive machine to be built with the Duet boards. My biggest long running concern is that every time we update the RepRap firmware, we have to re-integrate all our custom CNC code and debug. 3.5 firmware is very different so we are going to have to spend a ton of time redoing it. We really need some of the new features, especially things that make 5 axis programs run better, and other CNC specific processes that we haven't programmed yet.
      duetboard electronis cabinet.jpg

      T3P3Tonyundefined droftartsundefined dc42undefined tenajaundefined 4 Replies Last reply Reply Quote 20
      • T3P3Tonyundefined
        T3P3Tony administrators @Generic Default
        last edited by

        @Generic-Default this is fantastic to see! Will be in touch.

        www.duet3d.com

        1 Reply Last reply Reply Quote 1
        • droftartsundefined
          droftarts administrators @Generic Default
          last edited by

          @Generic-Default wow, amazing build! And great work.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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

            @Generic-Default that's great! Can you tell us more about the custom transfer board, and what changes you had to make to RRF?

            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

            Generic Defaultundefined 1 Reply Last reply Reply Quote 1
            • deckingmanundefined
              deckingman
              last edited by

              Truly impressive!

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

              1 Reply Last reply Reply Quote 1
              • Generic Defaultundefined
                Generic Default @dc42
                last edited by Generic Default

                @dc42
                transferboardduet.jpg
                Here's up close.

                The purpose of the transfer board is to take the step/dir signals from the Duet and pass them on to the servo drivers. It has all the connectors for the servo drivers (see the RJ jacks for each servo driver) with both digital and analog communication, and at the top of this transfer board there's an Arduino due in the open rectangular spot (not mounted in this picture). The transfer board also hosts a lot of the I/O pins and has rugged industrial connectors.

                One concern I have with the Duet design is that we have to manually solder wires to each step/dir output on the back of the Duet board and expansion. I wish it had regular 0.1mm pins. A big concern has always been missed steps due to noise, I believe we ended up putting opto-isolators or digital isolators on every one of these to prevent noise on the step/dir stuff.

                We are currently on RepRap firmware 3.3 and an older build of the DWC. Our code projects have become much more complex than I'd like. In the beginning, I wanted to mount the Duet on standoffs directly on the big transfer board, but the Duet CAN bus had protocol problems when we tried to integrate it, so we ended up using an Arduino as an intermediary, but of course this made everything more complex.

                I'd be open to sharing the whole transfer board project as open source if it could be managed better than we can do. Right now I am a bit hesitant of putting it all online as open source because I think it needs a team of programmers to really understand and integrate, if I just dump the code online I doubt anyone could make use of it.

                This is the 3rd iteration of the transfer board design that we did a formal PCB run with. We have 5 of these with components soldered and 5 more without. I'll try to post a video of the DWC modifications we made as well; they are useful for CNC but not 3d printing.
                dwc2.jpg dwc1.jpg

                fishgrogundefined dc42undefined 2 Replies Last reply Reply Quote 3
                • fishgrogundefined
                  fishgrog @Generic Default
                  last edited by

                  @Generic-Default A very different machine than the SwissMak 210

                  Generic Defaultundefined 1 Reply Last reply Reply Quote 0
                  • Generic Defaultundefined
                    Generic Default @fishgrog
                    last edited by

                    @fishgrog Actually, it's almost the same as far as function and operations go. The MT900 just has a larger work envelope and side mount ATC. The user interface is almost identical. If you run the exact same program for turning and milling on the two different machines, they will make the same part. The MT210 uses the previous version of the same transfer board for the servos, and other than differences in the Arduino firmware and config files, they are basically the same thing.

                    The MT900 has much larger cast iron structures and a big enclosure of course. They look very different but do the same thing.

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

                      @Generic-Default thanks for providing more detail.

                      Have you seen our MB6XD board, https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Mainboard_6XD_Hardware_Overview ? It's designed for systems that use external servos and so don't need any on-board drivers. It provides six sets of 5V level open-drain step/dir/enable outputs. Most servos have optically isolated step/dir/enable inputs, so additional isolation is not normally required.

                      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
                      • timothyzundefined
                        timothyz
                        last edited by

                        I don't know if I could be any more excited to see this post! Excellent work, will be super beneficial to the community using Duet/RRF controls on CNC machines. I was actually starting to develop some integrations for tool management in DWC but I am curious to see how you integrated it on your system. Regardless, blown away by the polish and the thought that went into this and I hope you get plenty of interest and win the most innovative machine award.

                        Thanks for sharing and I hope you get the attention you deserve, and I am excited to see stuff like this being done with RRF!

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

                          @Generic-Default, this looks like an interesting project. As somebody who has owned a CNC machine shop, I'm curious... Are your encoders on the motors, or are they linear encoders? If the former, how do you handle backlash adjustment?

                          Can you do g-code modifications on the machine?
                          Did you fix the pause (m0 &m1) so they function like real cnc machines?

                          I've used the duet boards on a few little jigs, but for more complicated machines, I stuck with Linux CNC... Primarily, to avoid bringing the duet up to industry standard. Kudos to you for making it happen!

                          Generic Defaultundefined 1 Reply Last reply Reply Quote 0
                          • Generic Defaultundefined
                            Generic Default @tenaja
                            last edited by Generic Default

                            @tenaja The Duet uses the stepper motor drivers directly on the board - we took the step/dir outputs from these and use them to control full sized AC servos from Delta electronics - exactly like a Fanuc or equivalent AC servo. They have 22, 23, or 24 bit encoders on them, which are no absolute, but act like absolute after finding the index pulse.

                            We are likely to switch to Absolute encoders in the future to avoid homing. For now, when the machine is turned on, it needs to be homed like a 3d printer, this takes about 30 seconds. It doesn't use limit switches to do this, rather it just goes until the servo driver detects a stall, then backs off to the nearest index pulse. This gives perfect repeatability to the micron.

                            Yes, it has functions like M19 spindle orient, M8 coolant, G72 threading, G84 rigid tapping, all that. It also has a 24 tool ATC side mounted with accessibility through the operator door.

                            As far as backlash, we are using Hiwin ballscrews and a typical angular contact setup. The backlash is under 1 micron, so we don't need to adjust it. We did create a backlash firmware feature (which is now unnecessary in Duet firmware 3.5+) but the mechanical backlash of each axis is negligible so we just set it to zero.

                            Here's the calibration video, showing the accuracy. (is there a way to make the video show up as embedded?)

                            https://youtu.be/78-dqxRgQ-o

                            jay_s_ukundefined 1 Reply Last reply Reply Quote 1
                            • jay_s_ukundefined
                              jay_s_uk @Generic Default
                              last edited by

                              @Generic-Default do you have a link to your fork of the duet firmware?

                              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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