After developing an interrupt-driven THC that ran on an Uno, taking control of GRBL’s Z-axis on an ARC OK signal from the plasma cutter, I had the thought that it would not be too difficult — someone with extremely in-depth knowledge of GRBL — to integrate a THC into the main GRBL state machine.
There is a repository, GRBL-Mega-Plasma, that has had that same idea — but the owner is in Cuba and the project has seemed to fall by the wayside, even though he has made a good start. Unfortunately, he seems to be busy with other revenue-producing projects to continue with it. At his last commit, he added a bunch of new M codes but the code won’t compile; when the M code functions are removed from the code, it compiles but the THC functions have not been added to system.h to implement them.
I was wondering if, as the author of GRBL, this is something that you might be interested in tackling? It would make a complimentary addition to GRBL-Mega (the Uno would not have the power to run them).