Wednesday, August 31, 2016

CNC Router Rotary Axis

This post documents adding a rotary axis to my CNC Router Parts router.

My router was a 3-axis machine. Adding a 4th rotary axis allows considerably more flexibility as the part to be machined can be rotated to expose different faces for cutting. I'd previously done some 4-axis router work at Stamps School of Art & Design - here's that post. I really wanted to add this capability to my router.

After exploring a few options - most of which were very expensive - I chose to go with an inexpensive kit from China. It was only $358 including shipping. I'd have to figure out how to get it hooked in to the electronics then build my own mount.

Rotary Axis Hardware

I ordered it and it shipped from Hong Kong the next day. It was ordered on Thursday June 30th and arrived in Michigan, USA on Tuesday July 5th. Not bad!

It includes a tail stock, a self-centering 4 jaw chuck, a Nema 34 stepper motor, and a 4:1 ratio belt drive. It includes both inside and outside jaws.

Electronics Hookup

To connect it to my setup I had to solder on a 4 pin XLR male connector.

Then using one of CNC Router Parts standard cables I could plug directly into my controller:

I had to set the dip switches in the electronics cabinet to match the 4.8 amps of the motor (the other motors I'm using are 7 amps). Then set the steps per revolution in Mach3 and it was ready to run.

Under Table Mount

I went through several iterations when designing how to mount the motor/chuck and tailstock. The requirements were:
  • It had to be always hooked up - never removed from the machine. I wanted to be able to use it without much hassle. 
  • It had to be moved out of the way when I wanted to 3-axis route using the entire 4'x4' bed. 
  • It had to be rigid when locked in place. 
  • And it obviously had to support a variety of part sizes including wide ones. 
I messed around with a lot of ideas. One was cantilevering the parts from one of the horizontal rails in the frame. But I thought this would be too much torque on the frame - the motor/chuck weighs 19 pounds.

In the end I decided to make it out of aluminum extrusions. I  choose components from 80 / 20 Inc. They have quite a few parts including sliding ones. And a great CAD library of their parts. So I could fully 3D model the design.

This is the final design, as seen from below the table. The existing frame is light blue. The new components are gray. The handles shown lock movable parts of the assembly.

Here's a front view of the frame in the lowered, beneath the table position, so 3-axis routing can happen over the full table:

Here's the frame raised up, slid up those verticals, ready to route. The center line of the axis is right at the top of the table. That's the lowest reach of the spindle:

Here's the tail stock moved forward for a smaller part. It slides along on the horizontal rail:

This configuration allows for a part that's 22" long and 14" in diameter.

After having 80/20 review the design they gave me a quote. The parts arrived at my house in just under two weeks.

Build one For Yourself: If you wish to build your own version of this setup you can download a parts list using the following link:  XLSX Parts List. These were kindly provided by Joe Russack. Thanks, Joe!


The parts were easy and enjoyable to put together. The linear bearings as 80/20 refers to them work quite well. Things slide smoothly and lock solidly,

Loosen the four corner yellow handles and you can lower the entire assembly beneath the table.

In the up position the centerline of the axis is right at the top of the frame which is close to the lower limit of the reach of the tool.

Chuck Setup

The 4th axis has a four jaw self-centering chuck which has to be assembled in a particular sequence. If this isn't followed the jaws will not all line up correctly. This process is outlined below:

Identify the numbered jaws and the numbered slots. The jaws are labelled on their side. The slot numbers are stamped into the back face of the slot (you'll need a flashlight to see them).

  • Using the key, turn the scroll observing the number one slot until the outermost end of the scroll appears. You should see the edge of the thread just appearing to enter the slot. 
  • Next turn it back a little just enough to allow the #1 jaw to enter the slot. 
  • Then push the jaw down as far as it will go (which isn't very far). 
  • Next, using the key turn the scroll so that it engages the first tooth of the jaw and starts to pull it inwards. You can give it a light tug to make sure it's engaged. 
  • Rotate the chuck until the next slot is up then turn the scroll until the start of the thread appears in the next slot. 

Repeat the above with the #2 jaw and continue with jaws 3 and 4. This procedure ensures that all the jaws are synchronized with the scroll. Here you can see them coming together properly, and aligned with the point of the tail stock:

Alignment / Calibration

The rotary axis needs to be exactly aligned with the Y axis of the router. X needs to be zeroed over that axis. And the Z height needs to be zeroed on the centerline.

I bought an aluminum cylinder to use as a calibration tool. It was very straight and uniform in diameter (1.875").

As carefully as I could I marked the centerline, and used a punch to create a starter dent in the end.

Then I drilled a small hole which will accept the tail stock point.

This bar then gets chucked up between the centers. I put a dowel pin in the spindle and carefully jogged the axis to look for variations using a feeler gage. One end of the horizontal rail can be moved to level things out.

I had to tweak the tailstock location a teeeeeny bit in X to get it aligned. But this is really about as good as I can get it without a probing routine which touches off at multiple points on the bar and compensates for any axial deviation in software. If I can locate a Mach3 probing routine I'd certainly like to try it.

Toolpath Programming

There are several possibilities for how to program the cutting. A powerful, but very simple method is to simply rotate the part to a new face, then 3-axis mill it from that position.

I'm using my standard 3-axis router profile. I manually rotate the chuck using the MDI interface of Mach3. I just type in G90 G0 A90.0 and it rotates to an absolute rotation of 90 degrees. Then I run the toolpath from the side. Doing G90 G0 A-90.0 and it rotates to the other side. You can also rotate in a relative manner using code like G91 G0 A10. It's really easy, and of course keeps the simple 3-axis toolpath programming.

An alternative is to rotate the part as it is cutting much like a slow speed lathe.


I'm excited to finally have this running. First work will be some portrait sculptures much larger than I've been able to do in the past.

Here's a link to an early test of the system.


  1. Did you have to create a new post processor for fusion to export your gcode, or did you just use the same post from cncrp? I just got mine in today and I am cobbling all the info together that I can. Would appreciate any info or links to a post if you did modify. I also use vectric, so smae there if you use it.

    1. I'm using the same post from CNCRP. And I've used Mastercam as well. The rotary stuff I've done so far has been 3+1. That is, rotate to a new position, mill it like it's a 3-axis, then rotate to a new position, repeat. And I could insert the code to rotate right into the toolpath sequence. So no new post needed so far.
      I'm getting much more into Fusion now so I hope to know more about their multi-axis milling soon.

    2. I would like to be able to do simultaneous machining. So, I will work on getting a post made. Autodesk should be able to help with creating or publishing one. Although, your heads came out great.
      On another note, do you have the parts list for your 80/20 available? I have several of the slide parts that are able to be adapted to different profiles. I have a few fixed ones as well, and a stack of extrusion.

    3. Send me an email. I'll answer your question about the parts list.


  2. I just a CNC from CNCRP. I inquired about a 4th axis unit. they referred me to you. I got the 5x10 machine and would like to do the same thing. Do you have plans for sale? Or any advice. I dont have the wherewithawl to try to invent something. Barely have time to learn the software to run it. Ha

    1. Send me an email and I'll answer your questions about the parts list.


    2. It seems like multiple people want to be able to do this and when contacting cncrp, they point to Mark. I think we need to have a forum post on cnczone dedicated to this. I have not set mine up fully yet, but I also am having a really hard time finding a post processor that allows me to post with a 4th axis. I did post something about helping to create a post, but I was told by 1 person that simultaneous is not available on fusion yet. I verified that with fusion documents. I do not fully understand this, but I think that simultaneous is different from being able to turn and cut at the same time. I see all kinds of posts using generic and modified mach3 posts. They say that they can machine and turn at the same time. So, again, I am confused on terminology.
      I hope to be able to get this working correctly and I hope that cncrp jumps in to help as well. They have 3 axis very well down and even just released a setup for plasma. I think 4th axis is something that is inexpensive, relatively, and an amazing thing to be able to work with.

    3. This comment has been removed by the author.

    4. Mark,
      You can reply at rockinkj20 at hotmail

  3. I just found this post accidentally and I too have been wanting to add a 4th axis to my cncrp (4x8). It's crazy that cncrp just points people here instead of offering a kit, surely they must be working on one?

    1. I had heard they were working on one. In fact one of the reasons I bought their kit was I was under the belief they'd have one available - eventually. When I learned that it wasn't coming any time soon I decided to try it on my own.

    2. This comment has been removed by the author.

    3. I just finally got mine working, at least in Mach, and had to ask some questions about the setup from cncrp. When they replied, they said they are working on a 4th axis and it will be added some time. No timeline given. But hopefully they will generate a post at some point that can either be modified or generic enough to use. I think they should have gone for the 4th before the plasma, but maybe I'm biased.

    4. Yes, I would love to see CNCRP do a version and make a post available. Also they should make a configuration utility to aide in the setup. Something that can compensate in software for any small deviations in alignment. The 4-axis router where I work (made by Roland) has this and it's very nice.

  4. I have been trying to figure out how to add the 4th axis to my home built. Your design is a perfect solution. Thanks for posting.

    1. You're welcome, Rick. I hope it works well for you.


  5. Just what I was looking for! Thanks so much for taking the time to share your work! Do you use NEMA 23 or 34 steppers on your CNC? I use NEMA 23 and wonder if the drivers can drive your upgraded 4th axis stepper.

    Thanks, David

    1. I'm using NEMA 34. I know of one guy who made a setup similar to mine that's using a 23. If you email me I'll send you his contact info and you can see how it's working for him.

    2. I need to post to this comment section because this site comes up often when searching for 4th axis and cncrp. This build is beautiful, but as impressive as it is, the details on setup are not here. However, a Belgian CNCRP user has posted his setup and a very detailed video that will complement this post nicely.
      Here it is -

  6. Thanks I'm trying to find it online now. I live in Chesterfield Michigan and also have cnc routerparts pro machine. Thanks for all the info.

  7. Very good design. I am not able to design anything yet due to lack of skills and knowledge. I would like to get the 5 ft by 5 ft from cncrp and add your design. My problem is I want to use a log 25 inch dia up to 4ft. long. I think I will need motor control or a 5th or 6th axis to be able to raise and lower. If you are willing will you send your parts list and some kind of drawing for building this? I am in Alpena, Michigan.

    1. Hi, you can download the parts list from a link in this post. Search for "Joe Russack". He provided the XLS file of the parts. You'll need to change it for your design. But 80/20 has 3D models of all their parts online. So in your CAD software you can just snap the parts together to test out designs. Good luck with your build.