This is an update on the attempt to implement a threading system using the Galil gearing routine.
This description outlines the manual procedure and the Galil equivalent is in blue text.
The object was to try and replicate the method used when a manual lathe is used with a back gearing run off the spindle to a lead screw driving the saddle.
In a manual lathe the gear ratio is selected in order to implement the ratio between the spindle and the lead screw in order to synchronize spindle to the saddle.
The Spindle motor is rotated at the selected speed. (Ditto Galil)
The spindle motor uses either the Y or W axis encoder, and can be fixed speed motor with gear box or analogue controlled from Galil (non-Servo) PID turned off.
The tool post is taken to a position in the X & Z. (Ditto Galil)
When the thread dial is in the correct position, the half-nut lever is used to engage the saddle to the lead screw.
From this point the spindle has complete control of the saddle and the manual control is not possible in the Z. (Ditto Galil)
When the Spindle encoder index mark is detected (FI), the Z axis is imediately synchronized to the spindle encoder (master), from this point in the cycle the Z axis follows the spindle encoder, regardless of spindle speed.
When the thread length is completed, the X is withdrawn and simultaneously the gearing is dis-engaged.
When the thread length is detected the X axis withdraws from the thread, at the same time the gearing is turned off, and the X axis motor reverts to normal servo control positioning.
The Z & X axis are returned to the start position and the X is fed in via the compound rest set to 29° in order to take a subsequent cut using one edge cutting of the tool.
At the appropriate point on the thread dial, the Half-huts are engaged and the routine repeated.
The Z&X return to the start and in the subsequent cut the X axis is moved in a calculated amount together with an advance in the Z once the next FI trip point is detected,
effectively simulating the compound rest 29̊° setting.
One slight difference is that due to the fact the spindle can be turning at a high rpm when the gearing is engaged to a stationary saddle, there is immediatley a large following error of the Z servo until syncronism is achieved.
If it is found there is a need for gradual engagement, there is a an application note #2440 to this effect.
In the experiments so far, I have used a Legacy card that does not have this command,
so a loop routine was written using The TL command that gradually raised the Torque from 0 to 9.999.
This is like an electronic version of mechanical synchromesh, where you try to engage a spinning gear to a stationary one.
One other benefit of using the FI command is it resets the spindle encoder count to zero, not that it is really important, as the total encoder count is irrelevant to the gearing routine.
So far the Bench set-up has worked flawlessly, Now the crunch obviously is not so much if it will work as to how the repetitive accuracy will be.
The down side is I do not have a lathe at this point to try it on until a few months time.
If nothing else, I will have come very familiar with the Galil Gearing routine.
AL.