Need Help! learning g code


Results 1 to 5 of 5

Thread: learning g code

  1. #1
    Member
    Join Date
    Mar 2016
    Location
    United States
    Posts
    46
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:
    Attached Thumbnails Attached Thumbnails learning g code-002-jpg  


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: learning g code

    Try changing the IJ mode in General Config to Incremental.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

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

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


  3. #3
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Mar 2016
    Location
    United States
    Posts
    46
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Mar 2016
    Location
    United States
    Posts
    46
    Downloads
    0
    Uploads
    0

    Default Re: learning g code

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



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

learning g code

learning g code