586,117 active members*
3,606 visitors online*
Register for free
Login

Thread: G Code info

Results 1 to 10 of 10
  1. #1
    Join Date
    May 2010
    Posts
    0

    Question G Code info

    hi guys, i am back to pick your collective brains......i am new to all this and i wanted to get to grips with the mysterious art of G code and how it works and how to use it. Do you lads have any advce on books etc that would be a starting point in learning G code?
    thanks in advance to any and all replies

  2. #2
    Join Date
    Feb 2006
    Posts
    1792
    Join some commercial training course on CNC programming, for a steeper learning curve. Reading a book with absolutely no background would need tremendous patience and attention.

  3. #3
    Join Date
    Apr 2010
    Posts
    0
    Peter Smid's books are great references:

    [ame=http://www.amazon.com/Peter-Smid/e/B001IU4QEM]Amazon.com: Peter Smid: Books, Biography, Blog, Audiobooks, Kindle[/ame]

    I have the first two books, they're well written, but I think they're more suitable to a professional in the field than a hobbyist CNC user.

    Frankly, since I bought VCarve, I've not written a single line of g-code.

  4. #4
    Join Date
    Jan 2010
    Posts
    2141

  5. #5
    Join Date
    May 2010
    Posts
    0

    G Code info

    guys, thanks a million for your replies, this is the best forum site i have ever been on. Always direct and intelligent replies, and no condecending to the less experienced of us on this subject:cheers:

    will try your suggestions ont he books given, course on the subject are not readil or easily available on the subject here in Ireland

  6. #6
    Join Date
    Apr 2011
    Posts
    0
    Thank you Doorknob!

  7. #7
    Join Date
    Oct 2007
    Posts
    9
    Peter Smid's books are great if you have a background in machining, pretty easy to read too.

  8. #8
    Join Date
    May 2009
    Posts
    3
    G code is like riding a bike , become the tool, sit at the tip of the tool and start to remove the unwanted material a little at a time. remember to rough first, simi finish and then finish. a lathe program would look like this
    G code starts pretty basic. includes starting the motor (M03 foward M04 Reverse)
    setting a Rpm (G96 S1000 constant surface speed), setting speed parameters ( g94 or g95 ) setting a max RPM ( G50 S 900) turning on the Coolant ( m08) calling up the required Tool Number and the required tool number offset ( T0101 od face and turn CMNG 432 ) them its go time G00 X CLEARANCE POSITION G00 Z CLEARANCE POSITION
    ( CLOSE TO THE OD AND FACE OF THE MATERIAL ABOUT .100 IN BOTH DIRECTIONS)
    Face off moves require a G01 and a feed rate (.005 ) ( G01 X -.032 F.005: then retract from the face of the material proir to returning to the next cut (G00 W.005:this is a assolute code move ) following is what a face off code would look like:remember to set the tool geometry in the machine registry both in X and in Z )
    % (required Syntax)
    ( Program number)
    G0 G96 S500 M03 T0101:
    X 1.025 Z .01 :
    M8: (coolant on)
    G1 Z0 F.01:
    X-.032 F.005:
    G0 W.01: ( absolute move)
    X1.025:
    M9 (coolant off)
    M5 (Motor Stop)
    M30 (rewind program)
    % (required syntax)

    hope this is of some help
    luck
    joe

  9. #9
    Join Date
    Dec 2003
    Posts
    24221
    This may help also.
    CncSimulator.com
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  10. #10
    Join Date
    Jul 2011
    Posts
    39
    You can check my cnc blog tanvon | the way I go I just try to post simple to complex programming examples as well as other cnc related material
    CNC Manual - Read & Download CNC Machine Manuals without Limits on any device
    http://cncmanual.com/

Similar Threads

  1. Replies: 4
    Last Post: 03-29-2011, 02:39 PM
  2. fanuc program code vs. Haas code
    By sixty8frbrd in forum Fanuc
    Replies: 6
    Last Post: 03-11-2011, 04:05 AM
  3. Converting Fanuc G code to Seimens 840D G code
    By Jasbinder in forum SIEMENS -> Sinumerik 802D/808D/810D/828D/840D
    Replies: 2
    Last Post: 02-20-2011, 05:02 PM
  4. Replies: 8
    Last Post: 12-15-2010, 09:32 PM

Posting Permissions

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