What's new
What's new

G91 & Cutter Comp

Motorsports-X

Hot Rolled
Joined
Nov 22, 2014
Location
Texas
Is there a parameter that forces cutter comp cancel when g91 is commanded? I dont do much hand programming anymore, but I was messing around and wrote a quick "copy and paste" snippet of code since The computers were already being used for something else.

Code:
%
O0500;
T14M06;
G90G17G43H14;
S2637M03;
G121G0Z2.0;
X-1.1Y.40M8;
Z.0:
G91;
G01F46.67;
X10.10;
G90G0; 
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;
G91
Y-.100;
X10.10G01;
G90G0;
Z.50;
X-.625;
Z0.0;


as you can see, it just steps .10 in y and repeats for a quick facing op, but for some reason, when the control switches back to G90 and makes the X move (x-.625) it moves the y to the non compensated position first (before it makes the x move.) if you keep going this causes a .6" step over instead of a .1" step.


anyone got any ideas how to prevent that y move??


(yes,, i know you can use m52.. and i know you can use can cycles.. but this was a quick five lines of code and a few ctrl+c/ctrl+v's...easy)
 
Is this your own company?
If not, is there no one there that checks your program.
Cutter Comp can be in G90 or G91 and of course, Sinha is correct, you need G41 or G42 for left or right comp.
Try learning a lot more about G-Code programming, the more you know, the more valuable you are.
Heinz.
 
g91? no,
most controllers cancel CC on g00.
but you gotta have it in the program first, to cancel.
looks like nice even steps here
 
Sorry I copied the code over here After I deleted it at the machine. There was a g41. Anyway.. So What you guys are saying is the g0 cancels it. So I guess no way to stop that from happening?
 
Sorry I copied the code over here After I deleted it at the machine. There was a g41. Anyway.. So What you guys are saying is the g0 cancels it. So I guess no way to stop that from happening?

Hello Motorsports-X,
Cutter Radius Compensation is not cancelled by G00; in any control. If the tool was in Fresh Air (not engaged with the workpiece) you could write a program with nothing but G00 moves in the Compensation Plane and the Cutter Radius Compensation would be correctly applied. However, what you can't have is two Blocks that are non movement Blocks in the compensation plane. The following extract from your program constitutes two non movement blocks and there is no requirement to write the code like that.
G90G0;
Z.50;

Regards,

Bill
 








 
Back
Top