Short answer

Pin 1 is +24V (Brown), Pin 3 is 0V (Blue), Pin 4 is Switched Output (Black). Pin 2 is intentionally omitted.

Under industrial standard IEC 61076-2-104, the keyway orientation governs terminal positions. Always verify whether you are inspecting male pins or female contact sockets; pin sequences mirror horizontally across mating faces.

Mating face vector schematic

Compare the male plug and female socket pin positions before terminating wires or taking multimeter readings.

A-Coded · 3-PIN CONNECTOR FACE SCHEMATIC
IEC 61076-2-104
MALE PLUG (PINS) Looking into pins of male cordset 1 3 4 NO PIN 2 FEMALE SOCKET (HOLES) Looking directly into sensor or bulkhead socket 1 3 4 EMPTY
IEC Color Code Reference:
Pin 1: Brown (BN)
Pin 3: Blue (BU)
Pin 4: Black (BK)
Deterministic schematic · M8 A-Coded 3-Pin Connector (IEC 61076-2-104). Gold contacts indicate male pins; dark rings indicate female sockets.

Physical & electrical specifications

M8 A-Coded 3-Pin Connector Engineering Boundaries
Specification Parameter Standard Value Practical Field Implication
Governing Standard IEC 61076-2-104 Guarantees dimensional interoperability between manufacturers (Siemens, Phoenix Contact, Turck, Murr).
Mechanical Keyway Single micro polarizing keyway notch at top; female contacts are spaced unevenly because Pin 2 position is empty. Prevents accidental cross-mating into incompatible communication or power ports.
Coupling Nut Torque 0.4 Nm (snap-lock or M8 screw lock) Excess torque crushes the internal elastomeric O-ring, causing coolant leaks and intermittent shorts.
Rated Voltage 60 V AC / 60 V DC Maximum dielectric insulation boundary between adjacent conductor pins.
Rated Current Limit 3 A per contact Continuous current carrying capacity per pin without thermal de-rating.
Recommended Wire Gauge 24 AWG to 22 AWG (0.25 mm² to 0.34 mm²) Conductor strand cross-section required to maintain terminal contact and pull-out strength.
Ingress Protection IP65 / IP67 Submersion and high-pressure washdown seal integrity when fully threaded.

Pin assignment & multimeter test values

Measure between the designated pin and reference ground with a digital multimeter in DC Volts mode.

Standard Terminal & Conductor Assignments
Pin # Standard Color Signal Designation Operating Voltage Multimeter Test Method
Pin 1
Brown (BN)
+24 V DC Supply (L+) +19.2 to +28.8 V DC DC Volts across Pin 1 and Pin 3. Must measure nominal +24 V DC.
Pin 3
Blue (BU)
0 V DC Common Return (L-) 0.00 V DC reference Continuity to power supply 0V rail (<0.5 Ω).
Pin 4
Black (BK)
Switched Output (NO) / Signal 0 V DC (OFF) / +24 V DC (ON) DC Volts across Pin 4 and Pin 3 while actuating sensor.

Meter-first 3-step field diagnostic sequence

Perform these 3 tests in order before swapping field devices or cutting cable bundles.

  1. Step 1: Verify Pin Numbering on Disconnected Female Plug

    Action: Set meter to DC Volts. Inspect face closely: locate Pin 1 (Brown +24V) and Pin 3 (Blue 0V). Measure voltage between them.

    Expected Reading: +24.0 V DC (±10%).

    Fault Symptom: 0V indicates blown fuse on sensor branch terminal or snapped core inside tight robotic wrist cable.

  2. Step 2: Identify Switched State Without Backprobing Damage

    Action: Plug sensor into an M8 tee-adapter or breakout block. Probe Pin 4 (Black) relative to Pin 3 (Blue) while presenting a steel target.

    Expected Reading: Transitions cleanly from <0.5 V DC (OFF) to >+23.0 V DC (ON) on a PNP sensor.

    Fault Symptom: If reading stays at 0V with internal target LED illuminated, the output PNP transistor has blown open from a downstream short.

  3. Step 3: Test Cable Strain Relief at Connector Molding

    Action: While holding meter probes on Pins 1 & 3, gently wiggle the cable boot where it enters the M8 overmold.

    Expected Reading: Solid, uninterrupted +24V with zero voltage flicker.

    Fault Symptom: Flickering voltage identifies an internal conductor break right where the cable flexes against the strain relief boot.

Field traps & common failure modes

Field Trap: The Missing Pin 2 Field Termination Disaster

The Missing Pin 2 Field Termination Disaster

Observed Symptom: Electrician connects 3-core cable to field-wireable M8 plug; sensor fails to power on or output shorts out.

Root Cause: In standard IEC 61076-2-104 3-pin M8, Pin 2 is intentionally omitted! The pins are numbered 1, 3, and 4. Electricians numbering terminals 1, 2, 3 wire the black signal wire into empty terminal 2 or short it to 3.

Field Correction: Always verify terminal markings inside the field-wireable housing: wire goes to Pin 1 (Brown), Pin 3 (Blue), and Pin 4 (Black).

Field Trap: Stripping Threads on M8 Plastic Sensor Bodies

Stripping Threads on M8 Plastic Sensor Bodies

Observed Symptom: Connector comes loose under machine vibration, filling connector with coolant.

Root Cause: Using pliers on small M8 knurled sleeves shears the brass threads off barrel proximity sensors.

Field Correction: Tighten M8 screw fittings strictly to 0.4 Nm or use hand-tight plus one finger-tight click.

Industrial protocols & applications

Standard Network & Signal Implementations
Network / Protocol Standard Application Reference Standard
Miniature Inductive Proximity Sensors Compact 4mm, 5mm, and 8mm barrel sensors used on robotic end effectors. IEC 60947-5-2
Pneumatic Cylinder Reed / Hall Switches Piston end-of-stroke position detection on Festo / SMC compact air cylinders. ISO 15552

Frequently asked field questions

Why does an M8 3-pin connector have Pins 1, 3, and 4 instead of 1, 2, and 3?

IEC 61076-2-104 maintains pin number and signal compatibility across 3-pin and 4-pin M8 housings. Pin 1 is always +24V, Pin 3 is always 0V, and Pin 4 is always Switched Output 1. In 3-pin connectors, Pin 2 (normally Output 2/NC) is omitted.

What are the wire colors on an M8 3-pin proximity sensor?

Under European standard IEC 60947-5-2: Pin 1 is Brown (+24V DC), Pin 3 is Blue (0V DC), and Pin 4 is Black (Switched Output).

FIELD POCKET COMPANION · PRINTABLE PDF

Tape this inside the enclosure door.

No signal on the plant floor? Get the 2-page laminated pocket card. Contains 4–20 mA NAMUR thresholds, PNP/NPN PLC common logic, M12/M8 pin numbers, and 24V DC voltage drop rules.

Fits in Fluke meter pouch
100% offline printable vector
Zero marketing slop
Instant delivery. Strictly technical updates. Unsubscribe anytime.
MV
FIELD INSTRUMENTATION & CONTROLS SPECIALIST

Marcus Vance, PE

16+ Yrs Field Exp

Marcus is a licensed Professional Engineer specializing in industrial process automation, PLC/DCS I/O commissioning, and instrumentation troubleshooting across petrochemical and manufacturing facilities.

Peer-reviewed for IEC & ISA standards compliance · Editorial methodology →
Explore Related Field Guides: