Duet controlling 4th axis

  • I have a cnc mill that have a Fanuc control system. I want to add a 4th axis to this but for now I want to control it with a stepper motor just for indexing. The machine can send a binary signal for let's say 10 degrees movement. Can the duet read a signal like this and control a closed loop stepper that have an external driver? I need a nema34 or maybe a nema 23 so I don't think the driver in duet is powerful enough.

  • administrators

    The Duet can control a Nema 23 motor if you choose one with an appropriate current rating. I test Duets at max current (2.4A) using Nema 23 motors rated at 2.8A. This is a good match. Running stepper motors at full rated current is not normally desirable, because they get very hot when you do that.

    RepRapFirmware on the Duet can control up to 9 axes. Normally you would include the additional axes as additional parameters in the GCode commands (any or all of U, V, W, A, B, C). You could use a M581 trigger to cause 10deg movement on receipt of a trigger signal, but you would have to be careful to keep it synchronised to the main GCode stream.

  • @dc42 thank you for the info. I suspect that nema23 will have too low torque to hold when milling steel so that's why I'm looking at bigger 34 or a high amp 23 but I'll do some math and see if it will work with 23.. The "original" 4th for my machine usually run a 0,75kW servo like the rest of the machine but then again this is sitting on a worm gear with 90:1 reduction and I have to gear it down even further since 90:1 doesn't add up with full steps of the stepper motor and 360 degrees..

    I only need to control this one axis since the fanuc control does the rest. I need features like rigid tap where it sync spindle speed with movement among other thing that would be hard to do with the duet (I guess?). Also I'm not sure how the duet would handle encoder signals and servo control? The control system is rock solid and industrial but it's a pita to change the ladder since it has to be done in dos and burned into two uv eproms. Would love a control system upgrade but I'm sure it will cost more than I would like it to cost..

  • Is it worth going for one of these closed loop variants instead of running it directly off a duet? Oh and how do I configure the duet for cnc use? I want to use it just as a indexer so I don't need all the temperature and other stuff in the webui.


  • administrators

    @minim said in Duet controlling 4th axis:

    Is it worth going for one of these closed loop variants instead of running it directly off a duet?

    It may be, if you can afford it!

    Oh and how do I configure the duet for cnc use?


  • @dc42 good things. I started rewriting the DWC to be better suited for running just one axis (4th). Gotta love open source 😄


Looks like your connection to Duet3D was lost, please wait while we try to reconnect.