In this video, I show how I went about building a CNC 4th axis for a small milling machine.
The 3d step files can be found on GrabCad at: https://grabcad.com/library/4th-axis-for-cnc-milling-machine-1
Details of the digital servo can be viewed at: http://robotarticulation.com/
source