Complete guide to M12 connector codes. Learn the difference between A, D, X, B, T, S, K, L coding for proper M12 connector selection in industrial applications.
M12 connector coding refers to the mechanical keying system defined by IEC 61076-2-101 that prevents mismating between different connector types. Each code uses a unique pin arrangement and chamfer geometry to ensure connectors only mate with compatible counterparts.
The M12 circular connector family includes eight standard codes: A, B, D, K, L, S, T, and X. Each code serves a specific application domain, from sensor connections to gigabit Ethernet.
Key Coding Characteristics:
| Code | Primary Application | Pins | Key Feature |
|---|---|---|---|
| A-Code | Sensors/Actuators | 3/4/5/8/12 | General-purpose |
| B-Code | Profibus-DP | 5 | Fieldbus standard |
| D-Code | Industrial Ethernet | 4 | PROFINET/EtherNet/IP |
| K-Code | AC Power with PE | 5 | 630VAC rated |
| L-Code | DC Power | 5 | 63VDC rated |
| S-Code | AC Power | 4 | 630VAC rated |
| T-Code | DC Power | 4 | 63VDC rated |
| X-Code | Gigabit Ethernet | 8 | Shielded, high-speed |
Start with our M12 Connector Selection Guide for a complete overview of M12 connector types.
Using the wrong M12 code creates immediate compatibility issues. A power connector forced into an Ethernet port damages both the connector and the device. Beyond physical damage, signal integrity suffers when connectors operate outside their intended application domain.
Industrial environments demand reliable connections. The wrong code choice leads to:
Proper code selection eliminates these risks entirely.
A-Code represents the most versatile M12 connector type. These connectors dominate sensor and actuator applications across industrial automation.
A-Code Specifications (from IEC 61076-2-101):
| Pin Count | Current Rating | Voltage Rating | Typical Use |
|---|---|---|---|
| 3-Pin | 4A | 250V | Two-wire DC sensors |
| 4-Pin | 4A | 250V | Three-wire DC sensors |
| 5-Pin | 4A | 60V | Sensors with auxiliary contacts |
| 8-Pin | 2A | 30V | Multi-signal or encoder connections |
| 12-Pin | 1.5A | 30V | Complex sensor arrays |
Key Features:
Typical Applications:
A-Code connectors handle the bulk of field-level connections in modern factories. These connectors come in field-wirable, molded cable, and flange configurations.
B-Code serves the Profibus-DP fieldbus standard, a established communication protocol in European manufacturing. The 5-pin configuration follows the original Profibus specification.
| Parameter | Value |
|---|---|
| Pin Count | 5 |
| Current Rating | 4A |
| Voltage Rating | 250V |
| Cable Gauge | 2×0.34mm² (22AWG) |
| Standard Color | Purple PVC or PUR |
| Application | Profibus-DP |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | Shield |
| 2 | Not Connected (N/C) |
| 3 | Bus A (Green) |
| 4 | Not Connected (N/C) |
| 5 | Bus B (Red) |
Typical Applications:
B-Code remains relevant in legacy installations and specific OEM applications. KRONZ B-Code connectors feature purple-coded cables for instant identification in mixedconnector environments.
D-Code addresses industrial Ethernet protocols, specifically PROFINET and EtherNet/IP. The 4-pin configuration matches 100Mbps Ethernet requirements.
D-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 4 |
| Current Rating | 4A |
| Voltage Rating | 250V |
| Data Rate | 100Mbps |
| Application | PROFINET, EtherNet/IP |
Pin Assignment:
| Pin | PROFINET | EtherNet/IP |
|---|---|---|
| 1 | TD+ | Tx+ |
| 2 | RD+ | Rx+ |
| 3 | TD- | Tx- |
| 4 | RD- | Rx- |
Key Features:
Typical Applications:
D-Code bridges the gap between office IT networks and factory floor operations. These connectors support both PROFINET Class A and B implementations.
X-Code handles high-speed data transmission at gigabit rates. The 8-pin shielded configuration exceeds basic Ethernet requirements.
X-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 8 |
| Current Rating | 1.5A per contact |
| Voltage Rating | 50V |
| Data Rate | 10Gbps |
| Shielding | 360° circumferential |
| Application | Gigabit Ethernet |
Pin Assignment (1000BASE-T):
| Pin | Function | Pair |
|---|---|---|
| 1 | BI_DA+ | A |
| 2 | BI_DA- | A |
| 3 | BI_DB+ | B |
| 4 | BI_DC+ | C |
| 5 | BI_DC- | C |
| 6 | BI_DB- | B |
| 7 | BI_DD+ | D |
| 8 | BI_DD- | D |
Key Features:
Typical Applications:
X-Code prepares facilities for bandwidth-intensive Industry 4.0 applications. These connectors maintain signal integrity at full gigabit speeds over extended cable runs.
T-Code delivers DC power through a 4-pin configuration. These connectors address the growing DC power needs in modern automation systems.
T-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 4 |
| Current Rating | 12A |
| Voltage Rating | 63VDC |
| Cable Gauge | 4×1.5mm² (16AWG) |
| Wire Colors | BN (Pin 1), WH (Pin 2), BU (Pin 3), BK (Pin 4) |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | +V (Brown) |
| 2 | +V (White) |
| 3 | -V (Blue) |
| 4 | Ground/Earth (Black) |
Key Features:
Typical Applications:
T-Code simplifies power distribution in DC-powered facilities. KRONZ T-Code connectors handle demanding power applications with robust construction.
S-Code provides AC power delivery through a 4-pin configuration. These connectors serve AC-driven equipment without protective earth in the connector itself.
S-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 4 |
| Current Rating | 12A |
| Voltage Rating | 630VAC |
| Cable Gauge | 5×1.5mm² (16AWG) |
| Wire Colors | BK1, BK2, BK3, GN/YE |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | L1 (Black 1) |
| 2 | L2 (Black 2) |
| 3 | L3 (Black 3) |
| 4 | PE (Yellow/Green) |
Key Features:
Typical Applications:
S-Code delivers robust AC power connectivity. KRONZ S-Code connectors meet demanding industrial power requirements.
K-Code extends S-Code with a fifth pin for protective earth. The 5-pin configuration provides separate PE routing.
K-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 5 |
| Current Rating | 12A |
| Voltage Rating | 630VAC |
| Cable Gauge | 5×1.5mm² (16AWG) |
| Wire Colors | BK1, BK2, BK3, BK4, GN/YE |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | L1 (Black 1) |
| 2 | L2 (Black 2) |
| 3 | L3 (Black 3) |
| 4 | N (Black 4) |
| 5 | PE (Yellow/Green) |
Key Features:
Typical Applications:
K-Code provides comprehensive AC connectivity with dedicated grounding. These connectors work in safety-critical applications requiring proper earth connections.
L-Code delivers DC power through a 5-pin polarized configuration. The additional pin enables separate positive and negative bus bars.
L-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 5 |
| Current Rating | 12A |
| Voltage Rating | 63VDC |
| Cable Gauge | 4×1.5mm² (16AWG) |
| Wire Colors | BN, WH, BU, GY (+/-), BK (+/-) |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | +V (Brown) |
| 2 | +V (White/Blue) |
| 3 | -V (Blue/White) |
| 4 | -V (Gray) |
| 5 | Sense/NC (optional) |
Key Features:
Typical Applications:
L-Code handles DC power delivery in systems requiring dual positive and negative bus configurations. These connectors work in DC-powered facilities with multiple power rails.
| Code | Application | Pins | Voltage | Current | Key Use Case |
|---|---|---|---|---|---|
| A | Sensors | 3/4/5/8/12 | 30-250V | 1.5-4A | Field devices |
| B | Profibus | 5 | 250V | 4A | Fieldbus |
| D | Ethernet | 4 | 250V | 4A | PROFINET/EIP |
| K | AC Power | 5 | 630VAC | 12A | AC + PE |
| L | DC Power | 5 | 63VDC | 12A | DC distribution |
| S | AC Power | 4 | 630VAC | 12A | AC motors |
| T | DC Power | 4 | 63VDC | 12A | DC systems |
| X | Gigabit | 8 | 50V | 1.5A | High-speed data |
Step 1: Identify Your Application Type
Sensors/Actuators → A-Code
Fieldbus Communication → B-Code
100Mbps Ethernet → D-Code
Gigabit Ethernet → X-Code
DC Power (4-wire) → T-Code
DC Power (5-wire) → L-Code
AC Power (4-wire) → S-Code
AC Power with PE → K-Code
Step 2: Verify Electrical Requirements
Voltage and current ratings must match or exceed your system parameters. Motor applications need additional consideration for in-rush currents.
Step 3: Confirm Physical Compatibility
For detailed wiring information, see our M12 Connector Pinout Guide.
1. Confusing D-Code and X-Code for Ethernet D-Code supports 100Mbps PROFINET. X-Code handles gigabit speeds. Using D-Code for gigabit applications causes network failures.
2. Mixing AC and DC Power Codes T/S/L/K codes use different voltage ratings and pin configurations. T and L are DC-rated. S and K handle AC. Never substitute between AC and DC codes.
3. Ignoring Current Derating A-Code 12-pin connectors are rated for only 1.5A. Attempting to use them for power distribution causes overheating and failure.
4. Forgetting the Coding Keying Despite similar pin counts, A and D codes use different key positions. They cannot intermate. Check the code itself, not just the pin count.
5. Overlooking Cable Gauge Requirements High-current applications (T/S/K/L codes) require appropriate cable gauges. Using undersized cables with 12A-rated connectors creates fire hazards.
M12 connector coding provides essential guidance for industrial connectivity. A-Code dominates sensor and actuator applications. D-Code serves 100Mbps industrial Ethernet. X-Code handles gigabit networks. B-Code maintains Profibus compatibility. Power codes (T, S, K, L) address specific power delivery requirements.
Code selection comes down to matching the connector to your application. Ethernet networks need D or X codes. Power applications use T, S, K, or L codes. Field devices run on A-Code. Always verify electrical ratings against your system requirements and check physical compatibility before ordering. Correct code selection prevents connection failures and protects equipment investments.
KRONZ supplies M12 connectors across all coding types. Contact our sales team for pricing, specifications, and application support.
Support Available:
Contact our sales team for M12 connector pricing and specifications. We support industrial automation, robotics, transportation, and energy applications worldwide.
Complete guide to M12 connector codes. Learn the difference between A, D, X, B, T, S, K, L coding for proper M12 connector selection in industrial applications.
M12 connector coding refers to the mechanical keying system defined by IEC 61076-2-101 that prevents mismating between different connector types. Each code uses a unique pin arrangement and chamfer geometry to ensure connectors only mate with compatible counterparts.
The M12 circular connector family includes eight standard codes: A, B, D, K, L, S, T, and X. Each code serves a specific application domain, from sensor connections to gigabit Ethernet.
Key Coding Characteristics:
| Code | Primary Application | Pins | Key Feature |
|---|---|---|---|
| A-Code | Sensors/Actuators | 3/4/5/8/12 | General-purpose |
| B-Code | Profibus-DP | 5 | Fieldbus standard |
| D-Code | Industrial Ethernet | 4 | PROFINET/EtherNet/IP |
| K-Code | AC Power with PE | 5 | 630VAC rated |
| L-Code | DC Power | 5 | 63VDC rated |
| S-Code | AC Power | 4 | 630VAC rated |
| T-Code | DC Power | 4 | 63VDC rated |
| X-Code | Gigabit Ethernet | 8 | Shielded, high-speed |
Start with our M12 Connector Selection Guide for a complete overview of M12 connector types.
Using the wrong M12 code creates immediate compatibility issues. A power connector forced into an Ethernet port damages both the connector and the device. Beyond physical damage, signal integrity suffers when connectors operate outside their intended application domain.
Industrial environments demand reliable connections. The wrong code choice leads to:
Proper code selection eliminates these risks entirely.
A-Code represents the most versatile M12 connector type. These connectors dominate sensor and actuator applications across industrial automation.
A-Code Specifications (from IEC 61076-2-101):
| Pin Count | Current Rating | Voltage Rating | Typical Use |
|---|---|---|---|
| 3-Pin | 4A | 250V | Two-wire DC sensors |
| 4-Pin | 4A | 250V | Three-wire DC sensors |
| 5-Pin | 4A | 60V | Sensors with auxiliary contacts |
| 8-Pin | 2A | 30V | Multi-signal or encoder connections |
| 12-Pin | 1.5A | 30V | Complex sensor arrays |
Key Features:
Typical Applications:
A-Code connectors handle the bulk of field-level connections in modern factories. These connectors come in field-wirable, molded cable, and flange configurations.
B-Code serves the Profibus-DP fieldbus standard, a established communication protocol in European manufacturing. The 5-pin configuration follows the original Profibus specification.
| Parameter | Value |
|---|---|
| Pin Count | 5 |
| Current Rating | 4A |
| Voltage Rating | 250V |
| Cable Gauge | 2×0.34mm² (22AWG) |
| Standard Color | Purple PVC or PUR |
| Application | Profibus-DP |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | Shield |
| 2 | Not Connected (N/C) |
| 3 | Bus A (Green) |
| 4 | Not Connected (N/C) |
| 5 | Bus B (Red) |
Typical Applications:
B-Code remains relevant in legacy installations and specific OEM applications. KRONZ B-Code connectors feature purple-coded cables for instant identification in mixedconnector environments.
D-Code addresses industrial Ethernet protocols, specifically PROFINET and EtherNet/IP. The 4-pin configuration matches 100Mbps Ethernet requirements.
D-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 4 |
| Current Rating | 4A |
| Voltage Rating | 250V |
| Data Rate | 100Mbps |
| Application | PROFINET, EtherNet/IP |
Pin Assignment:
| Pin | PROFINET | EtherNet/IP |
|---|---|---|
| 1 | TD+ | Tx+ |
| 2 | RD+ | Rx+ |
| 3 | TD- | Tx- |
| 4 | RD- | Rx- |
Key Features:
Typical Applications:
D-Code bridges the gap between office IT networks and factory floor operations. These connectors support both PROFINET Class A and B implementations.
X-Code handles high-speed data transmission at gigabit rates. The 8-pin shielded configuration exceeds basic Ethernet requirements.
X-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 8 |
| Current Rating | 1.5A per contact |
| Voltage Rating | 50V |
| Data Rate | 10Gbps |
| Shielding | 360° circumferential |
| Application | Gigabit Ethernet |
Pin Assignment (1000BASE-T):
| Pin | Function | Pair |
|---|---|---|
| 1 | BI_DA+ | A |
| 2 | BI_DA- | A |
| 3 | BI_DB+ | B |
| 4 | BI_DC+ | C |
| 5 | BI_DC- | C |
| 6 | BI_DB- | B |
| 7 | BI_DD+ | D |
| 8 | BI_DD- | D |
Key Features:
Typical Applications:
X-Code prepares facilities for bandwidth-intensive Industry 4.0 applications. These connectors maintain signal integrity at full gigabit speeds over extended cable runs.
T-Code delivers DC power through a 4-pin configuration. These connectors address the growing DC power needs in modern automation systems.
T-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 4 |
| Current Rating | 12A |
| Voltage Rating | 63VDC |
| Cable Gauge | 4×1.5mm² (16AWG) |
| Wire Colors | BN (Pin 1), WH (Pin 2), BU (Pin 3), BK (Pin 4) |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | +V (Brown) |
| 2 | +V (White) |
| 3 | -V (Blue) |
| 4 | Ground/Earth (Black) |
Key Features:
Typical Applications:
T-Code simplifies power distribution in DC-powered facilities. KRONZ T-Code connectors handle demanding power applications with robust construction.
S-Code provides AC power delivery through a 4-pin configuration. These connectors serve AC-driven equipment without protective earth in the connector itself.
S-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 4 |
| Current Rating | 12A |
| Voltage Rating | 630VAC |
| Cable Gauge | 5×1.5mm² (16AWG) |
| Wire Colors | BK1, BK2, BK3, GN/YE |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | L1 (Black 1) |
| 2 | L2 (Black 2) |
| 3 | L3 (Black 3) |
| 4 | PE (Yellow/Green) |
Key Features:
Typical Applications:
S-Code delivers robust AC power connectivity. KRONZ S-Code connectors meet demanding industrial power requirements.
K-Code extends S-Code with a fifth pin for protective earth. The 5-pin configuration provides separate PE routing.
K-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 5 |
| Current Rating | 12A |
| Voltage Rating | 630VAC |
| Cable Gauge | 5×1.5mm² (16AWG) |
| Wire Colors | BK1, BK2, BK3, BK4, GN/YE |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | L1 (Black 1) |
| 2 | L2 (Black 2) |
| 3 | L3 (Black 3) |
| 4 | N (Black 4) |
| 5 | PE (Yellow/Green) |
Key Features:
Typical Applications:
K-Code provides comprehensive AC connectivity with dedicated grounding. These connectors work in safety-critical applications requiring proper earth connections.
L-Code delivers DC power through a 5-pin polarized configuration. The additional pin enables separate positive and negative bus bars.
L-Code Specifications:
| Parameter | Value |
|---|---|
| Pin Count | 5 |
| Current Rating | 12A |
| Voltage Rating | 63VDC |
| Cable Gauge | 4×1.5mm² (16AWG) |
| Wire Colors | BN, WH, BU, GY (+/-), BK (+/-) |
Pin Assignment:
| Pin | Function |
|---|---|
| 1 | +V (Brown) |
| 2 | +V (White/Blue) |
| 3 | -V (Blue/White) |
| 4 | -V (Gray) |
| 5 | Sense/NC (optional) |
Key Features:
Typical Applications:
L-Code handles DC power delivery in systems requiring dual positive and negative bus configurations. These connectors work in DC-powered facilities with multiple power rails.
| Code | Application | Pins | Voltage | Current | Key Use Case |
|---|---|---|---|---|---|
| A | Sensors | 3/4/5/8/12 | 30-250V | 1.5-4A | Field devices |
| B | Profibus | 5 | 250V | 4A | Fieldbus |
| D | Ethernet | 4 | 250V | 4A | PROFINET/EIP |
| K | AC Power | 5 | 630VAC | 12A | AC + PE |
| L | DC Power | 5 | 63VDC | 12A | DC distribution |
| S | AC Power | 4 | 630VAC | 12A | AC motors |
| T | DC Power | 4 | 63VDC | 12A | DC systems |
| X | Gigabit | 8 | 50V | 1.5A | High-speed data |
Step 1: Identify Your Application Type
Sensors/Actuators → A-Code
Fieldbus Communication → B-Code
100Mbps Ethernet → D-Code
Gigabit Ethernet → X-Code
DC Power (4-wire) → T-Code
DC Power (5-wire) → L-Code
AC Power (4-wire) → S-Code
AC Power with PE → K-Code
Step 2: Verify Electrical Requirements
Voltage and current ratings must match or exceed your system parameters. Motor applications need additional consideration for in-rush currents.
Step 3: Confirm Physical Compatibility
For detailed wiring information, see our M12 Connector Pinout Guide.
1. Confusing D-Code and X-Code for Ethernet D-Code supports 100Mbps PROFINET. X-Code handles gigabit speeds. Using D-Code for gigabit applications causes network failures.
2. Mixing AC and DC Power Codes T/S/L/K codes use different voltage ratings and pin configurations. T and L are DC-rated. S and K handle AC. Never substitute between AC and DC codes.
3. Ignoring Current Derating A-Code 12-pin connectors are rated for only 1.5A. Attempting to use them for power distribution causes overheating and failure.
4. Forgetting the Coding Keying Despite similar pin counts, A and D codes use different key positions. They cannot intermate. Check the code itself, not just the pin count.
5. Overlooking Cable Gauge Requirements High-current applications (T/S/K/L codes) require appropriate cable gauges. Using undersized cables with 12A-rated connectors creates fire hazards.
M12 connector coding provides essential guidance for industrial connectivity. A-Code dominates sensor and actuator applications. D-Code serves 100Mbps industrial Ethernet. X-Code handles gigabit networks. B-Code maintains Profibus compatibility. Power codes (T, S, K, L) address specific power delivery requirements.
Code selection comes down to matching the connector to your application. Ethernet networks need D or X codes. Power applications use T, S, K, or L codes. Field devices run on A-Code. Always verify electrical ratings against your system requirements and check physical compatibility before ordering. Correct code selection prevents connection failures and protects equipment investments.
KRONZ supplies M12 connectors across all coding types. Contact our sales team for pricing, specifications, and application support.
Support Available:
Contact our sales team for M12 connector pricing and specifications. We support industrial automation, robotics, transportation, and energy applications worldwide.