my first thought as I presume you have your mach3 settings correct for the e stop is to check what's going on with the signal via a multimeter.