These instructions show how to configure the software, but keep in mind that while the E-Stop is reporting to condition to the controller, you should wire the on-board relay that reflects the status of the e-stop button to disable the system at hardware level
Hardware:
Software: