Short answer

Pin 1 is Yellow (Tx+), Pin 2 is White (Rx+), Pin 3 is Orange (Tx−), Pin 4 is Blue (Rx−). Shell is 360° Shield.

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.

D-Coded · 4-PIN CONNECTOR FACE SCHEMATIC
IEC 61076-2-101
MALE PLUG (PINS) Looking into pins of male cordset 1 2 3 4 FEMALE SOCKET (HOLES) Looking directly into sensor or bulkhead socket 1 2 3 4
IEC Color Code Reference:
Pin 1: Yellow (YE) or White-Orange
Pin 2: White (WH) or White-Green
Pin 3: Orange (OG) or Orange
Pin 4: Blue (BU) or Green
Deterministic schematic · M12 D-Coded 4-Pin Connector (IEC 61076-2-101). Gold contacts indicate male pins; dark rings indicate female sockets.

Physical & electrical specifications

M12 D-Coded 4-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 distinctive D-shaped keyway with 4 pins spaced evenly around perimeter. Prevents mating with A-coded DC cables. 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 250 V AC/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 24 AWG or 22 AWG shielded twisted pair (STP / SF/UTP) 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
Yellow (YE) or White-Orange
Transmit Data + (TD+ / Tx+) ±1.0 V differential pulses (MLT-3) DC loop resistance from Pin 1 to Pin 3 when looped at opposite end: typically <3.5 Ω per 100m.
Pin 2
White (WH) or White-Green
Receive Data + (RD+ / Rx+) ±1.0 V differential pulses (MLT-3) DC loop resistance from Pin 2 to Pin 4 when looped at opposite end.
Pin 3
Orange (OG) or Orange
Transmit Data − (TD− / Tx−) ±1.0 V differential complementary Continuity to Pin 1; must maintain isolated resistance (>100 MΩ) to Shield shell.
Pin 4
Blue (BU) or Green
Receive Data − (RD− / Rx−) ±1.0 V differential complementary Continuity to Pin 2; must maintain isolated resistance (>100 MΩ) to Shield shell.

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 360-Degree Shield Shell Continuity

    Action: Disconnect both cable ends from switch and field device. Touch one multimeter probe to metal knurled nut at End A, other probe to nut at End B.

    Expected Reading: <0.5 Ω continuous low resistance.

    Fault Symptom: Resistance above 2 Ω or OL indicates loose cable gland clamp or missing shield braid contact inside field-wireable plug.

  2. Step 2: Test Pair-to-Shield Isolation

    Action: Set meter to Mega-Ohms (MΩ). Probe Pin 1 through 4 against the outer metallic connector housing.

    Expected Reading: >50 MΩ open-circuit insulation.

    Fault Symptom: Any reading below 1 MΩ proves a frayed copper strand or water penetration is shorting Ethernet data lines to earth.

  3. Step 3: Loopback Resistance Equality Check

    Action: At remote end, place a temporary jumper between Pin 1 (Tx+) and Pin 3 (Tx−). At panel end, measure resistance across Pins 1 & 3.

    Expected Reading: Calculated 2 × run length × 0.057 Ω/m (e.g., 20m run = ~2.3 Ω). Repeat on Pins 2 & 4; readings must match within 5%.

    Fault Symptom: Resistance divergence >5% indicates localized conductor crushing, necking, or terminal oxidation.

Field traps & common failure modes

Field Trap: The T568B RJ45 Wire Sequence Disaster

The T568B RJ45 Wire Sequence Disaster

Observed Symptom: Cable passes a cheap LED battery tester but switch reports 80% CRC packet drop and link flapping.

Root Cause: Technician followed standard RJ45 color sequencing inside an M12 plug, pairing Tx+ with Rx− instead of keeping twisted differential pairs intact. This produces disastrous Near-End Crosstalk (NEXT).

Field Correction: Tx pair MUST occupy Pin 1 and Pin 3. Rx pair MUST occupy Pin 2 and Pin 4. Never split twisted pairs across different channels.

Field Trap: Stripping Braid Foil Back Too Far

Stripping Braid Foil Back Too Far

Observed Symptom: Industrial Ethernet disconnects every time a nearby 75 kW Variable Frequency Drive ramps up.

Root Cause: Removing more than 10mm of cable shield braid leaves unshielded differential pairs exposed to electromagnetic noise inside the connector backshell.

Field Correction: Fold copper braid directly back over 360° iris spring or cable clamp cone before tightening metal gland nut.

Industrial protocols & applications

Standard Network & Signal Implementations
Network / Protocol Standard Application Reference Standard
PROFINET RT / IRT Siemens and European industrial automation deterministic 100 Mbps real-time Ethernet. IEC 61784-5-3
EtherNet/IP Rockwell Allen-Bradley and ODVA 100BASE-TX plant network communication. IEC 61784-5-2
EtherCAT & Modbus TCP Beckhoff high-speed machine control and Schneider Electric field devices. IEC 61158

Frequently asked field questions

What is the standard wire color sequence for an M12 D-coded connector?

The universal industrial PROFINET color code is: Pin 1 = Yellow (Tx+), Pin 2 = White (Rx+), Pin 3 = Orange (Tx−), and Pin 4 = Blue (Rx−). When using standard 4-pair industrial Cat5e cable, the colors map to White-Orange, White-Green, Orange, Green.

Why does an M12 D-coded connector only have 4 pins for Ethernet?

100BASE-TX Fast Ethernet only requires two differential pairs (4 conductors) to achieve 100 Mbps throughput (one pair transmit, one pair receive). Gigabit Ethernet (1000BASE-T) requires all 8 pins and uses M12 X-coded connectors.

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: