Realization and application of spindle and C-axis switching function based on PMAC | IEEE Conference Publication | IEEE Xplore