mode of operation of grinding machine