Results 1 to 9 of 9

Thread: Circle Contour Not Initiating

  1. #1
    Registered
    Join Date
    Feb 2012
    Location
    United States
    Posts
    7
    Downloads
    0
    Uploads
    0

    Circle Contour Not Initiating

    Hey everyone! I'm a senior mechanical engineering student. I am trying to get a circle contour for the part in the picture attached. We have a Haas TM2 and I have used the macros to do the bolt pattern and the 2 pockets. The TM2 (at least ours) doesn't have an easy macro for circles. I don't want it to go all of the way through the part, just most of the way (i.e, it's 0.25" thick and I want the circle contour to go 0.24" for instance). I have tried to hand write g-code and have attached the program that I have been working with. It has the bolt pattern and pockets in there which I have tested using wood. The 4th section is my issue. It gets to the line after the N100 line and goes down the -0.08" and does not move. It just stays in that spot (i.e, doesn't make a circle). Can anyone help me? If anyone is curious, this is for our senior design project for FSAE. Thanks in advance for help!


    %
    O33333

    (CIRCLE BOLT PATTERN)

    (DRILL)
    T1 M06
    G00 G90 G54 X0. Y0.
    S1070 M03
    G43 H01 Z0.2
    G83 G98 Z-0.7 F3.5663 Q0.05 L0
    G70 I1.315 J30. L6
    G00 G80 Z0.2 M09
    M05
    G28 G91 Z0
    G00 G90 G54 X0 Y0
    M01



    (COUNTER-CLOCKWISE CIRCULAR POCKET)

    (END MILL)
    T3 M06
    G00 G90 G54 X0. Y0.
    S267 M03
    G43 H03 Z0.2
    G01 Z0. F1.335
    N100 G13 G91 G01 Z-0.0406 I0.35 K1.125 Q0.2 F1.335 L2 D03
    G00 G90 Z0.2 M09
    G28 G91 Z0 M05
    G00 G90 G54 X0 Y0
    M01



    (COUNTER-CLOCKWISE CIRCULAR POCKET)

    (END MILL)
    T3 M06
    G00 G90 G54 X0. Y0.
    S267 M03
    G43 H03 Z0.2
    G01 Z0. F1.335
    N100 G13 G91 G01 Z-0.13 I0.35 K1. Q0.2 F1.335 L2 D03
    G00 G90 Z0.2 M09
    G28 G91 Z0 M05
    G00 G90 G54 X0 Y0
    M01


    (COUNTER-CLOCKWISE CIRCLE CONTOUR)

    (END MILL)
    G20 T3 M06
    G00 G90 G54 X0 Y0
    S267 M03
    G43 H03 Z0.2
    G00 X-1.875 Y0
    G01 Z-0.08 F1.335
    N100 G17 G90 F5
    G03 X-1.875 Y0 I1.875 J0 Z-0.08
    G00 X-1.875 Y0
    G01 Z-0.16 F5
    G17 F5
    G03 X-1.875 Y0 I1.875 J0 Z-0.16
    G00 X-1.875 Y0
    G01 Z-0.24 F5
    G17 F5
    G03 X-1.875 Y0 I1.875 J0 Z-0.24
    G00 Z0.2 M05
    G00 G90 G54 X0 Y0
    M01
    %
    Attached Thumbnails Attached Thumbnails Circle Contour Not Initiating-untitled.png  


  2. #2
    Registered KenFoulks's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    569
    Downloads
    0
    Uploads
    0
    You are missing the decimal in your feed rates.
    Thanks,
    Ken Foulks


  3. #3
    Registered
    Join Date
    Nov 2011
    Location
    usa
    Posts
    10
    Downloads
    0
    Uploads
    0
    You are missing the decimal point on your feed of 5(.) in your example, the machine will assume a feed of .005

    Sorry got the I & J mixed up in my original post... My memory is not so good from home ):

    Try this program
    G00 G90 G54 G43 H3 D3 X0 Y0(center of your part.. use tool radius in tool 3 offsets )
    S267 F5.
    G00 Z0.2
    M03
    G00X-1.5 Y-1.5
    G41(cutter comp left)
    G01 X-.975 Y-1.3
    G01 Z-0.08 F1.335
    F5.
    G02 J1.3 I.975
    G01 Z-0.16
    G02 J1.3 I.975
    G01Z-.240
    G02 J1.3 I.975
    G00 Z0.2
    M05
    G40
    X-1.5
    G00 G90 G54 X0 Y0
    M01
    %
    Last edited by obiwon; 02-10-2012 at 12:19 PM.


  4. #4
    Registered
    Join Date
    Feb 2012
    Location
    United States
    Posts
    7
    Downloads
    0
    Uploads
    0
    Hmm thank you for your help! Doesn't G17 need to be initialized somewhere?


  • #5
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    318
    Downloads
    0
    Uploads
    0
    G17 is the default when the machine is powered on. It stays on until you call G18 or G19.

    Mike

    P.S. That pesky decimal gets me every time!


  • #6
    Registered
    Join Date
    Feb 2012
    Location
    United States
    Posts
    7
    Downloads
    0
    Uploads
    0
    obiwon, I'm curious as to why the i and j values are what they are since I am trying to cut around the outside (with a diameter of 3.25").


  • #7
    Registered
    Join Date
    Apr 2005
    Location
    Paradise, Ca, USA
    Posts
    626
    Downloads
    0
    Uploads
    0
    You also will want to get out of the habit of using the same N# multiple times. If you start writing macros or subroutines, this practice could get you in trouble. It doesn't make sense anyway.


  • #8
    Registered Machineit's Avatar
    Join Date
    Mar 2010
    Location
    USA
    Posts
    1,011
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by TS656577 View Post
    obiwon, I'm curious as to why the i and j values are what they are since I am trying to cut around the outside (with a diameter of 3.25").
    I's and J's are the distance from the starting point of the arc to the center of the arc. So if you are starting on the left or right of an arc, the I could be a positive or a negative number.

    If it confuses you try drawing it quickly on paper and it will be easier to visualize. That makes it easier when programing by hand.

    Mike
    Haas VF-2, HA5C, Hardinge CHNC 1, BobCAD V23


  • #9
    Registered
    Join Date
    Nov 2011
    Location
    usa
    Posts
    10
    Downloads
    0
    Uploads
    0
    R x.6=I and neg X start point
    R x.8=J and neg Y start point
    Programing with no R will cut a full circle and I always use cutter comp as its easier to figure out and you can adjust your finish diameter with your tool radius instead of changing your program...Hope that helps
    Last edited by obiwon; 02-10-2012 at 10:23 AM. Reason: sorry, got the I & J mixed up


  • Similar Threads

    1. Pocket and Contour ????
      By Burnit0017 in forum Carken Products (Deskam, DeskCNC etc)
      Replies: 0
      Last Post: 06-23-2011, 06:18 AM
    2. write gcode for circle with 4 small circle inside it
      By Farzaneh_2010 in forum G-Code Programing
      Replies: 3
      Last Post: 12-13-2010, 11:24 AM
    3. Problem- Contour help
      By johny0407 in forum Mastercam
      Replies: 1
      Last Post: 05-14-2009, 09:15 AM
    4. need help with 3D contour
      By OzDragonflyer in forum Mastercam
      Replies: 4
      Last Post: 12-04-2008, 12:03 AM
    5. Need Help!- Swept 2d contour
      By mrsammy in forum Open Source Controller Boards
      Replies: 0
      Last Post: 07-06-2008, 12:22 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.