grinding machine functions amp operations