Hello Guest it is March 28, 2024, 06:28:17 AM

Author Topic: G Code Basics  (Read 4135 times)

0 Members and 1 Guest are viewing this topic.

Offline Deano

*
  •  15 15
    • View Profile
G Code Basics
« 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 

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G Code Basics
« Reply #1 on: July 10, 2011, 07:11:18 AM »
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline RICH

*
  • *
  •  7,427 7,427
    • View Profile
Re: G Code Basics
« Reply #2 on: July 10, 2011, 07:14:29 AM »
I would suggest you consider purchasing CNC Programming Handbook by Peter Smid.
RICH
Headers for G code
« Reply #3 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.

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: G Code Basics
« Reply #4 on: July 10, 2011, 01:17:00 PM »
Post your program here and lets see if we can work out your problem

Graham
Without engineers the world stops
Re: G Code Basics
« Reply #5 on: July 14, 2011, 03:25:49 AM »
Something like

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

Brian

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G Code Basics
« Reply #6 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
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html