Polarity & Wiring

Catch reverse-loop short circuits before you wire the layout — what the rail colours mean, where the insulated rail joiners go, how to run trains through a reverse loop, and what the check covers.

On a 2-rail layout, each rail carries one side of the supply. A track that comes back on itself the other way round (a balloon loop, a wye, a loop leaving one road of a turnout and returning on the other) brings one rail round to meet the other. Wired as drawn, that's a dead short the moment the power goes on, whether you run DC or DCC.

Polarity & Wiring finds these reverse loops on the plan, so you know where the insulated rail joiners go before you buy the track. It's a core module: free for everyone, and it works offline like the rest of the editor.

The Polarity & Wiring overlay on a balloon loop, with the reverse-loop short and its suggested fix in the inspectorThe Polarity & Wiring overlay on a balloon loop, with the reverse-loop short and its suggested fix in the inspector
A balloon loop with the overlay on: the stretch that shorts turns amber, a red ring marks the join where the insulated joiners go, and the inspector explains the short.

Showing the rail polarity

#

Polarity in the Overlays list at the top right of the canvas (or View → Polarity) turns the polarity overlay on and off. With it on, both rails of every piece are drawn in colour, in 2D, in 3D and in Split view:

On the planWhat it means
Wine red rails, solid with a + beside them, and navy blue rails, dashed with a − beside themThe two sides of the supply. Follow a rail along the track and it keeps its colour and its line through every join.
Amber rails, dottedA stretch of track that shorts: both rails of every piece in it.
A violet band labelled Reversing sectionThe stretch of a reverse loop to cut off and feed through an auto-reverser or a reversing switch (see Running trains through a reverse loop).
A red ring round a joinWhere to cut both rails with insulated rail joiners: an end of the reversing section still to cut or, where there's no section to suggest, a join where the rails of a short meet.
An amber bar across the trackAn insulated rail joiner at that join.
Grey rails with a dashed line between themThree-rail AC track, where a reverse loop can't short (see Three-rail track).

The colours and the signs are relative. In each stretch of connected track one rail is red and the other blue, but which one is red, or marked +, means nothing, and two stretches that aren't joined to each other don't compare. What matters is that a rail never changes colour as you follow it, and that nothing is amber.

The overlay starts off each time you open the editor. While it's on, each short also adds one to the red error count in the status bar. When nothing else is wrong, clicking the count opens this panel.

Every road of a turnout or slip is painted, whichever way it's set, because every road is live on the bench (see Routes through turnouts and slips). The two tracks through a diamond crossing, and the two lines of a double-track piece, are painted separately, each in its own colours.

On a layout with several decks, a faded deck's rails fade with its track, and a frozen deck's rails disappear with it. The check still counts the track on both.

The Polarity & Wiring panel

#

In the inspector, the Layout tab has a Polarity & Wiring section. Its top line says whether the overlay is on; click it to turn the overlay on or off without reaching for the canvas button. Below it:

  • No polarity conflicts when nothing shorts.
  • Otherwise, a Reverse-loop short card for each stretch of track that does. The card counts the pieces in the stretch and the joins where the check found the two rails meeting, and explains the short. Then it says how to fix it: which joins to cut and which Reversing section to feed through an auto-reverser or a reversing switch, with the section's length, or, where there's no one section to suggest, the general advice.
  • A card for each reverse loop that no longer shorts as drawn but still can't take a train: The reverse loop is cut at one end only, or, once it's cut at both ends, Reverse loop needs an auto-reverser (or a reversing switch). See Running trains through a reverse loop.
  • Under the cards, one line: Plan blocks, feeders and boosters with Sectioning & Blocks.
  • When the layout has three-rail track, a Three-rail AC track row that counts its pieces, with an (i) that says why they show no polarity.

Click a card to go to it: the camera moves to the first ringed join, in 2D or 3D, and the pieces are selected (the reversing section and the pieces either side of its cuts, or the two pieces that meet at the ring). If the overlay is off, it turns on so you can see the marks. You stay on the list, so you can work down it one loop at a time.

The panel lists shorts whether the overlay is on or off; only the status bar count waits for the overlay.

Fixing a short with insulated rail joiners

#

An insulated rail joiner holds two pieces together but breaks the electrical path on both rails, as the plastic joiners do on the bench. To mark a join as insulated:

  • Right-click a piece and choose Insulated joiner at A (or B, C…). There's one item for each of the piece's joined ends, each marked ON or OFF; choose it again to take the joiner away.
  • Or select the piece. In the Selection tab, ends A and B each show a small pill after the name of the piece they're joined to. Click it to insulate that join: it turns orange and shows the joiner symbol ‖. Click it again to remove the joiner.

Where to put them: at the red rings. One insulated join anywhere on the loop is enough to break the circuit on paper, so the short clears as soon as there is one, but a train crossing that join would still short it: the rails either side are swapped. So the rings mark both ends of a section of the loop, and the panel keeps a card up until both are cut. The section between them then shows in red and blue of its own.

Insulated joins are saved with the layout, sync to your account and travel in .trackplan files. They aren't in the parts list yet: add a pack of insulated joiners for your track system yourself.

Running trains through a reverse loop

#

Insulated joiners stop the short, but a train still can't run through the loop: wherever it crosses a cut, its wheels bridge rails of opposite polarity. The answer is a reversing section, a stretch of the loop cut off on both rails at both ends and fed on its own, through:

  • an auto-reverser, on DCC: a small module that senses the short as the wheels bridge a cut and swaps the section's rails at once, before the booster trips;
  • or a reversing switch, on DC: a double-pole switch you flip while the train is inside the section, before turning your controller round.

With the overlay on, a violet band labelled Reversing section marks the stretch to use, and red rings mark the joins still to cut. The panel says what to do and gives the section's length. It has to be longer than your longest train: a train that bridges both cuts at once shorts, whatever feeds the section.

Which section the planner suggests:

  • On a balloon, the loop between the turnout's two roads, or the line into it if that's shorter.
  • On a wye, the tail with the turnout at its foot, cut where that turnout's roads meet the two legs: a train runs in on one leg, stops in the tail and leaves on the other.
  • On a diagonal that brings trains back round an oval the other way, the diagonal.
  • On a line with a balloon at each end, the line between the two turnouts: one reverser serves both loops.

If you've already cut the loop somewhere that works, the planner keeps your cuts and asks only for what's missing. The cards go on after the short clears: a loop cut at one end only gets The reverse loop is cut at one end only, because a train crossing that cut still shorts, and a loop cut at both ends gets Reverse loop needs an auto-reverser. The planner can't see whether you've fitted one, so that card stays as a reminder.

The wording follows how the layout is run. If you've used Sectioning & Blocks on the layout, its DCC or DC setting decides between an auto-reverser and a reversing switch; otherwise the panel names both.

The section is the one Sectioning & Blocks names once the cuts are made, so the two never disagree. That module plans the rest of the wiring: the feeders, the blocks, the district fed through the auto-reverser and the boosters. Polarity & Wiring points to it in one line, the same whether or not you have Pro.

When one stretch of track holds two reverse loops that no single section fixes (two balloons off the same oval, say), there's no section to mark. The card gives the general advice instead, and Sectioning & Blocks takes the loops one at a time.

Three-rail track

#

On three-rail AC track (Märklin C, K and M Track in HO; Lionel, MTH, Atlas O and others in O) both running rails are the common return, and the supply runs along a centre rail or, on Märklin's track, a row of studs between them. A reverse loop brings one running rail round to meet the other, but the two are the same conductor, so nothing shorts and there are no insulated joiners to place for polarity.

With the overlay on, three-rail track draws both running rails in grey, the common return, with the centre conductor as a dashed line between them. It never turns amber and never adds to the error count. A plan can mix the two kinds: two-rail track is checked and coloured as above, and three-rail track beside it is drawn in grey and doesn't change the check.

Three-rail layouts still have breaks, for other jobs: the centre conductor is broken to feed sections of track separately, and on Märklin track one running rail is insulated to make a contact track, which a passing train's wheels connect to trigger a signal or a turnout. Neither is about polarity, so this check doesn't plan them: Sectioning & Blocks does (see Three-rail wiring).

What the check doesn't cover

#
  • Three-rail AC track isn't checked, because a reverse loop on it can't short (see Three-rail track).
  • It finds reverse loops and says where their reversing sections go, nothing more. It doesn't check how a live-frog point is wired, where the feeders go, or how the layout splits into power districts and blocks. Planning those is the job of Sectioning & Blocks, a Pro module (free during the open beta).
  • It doesn't know whether a reversing section is long enough for your trains: it gives the length, and you compare it with your longest train.
  • It works from the joins on the plan. Two ends that sit next to each other but were never joined count as separate track, so a loop left open isn't reported. A join counts whether it's green, yellow or red (see Joins and the green / yellow / red signal).