CAD CAM EDM DRO - Yahoo Group Archive

Beginning tool path text

Posted by Clint Bach
on 2000-02-04 20:40:38 UTC
Hi,

What commands are normally used in the beginning of a G-code tool path?
In the first few lines I can see initializing several things: G90 or
G91, Tool number, Turn tool offset on or off, Move Z to clearance
height, Set feed rate...
]
Something like:

G90
G40
T2
F15
Z0.5

Is this a reasonable start to a G-code file? Any recommendations?

The last few lines I usually use to park the machine and end the
program.

Something like:

G90 Z1.0
G90 X15 Y10
M02

Maybe turn off tool compensation if it is used.

What do others use to start and end their Tool paths?

Clint Bach

Discussion Thread

Clint Bach 2000-02-04 20:40:38 UTC Beginning tool path text Matt Shaver 2000-02-04 21:02:05 UTC Re: Beginning tool path text Dan Mauch 2000-02-05 07:04:46 UTC Re: Beginning tool path text