Results 1 to 4 of 4

Thread: CNC Code troubleshooting

  1. #1
    Registered
    Join Date
    Nov 2006
    Location
    US
    Posts
    1
    Downloads
    0
    Uploads
    0

    CNC Code troubleshooting

    I keep getting the error "Radius to end of arc differs from radius to start on line number #15"
    It also gets that error on lines 20 and 25.
    I am trying to cut a disk 7 inch in dia with three passes of 0.26 inch at a feed rate of 5 inch per min. with the center of disk at x0, y0. and a bit of .25 dia.

    N0000 (Filename: Drawing1.tap)
    N0010 (Post processor: Mach2.post)
    N0020 (Date: 11/12/2006)
    N0030 G20 (Units: Inches)
    N0040 G40 G90
    N0050 F1
    N0060 (Part: Drawing1)
    N0070 M6 T3 (Mill/Router, 0.25 in diameter)
    N0080 G43 H3 F5
    N0090 M04 S0
    N0100 (Process: Outside offset 0, Mill/Router, 0.25 in diameter, 0.78 in Deep)
    N0110 G00 Z0.3750
    N0120 X0.0000 Y-3.6250
    N0130 Z0.0197
    N0140 G01 Z-0.2600
    N0150 G02 X-3.6250 Y0.0000 I-0.0000 J3.6250
    N0160 X0.0000 Y3.6250 I3.6250 J-0.0000
    N0170 X3.6250 Y0.0000 I0.0000 J-3.6250
    N0180 X0.0000 Y-3.6250 I-3.6250 J-0.0000
    N0190 G01 Z-0.5200
    N0200 G02 X-3.6250 Y0.0000 I-0.0000 J3.6250
    N0210 X0.0000 Y3.6250 I3.6250 J-0.0000
    N0220 X3.6250 Y0.0000 I0.0000 J-3.6250
    N0230 X0.0000 Y-3.6250 I-3.6250 J-0.0000
    N0240 G01 Z-0.7800
    N0250 G02 X-3.6250 Y0.0000 I-0.0000 J3.6250
    N0260 X0.0000 Y3.6250 I3.6250 J-0.0000
    N0270 X3.6250 Y0.0000 I0.0000 J-3.6250
    N0280 X0.0000 Y-3.6250 I-3.6250 J-0.0000
    N0290 G00 Z0.3750
    N0300 M05
    N0310 G49
    N0320 M05 M30


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,293
    Downloads
    0
    Uploads
    0
    Try changing your IJ mode. It should be set to Incremental, and it's probably on absolute.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  3. #3
    Registered GaryCorlew's Avatar
    Join Date
    Jan 2006
    Location
    Usa
    Posts
    349
    Downloads
    0
    Uploads
    0
    here is the corrected code, I also ran yours in ncplot

    %
    O0000
    (PROGRAM NAME - CNCZONE)
    (DATE=DD-MM-YY - 12-11-06 TIME=HH:MM - 21:48)
    N100G20
    N102G0G17G40G49G80G90
    ( 1/4 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .25)
    N104T1M6
    N106G0G90G54X3.625Y0.S0M5
    N108G43H1Z.25
    N110Z.1
    N112G1Z-.26F5.
    N114G2X-3.625R3.625
    N116X3.625R3.625
    N118G1Z-.52
    N120G2X-3.625R3.625
    N122X3.625R3.625
    N124G1Z-.78
    N126G2X-3.625R3.625
    N128X3.625R3.625
    N130G1Z-.68F6.42
    N132G0Z.25
    N134M5
    N136G91G28Z0.
    N138G28X0.Y0.
    N140M30
    %
    Attached Thumbnails Attached Thumbnails CNC Code troubleshooting-plot.jpg  


  4. #4
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,293
    Downloads
    0
    Uploads
    0
    Gary, there was nothing wrong with his code. His IJ mode in Mach was set wrong. It's supposed to be a circle, not what your picture shows. His code runs fine here.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


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.