JMRI is...

General Tools

JMRI provides powerful tools for working with your layout.

LocoNet Tools

A set of Digitrax LocoNet specific tools
  • LocoNet monitor
  • Slot monitor
  • Packet source
  • PM4 programmer
  • BDL16 programmer
  • LocoIO programmer

Layout Automation

JMRI can be used to automate parts of your layout, from simply controlling a crossing gate to running trains in the background.

JMRI: Turnout Documentation

What are Turnouts?

JMRI calls just about any output to the layout a "Turnout". Originally, JMRI controlled just Turnouts via DCC accessory decoders. As time went on, JMRI added more capability, but has kept that name. Now, for example, the individual output pins on a C/MRI system are also referenced via the "Turnout" name.

Controlling a Turnout

In most cases, you can just operate a turnout and JMRI will figure out why you mean. For example, you can open the "Turnout Control" from the "Tools" menu, enter a Turnout number (DCC or C/MRI address number), and click Thrown or Closed. JMRI will take it from there.

The two states of the output are called "Closed" and "Thrown". "Closed" is the off, inactive, not commanded state. "Thrown" is the on, active, commanded state.

Saving Turnout configuration to disk

The turnout definitions are saved in your layout configuration file, along with sensors, signal heads, etc. To store this information on disk, use Store Configuration... in the File menu at the top of the Light Table (or other tables from the Tools menu), or select Store Panel... in the Panel menu.

Adding a new Turnout

To fully configure a new Turnout, follow this procedure:

  1. Click Turnout Table in the Tools menu to bring up the Turnout Table, and click the Add... button at the bottom of the table to bring up the Add/Edit Turnout window.

  2. From the System drop down list select the system to which the turnout address is connected to. In the Hardware Address enter in the dcc accessory address of the turnout

  3. Enter a user name. Any string of characters that is different from the user name of other Turnouts will be accepted, but it's wise to use a string that describes the intended use of the Turnout. You can leave this blank if you'd like.

  4. If you wish to add a number of turnouts at once, click on the Add a Range checkbox and then in the Number to Add field enter in the number of turnouts that you wish to add. If you have entered a user name, then this will be appended with a number to ensure that each user name is unique. If a hardware address already exists in the block that is being added, then the system will skip that address and will carry on.

  5. Click the OK button at the bottom of the window. If everything is fine, a message stating "New Turnout added ... " will be displayed in the notes area. If there is trouble with anything, an error or warning message will be displayed in the notes area; you should then correct the error and click OK again.

  6. Back in the main Turnout Table, you can then select options for the Turnout and control it by clicking on the state button.