586,594 active members*
3,081 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2015
    Posts
    3

    Need Help with G code

    Good morning everyone.
    I'm really new in CNC machining and still trying to figure out how to create a G code. Been trying couple of times and nothing works for me.
    I will be really appreciated if someone can help me in the begging by writing G code for a next part.

    Short description:
    I have 4 axis Chinese CNC machine which seems like working fine.
    I'm cutting Bearing Bronze with 1/16 end mill 1/8 inch long bit.

    Short explanation regarding the part.
    I cut the case on my lathe which is cylinder 0.78" with cut inner diameter 0.66" and I need to mill those gaps 23 deg.
    I showed it a little bit wrong but I need just 0.8" long cut with radius by the end (not flat as pictured).

    Please help!!!
    Thank you!


  2. #2
    Join Date
    Mar 2016
    Posts
    58

    Re: Need Help with G code

    Start learning from one of my CNC DVDs for free, go to youtube, put in my name Heinz Putz and you will get detailed lathe programming examples.
    Also my website has examples at doccnc.com
    Good luck: Heinz.

  3. #3
    Join Date
    Jul 2015
    Posts
    3

    Re: Need Help with G code

    Please guys help me:-)

  4. #4
    Join Date
    Jun 2010
    Posts
    4256

    Re: Need Help with G code

    That part will be very hard to machine. Using bearing bronze will make it even harder. If you are new to CNC, ... I suggest you start with something more simple.
    Sorry about that, but I have machined similar things and it was NOT easy. The cutter tends to catch on the long thin arms and they go ... everywhere.

    Cheers
    Roger

  5. #5
    Join Date
    Dec 2012
    Posts
    395

    Re: Need Help with G code

    Hi,

    The code is something like this;

    %
    O1000 (SUB-PROGRAM)
    G90 X-0.5 Y0
    G01 Z- ___ F ___
    G91 G01 A11.5 Y0.03125
    G90 X0.92875
    G91 A-23 Y-0.0625
    G90 X-0.5
    G91 G01 A11.5 Y0.03125 ( X-0.5 Y0 A0 - STARTING POINT )
    G00 A22
    M99

    I assume the 4-th axis is the A-axis.
    This is a subprogram and repeat it 8 times.
    Test it first on a soft material.

    Regards,
    Heavy_Metal.

  6. #6
    Join Date
    Apr 2005
    Posts
    3634

    Re: Need Help with G code

    It looks like you need a slitting saw.
    Free DXF - vectorink.com

  7. #7
    Join Date
    Jul 2015
    Posts
    3

    Re: Need Help with G code

    Thank you! Will try on PVC first!

    - - - Updated - - -

    Quote Originally Posted by Switcher View Post
    It looks like you need a slitting saw.
    Really nice idea. I have something in mind so it could be even easier than with a bit

  8. #8
    Join Date
    Dec 2012
    Posts
    395

    Re: Need Help with G code

    Hi,

    OK, let us know what the final results are.

    Made some changes ( Metric ) for a random FANUC control that should work.
    Maybe the A- and Y- values in the sub-program should be A+ and Y+ but thats what you have to find out at the machine.

    %
    O1000(MAIN-PROGRAM)
    G54 G17 G40 G90
    M6 T1
    S3000 M3
    G00 G90 X0 Y0 A0
    /M8
    G43 Z25. H1
    M98 P1005 L8 ( REPEAT 8 TIMES - OR M98 P81005 )
    G00 G90 Z25. M9
    G00 G28 G91 Z0 M5
    G00 G28 Y0. A0
    M30

    O1005 (SUB-PROGRAM)
    G90 X-10. Y0
    G01 Z17. F1000
    G91 G01 A11.5 Y2.
    G90 X30.F350
    G91 A-23. Y-4.
    G90 X-10.
    G91 G01 A11.5 Y2. F1000 ( X-10. Y0 A0 - STARTING POINT )
    G91 G0 A45
    M99
    %

    Regards,
    Heavy_Metal.

Similar Threads

  1. Replies: 51
    Last Post: 09-16-2020, 01:28 AM
  2. mach3 crashing with run of code/drilling holes through table with other code
    By normalform in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 07-28-2014, 03:38 AM
  3. corel.hpgl > sheetcam.tap > pronterface.g-code > slic3r.g.code> ramps 1.4 > H-BOT
    By thesignworks in forum Uncategorised CAM Discussion
    Replies: 0
    Last Post: 05-25-2014, 02:11 PM
  4. Replies: 8
    Last Post: 12-15-2010, 09:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •