Any terminal from X1 to X5 can be defined as stop in the parameter, so it is not fixed. For example, X4 can be defined as stop. You need to set the parameter F047 to 4, then set F001 to 1, and connect the two ends of the emergency stop button to X4 and GND.
By vevor