Hello Guest it is March 28, 2024, 05:19:41 PM

Author Topic: G code for a circle  (Read 15366 times)

0 Members and 1 Guest are viewing this topic.

G code for a circle
« on: August 09, 2007, 10:09:21 AM »
Hi,

  I have a Tormach 1100 PCNC and BobCadCam v20 software. I know the value of being able to understand G code and not rely fully on a Cam program so that you can scan your code for errors. What I would like to know is, will someone help me with a simple program. I am a complete tyro when it comes to G code. I have drilled a 17/64 hole through a steel part and drilled the same hole 7/16 dia. .280 deep. I now want to use a .250 end mill to finish the counterbore ( I do not have a counterbore tool nor do I have a 7/16 end mill ). The problem is, I do not understand how the I and J codes work. I only know that they have something to do with circles. If someone is willing would they write a sample program for the above counterbore operation .300 deep? It would be appreciated.

Thanks,

         Ernie

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: G code for a circle
« Reply #1 on: August 10, 2007, 12:45:22 PM »
Try this :-

G20 G40
G00 G90 X0 Y0 S1000 M3
Z.05 M8
G01 Z-.05 F2.
X.0935
G03 I-.0935
G01 X0
G01 Z-.1 F2.
X.0935
G03 I-.0935
G01 X0
G01 Z-.15 F2.
X.0935
G03 I-.0935
G01 X0
G01 Z-.2 F2.
X.0935
G03 I-.0935
G01 X0
G01 Z-.25 F2.
X.0935
G03 I-.0935
G01 X0
G01 Z-.3 F2.
X.0935
G03 I-.0935
G01 X0
G00Z1.
M30

Graham.
Without engineers the world stops
Re: G code for a circle
« Reply #2 on: August 11, 2007, 03:27:27 PM »
Graham,

       Thanks for the code. You cannot believe how much help it was for me.

   Regards,

            Ernie