1
G-Code, CAD, and CAM discussions / Eccentric machining based on rotarty probing data?
« on: March 22, 2017, 10:24:49 AM »
I'm not sure where to start with but I need to start somewhere! 
The need: I'm chucking a tube in a lathe with C-axis control. The tube is round on the OD and the ID, but the ID can be off-center by up to 0.01".
I'm needing to grind a short section of the OD to be concentric with the ID. I need this process to be automated as each tube is slightly different and I'll be doing hundreds.
I'm envisioning some procedure where a probe is run into the tube, then over to check the ID at angle 0, then rotate the C-axis to angle 90, probe again, then angle 180, etc.. to get 4 readings to know the center of the ID.
Then the fun part-- still automated within G-code or macro or brains-- slowly rotate the C-axis while grinding the OD true to the ID by moving the X-axis back and forth in a sine wave to "follow" the ID bore based on the probing data. The offset in the Y-axis as it rotates is not critical as it's not off far enough to make enough difference.
A good example I've found is this: https://www.youtube.com/watch?v=FpP7iTKuWpw
I'll be grinding so the spindle C-axis rpm can be as slow as it needs as the X-axis keeps up.
Any ideas how to accomplish this??
Thanks!
-Colin

The need: I'm chucking a tube in a lathe with C-axis control. The tube is round on the OD and the ID, but the ID can be off-center by up to 0.01".
I'm needing to grind a short section of the OD to be concentric with the ID. I need this process to be automated as each tube is slightly different and I'll be doing hundreds.
I'm envisioning some procedure where a probe is run into the tube, then over to check the ID at angle 0, then rotate the C-axis to angle 90, probe again, then angle 180, etc.. to get 4 readings to know the center of the ID.
Then the fun part-- still automated within G-code or macro or brains-- slowly rotate the C-axis while grinding the OD true to the ID by moving the X-axis back and forth in a sine wave to "follow" the ID bore based on the probing data. The offset in the Y-axis as it rotates is not critical as it's not off far enough to make enough difference.
A good example I've found is this: https://www.youtube.com/watch?v=FpP7iTKuWpw
I'll be grinding so the spindle C-axis rpm can be as slow as it needs as the X-axis keeps up.
Any ideas how to accomplish this??
Thanks!
-Colin