Go into Settings->Ports&Pins->Inputs Tab scroll down to the Estop row, click on the active low column. If what I just said made no sense I would make the friendly suggestion to download the Mach manual from the documentation section of this website. It will be a big help in figuring out where certain settings are and what they do.