Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: laserman on January 13, 2011, 01:33:16 PM

Title: Laserman NEW simple question
Post by: laserman on January 13, 2011, 01:33:16 PM
Quick question.

Could some one give me an example of how to write a g code that does the following

go to x = 1" position quickly (feedrate 100%)?
go to y = - 1" position quickly (feedrate 100%)?
Ideally i would like to transition to x,y position simultanously  
go to z= .1 position quickly (feedrate 100%)?
go to z=-.2 very slowly (feedrate 10%)
go to z=.5 very quickly

so basically i want to transition to the new location quickly but drill slowly.  This will become important in the future because i want to drill glass with diamond bits (1mm dia YUCK!!!!) so i may also have to learn that peck drilling thing ive heard about ( but ill save that for a another day) I know these are basic questions and was hoping that other newbs that have already figured this out could help saving the more complex issues for the gurus (but i will gladly take advice from anybody)

Thanks in advance!

pat b
Title: Re: Laserman NEW simple question
Post by: Overloaded on January 13, 2011, 01:52:45 PM
G0 X1 Y-1   (rapid move at max speed in motor tuning)
G0 Z0.1      ( "        "                "                  )
G1 Z-.2 F1   ( move at feedrate   in per min , not % )
G0 Z.5          (rapid)

use in the clear first, I'm hell around glass .. lol
 
 
Title: Re: Laserman NEW simple question
Post by: laserman on January 13, 2011, 02:00:40 PM
thank you sir!

Ill try that right after lunch

pat b