Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Astroguy on September 04, 2007, 03:57:01 PM

Title: Basic Question
Post by: Astroguy on September 04, 2007, 03:57:01 PM
I have Mach set up in inches. I have some g-code that was made in MM. How do I convert it to inches? Or have Mach switch to MM for this program?
 ???
Title: Re: Basic Question
Post by: Chaoticone on September 04, 2007, 05:36:38 PM
Acouple of ways you could do it. Go to the settings page and select MM. Set you up a MM profile. Put a G21 in the front of your code. I would dry run through the program in any case to see that it is right. A G20 after the G21 will put you back in inches.

Brett
Title: Re: Basic Question
Post by: jimpinder on September 05, 2007, 09:07:46 AM
I have the same problem - having set the lathe up in inches (all the dials are calibrated in inches anyway)

You can just insert g21 before the section you require in metric (mm). This operates the machine in metric dimensions, but seems to use all the offsets etc that you have set up, in inches.

At the end of the section g20 reverts everything back to inches.

The toolpath seems a bit odd - because it just stays the same size. The DRO's revert to mm for metric, but revert to inches when you go back.

Seems to work alright.
Title: Re: Basic Question
Post by: Astroguy on September 05, 2007, 10:07:20 AM
Thanks, I will try that.