Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Deano on July 09, 2011, 12:03:37 PM

Title: G Code Basics
Post by: Deano on July 09, 2011, 12:03:37 PM
Where can I find a tutorial of Mach3 version g code beyond just the quick reference available from the button on the Mach3 screen?   Many of the posts here are helpful, but assume a prior knowledge of the basics (i.e. of syntax and allowable commands for subroutines) which I don't have.  My old brain protests trying to piece together and draw inferences from scattered bits of information. there must be something, somewhere, laying out the groundrules for crusty noobies. :D  thanks
dean 
Title: Re: G Code Basics
Post by: ger21 on July 10, 2011, 07:11:18 AM
You could try the manual.
http://www.machsupport.com/docs/Mach3Mill_1.84.pdf
Title: Re: G Code Basics
Post by: RICH on July 10, 2011, 07:14:29 AM
I would suggest you consider purchasing CNC Programming Handbook by Peter Smid.
RICH
Title: Headers for G code
Post by: bfairey on July 10, 2011, 12:54:43 PM
I want to write a program in Notepad. When I try to run it in Mach3
nothing happens. I suspect I am missing some headers.
Brian.
Title: Re: G Code Basics
Post by: Graham Waterworth on July 10, 2011, 01:17:00 PM
Post your program here and lets see if we can work out your problem

Graham
Title: Re: G Code Basics
Post by: bfairey on July 14, 2011, 03:25:49 AM
Something like

G00Z-.25G40G90F3.0
G01x2.5y2.5
X1.0y1.0
G00Z.25

Brian
Title: Re: G Code Basics
Post by: ger21 on July 14, 2011, 07:06:07 AM
Try this.

G40 G90
G01 Z-.25 F3.0
G01 x2.5 y2.5
X1.0 y1.0
G00 Z.25