cycle of grinding machine operatin