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

How to panel mount a VGA port on a metal enclosure

Mount the VGA port as a female-female HD15 coupler behind a 1.17 x 0.71 in [29.7 x 18 mm] factory cutout, fastened with 4-40 screws on 0.938 in [23.8 mm] centers. Cap the whole run at 10 ft [3 m] at 1920 x 1080 / 60 Hz, and ground the shell and cable shield at the enclosure end only.

NEMA4 Enclosure engineering team · Published November 9, 2026 · 6 min read

Short answer: mount the port as a female-female HD15 coupler behind a 1.17 x 0.71 in [29.7 x 18 mm] opening. Fasten it with 4-40 screws on 0.938 in [23.8 mm] centers. Cap the whole video run at 10 ft [3 m] at 1920 x 1080 / 60 Hz. Ground the coupler shell and the cable shield at the enclosure end only; leave the monitor end floating. Our wall-mount boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed. The opening is the weak point in that wall, so order it as a factory cutout and fit a coupler whose datasheet carries IP66. The drawing, the steps and the checks follow.

What you need

Have the coupler datasheet open before you draw anything; its shell outline sets the cutout, and the rest is bench hardware.

  • Female-female HD15 coupler, panel mount: the three-row, 15-pin D-sub that VGA uses. On a washdown wall, buy the gasketed feedthrough version whose datasheet carries IP66; a bare gender-changer carries none.
  • Male-to-male VGA cable for the run inside the box, 6 ft [1.8 m] in the worked example.
  • The monitor's own lead for outside, 4 ft [1.2 m] in the example.
  • Two sets of 4-40 screws with nyloc nuts and internal-star washers.
  • The cutout drawing: the opening, plus two Ø 0.125 in [3.2 mm] mounting holes 0.938 in [23.8 mm] apart, the drilling connector datasheets print for the DE-size flange the HD15 uses.
  • Screwdriver, deburring tool and a multimeter for the checks at the end.
  • A ground stud, or a clean patch of bare wall, where the shield will land.

Draw the cutout before anything is cut

Copy the shell outline off the datasheet and add clearance so the flange never binds: 0.02 in [0.5 mm] per side is enough on a punched or laser-cut opening. Place the opening at least 0.5 in [12 mm] inside the gasket line and 1 in [25 mm] clear of any bend or return, so the flange bears on flat sheet and the gasket compresses evenly. Round the corners to the radius D-sub panel drawings carry, R 0.132 in [3.4 mm], so the corners do not chew the gasket. Then set the two mounting holes on their 0.938 in [23.8 mm] spacing, centered on the opening.

Item Value for the example
Opening 1.17 x 0.71 in [29.7 x 18 mm]
Corner radius R 0.132 in [3.4 mm]
Mounting holes 2 x Ø 0.125 in [3.2 mm]
Hole spacing 0.938 in [23.8 mm] centers
Screws 4-40, nyloc nuts, internal-star washers
Clearance to gasket line 0.5 in [12 mm] minimum

Send that layout with the box order rather than cutting a fitted stainless door by hand. The cutout designer lays the opening and the two holes on any face you choose, checks the edge spacing and sends the drawing with your quote. A custom box, cutouts and all, is delivered in 10 business days, counted from your approval of the drawing. The custom stainless cutouts page compares a stock body with new openings against a fully custom shell, so you can see which suits your build. For the flange geometry, the two-row D-sub cutout and flange layout article walks the same layout for the wider DA and DB shells; HD15 changes the pin count from two rows to three, not the shell. If you mark holes by hand, the cutout layout template article keeps the marking honest.

Fit the coupler, step by step

  1. Check the datasheet against your drawing; if the coupler you bought differs from the 1.13 x 0.67 in example shell, its numbers replace mine everywhere.
  2. Order the opening as a factory cutout with the enclosure. If shop cutting is the only way, cut a loose flat panel, never a built box; the factory-versus-shop tradeoffs are in the bulk enclosure cutouts article.
  3. Take the panel off the box and lock the power out before any drilling; falling swarf into a live drive ends the day badly.
  4. Deburr both faces and wipe the swarf off the gasket line, because a burr under a gasket is a leak path.
  5. Fit the coupler from the outside face. A gasketed feedthrough seats its gasket against the outer wall; a bare coupler seats metal to metal.
  6. Fasten from inside with the 4-40 screws and internal-star washers biting the stainless. Snug to about 5 in-lb [0.6 N·m], the fastener-torque-table value for 4-40 steel; overtightening warps the flange and lifts the gasket.
  7. Measure the bond: coupler shell to wall reads 0.1 Ω or less on the multimeter. On a plated or painted flange, add a pigtail to the nearest stud and keep it under 1 in [25 mm].
  8. Plug the inside cable into the rear of the coupler. Route it 4 in [100 mm] away from motor and drive cables, crossing at 90 degrees where the paths must meet.
  9. Outside, fit the monitor lead and form a drip loop that drops 2 in [50 mm] below the port before the cable runs on.

Keep the video clean through the junctions

VGA is analog RGB with separate syncs, and every junction in the path costs it margin. Count your run as one number: inside cable, plus coupler, plus outside lead. The example lands exactly on the cap: 6 ft [1.8 m] + 4 ft [1.2 m] = 10 ft [3.0 m] through a passive coupler at 1920 x 1080 / 60 Hz. One unbroken cable holds that resolution to about 25 ft [7.6 m], and 640 x 480 rides a 100 ft [30 m] lead; past that, fit an active CAT5 extender, which balun datasheets rate at 300 ft [100 m], rather than stacking a second coupler.

The shield lands once, at the enclosure. The screws already bond the shell to the wall; land the cable's outer shield on the enclosure side and let the monitor end float on its own cord ground. Two grounds at different potentials drive loop current down the shield, and analog video shows that as hum bars or soft edges. The cable shield termination at enclosure entry article covers what to bond at the wall, and the float-versus-ground decision at the device end walks the same one-end-or-two choice for 4-20 mA loops.

Checks before you close the door

  • Picture: the monitor syncs at 1920 x 1080 / 60 Hz with no ghosting, and wiggling each plug changes nothing on screen.
  • Bond: shell to wall still reads 0.1 Ω or less after the screws are re-snugged.
  • Shield: continuity between the wall and the cable shield on the enclosure side, and an open circuit between the wall and the shield at the monitor end.
  • Water: with the gasketed feedthrough fitted, spray the port for a minute and look inside. IPX5, the first jet level in IEC 60529, is 12.5 L/min from a 6.3 mm nozzle, and IPX6 is 100 L/min from a 12.5 mm nozzle; a garden hose is not a calibrated jet, but a minute of spray still finds a missing gasket fast.
  • Label: mark the port VGA so the next person plugs in without guessing.

Mistakes that cost the rating

  • A bare gender-changer on a washdown wall. An assembly rating falls to its lowest-rated part, and an open HD15 cutout fails the first jet test, 12.5 L/min at IPX5, let alone 100 L/min at IPX6. Fit the gasketed feedthrough or keep the port indoors; the sealed waterproof panel-mount connectors article shows what a rated part looks like.
  • A household VGA wallplate. It mounts a gender-changer neatly and carries no IP code at all; on a stainless wall it is an open hole with a trim ring.
  • A hole saw in a fitted box. The saw wanders in stainless, the oversize mouth leaves the gasket unsupported, and that spot leaks at the first hose-down. Order the factory cutout instead.
  • Shield landed at both ends. The loop current shows up as hum bars; land it at the enclosure only and let the far end float.
  • A flat cable leaving the port. Water wicks along the jacket and straight into the shell; the 2 in [50 mm] drip loop is what stops it.
  • USB or network ports on the same wall obey the same penetration rules, and keeping USB and ethernet ports waterproof covers their seal choices.

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
16 × 14 × 8 in304 stainless16 x 14 x 8 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

Questions

Will a VGA coupler keep the NEMA 4X / IP66 rating of the box?

Only with a gasketed HD15 feedthrough whose own datasheet carries IP66. A bare gender-changer is an unrated penetration, and an assembly rating falls to its lowest-rated part, so one open port drops a washdown wall to indoor grade at the first 12.5 L/min jet. Order the rated feedthrough with the cutout and the wall stays tight.

How long can the VGA cable run be through a panel coupler?

Plan on 10 ft [3 m] of total run through a passive coupler at 1920 x 1080 / 60 Hz; the two extra junctions spend the margin a continuous cable would keep. One unbroken cable holds that resolution to about 25 ft [7.6 m], and 640 x 480 rides a 100 ft [30 m] lead. For longer distances, fit an active CAT5 extender, which balun datasheets rate at 300 ft [100 m].

Which end of the VGA shield should be grounded?

The source end, at the enclosure. Bond the coupler shell to the wall through its 4-40 screws, land the cable's outer shield on the enclosure side with a pigtail under 1 in [25 mm], and leave the monitor end floating on its own cord ground. A second ground path carries loop current whenever the two chassis potentials differ, and analog video shows that as hum bars or soft edges.

Can a VGA cable go through a cord gland instead of a coupler?

Rarely. A molded HD15 backshell is about 1.2 in [30 mm] wide, more than twice the roughly 0.5 in [13 mm] jacket an M20 cord grip clamps. Cut the port and fit the coupler, or gland the round jacket of a cable whose shell you can disassemble; the gland must carry its own IP rating for the wall to keep its rating.

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

More on layout and installation

All articles

Buying guides

The guides behind this answer

All guides