That's the way that comp works. Comp is applied as the tool moves from the previous position to the position specified in the comp line. This is referred to as a lead-in move. The tool doesn't just move over the comp amount when comp is called.
I have a simple cutter comp question. using a g41, why does my machine move in both the X and Y even though there is no X on the comp line? Below is the program that I am running. I have modified this from a Fanuc program. It runs fine except for that. It doesn really hurt anything, but I would rather it didn't do it. It only moves on the Y when it comes off cutter comp.
Thanks Mike
RPC-818-1 RETAINER BRACKET)
(11-04-13 M.R.E.)
N100G90G80G40G0
T1M6(5/16 CARBIDE CUTTER)
G54X-.2Y0S4000M3
G43Z.1H1
G1Z0F10.M8
X.5625
Y.07
Y-.07
Y0
X-.2F20.
G1Z-.15
X.25
X-.2
G1G41Y-.225F10.
X.25
G3X.475Y0R.225
G3X.25Y.225R.225
G1X-.2
G40Y0
G90G0Z1.
X3.5Y0
G1Z0F20.
X2.7375F10.
Y.07
Y-.07
Y0
X3.5F20.
G1Z-.15
X3.05
X3.5
G41G1Y.225
X3.05
G3X2.825Y0R.225
G3X3.05Y-.225R.225
G1X3.5
G40Y0
G90G0Z1.M9
G53Y0H0M19
M30
%
Similar Threads:
That's the way that comp works. Comp is applied as the tool moves from the previous position to the position specified in the comp line. This is referred to as a lead-in move. The tool doesn't just move over the comp amount when comp is called.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Gerry got it.
Cut comp is moving from the previous X Y location.
That's why you should have a 'lead-in', 'lead-out' move for cut comp.
I do have a lead in and out. Still don't understand why it moves on 2 axises. Never worked that way on my Fanuc and Yasnac control. So if I ma milling a pices of stock to length, there is no way to get it to just make a comp move on only the X axis?
Mike
No, the lead in move will always move on 2 axis.
The Lead-In move in your code is the one with the G41 in it.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)