Hello Guest it is April 24, 2024, 08:49:05 PM

Author Topic: Radius to end of arc differs  (Read 3149 times)

0 Members and 1 Guest are viewing this topic.

Radius to end of arc differs
« on: November 22, 2007, 04:48:19 AM »
I can run the contour section by itself with no problems. But when I try to run both parts or just the 3/8 hole part, I get the radius error. I don't understand what the error is or why I'm getting it and especially how to fix it. I could write the program so that it will work but I'm trying to use the L word to shorten the program to under 100 lines or so.


(File created using FlashCut CNC DXF Import)
(Import File:  Phillip Telford Bellcrank 03 To Cut.dxf)
(Import Date:  11/22/2007)

(Main Program)
(Call Cut 3/8" Hole Sub 14 Times)
G00 Z0.20000
G00 X1.93705 Y0.37650
G01 Z0 F5
M98 P2 L14
G0 Z0.2

(Call Contour Sub 7 Times)
G00 X0 Y0.06200
G01 Z0 F5
(M98 P2 L7)
G0 Z0.5
G0 X0 Y0
M30

o1 (Sub Cut 3/8" Hole)
(G01 G91 Z-0.02 F5)
G90
(G02 X1.93705 Y0.37650 I-0.12900 J0.00000 F20.00)
G02 X1.93705 Y0.37650 R0.375 F20.00
M99

o2 (Sub - Cut Contour)
G01 G91 Z-0.02 F5
G90
G03 X0.06200 Y0.00000 I0.06200 J0.00000 F20.00
G01 X2.17200 Y0.00000
G01 X2.17200 Y0.87800
G01 X1.41900 Y0.87800
G01 X1.41900 Y0.66404
G01 X1.29000 Y0.66401
G01 X1.29000 Y0.24904
G01 X1.28504 Y0.24900
G01 X1.28500 Y0.66400
G01 X1.03200 Y0.66400
G01 X1.03200 Y0.24904
G01 X1.02704 Y0.24900
G01 X1.02701 Y0.66400
G01 X0.77400 Y0.66400
G01 X0.77400 Y0.24904
G01 X0.76904 Y0.24900
G01 X0.76900 Y0.66400
G01 X0.51600 Y0.66400
G01 X0.51600 Y0.24904
G01 X0.51104 Y0.24900
G01 X0.51101 Y0.66400
G01 X0.25800 Y0.66400
G01 X0.25800 Y0.24904
G01 X0.25304 Y0.24900
G01 X0.25301 Y0.66400
G01 X0.06200 Y0.66400
G03 X0.00000 Y0.60200 I0.00000 J-0.06200
G01 G91 Z-0.02 F5
G90
G02 X0.06200 Y0.66400 I0.06200 J0.00000 F20.00
G01 X0.25301 Y0.66400
G01 X0.25304 Y0.24900
G01 X0.25800 Y0.24904
G01 X0.25800 Y0.66400
G01 X0.51101 Y0.66400
G01 X0.51104 Y0.24900
G01 X0.51600 Y0.24904
G01 X0.51600 Y0.66400
G01 X0.76900 Y0.66400
G01 X0.76904 Y0.24900
G01 X0.77400 Y0.24904
G01 X0.77400 Y0.66400
G01 X1.02701 Y0.66400
G01 X1.02704 Y0.24900
G01 X1.03200 Y0.24904
G01 X1.03200 Y0.66400
G01 X1.28500 Y0.66400
G01 X1.28504 Y0.24900
G01 X1.29000 Y0.24904
G01 X1.29000 Y0.66401
G01 X1.41900 Y0.66404
G01 X1.41900 Y0.87800
G01 X2.17200 Y0.87800
G01 X2.17200 Y0.00000
G01 X0.06200 Y0.00000
G02 X0.00000 Y0.06200 I0.00000 J0.06200
M99

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Radius to end of arc differs
« Reply #1 on: November 22, 2007, 10:32:37 AM »
You need to look in the config and change the IJ mode.

it would also help if your programs had some start up lines.

e.g.

G21 G40 G00 G90 G80
G91.1

Graham.
Without engineers the world stops
Re: Radius to end of arc differs
« Reply #2 on: November 22, 2007, 01:39:20 PM »
How do I know which ones to include?

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Radius to end of arc differs
« Reply #3 on: November 22, 2007, 02:13:09 PM »
G20 is Inch measurements

G21 is Metric measurements

G40 cancels all old offsets

G00 is move in rapid

G90 movements are absolute

G80 cancel all drilling/tapping cycles

G91.1 use incremental arcs in G02/G03 (must be on a line of its own)

G90.1 use absolute arcs (must be on a line on its own)

Looking at your last program I would suggest :-

G20 G40 G00 G80 G90
G9g.1

Note

G9g.1  G90.1 or G91.1 depending on what your CAD/Cam system puts out for IJ's on G02/3

Graham.
Without engineers the world stops