Proximity sensors are indispensable components in modern industrial automation, enabling non-contact detection of metallic or non-metallic objects. Correct wiring is paramount for ensuring reliable operation, safety, and longevity of both the sensor and the control system. This guide provides a comprehensive, step-by-step approach to wiring common types of proximity sensors, adhering to standard industrial practices.
Understanding Proximity Sensor Types and Outputs

Before beginning any wiring procedure, it is crucial to identify the sensor type and its electrical characteristics. The two primary categories are Inductive (detecting metals) and Capacitive (detecting metals, plastics, liquids, etc.). Furthermore, sensors are classified by their output configuration:
1. DC Sensors: These are the most common, operating typically on 10-30V DC.
NPN (Sinking) Output: The output switch connects the load to common negative (0V). When active, the output pin "sinks" current to ground.

PNP (Sourcing) Output: The output switch connects the load to common positive (+V). When active, the output pin "sources" current to the load.
NO (Normally Open) / NC (Normally Closed): Refers to the state of the output switch when no target is present.

2. AC Sensors: These operate on 90-250V AC and usually have a two-wire configuration, acting like a switch in the AC line.
3. Analog Output Sensors: These provide a continuous voltage or current signal (e.g., 0-10V, 4-20mA) proportional to the distance to the target.
Essential Pre-Wiring Checklist
Consult the Datasheet: Always refer to the manufacturer's datasheet for the specific model. It contains the definitive wiring diagram, voltage ratings, current limits, and pin assignments.
Power Supply: Ensure your DC power supply voltage matches the sensor's rated voltage (e.g., 24V DC is standard). Verify the supply can deliver adequate current for the sensor and the load.
Load Device: Identify the device the sensor will control (e.g., PLC input, relay coil, pilot light). Confirm its operating voltage and current draw are within the sensor's switching capacity.
Tools & Materials: Prepare appropriate wire strippers, crimping tools, ferrules, screwdrivers, and wires of correct gauge. Using shielded cable is recommended for long runs or in electrically noisy environments.
Step-by-Step Wiring Procedure for a 3-Wire DC Proximity Sensor
We will focus on the most common 3-wire DC sensor. The wires are typically color-coded: Brown (+V), Blue (0V/Common), and Black (Output Signal). Always verify colors with the datasheet.
1. Disconnect Power: Isolate and lock out all power sources to the control panel and machinery. Verify with a multimeter.
2. Prepare Wires: Strip a short length of insulation from the ends of your supply wires and the sensor's cable. Use ferrules for a secure, reliable connection in terminal blocks.
3. Connect Power Wires:
Connect the Brown wire from the sensor to the positive terminal (+V) of your DC power supply (e.g., +24V).
Connect the Blue wire from the sensor to the negative terminal (0V/COM) of your DC power supply.
4. Connect the Output Wire:
The Black wire is the switched output. Its connection depends on whether you have an NPN or PNP sensor and your load.
For a PNP (Sourcing) Sensor: Connect the Black wire to one terminal of your load (e.g., PLC digital input card). Connect the other terminal of the load back to the power supply's 0V/COM. When a target is detected, the PNP sensor sources +24V to the load.
For an NPN (Sinking) Sensor: Connect the Black wire to one terminal of your load. Connect the other terminal of the load to the power supply's +V. When a target is detected, the NPN sensor sinks current, completing the circuit to 0V.
5. Connect the Load Return: Ensure the return path from the load is correctly completed to the opposite power supply rail, as described above.
6. Secure and Dress Wires: Neatly route wires away from moving parts, heat sources, and high-voltage cables. Use cable ties and ducting. Properly ground the shield of the cable if present.
7.