Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Generic Default
    3. Best
    • Profile
    • Following 0
    • Followers 4
    • Topics 3
    • Posts 11
    • Best 5
    • Controversial 0
    • Groups 0

    Best posts made by Generic Default

    • 9 axis CNC Mill-Turn Center (professional build)

      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

      posted in My Duet controlled machine
      Generic Defaultundefined
      Generic Default
    • RE: G2/G3 can't run smooth.

      @dc42 This list below isn't everything we added, but most of what I can think of off the top of my head:

      1. Added GUI for monitoring spindles (RPM, Torque, Encoder Angle, Power, Load Meter) (customizable)
        ---1) (a) Full system for monitoring feedback from servo drivers and VFDs in real time
      2. Added GUI for changing the parameters of the tools in the ATC magazine and turrets (pictures too)
      3. Added X/Y/Z/A/B/C/U/V/W/D axis position display on the screen (customizable)
      4. Added conversational programming menu with common functions - creates job files in a text editor
      5. Added CNC specific M codes and G codes
        ---5)(a) Rigid tapping, Drilling cycles, Lathe threading, helical boring, M19 spindle orient, M3 M4 M5, etc.
      6. Added useful on screen M codes with GUI buttons to activate (coolant, air blast, auger motor, etc)
      7. Added redundant rotary axis gearbox system - lets the machine engage a gearbox and use a separate servo to drive it. We use this to switch from belt drive with big servos to gearbox drive through a harmonic gear for high accuracy and torque.
      8. Machine RGY status light and E stop system, along with servo status menu
      9. Auto-stop when a servo overloads or faults.

      There are quite a few other things I'm not remembering off the top of my head, but we added a ton of stuff to make the Duet system run a 12 servo, 8 axis mill turn machine. This is the same one from the other thread. Integrating all this stuff into the newer 3.5 firmware and future versions would benefit everyone, even if few CNC machines require all the functions we built.

      posted in CNC
      Generic Defaultundefined
      Generic Default
    • RE: 9 axis CNC Mill-Turn Center (professional build)

      @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

      posted in My Duet controlled machine
      Generic Defaultundefined
      Generic Default
    • We need every CNC canned cycle ASAP

      Hey,

      We build 10 axis CNC mill-turn machines driven by the Duet 3 board + expansions as the main control board. Our system also has an Arduino due based transfer board for extra hardware breakouts, and also controls several powerful servos by ODrive boards. All of our systems are integrated and our machines work.

      The main problem we're having now is that there is no CANNED CYCLE functionality in most 3d printer firmware. These are the modal Gcodes like G83 (peck drilling cycle) which stay active until they are cancelled.

      We have a full time software developer working on this system, and we are just now getting to the point of implementing these industry standard canned cycle Gcodes into our system. This means some major changes to the Gcode interpreter must be done to support all the new codes.

      Can anyone point me in the right direction if anybody else has already started on canned cycles, or has a working version of the firmware which supports them better?

      If not, we would like to contribute our code once it's done so that everyone can use canned cycles in their own cnc machines. Currently the Gcodes between G60 and G90 are pretty much unused by 3d printers, and we would just be filling out the one part of the interpreter than goes case by case for each Gcode and Mcode.

      Thanks!

      posted in Firmware wishlist
      Generic Defaultundefined
      Generic Default
    • RE: 9 axis CNC Mill-Turn Center (professional build)

      @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

      posted in My Duet controlled machine
      Generic Defaultundefined
      Generic Default