Skip to main content
RUGGED COMPUTING · CONNECTORS

What Is an M12 X-Coded Connector?

An M12 X-coded connector is the 8-pin M12 coding for Gigabit and 10 Gigabit Ethernet. Its four twisted pairs are separated by a cross-shaped shield that controls crosstalk at high speed, and it can carry Power over Ethernet with a suitable cable. It is defined in IEC 61076-2-109.

01

What an X-coded M12 connector is

An M12 X-coded connector is the 8-pin M12 coding for Gigabit, multi-gigabit and 10 Gigabit Ethernet. It is defined in IEC 61076-2-109 and brought the sealed, screw-locked M12 format up to the speeds of a Cat 6A RJ45 link, with a transmission bandwidth of up to 500 MHz.

The key feature is inside. Eight contacts are arranged as four twisted pairs, and a cross-shaped metal shield sits between them, isolating each pair from its neighbours. That is where the letter X comes from, and it is what lets a connector this small carry 10 Gbit/s without the pairs interfering with each other.

X coding has its own key, so it will not mate with D-coded or A-coded connectors. Like other M12 codings it is rated IP67 when mated, with IP68 and IP69K versions available.

02

Ethernet speeds over X-coded M12

X-coded connectors carry every BASE-T Ethernet speed from 100 Mbit/s upwards. The cable category sets the ceiling, and the standard 100 m channel limit applies throughout.

Ethernet standard Speed Pairs used Minimum cable Typical use
100BASE-TX 100 Mbit/s 2 Cat 5e Legacy field devices
1000BASE-T 1 Gbit/s 4 Cat 5e Computers, cameras, switches
2.5GBASE-T 2.5 Gbit/s 4 Cat 5e Multi-camera edge AI, Wi-Fi uplinks
5GBASE-T 5 Gbit/s 4 Cat 6 High-resolution vision
10GBASE-T 10 Gbit/s 4 Cat 6A Uplinks, storage, sensor fusion

The 2.5 and 5 Gbit/s speeds come from IEEE 802.3bz and run over existing Cat 5e and Cat 6 cable, which is why they are common on edge AI computers that collect several camera streams. Our white paper on when edge AI needs more than 2.5GbE explains when a system needs 10 Gbit/s.

03

Why the cross-shaped shield matters

At Gigabit speeds and above, all four pairs carry data in both directions at once. Any signal that leaks from one pair to another, known as crosstalk, appears as noise on the receiving pair, and the effect grows with frequency. In an RJ45 connector the pairs are kept apart by careful layout inside a larger housing. M12 has far less room, so X coding uses the metal cross to give each pair its own shielded quarter of the connector.

The cross is bonded to the cable shield and the metal coupling nut, so the whole link stays shielded from the computer to the switch. That matters on machines, vehicles and trains, where motors, inverters and ignition systems produce strong electrical noise.

04

PoE over X-coded M12

X-coded connectors can carry Power over Ethernet on all four pairs, which is how sealed cameras, access points and sensors are powered from a single cable. Our PoE computers and M12 switches use X-coded ports for PoE and PoE+ camera connections.

Check three ratings before relying on the higher PoE classes: the PoE budget of the computer or switch, the current rating of the connector contacts, and the cable. Many X-coded connectors are rated for PoE+ (IEEE 802.3at), and versions rated for IEEE 802.3bt are available for higher-power devices.

FAQ · 01
What is PoE?
Power over Ethernet sends DC power and data over the same Ethernet cable, so a camera or access point needs no separate power supply. It is standardised by IEEE 802.3, from 15.4 W per port for the original PoE up to 90 W at the source for IEEE 802.3bt Type 4.
Read the full FAQ —
05

Where X-coded connectors are used

X coding has become the default for any new sealed device that needs more than 100 Mbit/s.

  • //
    Rugged and waterproof computers. Most current models use X-coded M12 for their Gigabit, 2.5GbE and 10GbE ports, in place of RJ45.
  • //
    Edge AI computers and NVRs. X-coded PoE ports feed IP cameras on vehicles, poles and production lines.
  • //
    Machine vision. Sealed GigE Vision cameras and their computers use X-coded M12 where the camera sits in a wet or dirty area.
  • //
    Switches. Gigabit M12 Ethernet switches use X-coded ports and uplinks.
  • //
    Rail and vehicles. Newer train and vehicle networks use X coding for CCTV backbones and passenger Wi-Fi.
06

Choosing and fitting X-coded cables

X-coded cables carry eight conductors and a full shield, so they are thicker and stiffer than D-coded cables. Check the minimum bend radius before routing one through a tight cable gland or along a door hinge, and choose a drag-chain rated version for anything that moves with the machine.

Moulded cables, made and tested in the factory, are the safest choice. Field-attachable X-coded plugs exist, but each pair has to be dressed into its own quarter of the shield cross, and a pair pushed into the wrong quarter can pass a simple continuity test yet fail at Gigabit speed. If cables are made on site, test them with a qualifier that measures the link at the speed it will run, not just the wiring map.

Tighten the coupling nut fully by hand, typically to around 0.4 to 0.6 Nm, so the seal is compressed and the shield makes contact all round. Fit the sealing caps to any unused X-coded sockets, because an open socket fills with dust and water and is the most common reason a sealed computer loses its IP rating in service.

07

Quick answers on M12 X-coded connectors

M12 X-coded: common questions

Does X-coded M12 meet Cat 6A?

It is designed for Cat 6A performance. IEC 61076-2-109 specifies X coding for up to 500 MHz, which supports 10GBASE-T when used with Cat 6A cable.

What is the X-coded M12 pinout?

Four pairs: 1-2, 3-4, 5-6 and 7-8. Each pair sits in its own shielded quarter and maps to one RJ45 pair. Follow the cable maker’s table when wiring to RJ45.

Can a D-coded plug fit an X-coded socket?

No. The keys and pin counts differ. A D-coded device needs a switch or a converter cable to join an X-coded network.

Does X-coded M12 support 100 Mbit/s?

Yes. An X-coded port negotiates down to 100 Mbit/s for older devices, using two of its four pairs.

Can X-coded M12 carry PoE?

Yes. With PoE-rated connectors and cable, X-coded links carry PoE and PoE+, and some are rated for IEEE 802.3bt.

We integrate rugged and edge AI computers with X-coded M12 Ethernet and PoE ports as standard, and we supply the matching X-coded cables, rated for the speed and PoE class, before the system ships.