Make sure your emergency stop is properly shielded and grounded. You can turn debounce up and if that helps you are almost certainly experiencing some sort of interference on the emergency stop. Plasma machines create a lot of EMF so I'm sure proper grounding is very critical.