Milling machine and CNC topic.
When David, Paul and Joni were over the other day I was demonstrating the probing and tool setting feature forgetting of course that the tool setting feature didn't work. Put a dimple in the vise and a small chip off the tip of a bevel tool bit.
Anyway so now I've been spending time writing up a detailed explanation on how the G-Code for the probe and tool setter actually work so that I can better understand the routines and fix the problem. It's going well and one of the sections is on how to measure the distance from the bottom of the quill to the table.
That number is required in order to measure the length of the touch probe just as the switch closes. The length of the probe is then entered into the tool table for tool T99 and also into the .INI file. In my case when the visitors were there I found out later that the value in the tool table did not match the value in the .INI file.
When the values don't match and a tool is measured and then brought to the 0.000 position as indicated by the probe the two values don't match up. Oops.
To measure the quill to table I home the machine. Move the table to a specific XY position and then move the knee up until i can just, with friction, move two stacked 1-2-3 blocks (4") under the quill. That value in machine coordinates was 8.704 and add in the 4" means max distance from machine Z home to bottom of quill is 12.704". At least that was the value in the ini file.
Measured today after 3 machine power off/on and homing cycles was:
12.7140", 12.7164" and 12.7170"
Aside from the 0.003" difference there's also the 0.010" to 0.014 difference from what was in the .INI file.
This value is critical in determining the length of the probe and also the height of the tool setter. So it appears I have a mechanical problem that needs to be solved.
1. Could be the home switch which is a roller switch actuated by the side of the knee.
2. Could be that the slop in the bevel gear drive to move the knee down and the retry after the first actuation results in the knee sticking ever so slightly.
I'm going with number 2 since often when the knee is on the way down I can hear the bevel gears rattling. I guess I need to add this to the list of 42 projects.
The belt drive turns the ball nut while the ball screw is fixed to the knee assembly.

The ball nut holder is a spindle sitting in two angular contact bearings held with two nuts (not shown).

However to make all this fit I have to replace the ACME screw pedestal with a custom one that fits the ball screw assembly.

All in all not a small project I think. The motor will mount vertically with a belt and tension adjustment. Never did that drawing model yet and this idea is all now more than 4 years ago.