Page 1 of 2 12 LastLast
Results 1 to 12 of 15

Thread: G03 What wrong with my program?

  1. #1
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    29
    Downloads
    0
    Uploads
    0

    G03 What wrong with my program?

    I'm teaching myself how to program and I've come across some issues with programming G03. I have a Haas TL-1. I am machining a sphere in Aluminum, but eventually the final product will be produced in 4140. The radius of the sphere is 0.8875". T0101 is a DCMT with a 0.016" radius. My program is as follows:

    G96 S300 M03
    G00 X4.01 Z0.01 T0101
    G71 D0.075 F0.014 I0.05 K0.05 P10 Q90 U0.05 W0.0
    N10 G01 X0. Z0.
    N20 G03 X1.775 Z-0.8875 R0.8875
    N30 G03 X1.069 Z-1.596 R0.8875
    N40 G02 X1.096 Z-1.662 R0.062
    N50 G01 X1.181 Z-2.491
    N60 G02 X1.301 Z-2.569 R0.093
    N70 G01 X3.035 Z-2.894
    N80 G03 X3.156 Z-2.982 R0.093
    N90 G01 X3.156 Z-4.6995

    My limited knowledge of programming says this is right, but with the alarms I get on the machine says it's not. Any help would be appreciated.


  2. #2
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,501
    Downloads
    0
    Uploads
    0
    It might help if you told us what alarms you are getting, and where. Also, what happens after N90? And maybe a drawing of the finished part?


  3. #3
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    Try moving your start position on the line before the G71 to Z0.10 and change line N10 to G00 so you select Type II roughing.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  4. #4
    Registered
    Join Date
    Feb 2007
    Location
    USA
    Posts
    318
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Geof View Post
    Try moving your start position on the line before the G71 to Z0.10 and change line N10 to G00 so you select Type II roughing.
    +1

    I would also change X0 to X-.04 then add a line G01 X0 F0.00*. That will make sure there is no nub on the end of the sphere due to your 0.016" tool nose radius.

    Mike


  • #5
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    29
    Downloads
    0
    Uploads
    0
    This is the drawing of the finished part.G03 What wrong with my program?-page_1-1.jpg

    G03 What wrong with my program?-page_1-3.jpg


  • #6
    Registered KenFoulks's Avatar
    Join Date
    Aug 2010
    Location
    USA
    Posts
    569
    Downloads
    0
    Uploads
    0
    Try using I , J, and K instead of R values.
    Thanks,
    Ken Foulks


  • #7
    Registered
    Join Date
    Aug 2009
    Location
    USA
    Posts
    21
    Downloads
    0
    Uploads
    0
    Z0 can't be the face if you want N20 to have z-.8875 since that is the full radius. Z0 is either .0745 off the face or N20 should have Z-.813. It may be easiest to set your Z0 then all your other dimensions would fall in place.


  • #8
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,501
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Geof View Post
    Try moving your start position on the line before the G71 to Z0.10 and change line N10 to G00 so you select Type II roughing.
    Hey Geof,

    I may be wrong, but I think specifying both X and Z in N10 selects Type II roughing. I'm pretty sure that G00/G01 doesn't have anything to do with selecting type I or II.


  • #9
    Registered dcoupar's Avatar
    Join Date
    Mar 2003
    Location
    USA
    Posts
    2,501
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by rideredcr View Post
    This is the drawing of the finished part.Click image for larger version. 

Name:	Page 1-1.jpg 
Views:	92 
Size:	67.3 KB 
ID:	152643

    Click image for larger version. 

Name:	Page 1-3.jpg 
Views:	59 
Size:	71.1 KB 
ID:	152644
    We still don't know what alarms you are getting, do we?


  • #10
    Registered
    Join Date
    Jul 2005
    Location
    Canada
    Posts
    11,960
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dcoupar View Post
    Hey Geof,

    I may be wrong, but I think specifying both X and Z in N10 selects Type II roughing. I'm pretty sure that G00/G01 doesn't have anything to do with selecting type I or II.
    You are probably correct. I am working from memory being a few thousand miles away from the manuals I have beside my desk.
    An open mind is a virtue...so long as all the common sense has not leaked out.


  • #11
    Registered
    Join Date
    Oct 2007
    Location
    USA
    Posts
    29
    Downloads
    0
    Uploads
    0
    Thanks for the help guys! If I remember correctly the alarm message was "Z exceeds R value" but Ill get exactly what the alarm code says this weekend for you dcoupar.
    Ray


  • #12
    Registered
    Join Date
    Nov 2005
    Location
    USA
    Posts
    130
    Downloads
    0
    Uploads
    0
    Also note which line in the program is causing the alarm.

    I do believe there are some errors in your program. I can't see how the start of the .062 radius (1.069) can be a smaller diameter than the end of the radius (1.096) when the angle is just 5.9 degrees. That also happens to be the line in which the Z value is greater than the radius. 1.662 - 1.596 = .066

    I've been a machinist for quite a few years & could not make this part with the information given on that print.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Need Help!- Program runs the wrong way....
      By bgrdtruk in forum Fanuc
      Replies: 8
      Last Post: 06-18-2011, 04:36 AM
    2. Replies: 0
      Last Post: 12-27-2010, 03:55 AM
    3. Problem- "wrong program data" when file transfer????
      By spock in forum Bridgeport and Hardinge Mills
      Replies: 2
      Last Post: 07-28-2008, 06:59 PM
    4. what's wrong with this program?
      By cyclestart in forum LinuxCNC (formerly EMC2)
      Replies: 7
      Last Post: 01-30-2008, 10:32 AM
    5. Replies: 11
      Last Post: 10-09-2005, 12:45 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.