grinding machine functions amp b operations