What's new
What's new

Why would Cutter-Comp disable in the middle of my code?

bob1352

Plastic
Joined
Dec 21, 2017
Code:
G00 G17 G40 G49 G58 G80 G90 G98;
M06 T9 (.25 ENDMILL FOR .312 ARC PUT IN DIAMETER);
G43 H09 Z1. M03 S3820;
G41 D09 X0. Y0.;
G00 X3.25 Y.562;
G01 Z-.125 F45.8 ;
G02 X2.938 Y.25 R.312;
G01 Z1.;
G00 X3.25 Y.562;
G01 Z-.125;
G02 X2.938 Y.25 R.312;
G01 Z1.;
G00 X3.25 Y.562;
G01 Z-.25;
G02 X2.938 Y.25 R.312;
G01 Z1.;
G00 X3.25 Y.562;
G01 Z-.3;
G02 X2.938 Y.25 R.312;
G01 Z1.;
G40 X0. Y0.;
M01;

It appears that cutter comp is disabling while I am on the second pass for cutting an arc. This is giving the toolpath a weird shape and messing with the part. Why? I attached the print, the arc being machined is next to hole G with the radius being .312. I run a haas cnc mini mill with standard g- code.
 
You should always turn the comp off at the end on each pass, then turn it back on for the next pass.

Taking shortcuts will bite you in the ass, every time.
 
Check your manual. Cutter comp G41 and G42 normally has to be Started on a G01 line that has at least as much travel as the amount of offset. This means creating a lead in to your circle that includes as straight start line similar to this G41 G01 X1.5 Y1.5 F10.. You normally cannot rapid with G41 on and you cannot start G41 or G42 on a circular move such as G02.
 
I'm not seeing an attachment. What control is this running on? If you are using CAM, what OS? Have you ever made this part before?

R
 
What a mess.

Try running it in single block and looking at the work coordinates, you should see adjusted values there and not your programmed path, if comp is non-zero. Might give you an idea where your problem is.

Otherwise, do like Larry said.

Try using a proper non-cutting lead-in/out move to activate and deactivate comp.
 
Post 2, 3 and 4 are the answer. Cancel CC after ever pass and activate on the line in move making sure your offset amount is smaller than the line move.
 
Try changing this

G43 H09 Z1. M03 S3820;
G41 D09 X0. Y0.;
G00 X3.25 Y.562;

to

G00 X0 Y0;
G43 H09 Z1. M03 S3820;
G41 D09 X3.25 Y.562;
 
I always put a "dummy" move in. Rapid to within .5 in x and y. Activate comp G41 G1 D09 X__ Y__ F__
You should not have to cancel after every cut. Just make sure you are conventional or climb cutting through the whole cut as if you switch cutting direction it will comp the opposite way.
 
On the Haas, you don't have to kill and re-start cc after every pass. As noted above, make a short dummy move (if your software won't do it for you) just before you need to use the comp. The move does need to be a straight line G1 move (can be x, y, or xy - I do just one to keep it simple) longer than the amount of comp. I do it above the part, getting into position for the first cut. Then it you don't have room in the part, rapid above, make a G1 move canceling the cut, and you're done. Sure easy peasy. You can use a really fast feed rate to cancel since you know you're clear. Been doing it this was for a while....... Oh, rapid doesn't cancel the cc, at least on my Haas. :)

In the initial code OP, there isn't a G1 move in the line where you call the G41D. I'm not seeing a cancel move either. I'd be surprised if you are getting comp at all like that.
 








 
Back
Top