Wiring in a proximity stop varies by system and if you use relays. There is also PNP and NPN direct current types depending on if you are switching the power side "P" or the negative side 0V "N". The maximum switched power varies by sensor, usually around 200mA total load. They can be 2, 3 or 4 wire depending on how they are powered and what is switched. They can be shielded, and also vary on how fast they can sense an object. I have been wiring them after the E-Stop in series. There is a momentary bypass switch which is in parallel with the proximity sensors switched leads, this allows one to reverse and back away from the proximity sensor without disengaging the half-nut. This is how I thread all the time, I just find it easier. Wired in after the E-Stop, but before the proximity switch is a small plunger style limit switch which is also mounted on the micrometer stop. This engages after the proximity sensor, and cannot be bypassed. It acts as a second electro-mecahnical safety stop should the sensor fail or the sensor is bypassed and you run the lathe in the wrong direction. Both the the P sensor and the limit safety switch are mechanically attached to the micrometer stop plunger, so the distance can be adjusted.