Short answer

Pin 1 is +24V (Brown), Pin 2 is White, Pin 3 is 0V (Blue), Pin 4 is Black, Pin 5 is Gray/Earth (Center).

Under industrial standard IEC 61076-2-101, 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 · 5-PIN CONNECTOR FACE SCHEMATIC
IEC 61076-2-101
MALE PLUG (PINS) Looking into pins of male cordset 1 2 3 4 5 FEMALE SOCKET (HOLES) Looking directly into sensor or bulkhead socket 1 2 3 4 5
IEC Color Code Reference:
Pin 1: Brown (BN)
Pin 2: White (WH)
Pin 3: Blue (BU)
Pin 4: Black (BK)
Pin 5: Gray (GY) or Drain
Deterministic schematic · M12 A-Coded 5-Pin Connector (IEC 61076-2-101). Gold contacts indicate male pins; dark rings indicate female sockets.

Physical & electrical specifications

M12 A-Coded 5-Pin Connector Engineering Boundaries
Specification Parameter Standard Value Practical Field Implication
Governing Standard IEC 61076-2-101 Guarantees dimensional interoperability between manufacturers (Siemens, Phoenix Contact, Turck, Murr).
Mechanical Keyway Single polarizing keyway notch at 12 o’clock with 4 perimeter pins and a single 5th pin positioned dead center. Prevents accidental cross-mating into incompatible communication or power ports.
Coupling Nut Torque 0.6 Nm 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 4 A per contact Continuous current carrying capacity per pin without thermal de-rating.
Recommended Wire Gauge 22 AWG (0.34 mm²) Conductor strand cross-section required to maintain terminal contact and pull-out strength.
Ingress Protection IP67 / IP68 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 (L+ / CAN_V+) +24 V DC nominal DC Volts to Pin 3 (0V). Must read +20.4 to +27.6 V DC.
Pin 2
White (WH)
Auxiliary Input / Output 2 / CAN_H 2.5 to 3.5 V DC (CAN bus dominant) or +24 V DC Check voltage against Pin 3. On CANopen, Pin 2 to Pin 3 reads ~2.5 V DC idle.
Pin 3
Blue (BU)
0 V DC (L- / CAN_GND) 0.00 V DC reference DC Volts to chassis frame (<0.3 V DC). Continuity to power supply return.
Pin 4
Black (BK)
Switching Output / IO-Link C/Q / CAN_L 1.5 to 2.5 V DC (CAN bus dominant) or +24 V DC On IO-Link, rapidly pulses between 0V and 24V with communication traffic.
Pin 5
Gray (GY) or Drain
Functional Earth (FE) / Shield / Center Pin Chassis Earth Potential Continuity to machine grounding bar (<1.0 Ω). Never use as DC power return.

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 Supply Isolation from Center Pin 5

    Action: Disconnect master cable. Set meter to Ohms. Measure between Pin 3 (Blue 0V) and Pin 5 (Gray / Earth).

    Expected Reading: >1 MΩ open circuit (unless panel grounding scheme explicitly bonds 0V to FE).

    Fault Symptom: Low resistance (<10 Ω) indicates an unintended ground loop or crushed cable grounding shield to DC common.

  2. Step 2: Test Center Pin Ground Integrity

    Action: Measure resistance from Female Pin 5 directly to the nearest clean machine structural steel or PE stud.

    Expected Reading: <1.0 Ω true earth bond.

    Fault Symptom: High resistance (>10 Ω) leaves IO-Link and fieldbus lines vulnerable to electromagnetic noise from nearby VFD cables.

  3. Step 3: CANopen Differential Signal Voltage Test

    Action: On CANopen networks, leave power on. Measure Pin 7/2 (CAN_H) to Pin 3 (GND) and Pin 4 (CAN_L) to Pin 3 (GND).

    Expected Reading: Both read ~2.5 V DC in recessive (idle) state. CAN_H rises to ~3.5V, CAN_L drops to ~1.5V during transmission.

    Fault Symptom: If one pin stays pinned at 0V or 24V, the differential transceiver is blown or the bus wire is shorted to a power conductor.

Field traps & common failure modes

Field Trap: The "Pin 5 as DC Negative" Confusion

The "Pin 5 as DC Negative" Confusion

Observed Symptom: Intermittent sensor resets and high packet error rates on IO-Link or DeviceNet nodes.

Root Cause: Electrician connects Pin 5 directly to DC common instead of Pin 3, causing signal return currents to circulate through external shields.

Field Correction: Pin 3 is the mandatory 0V electrical return (L-). Pin 5 is strictly for Functional Earth (FE) or cable shield continuity.

Field Trap: Missing 120 Ω Bus Termination on CAN/DeviceNet

Missing 120 Ω Bus Termination on CAN/DeviceNet

Observed Symptom: Nodes report continuous bus-off errors when cable exceeds 10 meters.

Root Cause: M12 5-pin fieldbus trunk requires a 120 Ω 1/4W resistor across Pin 2 (CAN_H) and Pin 4 (CAN_L) at both physical line ends.

Field Correction: Measure unpowered bus resistance across Pins 2 & 4. A healthy dual-terminated line must measure exactly 60 Ω.

Industrial protocols & applications

Standard Network & Signal Implementations
Network / Protocol Standard Application Reference Standard
IO-Link Port Class B Smart devices requiring galvanically isolated auxiliary power (2L+ / 2L-) for valve islands. IEC 61131-9
CANopen / DeviceNet Differential industrial fieldbus networks running at 125 kbps to 1 Mbps. CiA 303-1 / ODVA
Dual-Channel Safety Switches OSSD 1 and OSSD 2 redundant contacts on safety light curtains and gate interlocks. ISO 14119

Frequently asked field questions

What is Pin 5 on an M12 5-pin sensor connector used for?

Pin 5 is the center contact. In standard DC sensor cables it is connected to a Gray wire for Functional Earth (FE) or shield. In IO-Link Class B, it provides auxiliary power return; in CANopen, it serves as the shield drain connection.

Can an M12 4-pin male plug connect into an M12 5-pin female socket?

Yes. An M12 4-pin plug physically mates into an M12 5-pin socket because the center pin slot simply remains empty, allowing standard 4-wire sensors to function without modification.

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: