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

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

DIN rail space per row for controller and expansion modules

A controller base plus three expansion modules needs 180 mm [7.09 in] of clear DIN rail on one unbroken run, so size the enclosure by usable rail length per row, not total width. Allow 15 mm per rail end bracket and 50 mm for terminals, and check the drawing for divider webs.

NEMA4 Enclosure engineering team · Published November 25, 2026 · 5 min read

Size the enclosure by the usable DIN rail length in one row, not by total width. A controller base plus its expansion modules must sit side by side on one unbroken rail run, so the stack width sets the minimum clear rail per row, and a divider web or rail end clip can cut a nominal row shorter than the catalog figure.

How much clear DIN rail does a controller stack need?

Add the widths of the base device and every expansion module, in 18 mm module steps, because EN 60715 sets the standard module width at 18 mm for 35 mm rail. A 4-module controller base is 72 mm [2.83 in] wide, and a 2-module expansion is 36 mm [1.42 in], so three expansions behind it give 72 + 3 x 36 = 180 mm of stack.

That stack width is the fixed core of the row. Nothing else on the rail can interrupt it: the expansion link between modules is a short connector designed for adjacent mounting, not a cable that hops a gap. Once you have the stack width, everything else in the row is arithmetic against it.

Item Width Count Total
Controller base 72 mm 1 72 mm
Expansion module 36 mm 3 108 mm
Rail end brackets 15 mm 2 30 mm
Terminal group about 50 mm 1 50 mm
Stack total, brackets included 210 mm

The expansion count is a datasheet figure. Read the controller manual for the maximum number of expansions before sizing the row, because a stack the enclosure can hold may still exceed what the bus supports.

Why can't the expansion modules sit on the next rail row?

They can only sit on the next row when the controller maker documents a link long enough to reach it, which for most compact controller families it does not. The expansion interface is a multi-conductor connection with signal and timing requirements, and it ships as a short connector or a fixed-length ribbon for side-by-side modules.

So the deciding quantity is the longest uninterrupted rail run in the enclosure, in one row. Two rows of 9 modules each do not equal one row of 18 when the stack itself needs 10 modules. The same logic applies to depth and component spacing on the plate; the guide on how to size a PLC enclosure with spare space covers the spare-space side of that decision.

How much of the enclosure width is actually usable rail?

Subtract the wall thickness, the rail end brackets and a wiring margin from the inside width. For a wall-mount box with 300 mm [11.81 in] of inside width, two end brackets at 15 mm and a 10 mm clearance at each wall leave 300 - 30 - 20 = 250 mm of usable rail.

That 250 mm must hold the 210 mm stack-and-bracket figure from the table above, which leaves 40 mm, or two 18 mm modules, free. If the terminals, a small breaker or wire duct also share the row, the row is full, and you either move terminals to a second rail row or step up one enclosure size. The size chart of inside and outside dimensions lets you check this against real boxes: the enclosure size chart lists inside dimensions so you can subtract the margins yourself.

How do divider webs and rail end clips cut a row short?

A divider web splits a nominal row into shorter sections, and the rail run your stack can use is the longest section alone. A catalogue that says 18 modules per row may mean two 9-module sections with a web between them, and a web with its hardware can take about 12 mm of the row as well.

Before you order, do two things. First, ask for the enclosure drawing and mark the web position, because a web at one end leaves a long section and a web in the middle does not. Second, count every rail break: a mid-row splice, a door-tray cutout or a mounted component bracket each behaves like a web. When the layout is custom anyway, this is the easy fix: with a custom enclosure built to your dimensions, you specify a single web-free rail run of the length you calculated.

What enclosure size fits the stack with room to spare?

Pick an enclosure whose longest unbroken rail run is at least the stack width plus 30 mm for end brackets plus 50 mm for terminals, and add one spare 18 mm module position per row for a future expansion.

For the worked example: the stack is 180 mm, brackets need 30 mm, terminals need 50 mm, so the rail run must be 180 + 30 + 50 = 260 mm. With the 10 mm wall clearances, an inside width of 260 + 20 = 280 mm works; a box with 300 mm inside width gives 250 mm of usable rail, which is short by 10 mm, so step up to the next width or move the terminal group to a lower rail. Height and depth follow the component stack-up; the backplate and DIN rail layout guide walks the duct, rail and clearance spacing, and the enclosure sizing guide covers depth and wire bending space.

Environment Enclosure choice for this stack
Indoor, dry panel Type 1 or Type 12 wall-mount box, 300 mm inside width with terminals on a second rail row
Washdown or outdoor Type 4X box rated by the manufacturer; not UL listed, 316L for chlorides, same 260 mm clear-rail rule
Dusty but dry Type 12, and put the terminals on the same row only if the run reaches 260 mm

What should you put on the order?

Put the clear rail run on the order, not the enclosure width. State the inside width, the rail length, the web position and the cutouts in one line each: for example, 300 mm inside width, one unbroken 260 mm rail run, no centre web, rail length 290 mm with 15 mm end brackets.

Then verify after the box arrives. Snap the base and every expansion onto the rail in sequence, check that each expansion connector is fully home with no gap, and confirm the controller recognises every module at power-up. Measure that the door closes without pressing the fronts, and that the highest enclosure interior temperature stays within the controller's ambient limit, which for most electronics is 40 C (104 F) unless the datasheet allows more. The module-count arithmetic per row is set out step by step in how many DIN rail modules fit an enclosure row, and the rail-to-plate fastening details are in DIN rail clip mounting on an enclosure base plate.

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
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Can the expansion modules sit on the rail row below the controller?

No, when the expansion link is a short fixed connector built for modules mounted side by side on one rail. Measure the link before you plan: most carry a few millimetres, not a row pitch of 150 mm or more. If the link is a loose flying-lead harness documented by the controller maker, follow its bend radius and length limits instead.

How much clear rail length does a controller with three expansions need?

Add up the module widths: a 4-module base is 72 mm and three 2-module expansions are 36 mm each, so the stack is 180 mm [7.09 in]. Add 15 mm at each end for rail end brackets and you need 210 mm of rail before any terminals, breakers or wire duct share the row.

Does a row rated for 18 modules always give 18 modules of usable space?

No. A centre divider web or a mid-row rail splice splits a nominal 18-module row into two shorter sections, for example 9 plus 9 modules with a web taking about 12 mm. Read the enclosure drawing for the web position and size the stack to the longest uninterrupted section, not the headline module count.

What spare space should be left on the row?

Plan for about 50 mm [2 in] of free rail beside the stack for terminal blocks, plus one spare module position per row for a future expansion. On the 260 mm example rail, the 180 mm stack leaves 80 mm, which holds a 4-module terminal group and still has an 18 mm slot free.

Does the enclosure rating change the rail layout?

The rating does not change the length you need, but it changes the box. A washdown or outdoor application calls for a box rated NEMA 4X / IP66 by the manufacturer; not UL listed. Keep the same clear-rail calculation on a 316L stainless box as on any other: the stack width plus 15 mm per end bracket.

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.

Build it from 12 × 10 × 6 inRequest a custom quote

NEMA 4X enclosures: sizes for this job

Keep reading

Related engineering answers

All articles

Buying guides

The guides behind this answer

All guides