1
General Mach Discussion / G2 - G3 Command Bug with G68
« on: October 22, 2010, 12:06:18 PM »
All,
I seem to have sumbled on a bug that has some very odd behavior. While the following code is exactly the same line for line two different circles are created. My IJ is set to incremental. I'm attempting to cut a spiral hole so I don't burn up my endmill drilling straight down in .25 stainless. I need the G68 as I'm milling a single part and will be reversing it for every other part cut so as to use my stainless in the most efficient manner possible. I've removed all other part G-code to ensure it wasn't causing an issue. The two pieces that appear to conflict are the G68 and G2/G3.
First my original code that revealed the issue. You'll notice that the only difference between line 4 and 5 is deeper Z. But instead a different and much larger hole is created:
G68 A0 B2 R180
G0 x0 y0 z0
G1 X.280 Y.432 F.6
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.25 i.036
G2 x.280 y.432 Z-.35 i.036
G40
M30
Second a block of IDENTICAL lines of code that create two different size holes. Each identical line of G2 code creates an alternating different size hole.
G68 A0 B2 R180
G0 x0 y0 z0
G1 X.280 Y.432 F.6
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G40
M30
Any assistance would be greatly appreciated.
Thank you,
Jeff
I seem to have sumbled on a bug that has some very odd behavior. While the following code is exactly the same line for line two different circles are created. My IJ is set to incremental. I'm attempting to cut a spiral hole so I don't burn up my endmill drilling straight down in .25 stainless. I need the G68 as I'm milling a single part and will be reversing it for every other part cut so as to use my stainless in the most efficient manner possible. I've removed all other part G-code to ensure it wasn't causing an issue. The two pieces that appear to conflict are the G68 and G2/G3.
First my original code that revealed the issue. You'll notice that the only difference between line 4 and 5 is deeper Z. But instead a different and much larger hole is created:
G68 A0 B2 R180
G0 x0 y0 z0
G1 X.280 Y.432 F.6
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.25 i.036
G2 x.280 y.432 Z-.35 i.036
G40
M30
Second a block of IDENTICAL lines of code that create two different size holes. Each identical line of G2 code creates an alternating different size hole.
G68 A0 B2 R180
G0 x0 y0 z0
G1 X.280 Y.432 F.6
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G2 x.280 y.432 Z-.15 i.036
G40
M30
Any assistance would be greatly appreciated.
Thank you,
Jeff