Skip to main content

Worked Example: Rugged Control Box

This is Exercise 1 worked all the way through: a small sealed control box with 24 VDC input, Ethernet, CAN, four sensors, one motor output, and a debug port. We'll run each interface through the decision paths, then turn the result into the kind of paperwork the templates expect.

Illustrative composite — not a case report

The box below is a teaching scenario built on Exercise 1, not a report of any single project. The reasoning is the point, and every connector fact is stated by reference to the deep dives and decision paths, which carry the sources.

Read this as reasoning, not a shopping list

Like the Selection Packet and the M12 example, this page teaches how to decide and document. Part numbers, counts, and lengths marked J- or TBD are placeholders. A real project replaces every one with an exact, datasheet-verified value. Don't carry any rating from this example into your hardware.

Scenario​

A shoebox-class sealed controller mounted on a machine frame in a light-industrial bay: splash and dust, occasional washdown mist nearby, no submersion. It powers from the plant's 24 VDC supply, talks Ethernet to the line controller, sits on a small CAN segment with two other nodes, reads four DC sensors on the frame, drives one small 24 VDC gearmotor, and needs a service port a technician can reach without opening the enclosure. Cables are unplugged whenever the frame section is serviced — by whoever is on shift.

The quiet headline decision: every interface below lands on one circular family (M12-class), on purpose. One shell size, one seal system, one torque procedure, one cordset supplier list — the same standardization logic the M12 example uses, extended to a whole box. The engineering effort then goes where it belongs: keying, labeling, and documentation so that nine same-size connectors across six interface types can never be confused.

Requirements​

InterfaceRequirementNotes
24 VDC inputBox supply, current TBD from the power budget (assumed within a power-coded M12 class below — verify against the exact datasheet)Plant 24 VDC distribution; source-side protection TBD
EthernetOne run to the line controller; rate TBD from the controller spec — 10/100 assumed below, to be confirmedShielded run, washdown-adjacent
CANMulti-drop segment, this box + 2 nodes; bus power TBDTermination location must be designed, not discovered (§8.5)
Four sensorsDiscrete DC sensors on the frame, per-circuit current TBD vs. exact part ratingsSwapped by shift technicians — unplug/replug service model
Motor outputOne small 24 VDC gearmotor, stall current TBD from the motor datasheetNo separate feedback run in this scenario
Debug / service portReachable without opening the box; sealed when unused; low mating-cycle dutyUsed a few times a year, capped otherwise
Environment (all)Sealed-when-mated target per plant spec (exact IP class TBD); unmated state must also be protectedCaps are part of the design, not an accessory

Connector selection table​

InterfaceRequirement summaryCandidate familiesSelected familyStatus
J1 — 24 VDC inputSealed DC power inletM12 power-coded; bare cable gland; DT-styleM12 power-coded (T- or L-coded per the confirmed power budget — §8.1)Pending power budget
J2 — EthernetSealed industrial EthernetM12 D-coded; M12 X-coded; sealed RJ45M12 D-coded, 4-pin (§8.1)Pending rate confirmation
J3 — CANSealed multi-drop fieldbus dropM12 A-coded 5-pin; hardwired glandM12 A-coded, 5-pin ("some CAN" rides A-coded — §8.1); topology per §8.5Selected
J4–J7 — SensorsFour sealed DC sensor circuitsM12 A-coded 4-pin; M8; glands into a junction boxM12 A-coded, 4-pin (Industrial sensor path)Selected
J8 — Motor outputSealed small-motor DC powerM12 power-coded; M23-class; DT-styleM12 power-coded (same coding as J1 — one power-cordset type in the crib)Pending stall-current check
J9 — Debug/serviceSealed, occasional-use service portSealed M12 A-coded 8-pin; USB-C behind a cover; Micro-D behind a hatchM12 A-coded, 8-pin, with a chained screw cap (Debug/service path)Selected

Rejected connectors​

InterfaceRejected optionWhy rejected
24 VDC inputCable gland + hardwired tailFails the service model — every box swap becomes a wiring job, done by whoever is on shift; a gland is the right answer only for a run that never unplugs, and this run does unplug during service
24 VDC inputMIL-DTL-38999No program requirement to justify the cost/lead-time class (defense path logic in reverse)
24 VDC / motorM12 K-codedAC power coding (§8.1) — wrong lane for a 24 VDC system
24 VDC / motorA-coded pins doing power dutyThe ~4 A-class note in §8.1 exists for exactly this temptation — power belongs on a power coding the datasheet supports
EthernetM12 X-coded "to be safe"X is for GbE/10G-class; D-coded is the honest 10/100 answer, and §8.1 says don't default to X — revisit only if the rate requirement changes
EthernetSealed/rugged RJ45Workable, but breaks the one-family standardization and adds a second seal/latch system to maintain (Rugged Ethernet path checklist concerns)
SensorsM8Viable technically; rejected as a standardization decision — one shell size across the box (same reasoning as the M12 example)
SensorsGlands into a junction boxService model again — sensor swaps become enclosure work inside a sealed box; the M12 example rejects glands on the same grounds
Motor outputM23-classRight family for a real servo axis with feedback; oversized for one small DC gearmotor — becomes the answer if the motor grows (see "What would change")
All sealed runsDT-style sealed automotiveGood parts in their lane (budget path); rejected because the industrial cordset ecosystem here is M12 — fighting the ecosystem means custom pigtails
Debug/serviceBare USB-C on the panelThe debug path allows USB-C only behind a cover; a bare consumer port on a washdown-adjacent panel fails §12.4's boundary

Pinout​

Assignments below are illustrative structure only — every pin function, and especially every wire color, is verified against the exact device/cordset datasheet and recorded in the ICD before release. Wire-color conventions are example-only, never design authority (Source Notes).

ConnectorPinSignalDirectionNotes
J1 (24 VDC in)1…4 (+FE if L-coded)+24 V / +24 V / 0 V / 0 V (paired per the coding's datasheet)InContact pairing and FE per the exact power-coded part (§8.1)
J2 (Ethernet)1–4TX+ / RX+ / TX− / RX− per the D-coded cordset datasheetBidirShield continuity per §5.7; category per the cordset spec
J3 (CAN)1–5Shield / bus power / bus return / CAN_H / CAN_L per the device and protocol documentationBidirMulti-drop: this port is one drop — T-piece and end-termination per §8.5
J4–J7 (sensors)1–4+V / signal / 0 V (+ spare or second signal) per each sensor datasheetInSame discipline as the M12 example
J8 (motor)1…4Motor + / Motor − on paired contacts per the power-coded datasheetOutStall current vs. the exact part's rating — §4's derating discipline
J9 (service)1–8UART TX/RX, boot/enable strap, logic ground, reservedBidirLogic-level only — no power export; capped when unused

Cable drawing​

One row class per run; the cable drawing template carries the full per-cable version with evidence columns.

WireGaugeColorPair / shieldEnd AEnd BNotes
J1 power conductorsPer cordset spec (sized to the power budget)Per cordset — recorded, not assumedUnshielded powerJ1 plug (molded)Plant 24 VDC dropVerify current at temperature vs. the exact assembly
J2 EthernetPer cordset category spec—Shielded, pairing per specJ2 plug (molded)Line controllerShield termination both ends per §5.7
J3 CAN dropPer CAN cable spec—Shielded pair + powerJ3 plugBus T-pieceDrop length within protocol limits (§8.5)
J4–J7 sensor runsPer cordset spec—UnshieldedSensor M12J4–J7Off-the-shelf molded cordsets, stocked lengths
J8 motor runSized to stall current—Per motor/EMC needsJ8 plugMotor leadsAnchored against gearmotor vibration
  • Cable jacket: oil-resistant per the plant environment spec; drag-chain-rated only where a run actually moves (none in this scenario — record that, too)
  • Labels: every cable labeled at both ends with the J-number; label spec in the ICD
  • Length tolerance: per the cable drawing template's tolerance field, set from routing reality, not guessed
  • Test requirements: continuity + hipot/IR per the harness inspection checklist and the acceptance standard the program names; design-level qualification evidence, where the program requires it, structured per the qualification plan template

Backshell / cap notes​

Molded cordsets carry their own strain relief and sealing, so this box needs no field backshells — the accessory budget goes to caps and torque instead.

InterfaceAccessoryNotes
All receptaclesSealing screw caps, chainedThe unmated state is part of the sealing design (§8.3); an uncapped receptacle is an open hole
J9 service portCap plus a log disciplineThe port is capped 360 days a year — the cap is the interface most of the time
AllTorque per each part's datasheetCoupling-torque values are manufacturer-specified (§8.3); finger-tight is not a spec
CAN segmentTerminating M12 plug at each bus endTermination lives at the bus ends, not "wherever" — §8.5

ICD entry​

One worked entry (J2) in the ICD template's shape; the real package carries one per interface.

  • Interface name: J2-RCB-ETH — control box to line controller, industrial Ethernet
  • Connector P/N: TBD — M12 D-coded 4-pos panel receptacle, front-mount, shielded
  • Mating connector P/N: TBD — molded D-coded cordset, shielded, length per routing
  • Contact P/Ns: n/a (molded assembly) — field-repair kit P/N TBD, temporary-article rule per the M12 example §6
  • Backshell P/N: n/a (molded); panel-side sealing per receptacle datasheet
  • Dust cap P/N: TBD, chained
  • Keying / polarization: D-coding is the key (§8.1); no same-coding neighbor on this panel face
  • Electrical limits: per the exact receptacle/cordset datasheets — recorded here with revision, never quoted from memory
  • Shielding: 360° continuity through the receptacle to the enclosure bond point (§5.7)
  • Environmental assumptions: sealed-when-mated per the exact assembly's tested rating; capped when unmated; plant spec TBD governs
  • Mating cycles: per datasheet (A4 carries the family-level orientation)
  • Torque / assembly notes: coupling torque per datasheet; torque tool TBD; record value + tool in the build record
  • Cable requirements: category/shield per the cordset spec; bend radius per datasheet; no drag-chain duty
  • Test / inspection requirements: harness inspection checklist + program acceptance standard

Risks and mitigations​

RiskMitigation
Nine same-size circular connectors (six interface types) on one small box — wrong-port mating attemptsCodings differ where it matters most (power vs. D vs. A); among the A-coded ports, position counts differ (4/5/8) — and verify cross-mating behavior between position counts against the manufacturer rather than assuming; add color bands + J-labels at both ends; photograph the panel in the service manual
A-coded pins drafted into power duty during a "quick fix"The rejected-connectors table records why power lives on the power coding; the ICD's electrical-limits line makes the boundary auditable (§8.1)
CAN termination forgotten or duplicatedTerminating plugs are BOM line items with J-numbers, not accessories; topology drawing in the package (§8.5)
Receptacles left uncapped after serviceChained caps; capped-state photo in the close-out checklist; the service port's cap logged like a tool
Motor stall current outgrows the selected power codingStall check is a release gate (requirements table); escalation path pre-named (M23-class — see below)
Ethernet rate requirement changes after releaseThe D-vs-X decision and its trigger are recorded (§8.1) — a rate change reopens J2, not a debate
Cordset vendor change alters pinout/wire colorsColors are example-only by rule; the ICD pins functions to pin numbers with datasheet revisions (Source Notes)

What would change if…​

  • The power budget outgrows the M12 power class — J1/J8 move up a family (the high-current path takes over, derating curve first), and the one-family standardization is consciously traded away, in writing.
  • The motor becomes a servo axis — feedback appears, and the whole J8 question transfers to the motor + feedback cable path: drive-ecosystem cordsets, M23-class connectors, and the EMC discipline that comes with them.
  • The box moves into direct washdown — re-verify every mated and unmated rating against the plant spec (§8.3) and re-run the sealed enclosure feedthrough path for the panel itself.
  • A defense/aero customer appears — the requirement set, not preference, moves the external interfaces toward 38999-class hardware, and the Selection Packet shows what that documentation grade looks like.
  • Someone proposes one big multipole for everything — that's the removable machine module path's problem statement; run it honestly before deciding: use the path for the service reality, and §5's anatomy for the blind-mate and float mechanics a docking interface leans on.

Documentation bundle​

What "done" means for this box, per the templates:

note

These examples illustrate structure and process, not a released design. The datasheet, applicable standard, and program requirements decide the actual values.