MazatrolMatrix
Aluminum
- Joined
- Sep 27, 2015
So I have programmed a Manual unit for thread milling, we start at the bottom of the hole and climb Mill from there with G91. The thread is M18x1.5. It is done with a 90 degree infeed radius into the material. The tool is a carbide thread mill with diameter 7.5. taking full depth in one pass.
I calculated the infeed as follows:
Radius of m18 = X (9 for M18)
Radius of infeed radius: R
Y = 16.5/2 Y is drilled hole for M18
Start point is Y - 0.5 (16.5/2 - 0.5) for a 0.5mm clearence
Then (X-R)^2 + (Y-0.5)^2 = R^2
This will result in R = 7.836
The offset to center of this radius from Center of thread is then X-R = 1.16.
And now for the code,
N1 G1G90G40 Z-13.375
N2 G91G41 X-7.75 Y0
N3 G3 X7.75 Y-9 Z0.375 R7.836
N4 X0 Y0 Z1.5 J9 I0
N5 X7.75 Y9 R7.836 Z0.375
This results in the machine Wanting to go to Y-0.557 and X-4.127 at block N2 instead of written values. What could be the reason for this? Do I need two G3 lines for the infeed radius because it covers more than 90degrees? So it’s within two quadrants.
I want to add that it turns on compensation, but it shows the values for the center of the tool for some reason regardless.. so maybe the values shown is necessary in order to become tangent to the radius or something like that.
I calculated the infeed as follows:
Radius of m18 = X (9 for M18)
Radius of infeed radius: R
Y = 16.5/2 Y is drilled hole for M18
Start point is Y - 0.5 (16.5/2 - 0.5) for a 0.5mm clearence
Then (X-R)^2 + (Y-0.5)^2 = R^2
This will result in R = 7.836
The offset to center of this radius from Center of thread is then X-R = 1.16.
And now for the code,
N1 G1G90G40 Z-13.375
N2 G91G41 X-7.75 Y0
N3 G3 X7.75 Y-9 Z0.375 R7.836
N4 X0 Y0 Z1.5 J9 I0
N5 X7.75 Y9 R7.836 Z0.375
This results in the machine Wanting to go to Y-0.557 and X-4.127 at block N2 instead of written values. What could be the reason for this? Do I need two G3 lines for the infeed radius because it covers more than 90degrees? So it’s within two quadrants.
I want to add that it turns on compensation, but it shows the values for the center of the tool for some reason regardless.. so maybe the values shown is necessary in order to become tangent to the radius or something like that.
Last edited: