In industrial automation and control systems, proximity switches are fundamental components for non-contact object detection. A critical aspect of their installation and maintenance is correctly identifying their electrical state and wiring, particularly for the normally closed (NC) configuration. Unlike electromechanical limit switches with clear actuator positions, the state of a solid-state proximity sensor is defined by its electrical output. Therefore, wire color coding becomes the primary visual indicator for electricians and technicians.
A normally closed (NC) proximity sensor, in its resting state (no target present), maintains a closed circuit between its output signal wire and the common wire. When a target enters the sensing range, the output circuit opens. This behavior is the inverse of a normally open (NO) sensor and is chosen for applications requiring a fail-safe signal or a maintained circuit until detection.
There is no single, universal international standard that mandates a specific wire color for the normally closed output of all proximity sensors. However, several dominant regional and manufacturer-specific standards have emerged, creating common practices within industries.
The most widely recognized framework is the International Electrotechnical Commission (IEC) standard, particularly IEC 60947-5-2 for proximity switches. While IEC standards often specify functional performance rather than strict color codes, they have influenced common wiring conventions. Under this influence, a prevalent color scheme, especially for 3-wire DC sensors (PNP or NPN), is:

Brown (Br): Connected to the positive DC supply voltage (+V).

Blue (Bu): Connected to the negative DC supply voltage (0V / Common).

Black (Bk): Typically designates the Normally Closed (NC) output signal wire.
White (Wh): Often designates the Normally Open (NO) output signal wire.
For sensors that combine both NO and NC outputs in one device (4-wire configuration), the black wire is consistently reserved for the NC function, while white is for NO, with brown and blue for power.
In contrast, standards prevalent in North America, such as those from the National Electrical Manufacturers Association (NEMA) or under UL regulations, may follow different conventions. A common NEMA-style color code is:
Black: Line/Hot (for AC) or Positive (+V for DC).
White: Neutral/Common.
Red: Often used for the output signal. In this case, the NC function is not identified by a unique color but by the sensor's model number and the labeling on its housing.
Crucially, the wire color alone is never a definitive guide. Relying solely on color can lead to dangerous miswiring and equipment damage. Several factors override color:
1. Manufacturer's Datasheet: The absolute authority for any sensor's wiring is its official documentation. Always consult the datasheet or the diagram printed on the sensor body.
2. Sensor Type (PNP vs. NPN): The color for the output wire (e.g., black) may be the same for both PNP-NO and PNP-NC sensors. The electrical behavior is determined by internal circuitry, not just the wire color.
3. Number of Wires: 2-wire AC/DC sensors have no dedicated signal color; they are simply in series with the load. 3-wire sensors have a clear signal wire. 4-wire sensors have two signal wires (NO and NC).
4. Labeling: Look for markings like "NC," "C" (common), "NO," "+V," "0V," "L+," "L-," or "Load."
Practical Identification Steps:
Step 1: Locate the model number and find the manufacturer's datasheet.
Step 2: Examine the sensor housing for any engraved or printed wiring diagram.
Step 3: If documentation is unavailable, use a multimeter for verification. With power disconnected, measure resistance between the common (blue, typically) and the suspected NC wire (often black). A low resistance should be present when no target is in range, which should become very high (open circuit) when a target is presented.
In summary, while the black wire is frequently associated with the Normally Closed output in sensors following IEC-influenced design, particularly in Europe and Asia, it is not an absolute rule. The cornerstone of correct identification and safe operation remains a disciplined approach: always prioritize the manufacturer's technical documentation over assumed color codes. Understanding this principle is essential for ensuring system safety, reliability, and proper fail-safe operation in any automated control panel.