What's new
What's new

C axis milling

jacobsiebold

Plastic
Joined
Jan 12, 2022
I am trying to mill flats on a round bar. No matter what I change in the X in the program it wants to mill on center. The only way to get it to work, is to change the Tool comp on the X and Z to half the flat width. I would like to be able to put the correct cutter comp in and have it come out. My code is below, TIA

(3/4 ENDMILL) T080808
NAT08
N0900 M110
N0902 G94 M146 M15 M08
N0903 Z0.55 T080808 SB=1500
N0904 X.6
N0905 G17
N0906 C0 G41 M13
N0907 G01 Z-2.16 F110.2 M147
N0908 G101 X.368 F6.52 M146
N0909 C180
N0910 X.6
N0911 G00 Z0.55 M147
N0912 G40
N0913 M146
N0914 G41
N0915 G01 Z-2.16 F110.2 M147
N0916 G101 X.368 F6.52 M146
N0917 C0
N0918 X.6
N0919 G00 Z0.55 M147
N0920 G40
N0921 M146
 

Comatose

Titanium
Joined
Feb 25, 2005
Location
Akron, OH
I am trying to mill flats on a round bar. No matter what I change in the X in the program it wants to mill on center. The only way to get it to work, is to change the Tool comp on the X and Z to half the flat width. I would like to be able to put the correct cutter comp in and have it come out. My code is below, TIA

(3/4 ENDMILL) T080808
NAT08
N0900 M110
N0902 G94 M146 M15 M08
N0903 Z0.55 T080808 SB=1500
N0904 X.6
N0905 G17
N0906 C0 G41 M13
N0907 G01 Z-2.16 F110.2 M147
N0908 G101 X.368 F6.52 M146
N0909 C180
N0910 X.6
N0911 G00 Z0.55 M147
N0912 G40
N0913 M146
N0914 G41
N0915 G01 Z-2.16 F110.2 M147
N0916 G101 X.368 F6.52 M146
N0917 C0
N0918 X.6
N0919 G00 Z0.55 M147
N0920 G40
N0921 M146

You're only ever telling it to be on center. I think what you're trying to do is coordinate system conversion. That's G137. Then you just program in the XY path you're looking for and the control will figure it out.
 








 
Top