Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

40-pin expansion module breakout: direct mount or cable

Use a short ribbon cable from the 40-pin expansion connector to a terminal strip on the rail; the cable takes the field-wire pull off the module connector. A board mounted straight on the connector is worth it only when the panel has about 1 in [25 mm] of spare depth behind the module plus 2 in [50 mm] of bend room per wire — room a packed rail panel rarely has.

NEMA4 Enclosure engineering team · Published November 29, 2026 · 8 min read

Short answer: put a short ribbon cable on the 40-pin expansion connector and land the field wires on terminal blocks beside the module. Skip the board that stacks straight onto the connector. The strip costs one row of rail; the direct-mount board costs depth, and depth is what a packed panel has least of. A board bolted to the connector also welds the field harness to the card, which defeats the swap you are planning. The day a 16-point module becomes a 32-point module, a direct-mounted harness moves every wire anyway. The cable route keeps the field side fixed, re-maps at the module end, and costs only the strip length counted below.

Should you mount a breakout board directly on the expansion connector?

In most panels you should not: order a keyed 2x20 ribbon cable in a standard length of 0.3 to 1 m [12 to 40 in] and land its wires on terminal blocks, because the cable breaks the mechanical link between field wiring and the module connector.

An IDC latch is a retention device, not a strain relief. With a board on the connector, every tug on a field wire reaches the module's solder joints by the shortest path possible. The cable turns that pull into a service loop dressed into the duct. It also lets you lift the module out for a swap without opening a single terminal.

The unshielded ribbon wants a short run, out of the power ducts, and it sags if you let it hang. Assemblies built for IDC use 26 to 28 AWG (0.08 to 0.13 mm²) conductors, which is ample for the signals a compact PLC switches at its own header.

What does direct mounting cost in depth?

Budget about 1 in [25 mm] of clear depth behind the module face for the board stack, latch and cable-exit shell, plus about 2 in [50 mm] of bend space per wire before it turns into the duct.

Together that is roughly 3 in [75 mm] of air at the module face, measured from the connector shell to the first obstruction in front of or above it. The board itself is thin; the allowance pays for the IDC shell, the latch you work to release, and the rise each wire makes off the board before bending toward the duct. The 2 in per wire suits 18 AWG machine wiring dressed into duct; heavier conductors ask for more.

The cable route asks for none of this at the module face. The plug exits flush and the wires bend in the wiring zone, where the backplate already reserves the room.

Depth, not width, is what kills these builds on the second module. If the direct-mount numbers look workable, check the internal depth the way the article on finding the minimum enclosure depth lays it out, and reserve the plug-and-wiring zone as the clearance article for controllers sets it. How the module itself is mounted changes the access picture too; comparison of DIN rail versus panel mounting for expansion modules covers that choice.

How much rail space does a terminal-strip breakout need?

Count terminations, then multiply by block width: a 32-point module with all points and its 4 commons used lands on 36 strip points, which is 126 mm [4.96 in] of single-level rail at the 3.5 mm [0.138 in] width that carries up to 1.5 mm² [16 AWG].

That is the worked example for a 40-pin header feeding a 32-point card: 36 points x 3.5 mm = 126 mm, about 5 in of rail. Three-deep blocks cut the same strip to a third of its length: 126 mm / 3 = 42 mm [1.7 in], which frees about 3.3 in of rail for the rest of the panel. The width-and-capacity pairings come from rail-mount terminal-block datasheets: 5.2 mm [0.205 in] blocks take up to 4 mm² [12 AWG], and the families run from 0.34 mm² to 25 mm².

Counting points, not blocks, is the whole method, and the article on counting points, not blocks walks the same arithmetic for mixed rows. Row spacing beside a controller and its expansion modules carries its own numbers, set out in the article on DIN rail space per row. Keep the duct feeding the strip at or below 50% fill, the cap the backplate and DIN rail layout guide carries (citing NFPA 79-2012 section 13.5.2), because round conductors leave air gaps in a duct.

Multi-level strips concentrate circuits vertically, so they are won or lost at the label layer. Every level needs its own marker, and every test point needs to stay reachable with the duct covers on.

Does the terminal strip actually let you swap modules?

Yes — and this is the strongest reason for the cable: field wires stay on the strip, the module end of the breakout re-maps if the new card reassigns pins, and a module change becomes unplug, re-plug and a one-page check instead of moving 36 wires.

A board bolted to the connector fixes the harness to the card. The swap it was bought for then moves the whole harness one wire at a time, which is the exact job the strip exists to avoid. With the cable route, the field side never learns that the card changed.

Copy the printed pin table of both cards and compare them before anything is ordered. Where a 16-point and a 32-point card differ, the difference is a few re-landed pins at the module end of the cable, done once, with the field cables still dressed.

When is a direct-mount board the better choice?

Pick a connector-mounted board only when the panel has the 1 in [25 mm] board stack and the 2 in [50 mm] bend room free at the module face, a documented one-to-one pin map, and a fixed machine harness you never expect to rewire.

Every item below has to pass before the board goes on the header:

  • A printed pin map from the board maker, one terminal per pin, with no jumpers left to guess.
  • Mechanical support independent of the IDC contacts: standoffs or a bracket, so field-wire pull stops at the board.
  • Every terminal reachable without disturbing another conductor, and the module removable with the duct covers on.
  • The depth stack measured clear, from the connector shell to the first obstruction.

A prewired device changes the math. A valve bank arriving on a factory-molded 25-pin D-sub shell is a made harness, not field wiring, so a shell-to-screw-terminal adapter is the right part there. The pull argument belongs to hand-terminated wire.

How do you map 40 pins to terminals without rework?

Write a termination schedule from the module's published pin table before any wire is cut: one strip point per used pin, commons and shields included, unused pins listed as spares, and pin 1 keyed and marked at both ends of the cable.

De-energize the controller, the expansion I/O and the field supplies, and confirm absence of voltage before landing anything. Then:

  1. Copy every pin designation from the module's printed documentation into the schedule; work from the pin table, never from a photo.
  2. Assign one strip point per used pin, and put commons, shields and spares into the same schedule.
  3. Mark pin 1 at both cable ends and keep the key engaged; an unkeyed IDC plug reverses without complaint.
  4. Label each strip point with the field function and the module point designation.
  5. Move and test one circuit group at a time; a whole connector moved at once hides a crossed common until startup.
  6. After the duct covers and the door close, look again at seating, latch engagement and cable twist.

Labelling is where most rework starts. The article on a terminal block label that does not match the module pinout shows that failure end to end.

What ratings must the cable, board and blocks carry?

Size the chain from its weakest link: the module contact and the ribbon conductor set the ceiling for each point, and the terminal block must be rated for the wire you land on it, not just for the rail width it saves.

Ribbon built for IDC runs 26 to 28 AWG per conductor, so the cable and the card's contact rating, both printed on the module datasheet, almost always set the per-point limit. Size the strip for the wire anyway: the day someone lands 12 AWG on it, the wider block width is what holds the rating. A signal pin carries only its own current; a common carries the sum of the points tied to it. Split a bank's returns across its commons so no single conductor carries the whole bank.

The module itself carries IP20 under IEC 60529: the 2 means a 12.5 mm [1/2 in] probe cannot reach live parts, and the 0 means no water protection. Everything environmental is the enclosure's job. For washdown, outdoor or chemical areas, our 304 and 316L stainless enclosures are rated NEMA 4X / IP66 by the manufacturer; not UL listed.

What goes on the order?

Order the cable route unless your depth check passed: a keyed 2x20 IDC cable at 0.1 in [2.54 mm] pitch, a breakout that lands on screw terminals or DIN blocks, strip sized to the wire, and an enclosure deep enough for the plug and bend allowances.

Item Spec to order Why
Ribbon cable Keyed 2x20 IDC, 0.1 in [2.54 mm] pitch, 0.3 to 1 m [12 to 40 in] Keying stops a reversed plug; short runs keep noise down
Breakout Screw-terminal or DIN-block board, one strip point per pin The field side stays fixed across module swaps
Terminal strip 3.5 mm [0.138 in] blocks for up to 1.5 mm² [16 AWG]; 5.2 mm [0.205 in] blocks for up to 4 mm² [12 AWG] Datasheet widths; add end plates and one marker per point per level
Three-deep option The same circuits in 12 blocks, 42 mm [1.7 in] of rail A third of the single-level length
Wire duct Fill at or below 50% of the interior cross-section Fill tables assume the air gaps round conductors leave
Enclosure Internal depth covering module, plug access and bend allowances Depth, not width, is the binding constraint

The decision, by panel: packed rail with a card swap planned — ribbon cable to a three-deep strip, field side untouched. Rail space spare and depth spare, with a fixed machine harness — a documented direct-mount board earns its place. A prewired device on its own harness — the matching D-sub adapter, and the ribbon stays out of it. Whichever route you take, check the internal depth on the enclosure size chart before the order goes out.

Specify the box itself in the enclosure builder: depth from the stack above, 304 or 316L to match the environment, and gland cutouts where the field cables enter — delivered in 10 business days from approval of the drawing.

Catalog dimensions to compare

Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.

EnclosureMaterialOutside H x W x D / displayRating
6 × 6 × 4 in304 stainless6 x 6 x 4 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
8 × 6 × 4 in304 stainless8 x 6 x 4 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
10 × 8 × 4 in304 stainless10 x 8 x 4 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can one breakout serve both a 16-point and a 32-point module?

Only when both cards publish the same pin assignment. Copy the two pin tables and compare them before ordering anything; where they differ, absorb the difference at the module end of the cable and leave the strip untouched. That comparison is a five-minute desk job, and it is the difference between a swap afternoon and a rewiring week.

How long can the ribbon cable run?

Keep it under about 1 m [3 ft]. IDC ribbon is unshielded, longer runs sag against the duct covers, and noise pickup grows with length. Route it away from drive output and other switched power cables; where paths must cross, cross them at right angles rather than sharing a duct.

Do unused pins need terminal blocks?

Some do: commons, shields and planned spares get terminals, and strictly unused pins stay un-terminated but listed in the schedule. On a 32-point card with 4 commons, the commons alone occupy at least 4 strip points before any spares.

What current can one breakout point carry?

The card's contact rating on its datasheet governs, because the 26 to 28 AWG ribbon conductors and IDC contacts sit below the strip's capacity. Keep loads beyond that rating off the ribbon entirely: switch them from a relay or contactor strip of their own, and let the breakout carry signals only.

What enclosure rating does an IP20 module need?

IP20 means a 12.5 mm [1/2 in] probe cannot reach live parts and gives no water protection, so the enclosure carries the environmental rating: Type 1 indoors, Type 4X for washdown or outdoor. Keep the module and its cable inside the sealed box, with the field wiring leaving through glands.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Start a junction box from 6 × 6 × 4 inRequest a custom quote

Stainless junction boxes: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides