Wiring diagram and export to Rocrail or JMRI

Advanced

Benjamin | TrackDrawer.com · published 24 November 2026

The Digital panel links the components in your stock to your layout: which decoder switches which turnout, on which address and with which wires. You take that diagram to the workbench or into control software.

  1. First add your digital components to your stock, just like track. In the example that is a Mobile Station 3 with connection box, an m83 accessory decoder 60832 and two point motors 74491.

  2. Open your plan and click Digital on the left (1). Click Assign automatically (2). The summary shows the command station and "2 of 2" for motorised and switched turnouts.

  3. Tick Show digital layer in the plan (3). Each turnout gets a label with its number and address in the plan, for example "W1 · address 1".

    The Digital panel with the summary and the plan with the label W1 address 1 at the turnout
    Digital (1), Assign automatically (2) and the digital layer (3).
  4. Read the Shortages. They list what is still missing; in the example a 24088 feeder track to connect the command station to the track.

  5. Scroll to the Wiring diagram. For each group you see the power supply, the accessory decoder with its addresses (1) and, per output, which turnout it drives, with the wire colours (2). Wires lists what you need to run (3). Copy diagram puts it all on your clipboard.

    The wiring diagram with the m83 decoder, the outputs per turnout and the wires
    The decoder with addresses (1), output 1 to turnout W1 (2) and the wires (3).
  6. Blocks lists the blocks TrackDrawer derives from signals and turnouts (1). Click Rocrail plan.xml (2) for a file you open in Rocrail.

  7. For JMRI, first choose your connection under "JMRI export", for example Märklin CS2/CS3, then click Panel XML (3) or CSV (CsvToTurnouts.py).

    Blocks B1 to B3, the Rocrail plan.xml button and the JMRI export with the choice of connection
    The blocks (1), Rocrail plan.xml (2) and Panel XML (3).

Signals and feedback

You add signals at a selected piece under "Add signal at selected piece", once there are signals in your stock. Each signal ends a block; contact tracks inside a block become its sensors. For choosing a command station, see choosing a digital command station; for point motors, operating turnouts electrically; for sensors, feedback.

Read also

Track systems in this article

Open the app · Glossary