Hey folks,
Forgive me for asking, I know this topic has been covered, but the search function of this forum is busted and I am only getting so far with Google and the other forums.
I have my plasma cutter's "Arc OK" signal wired to Input A of my PMDX-410 and the THCON signal in Mach4. I verified that this is working because I added an "ARC OK" led to my Plasma screen. Now I need to add logic that will halt movement until the Arc OK signal is activated.
When M3 is called in my G-code, I'd like it to fire the torch, wait for the Arc OK signal, run the pierce delay (called in my G-code), then allow the next move once the pierce delay has expired.
I have read about several methods including a modified M3 function using the mc.ISIG_THCON signal. My problem is that I don't know how to create that function, or what else should be modified to add my logic. I have not had to modify Mach up to this point and now the info is a bit overwhelming...
Is anyone willing to share experience and some steps to get this working?
Thanks in advance,
Jamie