Hello Guest it is April 24, 2024, 08:27:38 PM

Author Topic: Cutter Compensation  (Read 7162 times)

0 Members and 1 Guest are viewing this topic.

Cutter Compensation
« on: January 23, 2007, 09:13:06 AM »
I am trying to do cutter compensation on a fairly simple shape, but Mach 3 complains about the end radius of the arc not matching the start radius.
The GCode below works fine if I remove the G41. Any suggestions?

G41 P0.09
N1 G00 X0. Y0. Z0.1
N2 X1.7 Y1.5
N3 G01 Z-0.375 F15.
N4 G02 Y1.25 I0. J-0.125 F20.
N5 G01 X1.2
N6 G03 X1.075 Y1.125 I0. J-0.125
N7 G01 Y0.875
N8 G03 X1.2 Y0.75 I0.125 J0.
N9 G01 X1.7
N10 G02 Y0.5 I0. J-0.125
N11 G01 X1.1211
N12 G03 X1.0327 Y0.4634 I0. J-0.125
N13 G01 X0.7479 Y0.1785
N14 G02 X0.5711 Y0.3553 I-0.0884 J0.0884
N15 G01 X0.7518 Y0.536
N16 G03 X0.825 Y0.7128 I-0.1768 J0.1768
N17 G01 Y1.2872
N18 G03 X0.7518 Y1.464 I-0.25 J0.
N19 G01 X0.5711 Y1.6447
N20 G02 X0.7479 Y1.8215 I0.0884 J0.0884
N21 G01 X1.0327 Y1.5366
N22 G03 X1.1211 Y1.5 I0.0884 J0.0884
N23 G01 X1.7
N24 G00 Z0.1

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Cutter Compensation
« Reply #1 on: January 23, 2007, 12:08:54 PM »
Are you set to incremental I,J mode in config, I think you need to be.

Graham.
Without engineers the world stops
Re: Cutter Compensation
« Reply #2 on: January 23, 2007, 12:59:15 PM »
Yes, I do have IJ set to incremental (tried other settings to, without much luck)

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Cutter Compensation
« Reply #3 on: January 23, 2007, 02:04:14 PM »
Are you cutting inside the shape or outside.

Looking at the code you don't have a lead in or out. Will you post me more detail and a DXF file and I will look into it in more detail.

Graham.
Without engineers the world stops
Re: Cutter Compensation
« Reply #4 on: January 23, 2007, 03:22:31 PM »
Here's the dxf (from BobCad V20)

Trying to cut on the outside (so G41 P0.0625 for a CW toolpath)

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Cutter Compensation
« Reply #5 on: January 23, 2007, 03:40:09 PM »
Try this program.

Graham.


O0001 (SHAPE)

G20 G40 G00 G80 G17

N1 (.0625 end mill)
G00 G90 X1.708 Y1.203
Z.1
G01 Z-0.375 F15.
G41 P.0625 X1.739 Y1.211 F20.
G03 X1.7 Y1.25 R0.039
G01 X1.2
G03 X1.075 Y1.125 R0.125
G01 Y0.875
G03 X1.2 Y0.75 R0.125
G01 X1.7
G02 X1.825 Y0.625 R0.125
X1.7 Y0.5 R0.125
G01 X1.121
G03 X1.033 Y0.463 R0.125
G01 X0.748 Y0.179
G02 X0.571 Y0.355 R0.125
G01 X0.752 Y0.536
G03 X0.825 Y0.713 R0.25
G01 Y1.287
G03 X0.752 Y1.464 R0.25
G01 X0.571 Y1.645
G02 Y1.821 R0.125
X0.748 R0.125
G01 X1.033 Y1.537
G03 X1.121 Y1.5 R0.125
G01 X1.7
G02 X1.825 Y1.375 R0.125
X1.7 Y1.25 R0.125
G03 X1.661 Y1.211 R0.039
G01 G40 X1.692 Y1.203
G00 Z1.
M30
« Last Edit: January 23, 2007, 03:44:51 PM by Graham Waterworth »
Without engineers the world stops
Re: Cutter Compensation
« Reply #6 on: January 23, 2007, 05:00:57 PM »
I tried it, but Mach 3 now complains about the radius of the arc being smaller than the cutter after compensation. I think the problem is the lead in path.


Meanwhile I have generated a different toolpath with the offset function in BobCad. This function essentially creates the compensated toolpath.
Of course that means deciding upon a tool while doing the CAM, but it worked like a charm.

Thanks for your help!
Bart

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Cutter Compensation
« Reply #7 on: January 23, 2007, 05:14:16 PM »
This should work now.

Graham.

O0001 (SHAPE)

G20 G40 G00 G80 G17

N1 (.0625 end mill)
G00 G90 X1.681 Y1.094
Z.1
G01 Z-0.35F15.
G41 P.0625 X1.754 Y1.155 F20.
G03 X1.7 Y1.25 R0.063
G01 X1.2
G03 X1.075 Y1.125 R0.125
G01 Y0.875
G03 X1.2 Y0.75 R0.125
G01 X1.7
G02 X1.825 Y0.625 R0.125
X1.7 Y0.5 R0.125
G01 X1.121
G03 X1.033 Y0.463 R0.125
G01 X0.748 Y0.179
G02 X0.571 Y0.355 R0.125
G01 X0.752 Y0.536
G03 X0.825 Y0.713 R0.25
G01 Y1.287
G03 X0.752 Y1.464 R0.25
G01 X0.571 Y1.645
G02 Y1.821 R0.125
X0.748 R0.125
G01 X1.033 Y1.537
G03 X1.121 Y1.5 R0.125
G01 X1.7
G02 X1.825 Y1.375 R0.125
X1.7 Y1.25 R0.125
G03 X1.638 Y1.181 R0.063
G01 G40 X1.678 Y1.094
G00 Z1.
M30
Without engineers the world stops
Re: Cutter Compensation
« Reply #8 on: January 24, 2007, 07:25:40 PM »
I have a problem with compensation also. I just upgraded my mini mill 2 with new steppers and controller as well as Mach3. my g codes are created by a program I have used for years, (Minitech cnc) My templates come out 1 mm smaller all the way around. I use a 1 mm bit. I don't see any compensation in the Mach 3 program. I cut outside sometimes and inside others. I sure could use some help. Thanks joe

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: Cutter Compensation
« Reply #9 on: January 25, 2007, 04:09:03 AM »
Hi Joe,

post a dxf file and I will have a look at it.

Graham.
Without engineers the world stops