Hello Guest it is December 13, 2019, 03:52:20 AM

Author Topic: G code Sub routine  (Read 2123 times)

0 Members and 1 Guest are viewing this topic.

G code Sub routine
« 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

Offline BR549

  •  6,916 6,916
    • View Profile
Re: G code Sub routine
« Reply #1 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

Offline RICH

  • *
  •  7,378 7,378
    • View Profile
Re: G code Sub routine
« Reply #2 on: May 21, 2010, 08:07:33 AM »
You could also use one of the wizards.