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

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

Encoder cable spacing and shielding inside a control panel

Run encoder and feedback cable at least 0.8 in [2 cm] from power and drive wiring inside the panel and 20 in [50 cm] from power cable outside. Give the shield a 360-degree metal-to-metal bond at the gland plate, cross power runs once at 90 degrees, and fit a grounded metal partition wherever the runs end up closer than 2 cm.

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

Short answer: keep encoder and servo feedback cable at least 0.8 in [2 cm] from power and drive wiring inside the panel, 20 in [50 cm] from power cable outside it, and bond the shield 360 degrees to metal at the gland plate. Where the layout squeezes a run below that in-cabinet clearance, fit a grounded metal partition between the families instead of trusting the braid to carry it. You can hold these numbers on any plate if you draw the zones before the first cable is cut. The sections below walk the layout, the shield bond, the crossings and the supply choice, then run a spacing check for a 20 x 16 x 8 in wall-mount box with one 5 hp drive.

What you need

  • Dedicated shielded encoder cable, foil plus braid, the type the encoder documentation calls for; drag-chain rated in a moving carrier, and oil- and coolant-resistant at the machine.
  • Shield clamps or EMC glands that grip the braid around the full circumference, so the shield lands on metal rather than on a wire tail.
  • Metal wire duct and metal cable supports whose joints stay electrically continuous, plus jumper strap for painted joints.
  • Sheet-metal partition stock for the corners where the runs come closer than the clearance allows.
  • A filtered 24 V DC supply for encoder power, separate from the supply feeding contactor coils and solenoids.
  • A marker and your cable schedule, so both ends of every feedback cable carry matching labels.

The separation numbers that decide the layout

Two figures set the whole plate, and the table below collects every one the layout touches. Equipment wiring rules put the floor between power circuit conductors and communications circuits at 1/4 in [6 mm]; treat that as the smallest gap anyone accepts, and the in-cabinet figure as the value that keeps counts clean on a servo axis. Component placement carries its own distances, because a drive or a contactor couples noise into nearby electronics without any cable involved. The wider scheme across analog, digital and power wiring sits in panel cable segregation: separate analog, digital and power wiring.

Pair or run Keep at least Basis
Encoder cable vs power and drive wiring, inside the cabinet 0.8 in [2 cm] encoder installation guidance
Encoder cable vs power cable, outside the cabinet 20 in [50 cm] encoder installation guidance
Encoder hardware vs drive, transformer or solenoid 4 in [10 cm] encoder installation guidance
Receiving module vs contactors and frequently switching devices 1.2 in [3 cm] encoder installation guidance
Power circuit conductors vs communications circuits 1/4 in [6 mm] equipment wiring rule
Line voltage vs low-voltage signal cable in a shared tray 12 in [300 mm] shop-tray practice
Every encoder-to-power crossing 90 degrees EMC routing practice

The distances earn their keep on parallel length. A crossing couples a few millimetres of cable, while a metre of parallel run couples the whole metre. That is why the table pushes long runs apart hardest, and lets you cross a power run once, at a right angle, instead.

Running the cable, step by step

  1. Split the mounting plate into a power zone and a signal zone before any wire is pulled. Incoming supply, drive, motor-cable duct and contactors go on the power side. The encoder duct, the receiving module and the controls go on the signal side, with the clearance band drawn between them. The backplate guide shows how zones and DIN rail rows share one plate: the backplate and DIN rail layout guide.
  2. Bring the encoder cable in through its own gland, well away from the motor-cable and supply entries. Hole spacing is its own job: cable gland spacing on an enclosure wall.
  3. Bond the shield 360 degrees at that gland, the way the next section shows.
  4. Lay the encoder run in its own duct, or on metal supports close to bonded metalwork such as the plate, the rails and the cabinet wall. Hold the full in-cabinet clearance against every power and drive run, and cross a power run once, at a right angle, rather than travelling beside it.
  5. Place the receiving module at least 1.2 in [3 cm] from contactors or anything that switches often, and the encoder electronics 4 in [10 cm] from the drive, any transformer and the solenoids. Where a corner beats those distances, fit a bonded metal partition.
  6. Insulate every unused conductor in the encoder cable separately, each with its own sleeve or tape, so a loose end cannot short against a supply wire and damage the encoder.
  7. Feed the encoder from its own filtered 24 V DC supply. Sharing a supply with drives, solenoids or contactor coils drags switching spikes straight into the feedback electronics.
  8. Outside the cabinet, hold the 20 in [50 cm] figure from power cable in tray or conduit. A tray too narrow for that gets a metal divider, and a separate metal conduit is the other clean answer. Bond every tray and conduit joint so the whole path stays continuous.
  9. Cut feedback cable to length. A spare coil parked in the corner works as a loop antenna and blocks the duct, so leave the coil out.

Bond the shield 360 degrees at the gland plate

The bond does the work, not the braid's mere presence. A drain wire twisted back and landed on a terminal gives interference a long inductive tail. A clamp that squeezes the shield's full circumference against the gland plate gives it a short metal path instead. Drive makers' grounding manuals say the same for motor cable: bond the shield 360 degrees at the lead-through for the lowest radio-frequency interference, and feedback cable behaves the same way. Land the shield on metal at both ends: clamped around its circumference at the panel entry, and terminated with large-area contact into the encoder's metal housing at the machine end.

Prepare the surfaces before the clamp goes on. NEC 250.12 requires paint, lacquer and enamel removed from contact surfaces at grounding and bonding connections, so the clamp must see bare metal or fittings designed to bite through. Over long runs that bridge two ground points, add a yellow-green equipotential conductor alongside, so loop current takes copper instead of the shield. For VFD control cable the answer is sometimes a one-end bond, and that decision has its own page: VFD control cable shield grounding: bond one end. The entry hardware matters as much as the clamp: gland plate vs split cable entry system for a control panel compares the two ways to land a family of shields, and cable shield termination at enclosure entry: what to bond covers the details at the wall. A companion page explains why foil shielding depends on a qualified gland bond.

Spacing check for a 20 x 16 x 8 in box with one 5 hp drive

The inputs, and where each comes from:

  • The box is 20 in wide x 16 in high x 8 in deep, a common wall-mount size and the case for this check.
  • The load is one 5 hp servo drive, its motor cable, and one encoder axis with its shielded feedback cable; the parts are generic.
  • The rules come from the table above, applied pair by pair.
  • The tight corner: the encoder duct ends up 0.6 in [15 mm] from the motor-cable duct, because the DIN rail row above runs flush to the duct edge.

The rule in words: measure the empty air between the closest points of the two runs. At 20 mm or more, the run stands as routed. Below that, either open the gap or fit a grounded metal partition.

The arithmetic in millimetres: required 20 mm, available 15 mm, shortfall 20 - 15 = 5 mm [0.2 in]. If the plate has 0.2 in of spare width beside the contactor row, shift the encoder duct by that 0.2 in, and the gap reaches the full 20 mm with no parts added. In this corner the rail row sits flush, so the partition goes in.

The other pairs pass on their own numbers. The receiving module sits 1.6 in [40 mm] from the contactor row, above its table value, and the encoder hardware sits 4.7 in [120 mm] from the drive, above its own. Measure each pair the same way: nearest metal to nearest metal.

Decision, for this box and any other you lay out: 20 mm [0.8 in] of air or more between encoder and power runs means route freely. Below 20 mm means shift the run if the width exists, and partition where it does not. Skip both and the axis shows it in count jitter, usually on the fast move first.

Checks before you close the door

Lockout comes first: shield and feedback work happens with the panel locked out and absence of voltage verified on the supply, the drive output and the encoder feed. Then work down this list:

  • Tug each shield clamp; the braid must not rotate or slide, or the circumference bond is partial.
  • Meter from the partition to the plate: near zero ohms means bare metal under the joint, and a high reading means paint or a missing jumper.
  • Enable the drive with the axis parked and watch the position display; it holds steady.
  • Toggle the largest contactor in the panel while you watch that display; the count must stay put.
  • Confirm every unused conductor is still separately insulated after the routing wiggle.
  • Measure the outside run once, and confirm the divider or conduit actually sits where the plan put it.
  • Walk the gland plate: every hole carries a gland or a plug, none left open.

Mistakes that cost the margin, and the rating

  • A drain wire landed on a terminal to save the clamp turns the circumference bond into an inductive stub, and the shield protects mostly on paper.
  • Feedback cable sharing the motor-cable duct for a short stretch is the classic corner; the clearance exists for exactly that spot, and a bonded partition takes a fraction of the space the troubleshooting does.
  • An encoder supply tapped off the contactor control supply rides switching spikes into the feedback on every coil drop-out.
  • A receiving module snapped onto the rail beside the contactors ignores the module distance, and the partition exists for that spot too.
  • Spare cable coiled inside the cabinet picks up what the run rejects, and blocks the duct while it does it.

The rating has its own failure mode. Every new hole in the wall or the gland plate needs a gland or plug fitted for the assembly, and the cutout guide covers how to specify them: cutouts, cable glands and HMI windows. Our 304 and 316L boxes are rated NEMA 4X / IP66 by the manufacturer; not UL listed, and an open or badly sealed hole is the fastest way to lose that in a washdown.

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

Questions

How far from power wiring does encoder cable need to sit?

Inside the cabinet, at least 0.8 in [2 cm] between encoder cable and power or drive wiring; outside, between cabinet and machine, 20 in [50 cm]. Where a corner squeezes the in-cabinet gap below that, a grounded metal partition restores the separation. Extra braid or a larger gland does not.

Can encoder cable and motor cable share one duct or one gland?

Enter through separate glands spaced along the gland plate, keep the cables apart for the whole run, and cross any power run once at 90 degrees. A shared duct holds the feedback against drive switching edges for its full length, which shows up as count jitter on the axis.

Where does the encoder shield terminate, one end or both ends?

Both ends land on metal: the shield clamps 360 degrees to the gland plate at the panel entry and terminates with large-area contact into the encoder's metal housing at the motor end. Over long runs bridging two ground points, add a yellow-green equipotential conductor so loop current takes copper instead of the braid.

How close can the receiving module sit to contactors and the drive?

Keep 1.2 in [3 cm] between the encoder-receiving module and contactors or other frequently switching devices, and 4 in [10 cm] between encoder hardware and any drive, transformer or solenoid. A bonded metal partition stands in for either distance in a tight cabinet; measure component-to-component, nearest metal to nearest metal.

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 20 × 16 × 8 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