I have been putting this off as I thought it would be hassle and in fact it was very simple.
Here is the code which is the first time I have ever used a sub-routine.
The top section is my standard set up routine for the Tormach.
The middle section has some out of the way locations to try the idea so don’t get too fixated by these. The important bit is the M98 call for the sub routine, the sub routine name (1001) and the number of repeats (the L5 for five repeats).
The last section is the sub routine indicated by the O1001. The M64 command is specific to the Tormach USB Expansion board and it makes relay P0 in the box close its contact which in turn activates the Sherline CNC Rotary table to move one step. The cutter than moves across to cut the tooth and then returns whereupon the relay drops out (M65), waits and then closes once more to increment the table. Once five repeats have happened the M99 closes the sub routine and the program jumps back to the Z10 line in the middle section before stopping the spindle, homing and ending.
The joy of this method is that it is a simple edit of one line (the M98 instruction) to change the number of tooth cutting increments. I like it a lot.
Some fine tuning is still needed on the back and forth distances needed to clear the cutter through the wheel blank.
The normal test of the cut depth routine will still be needed before this could be run but once this is done it should be a sit and watch job. Hopefully.
I have yet to run a wheel in anger so I will let you know how it goes.
Similar or related subjects : –
- Silencing the Bill Smith Gearless Gravity Arm Clock
- A Spanner in the Works – or simply a Stick
- The Gravity of the Village Clock
- Cycloidal Cutters and Finding the Cutting Centre
- Tormach USB Expansion Board boxed and mounted
- Clock Wheel Cutting Adaptation of a Tormach Saw Mandrel
- Microset Clock Timing Instrument Upgrade
- It’s Horology but not as we know it Jim
- Clocks all Change – Reading Memorial Clock
- Tower Clocks and Cooke of York