Hello Guest it is November 03, 2024, 07:40:35 AM

Author Topic: Machine set to millimeters can I use gcode with inches OK  (Read 3435 times)

0 Members and 1 Guest are viewing this topic.

Machine set to millimeters can I use gcode with inches OK
« on: July 19, 2012, 01:53:52 AM »
Hi
This is my first post and I fairly new to CNC so it may be a dumb question.
I've built a CNC hot wire foam cutter for building RC wings and fuselages and I've set up MACH3 units to be in millimeters.  I run some test cuts on some small wing profiles and everything is good.  So now I want to cut a wing to actually  for flying with.  I'm using Profili2 to design the wing and generate the gcode.  I'm using a old plan in inches and have created the gcode OK. 
I now there is a gcode to specify inches or millimeters so even though I set my machine up to use millimeters if the gcode says inches at the start will it do the conversion or do I need to convert it all first.

My machine build and a video of it working can be seen at http://www.rckeith.co.uk/cncfc.html
Thanks
Keith

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: Machine set to millimeters can I use gcode with inches OK
« Reply #1 on: July 19, 2012, 02:55:08 AM »
A G20 at the start of the code will tell Mach that it is Imperial and it should run fine.
Hood

Offline Tweakie.CNC

*
  • *
  •  9,243 9,243
  • Super Kitty
Re: Machine set to millimeters can I use gcode with inches OK
« Reply #2 on: July 19, 2012, 03:54:06 AM »
Hi Keith,

Nice RC website.  ;)

Tweakie.
PEACE
Re: Machine set to millimeters can I use gcode with inches OK
« Reply #3 on: July 19, 2012, 06:55:36 AM »
Thanks.  I'll give it it a try.

keith
Thanks
Keith