Is it a M700? That would be parameter 1041, I_inch (Initial state), set to 0 for metric system, 1 for inch system. I think M500 has the same parameter, a different number. With this the parameters and all stay with whatever you have set them, only the programs and the display change to the unit you need, which is what you want for your machining. Cheers.