586,089 active members*
3,877 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2016
    Posts
    46

    learning g code

    Trying to get a grasp of g code, I am doing a demo as a learning experience on Mach3 . so I put in the g code as seen in the photo which is attached thinking I was going to see a series of 3 circles along the x axis the
    first having a radius of .25" and the 2nd and 3rd having a radius of .5". do I need to get a bottle of Jim Beam or what? It s rather difficult to see result on this photo , but its showing 3 concentric circles ... thanks for the help

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: learning g code

    Try changing the IJ mode in General Config to Incremental.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Dec 2013
    Posts
    5717

    Re: learning g code

    Try this

    G0 X0.25 Y0.0
    G3 X0.25 Y0.0 I-0.25 J0.0
    G0 X0.3125
    G3 X0.3125 Y0.0 I0.5 J0.0
    G0 X1.375
    G3 X1.375 Y0.0 I0.5 J0.0

    I spaced the circles 0.0625 apart, and removed the z moves for clarity. I generated this in CamBam. CamBam normally breaks circles into 3 or 4 arcs, but I edited the G-code to make it one continuous circle just to make it simple. This has 3 circles along the X axis in Mach3

  4. #4
    Join Date
    Mar 2016
    Posts
    46

    Re: learning g code

    Quote Originally Posted by ger21 View Post
    Try changing the IJ mode in General Config to Incremental.
    thanks, that did solve the problem.

  5. #5
    Join Date
    Mar 2016
    Posts
    46

    Re: learning g code

    thanks a lot, I did what ger21 recommended and that did solve the problem.

Similar Threads

  1. learning g code or cad-cam code output?
    By slow_rider in forum G-Code Programing
    Replies: 3
    Last Post: 02-28-2010, 03:48 AM
  2. learning G code
    By markus_detroy in forum DIY CNC Router Table Machines
    Replies: 2
    Last Post: 07-22-2008, 08:48 AM
  3. Learning G-Code?
    By Jeff Roark in forum Uncategorised CAM Discussion
    Replies: 2
    Last Post: 11-24-2007, 04:47 AM
  4. learning g code
    By slow_rider in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 17
    Last Post: 05-11-2007, 06:11 PM
  5. learning to g-code
    By bush666au in forum G-Code Programing
    Replies: 3
    Last Post: 04-06-2004, 12:02 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
  •