2
« on: December 27, 2016, 09:37:01 AM »
Hey Guys,
I've got a bit of what appears to be an odd situation so I'm hoping someone with some more mach experience than I can help.
I've made custom m03 macros in the past for my router to do various tasks, but now I'm working on a Plasma Table and have run into something I don't know how to code.
Basically what I need to do is have a loop that looks for the "arc ok" signal, and if it doesn't see it it should turn off Dospin and try again.
In laymens terms something like this:
DoSpinCW
*look for "arc ok"
If "arc ok" end M03
If no "arc ok"
Then DoSpinStop
Loop this ^^^
Seems simple enough, I just don't know the correct language!
Any and all help would be greatly appreciated.
The reasoning behind this is that I have an issue I'm tracking down causing a "stuck consumables" code on the plasma, which stops the cut. However if I just go turn the torch on and off it runs again like there's nothing wrong, so if I can just automate that switch flipping while I'm sorting out what's causing the problem I can keep the table up and running while troubleshooting which would be a huge help to production.