In commercial cnc turning centers, this is called "C axis". Unfortunately the Mori Seiki in my lab doesn't have C axis, so I can't tell you how the G code switches between spindle velocity and orientation, but I suspect it is as Andy suggested.
-- Ralph On Dec 5, 2020 9:42 PM, John Dammeyer <jo...@autoartisans.com> wrote: CAUTION: This email originated from outside the Walla Walla University email system. I was watching a Clickspring video on the construction of a floating die holder for a small Sherline lathe. He attached a belt drive to the spindle and using the Division Master indexed the lathe while running a spinning cutter for grooving the die holder. 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. Realistically if a mill can be run with an AC servo and step/dir control up to 3000 RPM then there's no reason the lathe spindle couldn't be run the same way. And with step/dir also serve as a spindle indexer. How easy is that? Or does it require a different version of LinuxCNC. (ie differnet ini and hal files). The spindle normally only has speed and direction. It's products like the MESA 7i92H that turn that request into either PWM or step/dir. Would a module like the 7i92H need different FPGA programming to do the same thing? What about with MachineKit and the BeagleBone Black. It can use encoders on the spindle. But can it do actual position control? Just curious. John Dammeyer _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=04%7C01%7Cralph.stirling%40wallawalla.edu%7C0600d7a5cb2e4e33be3308d899a9a799%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637428301226743888%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dK3aqMJZKIHIe1RPmmPaIE0vmL0g1g%2BuN2X3i5Ze3SM%3D&reserved=0 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users