If you have an E-Stop button on the machine then it is likely you have the wrong pin or port assigned for it, if you dont have a real button, you really should

but go to Config menu then Ports and Pins then Inputs. Scroll down to E-Stop and change it to active Low.
Hood