I've done my reading here and I don't know if there is a reasonable answer or not. My question/issue is:
I want to do threading on my lathe (so what's new).
I have an index already set up on the spindle and it works fine.
I have used the Sherline sample configuration that is packaged with EMC2 and modified it to work with my steppers and other equipment.
I was successful in getting things to work with EMC2 2.2.2 but not with 2.2.5, but neither using a single pulse for speed and index.
What I am after is the correct HAL configuration to use a single input line for a spindle index AND spindle speed for synchronize motion (i.e. threading).
If someone out there has done such a thing, a copy of their HAL and INI files will be greatly appreciated. I can read through them and determine what I need to change so the supplier does not need to do anything other than supply the files.
I do have a couple of used encoders available but they seem to have issues in dropping pulses now and then. The result is that the spindle and slide movement are erratic and not necessary correct. A single pulse per revolution would simplify things greatly, both in construction of the mechanics to read the spindle and in software settings. MACH3 does this just fine but I have been using EMC2 for a number of years and like it very much (plus it still runs my mill). The encoders have 2000ppr and 1250ppr which means a pretty high throughput for 300+ rpm on the spindle. I can make a index wheel and add optical sensors but that requires designing and and adding it to the lathe. I'm trying not to do too much redesign/rebuild of the lathe so simple is good.
Thank you in advance for any help you can provide.
Ron