Estop should be hard wired to stop or kill power to any devices that move, not part of your control. This is very important for your safety. The Estop circuit should only notify the control that an Estop has occurred.
I'm not sure exactly which macro you're using. it should be modified to abort if an Estop has occurred.