Philabuster
Diamond
- Joined
- Jul 12, 2006
- Location
- Tempe, AZ
Today my 2 year old CNC mill with Fanuc Oi-M cut an oval hole instead of a round hole when circular interpolating a Ø2.25 +/- 0.010" bore. One axis of the hole was 2.248" and the other was 2.228". After about 2 hours of head scratching, I discovered the issue. I was just happy I did not scrap a $$$ part in the process.
I normally just type in 0.312" for a 5/16" end mill when programming. On occasion, I will enter 0.3125" to be more precise as I did today. Cutter comp was not used or needed. Theoretical half of the end mill was now 0.15625" instead of 0.156". The bore radius was 1.125" - 1/2 of the end mill was 0.15625" = 0.96875" radius for tool path. Cad/Cam software rounded the 5 decimal place number up to 0.9688" as it has done for the last 19 years.
Bore was cut in two 180° arcs with R value. Machine would not follow correct tool path. I single blocked the program and slowly fed the tool to the 90° point of the 180° arc. The tool was off by 0.010" even though it was programmed correctly--at least to within 0.00005".
I added a line with G03 J-0.9688 to cut the bore in one 360° move and the tool went to the correct position. I then edited my old program and changed the R0.9688 to R0.96875 and it cut the part with no 0.010" error--even though I only changed the radius by 50 MILLIONTHS!
I have never seen an issue like this before. On some machines, if you are off by 0.0001", the machine will simply error out, but that only happens when programming manually. I have never had any issue running code with our CAM system rounding to the nearest tenth.
The only thing my search yielded about rounding errors was when programming macros to 8 decimal places.
What parameter needs to be edited to correct--or ignore--a 50 millionths of an inch rounding error?
I normally just type in 0.312" for a 5/16" end mill when programming. On occasion, I will enter 0.3125" to be more precise as I did today. Cutter comp was not used or needed. Theoretical half of the end mill was now 0.15625" instead of 0.156". The bore radius was 1.125" - 1/2 of the end mill was 0.15625" = 0.96875" radius for tool path. Cad/Cam software rounded the 5 decimal place number up to 0.9688" as it has done for the last 19 years.
Bore was cut in two 180° arcs with R value. Machine would not follow correct tool path. I single blocked the program and slowly fed the tool to the 90° point of the 180° arc. The tool was off by 0.010" even though it was programmed correctly--at least to within 0.00005".
I added a line with G03 J-0.9688 to cut the bore in one 360° move and the tool went to the correct position. I then edited my old program and changed the R0.9688 to R0.96875 and it cut the part with no 0.010" error--even though I only changed the radius by 50 MILLIONTHS!
I have never seen an issue like this before. On some machines, if you are off by 0.0001", the machine will simply error out, but that only happens when programming manually. I have never had any issue running code with our CAM system rounding to the nearest tenth.
The only thing my search yielded about rounding errors was when programming macros to 8 decimal places.
What parameter needs to be edited to correct--or ignore--a 50 millionths of an inch rounding error?