Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: egore 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
-
post your program so we can have a look.
Graham.
-
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.
-
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
-
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
-
It looks to me that the maximum tool diameter is .0625, so set G42 P.031 and it should work.
Graham.
-
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. :)
-
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
-
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. :)
-
Art is there a way to make g42 comp make a better move on offsets it enters then backs up every time.
Wes
-
I have found a new way to give myself a headache lcam pocket, g42, backlash comp, 91.1, g54, and g21
Wes
-
I have now found the reson for my headache, i had hit reset origin with a outside offset in place and then the problem compounded.
Wes