> From: marcus.bow...@visible.eclipse.co.uk > [mailto:marcus.bow...@visible.eclipse.co.uk] > On 2020-12-06 05:41, John Dammeyer wrote: > > What I was wondering is if LinuxCNC, with a suitable Servo Motor or > > high res encoder on the spindle can treat it like a 4th axis on a > > mill. > > > > Some years ago, I came across a chap who had created the InTurn, which > was essentially a lathe headstock for the bed of the mill. It was later > taken up by Tormach, although I no longer see it on their web site. That > used a servo to run at lathe spindle speeds, but I am sure it was also > capable of indexing. It features a disc brake to hold position. This was > no lightweight affair. > > https://www.youtube.com/c/Simpsons36/videos
Not quite what I was thinking about though. We can already do a: S1500 M3 Now the spindle is turning clockwise at 1500 RPM. Can't really issue a: X5, Z3, A359 to move the spindle to 359 degrees from home while it's turning 1500 RPM. So one can run one version of LinuxCNC where the step/dir signals of the servo are coupled to the Spindle in the HAL file and then Srpm M03 work. Or a different version of LinuxCNC where the step/dir signals are for the A axis. And the index is used as a home switch when approached from a specific direction. Now a sequence like: X1.5 F50 Z0 F200 X1.480 F50 Z-2 F10 ... A6 Essentially the tool bit functions as a shaper would traversing from Z0 to Z-2 with a 0.020 depth of cut. Rinse and repeat until desired depth is reached. Then turn 6 degrees and do it again resulting in 60 grooves. If instead of a tool bit you have a powered cutter that could be axis B or has been swapped with the spindle control so speed now runs it instead of the lathe spindle. So the question is, for a lathe, are two separate versions of LinuxCNC required or can it be done with one where the Spindle can be addressed as a rotary axis or the spindle. John _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users