Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: Boethius on May 20, 2010, 06:17:52 PM

Title: G code Sub routine
Post by: Boethius on May 20, 2010, 06:17:52 PM
Hi everybody. i don't know if it's the right place but i need some help with G-Code. I want to make a code that, for example, drill in one place and then drill again 20 microns to the side and then 20 micron again until it reach 3 mm. Basically i need to make a code with incremental of 20 micron to the side and then down, left and up again to make a square. I a simple thing but i try over and over again and i can't do it.

Thank you
Title: Re: G code Sub routine
Post by: BR549 on May 20, 2010, 11:03:13 PM
I would try the simple G81 drill cycle.

Look it up in the mach manual. Once called all you do is add the dril points. Then when done cancel with G80.

Hope that helps

Title: Re: G code Sub routine
Post by: RICH on May 21, 2010, 08:07:33 AM
You could also use one of the wizards.
RICH