Skip to content
WireVizDocsOpen editor
Examples

Shielded cable wiring

Document two signal conductors and a shield connected at one end.

Shielded cable wiring rendered with WireViz, showing the connectors, wires and pin assignments
Generated directly from the example YAML with WireViz 0.4.1.

Purpose

Show how WireViz represents a shield independently from the numbered conductors. This single-ended termination is illustrative; it does not establish the correct shielding arrangement for a particular system.

Components

  • CONTROLLER has two signal positions and a third position labelled SHIELD.
  • SENSOR has two signal positions.
  • W1 is a 1.5-meter cable with two 24 AWG conductors and a shield.

Wiring

The first connection set joins both signal conductors end to end. The second connects controller pin 3 to the special cable wire s. It ends there, so the drawing leaves the other end of the shield unterminated. wirecount: 2 excludes the shield.

What to change

Adjust length, gauge, and signal labels to match the assembly being documented. A shield can also use a color code instead of true. If the real design terminates the shield at both ends, give the other connector a shield position and include it in the shield connection set.

Generated bill of materials

Id Description Qty Unit Designators
1 Cable, Shielded two-core cable, 2 x 24 AWG shielded 1.5 m W1
2 Connector, Three-position controller connector, 3 pins 1 CONTROLLER
3 Connector, Two-position sensor connector, 2 pins 1 SENSOR

YAML source

shielded-cable.yml
metadata:
  title: Shielded signal cable
  description: Illustrative single-ended shield example, not a certified electrical design.

connectors:
  CONTROLLER:
    type: Three-position controller connector
    pincount: 3
    pinlabels: [SIGNAL_PLUS, SIGNAL_MINUS, SHIELD]
  SENSOR:
    type: Two-position sensor connector
    pincount: 2
    pinlabels: [SIGNAL_PLUS, SIGNAL_MINUS]

cables:
  W1:
    type: Shielded two-core cable
    wirecount: 2
    gauge: 24 AWG
    length: 1.5
    colors: [BU, WH]
    wirelabels: [SIGNAL_PLUS, SIGNAL_MINUS]
    shield: true

connections:
  - - CONTROLLER: [1, 2]
    - W1: [1, 2]
    - SENSOR: [1, 2]
  - - CONTROLLER: 3
    - W1: s