603,350 active members*
3,414 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2009
    Posts
    2

    Mixing G2 & G3

    I have 3 cnc software programs that are mixing of G2 & G3 codes one right after the other. Something like this ...

    N10 G1 X4.0127 Y1.0288 Z-0.0960
    N20 G2 X4.5926 Y0.3807 I-0.1655 J-0.7315
    N30 G2 X4.4063 Y0.1723 I-0.1863 J-0.0208
    N40 G1 X4.2170 Y0.1723 Z-0.0960
    N50 G2 X4.0321 Y0.3286 I0.0000 J0.1875
    N60 G3 X3.6606 Y0.3152 I-0.1849 J-0.0312
    N70 G1 X3.6591 Y0.2264 Z-0.0960
    N80 G2 X3.4716 Y0.0420 I-0.1875 J0.0031

    I understand that G1 = Linear Interpolation and that G2 & G3 are circular interpolation moves ... G2 = clockwise ... G3 = counter clockwise.

    Can someone explain why the cnc creation software would decide to use G2 verses G3?

    I'm trying to understand the logic.

    Thanks,

    jtlodi

  2. #2
    Join Date
    Feb 2008
    Posts
    123
    are you attempting conventional milling or climb milling?

    A lot of the time it might switch up to stay with the same type of milling. It also depends on the geometry.

    Quote Originally Posted by jtlodi View Post
    N10 G1 X4.0127 Y1.0288 Z-0.0960
    N20 G2 X4.5926 Y0.3807 I-0.1655 J-0.7315
    N30 G2 X4.4063 Y0.1723 I-0.1863 J-0.0208
    N40 G1 X4.2170 Y0.1723 Z-0.0960
    N50 G2 X4.0321 Y0.3286 I0.0000 J0.1875
    N60 G3 X3.6606 Y0.3152 I-0.1849 J-0.0312
    N70 G1 X3.6591 Y0.2264 Z-0.0960
    N80 G2 X3.4716 Y0.0420 I-0.1875 J0.0031
    In your particular case here... it looks like the geometry is the reason.
    In most all of the CAM softwares that I have used, how you pick the geometry for the toolpath affects the toolpath, i.e - if I draw a simple arc and click on the top of the arc when setting my geometry, it will climb mill (G02). If I click on the bottom of the arc, it will conventional mill (G03).

  3. #3
    Join Date
    Feb 2008
    Posts
    586
    It's the contour your milling. if you follow the contour in the direction of the cut, some of the curves are going to be convex, some concave. G2 and G3 are one or the other. G2 can't be both, neither can G3. Open the following attachment -

    curves.bmp

    Follow the curves (generated from your data) with your finger, from top to bottom. One of them goes counter-clockwise, next to last curve. That was because of the G3 line. Hope this helps.

    By the way, climb or conventional doesn't come in to play here, because its just a contour at this point

  4. #4
    Join Date
    Jan 2009
    Posts
    2

    G2 and G3

    Thanks for putting this into simple english for me. In other words, the interpolation method used, be it G2 (CW) or G3 (CCW) is determined by the geometry and whether conventional or climb milling is chosen.

    Thanks for helping me understand this.

  5. #5
    Join Date
    Feb 2008
    Posts
    586
    I repeat! Conventional or Climb has NO part in this! The direction you take along the contour geometry is the factor. The same geometry profile in the same direction could be climb milling or conventional, depending on where the stock is. If you are cutting a shaped groove with material on both sides, the cutter is cutting in BOTH conventional and climb at once. If the contour and direction in a pocket is climb milling; keep the contour and direction and make it an outside contour, and now you have conventional milling. G02 and G03 only describe the geometry, not the milling method.

  6. #6
    Join Date
    Feb 2009
    Posts
    68

    Smile jtlodi, cutter comp

    the software that i use depends on how you chain / or choose the geometry
    you select .
    then if you can simulate the part before you post the nc code it will greatly
    reduce any errors.
    david.

Similar Threads

  1. New to CNC need help with mixing X,Y threads
    By dseaver in forum Mechanical Calculations/Engineering Design
    Replies: 2
    Last Post: 01-06-2009, 11:44 PM
  2. Mixing servos and steppers?
    By Corvus corax in forum Servo Motors / Drives
    Replies: 2
    Last Post: 12-05-2005, 08:20 AM
  3. mixing different motors?
    By koslaz in forum Servo Motors / Drives
    Replies: 2
    Last Post: 06-12-2005, 07:54 AM
  4. Mixing servo and stepper
    By ty1295 in forum Servo Motors / Drives
    Replies: 0
    Last Post: 01-19-2005, 04:26 PM
  5. motor mixing and matching...
    By charleyy in forum DIY CNC Router Table Machines
    Replies: 8
    Last Post: 09-06-2004, 05:32 AM

Posting Permissions

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