JMRI® connects to...
Supported Hardware
Devices, command stations, networks, and protocols:
Applications
By the community of JMRI.org:
Tools
JMRI tools for working with your layout:
Layout Automation
Use JMRI to automate parts of your layout and operations:

JMRI Help:

Contents Index
Glossary FAQ

Donate to JMRI.org

Hardware Support: Lionel TMCC


Getting Started with TMCC using JMRI

TMCC Command Stations

Lionel TMCC 1 or TMCC 2 Legacy thru the serial port on the Command Base 1, Command Base 1L, or Command Base 992. Via WiFi to Command Base 992 and Command Base 3. Note: Connecting to the Command Base 1L will require an LCS SER2 serial converter. Connecting to the Command Base 992 may require the Y-cable included with the Lionel Legacy Command Set.

Limitations

As of JMRI v 5.15.1, Lionel TMCC 1 and TMCC 2 Legacy should be fully supported. If anything seems missing please make a suggestion via the JMRIusers list..

Connecting via Cable

Connect your computer via serial port to a TMCC command station using a DB9 serial cable. This should be a "straight-through" or "modem" cable, not a "crossover" or "null-modem" cable. If your computer doesn't have a built-in serial port, use a USB port with a USB-serial adapter, but make sure you install the correct drivers if needed. Recent Mac OS distributions and Windows versions have the drivers already there for some adaptors.

Connecting via WiFi

Follow the instructions in the Lionel Legacy Control System or Command Base 3 Manual.

Setting Up JMRI

Configure the JMRI program for TMCC:


Programming ID#s and Feature Types

To Program ID#s/Addresses for Engines(ENG), Track (TR), Switches(SW) or Accessories(ACC):

To Program Engine(ENG) Feature Type:


Engine(ENG) Operation

The functions below will take care of most Engine Controls on TMCC 1 and TMCC 2 Legacy equiped locomotives, and up to Railsounds 4 including aftermarket units such as ERR, K-Line and TAS.

TMCC 1 and TMCC 2 Legacy (ENG) Sliding Speed Control

When using a JMRI Throttle to run a Locomotive, there is a drop-down menu at the top of the Sliding Speed Control (Control Panel) for selecting the proper speed step mode for operation. The choices are:

The arrow keys on the keyboard may also be used to adjust locomotive speed (left arrow - speed increase; right arrow - speed decrease). WARNING Note: Use the arrow keys for slight adjustments only. Holding down the arrow keys queues individual speed commands faster than they can be sent to the locomotive, and it can take some time for these "sent" commands to finish processing before the locomotive will respond to other commands (including IMMEDIATE STOP).

TMCC 1 and TMCC 2 Legacy (ENG) Standard Function Buttons

When using a JMRI Throttle to run a Locomotive, the function buttons are allocated as follows:

F0
Headlights Toggle On / Off (Equivalent to Aux2 Option 2 Operation)
F1
Bell
F2
Whistle (Steam) / Horn 1 (Diesel)
F3
Open Front Coupler
F4
Open Rear Coupler
--------------------------------------------------------------------------
Numeric Keypad (Active in ENG mode after pressing Aux1 when using Lionel remote.)
F5
Num 1; Volume Up
F6
Num 2; Crew Talk
F7
Num 3; Activate Sound Card and Play Start up Sounds
F8
Num 4; Volume Down
F9
Num 5; Deactivate Sound Card after Playing Shut Down Sounds
F10
Num 6; Steam Release (Steam) / Air Horn and RPM Decrease (Diesel)
F11
Num 7; Tower Comm
F12
Num 8; Smoke and Firebox OFF on Steam / Auxilliary Lighting OFF on Diesel
F13
Num 9; Smoke and Firebox ON on Steam) / Auxilliary Lighting ON on Diesel
F14
Num 0; Reset
--------------------------------------------------------------------------
F15
Aux 1 (Does not toggle buttons on remote in JMRI. This is a stand-alone code sent to the Engine.)
F16
Let Off Sound
F17
Boost
F18
Brake
F19
Momentum Low
F20
Momentum Medium
F21
Momentum High
F22
Set
F23
Horn 2
F24
RR Speed 5mph
F25
RR Speed 20mph
F26
RR Speed 35mph
F27
RR Speed 50mph
F28
RR Speed 70mph
F29
RR Speed Full

Any Accessory/Other component that uses the TMCC Engine(ENG) ID#/Address format should also work with the above function buttons; however, the function buttons above may not allign with the expected functions of the target device. Consult the manual that came with the Accessory ( Crane Car, etc. ) to determine how the above button layout aligns.

Also note there are specified decoder files for the various TMCC rolling stock ( Crane Car, Boxcar, Acela Train, etc. ) with associated FnKey layouts specific to each. These can be found through the Add New Loco process. After the new decoder/rolling stock item is added, go to the Labels and Media button (bottom right), open this and then select the X (upper right) to close. This will prompt you to Save (which you should do) and then the custom FnKey layout will appear when you open the throttle.

Per the RR Speeds: The speed values set are guesses at this point. As you work with these, please provide feedback via the JMRIusers list. as to any adjustments that need to be made.

TMCC 1 and TMCC 2 Legacy Extended Functions

With JMRI, we've tried to simplify access to TMCC Extended Functions. Rather than the combination of button presses needed when using a TMCC remote, most extended functons within JMRI are set up under single FnKeys.

TMCC 1 Extended Functions

F30
Set ERR 100 Speed Steps
F31
Set ERR 32 Speed Steps

TMCC 2 Legacy Extended Functions

F30
Mars Light On
F31
Mars Light Off
F32
Ground Light On
F33
Ground Light Off
F34
Ground Light Auto
F35
Dog House Light On
F36
Dog House Light Off
F37
Tender Marker On
F38
Tender Marker Off
F39
Rule 17 On
F40
Rule 17 Off
F41
Rule 17 Auto
Etc.

As with other rolling stock, there are specified decoder files for the various TMCC 1 and TMCC 2 Legacy locomotives. These all have associated FnKey layouts specific to each. These can be found through the Add New Loco process, and after the new decoder/rolling stock item is added, go to the Labels and Media button (bottom right), open this and then select the X (upper right) to close. This will prompt you to Save (which you should do) and then the custom FnKey layout will appear when you open the throttle.

If you have suggestions for changes to the FnKey layout, or additional function keys, please post these via the JMRIusers list.

.

Track(TR) Operation

With TMCC, "Track" relates to devices that control power to the track (PowerMasters and Transformers). Some of these allow programming of ID#s and remote control. To operate Track(TR) using JMRI:

If you have questions about using Track(TR) please post these via the JMRIusers list.

.

Train(TR) Operation

With TMCC, "Train" relates to lash-ups or consists. These are managed in JMRI through DecoderPro and the TMCC Consisting Tool (a variation of the JRMI Consisting Tool). The proceedures using the JRMI TMCC Consisting Tool are streamlined relative to how a lash-up is constructed using a TMCC remote. There is no need for the TR button, et.al. To manage consists using the TMCC Consisting Tool:

Go here to learn more about the JMRI: Consisting Tool.

If you have questions about using the TMCC Consisting Tool please post these via the JMRIusers list.

.

Switch(SW) and Accessory(ACC) Operation

TMCC Switch(SW) and Accessory(ACC) functions are handeld through the JMRI Turnout tool. Follow the instructions below for setting up TMCC Switch(SW) and Accessory(ACC) elements in JMRI. Note: Before using the JRMI Turnout tool, be sure to program TMCC Switch(SW) and Accessory(ACC) ID#s/Addresses found in the Programming Mode section above.

TMCC Switch(SW)

TMCC Accessory(ACC)

Learn more about using JMRI Turnouts here: JMRI: Turnouts Documentation..

Questions about using Switch(SW) or Accessory(ACC)? Please post these via the JMRIusers list.

.

Route(RTE) and Group(GR) Operation

In TMCC terminology, Route(RTE) is for triggering multiple switches with one command and Group(GR) is for triggering multiple accessories with one command. In JMRI, both TMCC Route(RTE) and Group(GR) functions are handeld through the JMRI Route tool. Follow the instructions below to set up TMCC Route(RTE) and Group(GR) elements.

TMCC Route(RTE)/TMCC Group(GR)

  • Select the Set button of the target Route to trigger all devices set up in that Route.
  • Learn more about using JMRI Routes here: JMRI: Routes Documentation..

    For more fun, explore JMRI LRoutes here: JMRI: LRoute Documentation..

    If you find anything missing, have suggestions or comments, please send these along via the JMRIusers list.

    .