cam grinding machine g codes used