Hi,
sounds like electrical noise, enough to trigger an Estop but doesn't persist.
I think you should try a bit of input filtering on you limit and Estop lines.
What sort of spindle are you using?. The spindle is by far and away the biggest electrical noise generator in most machines, if you can tame
it most of your noise problems disappear.
Craig