i was doing a simple job making some t-nut and i had drawn them in capsmill and run a tool path simulation and all looked fine but when the machine went to do the finish pass on the step it headed of in the wrong direction. it was supposed to go from x 127mm to x 0 but instead it went almost 400mm in the wrong direction. on the next line it tried to go almost 400mm on the y axis.the code looks like this.
G43 H09 Z3.000
S717
X127.500
G43 H09 Z-13.500
F50.2
G01 Z-14.000
F71.7
X0.000 (this is the final full depth pass that worked fine)
G00
G43 H09 Z3.000
X127.500 Y-32.375
F50.2
G01 Z-14.000
F71.7
G41 X136.375 H09 (heres where it lost the plot on the x axis)
G03 X127.500 Y-23.500 I-8.875 J0.000
G01 X0.000 H09
G03 X-8.875 Y-32.375 I0.000 J-8.875
G01 G40 X0.000
G00
G43 H09 Z3.000
the first question is a g code one , why did the cam program use G03 ? it a straight cut. the other question is why did the controller react like this to a G41 tool offset . is there a way to check the tool offset in older fanuc om controllers. i can find the length offsets but not the diameter. aslo it didnt rapid there like it was a tool positioning move it drove there at the feed rate. i dont think it is a G54 cancellation problem because it doesnt add up my offsets were X-187, Y-132, so a 127mm move cannot add up to 400mm. is this a post processor issue or a controller error? thanks