Short answer
A 4-pin D-coded M12 connector uses a dedicated keyway to prevent accidental mating with standard A-coded sensor cables. It transmits 100BASE-TX Fast Ethernet across two differential twisted pairs (Tx+, Tx−, Rx+, Rx−). Unlike office RJ45 patch cables, an industrial M12 assembly relies on continuous 360-degree shielding connected to the metal connector housing to survive electromagnetic noise from variable frequency drives.
Quick reference: M12 D-Coded (100BASE-TX) Fast Ethernet Industrial Pinout Specification
| Pin Number | Wire Color (PROFINET / Industrial) | Signal Name | Electrical Function |
|---|---|---|---|
| Pin 1 | Yellow (or White-Orange) | TD+ (Tx+) | Transmit Data Positive Differential |
| Pin 2 | White (or White-Green) | RD+ (Rx+) | Receive Data Positive Differential |
| Pin 3 | Orange | TD− (Tx−) | Transmit Data Negative Differential |
| Pin 4 | Blue (or Green) | RD− (Rx−) | Receive Data Negative Differential |
| Shield / Body | Braided copper mesh & drain | Chassis Earth | 360° Continuous Shield Termination to Housing |
What to look for
The standardized industrial Ethernet color code places Pin 1 as Yellow (or White-Orange, Tx+), Pin 2 as White (or White-Green, Rx+), Pin 3 as Orange (Tx−), and Pin 4 as Blue (or Green, Rx−). A common installation error occurs when field technicians follow T568B color sequencing inside an unshielded field-wireable plug, inadvertently pairing Tx+ with Rx− and creating extreme near-end crosstalk (NEXT).
When a PLC port shows intermittent link flapping or high FCS error counts, measure cable loop resistance across each pair and verify shield continuity from shell to shell. A cable tester that only verifies DC continuity will miss impedance discontinuities caused by crushed jackets, tight bend radii in drag chains, or loose knurled coupling nuts.
When the symptom appears in the plant
A bottling packaging line suffered random Profinet communication drops between a PLC rack and a remote pneumatic valve manifold whenever high-power conveyor drives ramped up. Static ping tests passed with 0% loss, but real-time industrial Ethernet frames failed CRC checks. Inspection revealed an unshielded field-wireable M12 connector where the shield drain wire was cut flush instead of crimped against the metal connector housing, leaving the differential pairs unshielded across the final 40 mm.
Split-Pair Wiring Trap on Field-Wireable M12 Connectors
When assembling field-attachable M12 D-coded plugs, do not terminate wires simply based on visual circular symmetry. In 100BASE-TX Ethernet, Pin 1 and Pin 3 MUST be routed through the exact same twisted pair inside the cable jacket, and Pin 2 and Pin 4 MUST be routed through the other pair. Splitting a pair across pins 1 and 2 destroys common-mode noise rejection and causes near-end crosstalk (NEXT), leading to severe packet drops as soon as nearby variable frequency drives are energized.
Five checks before replacement
- Check managed switch port error counters (specifically CRC errors, FCS errors, and link status flaps).
- Power down and measure end-to-end DC continuity across each of the two twisted pairs using a digital multimeter (should be <10 Ω for runs under 80 meters).
- Measure DC insulation resistance between each conductor and the metallic connector shield (must be >100 MΩ at 250 V DC).
- Inspect the M12 mating face for bent male pins, recessed female sockets, or conductive fluid contamination.
- Verify tightening torque on the knurled locking ring (0.6 Nm is standard; hand-tight connections frequently loosen under machine vibration).
Always use pre-molded M12 cables with 360-degree overmolded shielding for continuous-motion drag chain applications.
D-coded Ethernet is limited to 100 Mbps; Gigabit (1000BASE-T) industrial Ethernet requires an 8-pin X-coded M12 connector.
Never run unshielded industrial Ethernet cables parallel to 480 V AC servo motor power leads in the same wireway.
Bench checklist
- Confirm connector coding: verify D-coding keyway (4 pins) instead of A-coding (standard sensor).
- Inspect cable wire pairing: ensure Pin 1 (Tx+) and Pin 3 (Tx−) form one twisted pair; Pin 2 (Rx+) and Pin 4 (Rx−) form the other.
- Measure shield continuity from the connector metal housing to the switch chassis ground.
- Verify bend radius in moving drag chains: ensure high-flex Cat5e cable meets minimum 10x outer diameter bend radius.
- Check switch port diagnostics: monitor CRC, runts, and frame alignment errors on the managed Ethernet switch.
Reference families
- IEC 61076-2-101
- PI Profinet Installation Guideline
- ODVA Media Planning Manual
Always verify the current edition and the exact device manual for the installation.
Official references
These links point to standards bodies, industry organizations, or manufacturer documentation. Standards landing pages may require purchase or institutional access.
- IEC 61076-2-101 M12 Circular Connectors IEC
Official international specification for M12 connector dimensions, codings, and pin assignments.
- PROFINET Cabling and Interconnection Technology PI
Official Profinet assembly guide for D-coded 100BASE-TX industrial cabling.
- M12 D-Coded Industrial Ethernet Connectors Phoenix Contact
Technical data and assembly instructions for shielded D-coded M12 plugs.
- EtherNet/IP Media Planning Guide ODVA
Standard media guidelines for Fast Ethernet cabling in high-noise industrial environments.