It could be its waiting for the index signal.
I agree, but it sometimes finds it, sometimes it doesn't. Theres no rhyme nor reason for it. I can't find out how to debug/fault find it.
I have asked on the Warp9TD forum, because apprently the ESS module controls the index, however support for ESS has basically ceased. With the main programmer not having posted for some 18 months.
I also asked if the ESS project was end of life and didn't really get a definite answer and must admit I did get a fix for a different problem.
I also contacted the very helpful Weerasak at CNCroom (who make the MB3 board) who suggested...
Your case, if you are using high ppr encoder such as 1024 ppr. The index might be small tiny pulse so, the system can't catch this pulse.
Have you tried to connect index signal to port3 of MB3. X310-X315. These inputs faster than others port.
My recommendation is make index signals big enough by choosing encoder low resolution 100-200 ppr and connect it to port3
However I am already using a very low 60ppr encoder on the super-fast Port3 (X310, X311, X312).
But even worse than this it happens also when using the Index (1ppr) signal only.
Very perplaexing as all the other stuff is working, but I cannot reliably thread anything.
One thing, when the threading does work, it works great!!! Real nice threads!!
But as you say it's like it's not picking up the index sometimes, but instead of retrying, it tries once, gives up and the program just sits there on the G76 line forever.
I can also reliably recreate the problem:
1) Call the threading Gcode 5 times, it runs fine.
2) Edit the G76 line e.g. change the thread depth or cut depth parameter
3) Run the Gcode again and it will hang on the G76 line 99% of the time
It's like it expects the index to at a certain point, but it's not... so it fails. Obviously I could be wrong, but with Warp9TD not prioviding any support now then I just cannot find out anything.
Surely other people have lathes running with threading? I was hoping they could have let me know the Encoder and settings they use.
thanks for the replies by the way - really appreciated.