M12 B-Coded PROFIBUS Cable, 5-Pin Fieldbus Cordset

An M12 B-coded PROFIBUS cable with the keyway reversed relative to A-code, so a sensor lead cannot be pushed into a bus port. Five-pin shielded pair, braid bonded to the coupling nut, for bus-in, bus-out or spur drops on existing DP segments.

Description

Overview

An M12 B-coded PROFIBUS cable is a five-pin fieldbus cordset with its keyway deliberately reversed relative to A-code. It exists to make a bus port physically unable to accept a sensor lead. PROFINET gets the attention today, but the installed base of PROFIBUS DP is still enormous – drives, remote I/O racks, weigh scales and valve islands on factory floors that stop the machine when one drop fails. This is the replacement part those machines need.

Key Specifications

CodingB-code, fieldbus (IEC 61076-2-101)
Connector AM12 B-coded 5-pin, straight or right-angle
Connector BM12 B-coded 5-pin, or open leads for field termination
Signal conductorsOne shielded signal pair, controlled lay
Class ratings60 V / 4 A class – confirm per build
JacketPUR for oil and coolant, PVC for dry indoor runs
ShieldingBraid bonded to the coupling nut
Ingress ratingIP67 / IP68 when mated – confirm per build

What happens if the wrong cable goes in the port

The classic commissioning mistake is plugging a 24 V sensor cordset into a bus terminal. With B-coded ports it cannot happen mechanically: the keyway is reversed, so the plug will not seat. Where it does happen on older installations – through an adapter, a mismatched receptacle, or a field-fitted connector on a bare cable – the result is a whole segment taken offline by one lead, and a fault that presents as every node on that segment failing at once. That single mechanical detail is the reason the coding exists.

The second failure we see is subtler: the plug seats, the link comes up, and the segment is unstable under load. That is almost always the screen rather than the protocol.

B-code 5-pin PROFIBUS pinout reference

The assignment below follows the convention used on most PROFIBUS M12 drops. Colors are the part that varies between makers, so treat the pin functions as the contract.

PinSignalTypical colorNote
1VP – bus supplyBrownOnly present where the drop powers the node
2RxD/TxD-N, the A lineGreenNegative side of the differential pair
3DGND – data groundYellowReference for VP
4RxD/TxD-P, the B lineRedPositive side of the differential pair
5Shield / screenBareBonded to the coupling nut at both ends

B-coding is what keeps a PROFIBUS drop out of an A-coded sensor port, and it is the reason the two cannot be swapped on site. The full family, A through Y, is set out in the two-page coding reference in the download center.

Where B-code sits in the M12 coding family

B-code is the fieldbus entry in a family where every code shares the same 12 mm thread and differs only by keyway. The table below is the whole map, from the sensor codes through to the hybrid arrangements.

CodePositionsCarriesTypical use
A3 / 4 / 5 / 8 / 12DC sensor supply and signals, IO-LinkProximity switches, photoelectric sensors, valve plugs
B5PROFIBUS-DP fieldbusLegacy drives, remote I/O racks, weigh scales
C3 to 6AC power, dual keyway, extended earthAC sensors, solenoid coils, legacy actuator blocks
D4100 Mbit/s Ethernet over two pairsPROFINET, EtherNet/IP, EtherCAT device drops
K4 + PEThree-phase AC powerMotor feeds, power distribution blocks
L4 + PEDC powerIO-Link power, AGV and drive supplies
M5 + PEThree-phase motor plus brake pairServo and geared motors with holding brake
P4 + PEData pairs plus 24 V DC supplySingle-cable EtherCAT and remote I/O blocks
S3 + PESingle-phase AC powerField I/O blocks, cabinet heaters, pumps, fans
T4DC power, two circuitsLow-voltage DC distribution
X8Up to 10 Gbit/s Ethernet over four pairsMachine vision, M12 to RJ45 10G links
Y6 + PE / 8Hybrid power plus Fast EthernetValve islands, hybrid power and data drops

A, B, C and D are defined in IEC 61076-2-101, X in IEC 61076-2-109 and the power codings in IEC 61076-2-111. Y is a de-facto hybrid arrangement rather than an IEC-defined code. The 60 V / 4 A class figures above are the industry-standard values quoted for the B-coded interface; the values your assembly is built and verified to are the ones stated on your drawing.

Reading the segment before you order

PROFIBUS is a two-wire RS-485 bus, so the questions that decide the build are not the same as for a point-to-point drop. Tell us whether the port is bus-in, bus-out or a spur, whether the node draws supply from the same cordset, and where the segment terminates. A terminating resistor built into the last drop is more reliable than one added on site.

Segment conditionWhat it drives
Bus-in / bus-out through a nodeTwo connectors on the device, one cordset in and one out
Single spur off a trunkOne cordset, flying leads or a tee at the trunk
Node powered from the cordsetAuxiliary cores alongside the signal pair
End of segmentTermination built into the last drop

Construction we build to

Both ends can be straight or right-angle, male or female, or one end can be left open for field termination. The shield is bonded to the metal coupling nut so the drain path continues through the connector instead of stopping at the gland, and the strain relief is molded onto the cable rather than clamped, which is what keeps the shield contact stable under vibration. Where the cable is dragged over a machine frame, ask for the high-flex PUR version with finer stranding – the conductor construction matters more than the jacket in continuous-motion applications.

PROFIBUS runs over RS-485 at the physical layer, which is why the pair geometry and the screen matter more than the connector does. We hold the pair at a controlled lay and land the braid at both ends.

Typical applications for this M12 B-coded PROFIBUS cable

  • Drive networks on legacy production lines
  • Remote I/O racks and distributed peripherals
  • Weigh scales, dosing and batching equipment
  • Valve islands still talking DP rather than PROFINET
  • Replacement drops on machines where the original cordset is obsolete
  • Mixed installations alongside our M12 D-code PROFINET industrial Ethernet cable

What we need from you

  1. Pinout, or a photo of the existing connector face
  2. Node type, and whether the port is bus-in, bus-out or a spur
  3. Length, and whether the run is fixed or moving
  4. Jacket preference and any oil, UV or coolant exposure
  5. Whether you need a matching terminating resistor

Workmanship and testing

IPC/WHMA-A-620 Class 3 is the workmanship bar for M12 B-Coded PROFIBUS builds, and ISO 9001 is the system behind the line, from 32 to 12 AWG. No M12 assembly is boxed before 100% continuity and pinout are confirmed, and seal checking is quoted whenever an ingress rating is on the drawing.

Custom builds and ordering

Five pieces is the prototype minimum for M12 B-Coded PROFIBUS builds, shipping in 3 working days. The production minimum is 500 pcs, delivered 14 working days after approval. Tooling not already held adds around 10 working days. M12 orders ship as OEM or ODM under your part number and labeling material certificates with first-article reports are available.

Related fieldbus and M12 assemblies

Full range: Circular M8 and M12 cable assemblies.

Frequently Asked Questions

Can I use an A-coded cable on a PROFIBUS port?

No, and it should not be possible – the keyway is reversed precisely to stop it. If you have a mixed panel, keep the bus outlets B-coded and the sensor outlets A-coded.

Why does my segment fail when the drives start?

Usually screen continuity rather than a protocol fault. Check that the braid is bonded to the coupling nut at both ends and that the pair is twisted up to the contact.

Do you supply terminating resistors?

We can build the termination into the last drop when you give us the segment layout, which is more reliable than a resistor fitted on site.

Is PROFIBUS still worth maintaining?

For an installed machine, yes – a replacement cordset costs a fraction of a network migration. For a new design, PROFINET on D-code is the usual direction.

Additional information
Connector AM12 B-coded 5-pin, straight or right-angle
Connector BM12 B-coded 5-pin, or open leads for field termination
CodingB-code, fieldbus (IEC 61076-2-101)
JacketPUR for oil and coolant, PVC for dry indoor runs
Ingress ratingIP67 / IP68 when mated – confirm per build
ShieldingBraid bonded to the coupling nut
Signal conductorsOne shielded signal pair, controlled lay
Class ratings60 V / 4 A class – confirm per build