Friends,
I can not thank you enough for all your input to help me through this. I believe I have a shooting solution!
I ended up using 12v to power the opto, before I here the gasps it is only the opto, the trigger is still 5v that I took directly from the 5v supply not the 5v from the bob, personally I think this makes no difference, I tried also direct input to the ESS via bob 3 pin 13, yes it worked fine, made no difference? Switch back to pin 13 on the bob 2 as an input but still kept 5v directly from the power supply 0v from the bob and used 12v as the opto power. Confusing Maybe but actually it neatened up a few wires I had.
In saying this all this did is "Sweet FA" Yes couldn't get it to thread, frustration, lots of!
I started searching for different opto switches , ect when I came across the one thing that sent shivers to my bones, Yes you have to tick sync spindle to index box in spindle setup. Yes I am very red faced and do apologise for wasting a lot of peoples time. Still in saying this it took a lot of tweaking to actually make this work, A real lot of tweaking and some of the figures I am going to state maybe a little over the top but they do work well on my lathe and work well.
Firstly for some stupid reason I activate timing and index on mach3 from the same port and pin? Spindle feedback in Sync Mode and Spindle Speed averaging both ticked in Spindle setup Ports and Pins. General Config Mach3 Debounce interval 10000 and Index Debounce 1000. On the ESS Plugin general config Encoder/mpgs filtering 5.00 .
Now I just like to point out the lathe runs very stable, everything works and works extremely well and now Threading works as well, Why I don’t know and have no explanation 3 days of trial and error may have paid off. The only issue I cannot get True rpm readout above 1500rpm, but can still run the spindle to 2000 without an issue.
The pic shows 3 different threads the bottom is a bolt 3/8 UNC but to trial I set it up to cut the first 1/2"which you can see by the different colouring were the lathe cleaned it up, I ran this program 5 times without fail each time had 12 passes. The Brass is the same thread ,the first 1/2" is scrap from trails but the back 1/2" is the new thread that was cut , Not bad I think. The top is a piece is 1020 steel That I cut 1.1/8" UNF but did it 14 times each time decreasing the X by 0.2mm the code took 15 passes each time, Why I wanted to make certain it would index to the same point every pass which it did. I am happy with this.
I hope it keeps behaving itself!!
Cheers
Kahoh