What OS and pc specs are you running.
Just for a test, you might want to change the pin that you are using on the xylotex and also make the change to mach3 to try a different port. May also have a badly labeled resistor.
I guess it is also possible that your e-stop button may be contacting from vibrations? Does it do this during motor operation or simulations as well?