This is my first experience with G540. I have 4 motors connected and on power up I got the green light and all works fine so far

But I don’t understand the E-stop. I have connected in pos 10 my E-stop switch and when I press it, G540 light goes red but Mach3 doesn’t see anything wrong; then G540 turns off and then Mach3 sees the problem and asks for reset.

Is this normal? and which pin in Mach3 should the E-stop be assigned?