Hello Guest it is April 24, 2024, 07:48:28 AM

Author Topic: G code cutter comp problem  (Read 8950 times)

0 Members and 1 Guest are viewing this topic.

G code cutter comp problem
« on: April 12, 2007, 08:19:35 PM »
Using mach2 on a Tormach I get a "concave corner with cutter comp on" error when I port programs from Bridgeport with Ah-ha controller.  Problem comes when I use G41/42 with tool number or comp specified in the code.  Sometimes I can fool it into working right by setting the tool offset on the mdi page and offset in the table.    Something I am not setting right?
Thanks, Joe

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: G code cutter comp problem
« Reply #1 on: April 13, 2007, 08:42:22 AM »
post your program so we can have a look.

Graham.
Without engineers the world stops

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G code cutter comp problem
« Reply #2 on: April 13, 2007, 12:39:22 PM »
With Mach2's cutter comp, you can't have3 any sharp inside corners or you'll get that error. All inside corners need a radius at least the tool radius, or a little bigger.

Or, use Mach3 with advanced comp, which won't give you any errors.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: G code cutter comp problem
« Reply #3 on: April 13, 2007, 02:31:04 PM »
This code I could actually run by leaving out the tool call in the code and putting it in the tool block on the program screen.  Others I have tried do not run at all.  While it was working with the comp on the screen the conversational line said cutter comp was off in the interpreter.
You say III  handles it better?

Joe



G90
G55
M03S2500
F4.0
G00 X-.25 Y0.0 Z0.0
G01 X0.011 G42 (if I stick a D3 or a P.060 here it gives me the error)
G01 X0.6914
G02 X0.722 Y-0.0248 I0.0003 J-0.031
G03 Y-0.0266 I0.011 J0.0007
X0.733 Y-0.035 I0.0107 J0.0026
G01 X0.774
G03 X0.785 Y-0.024 I0. J0.011
G01 Y4.075
G03 X0.774 Y4.086 I-0.011 J0.
G01 X0.733
G03 X0.7223 Y4.0776 I0. J-0.011
Y4.0764 I0.0107 J-0.0026
G02 X0.6916 Y4.051 I-0.0305 J0.0056
G01 X0.011
G03 X0. Y4.04 I0. J-0.011
G01 Y3.988
X0.691 F3.0
G02 X0.722 Y3.957 I0. J-0.031
G01 Y0.094
G02 X0.691 Y0.063 I-0.031 J0.
G01 X0.011 F1.0
G03 X0. Y0.052 I0. J-0.011
G01 Y-.3F4.0
     Y-.5G40
G00 X-1.0

M30
 
Re: G code cutter comp problem
« Reply #4 on: April 13, 2007, 02:40:08 PM »
I have had machines that would have a problem if the line after the corner wasn't as long as the cutter radius but not this problem.  If you need to know the size of the cutter in order to make rads in the corners ahead of time, whats the point of cutter comp?
Even with this problem, I have to say MachII is a pretty nice envronment compaired to some I have used.
Joe

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: G code cutter comp problem
« Reply #5 on: April 13, 2007, 07:06:24 PM »
It looks to me that the maximum tool diameter is .0625, so set G42 P.031 and it should work.

Graham.
Without engineers the world stops

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G code cutter comp problem
« Reply #6 on: April 13, 2007, 08:07:37 PM »
If you need to know the size of the cutter in order to make rads in the corners ahead of time, whats the point of cutter comp?

That's why there's a better version in Mach3. You're using Mach2. 2-3 years of development have occured since Art stopped working on Mach2. You Tormach guys need to jump on the Mach3 bandwagon. :)
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: G code cutter comp problem
« Reply #7 on: April 13, 2007, 08:44:23 PM »
Graham,
  This is a .01 radius tool with an diameter of .059 that walks around the top of an electrode.  If I put anything after the G42 it bombs.   As ger21 said, it takes exception to inside corners.  I will have to try fixing some other programs I tried to port over by sticking an R in the G1 and see if it works.  I never had any formal training in G-code and often leave off most of the "machine state" calls in the beginning of the program.   I thought there might be some switch I missed flipping.
  Don't get me wrong.  I still think MachII is a exceptional product as long as you don't need the tool comp.  If MachIII is the way to go then that is where I am headed!
Joe

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: G code cutter comp problem
« Reply #8 on: April 13, 2007, 09:35:06 PM »
You CAN have both Mach3 and Mach2 installed on the same PC, just don't try to run them at the same time. So you can download mach3 and try it to see if it makes a difference. It should. :)
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: G code cutter comp problem
« Reply #9 on: June 17, 2007, 10:41:17 PM »
Art is there a way to make g42 comp make a better move on offsets it enters then backs up every time.

Wes
Have a nice Day