JMRI Hardware Guide: XPressNet
Overview
XPressNet is the Command Bus used by Atlas, Lenz, Hornby, OpenDCC (DIY), Paco Canada (DIY), ZTC Controls, and Roco. It was developed by Lenz. The XPressNet specification (available from the Lenz website) specifies the electrical communications standards and command set needed for devices to communicate with the command station. While the command stations support the same commands over the XPressNet connection, they do not all use the same connectors. It may be necessary to build an adapter to plug a device into a command station from another manufacturer.Supported Hardware
Command Stations
The XPressNet protocol allows the DCC manufacturers that use it to select what functionality they wish to provide in their command stations. This functionality ranges from "supports all features" to "bare bones minimal". Unfortunately, this restricts the features you can access via JMRI - if the hardware doesn't support it, it isn't there to be used by JMRI.
In general, the features that JMRI cares about can be grouped into three areas - operating locomotives and turnouts on the layout, programming decoders on a programming track or in ops mode, and getting feedback from the layout (the state of turnouts, ops-mode feedback, etc). The following table tries to show what systems support these features. System specific limitations are also expressed in the Limitations section of this page
- Full
-
Operating Programming Feedback
- Lenz LZ100 based systems (software version 3.x)
- Lenz LZV100 based systems (software version 3.x)
- Paco Canada's NanoX-S88
- Partial
-
Operating Programming
Feedback- Roco LocoMaus 2 (Roco Part number 10760)
- Roco MultiMouse (Roco Part number 10810)
- Hornby Elite
- Paco Canada's NanoX
- Minimal
-
Operating
ProgrammingFeedback- Atlas Commander
- Lenz Compact
- Lenz LH200
- ZTC Controls ZTC511 (with Command Station Software version 4.0)
OperatingProgrammingFeedback- Lenz BlackBox
OperatingProgrammingFeedback- Paco Canada's GenLI-S88 (adds Feedback to existing XPressNet System)
- Paco Canada's RS2PC (adds RS-Bus based Feedback without XPressNet)
- Unknown
-
These are untested, but should be at least partially supported
- ZTC Controls ZTC521 (with XPressNet (aka X-Bus V3.0) software)
- Hornby Select
- OpenDCC's Command Center
Computer Interfaces
There are currently twelve computer interfaces supported by JMRI:
- The Lenz LI100 is Lenz's original computer interface. It is limited to a serial port speed of 9600 baud.
- The Lenz LI100F is an improved version of the LI100. It supports serial port speeds of 9600 and 19,200 baud. The Factory default is 9600 baud.
- The Lenz LI101F is Lenz's latest serial port based computer interface. It is significantly different than the LI100 and LI100F in physical appearance, and in the method by which the device is configured. The device is configured via a software tool provided by Lenz which runs on Windows only. We have included a configuration tool with JMRI that will allow users of other operating systems to configure their LI101F as well. The LI101F supports serial port speeds of 19,200, 38,400, 57,600, and 115,200 baud. The factory default is 19,200 baud.
- The Lenz LI-USB is Lenz's first USB based computer interface. Internally, the device contains a USB to RS232 serial adapter, and an XPressNet interface circuit similar to that of the LI101F. Note: If you are using the XPressNet version 3.6 update in your command station, you should also update your LI-USB to version 3.6. There are instructions in this user group message or on the Lenz website. The device is configured via a software tool provided by Lenz which runs on Windows only. We have provided a tool that will allow users of other operating systems to configure their LIUSB as well. On Windows, starting with version 2.7.2, JMRI supports interfacing with the LIUSB through the Lenz LIUSBServer.
- In addition to the Lenz purpose built computer interfaces, we have also included support for using an XPressNet Phone Adapter (XPA) as an interface to the an XPressNet based DCC system. This interface is relatively slow, and it only allows controlling mobile and stationary decoders, but it may be perfect for someone who is interested in trying out the control functions of a computer before deciding to go with a full fledged interface. Note that an XPA cannot be used to program decoders!
- The ZTC Controls ZTC640 is ZTC's USB interface. We have had limited experience with this device, though the current JMRI drivers are believed to be stable. Operationally, the device appears to be similar to the Lenz LIUSB.
- The Hornby Elite's built-in USB interface can also be used. Hornby has provided limited information about how the device works, and currently only provides a USB driver for Windows, so we are unsure of it's usability with other operating systems. As with the ZTC640, we have had limited experience with this device, though the current JMRI drivers are believed to be stable. NOTE: The first JMRI release supporting the Hornby Elite USB connection is version 2.1.2
- The XnTcp interface allows you to connect to your XPressNet layout via Ethernet-based networking from the JMRI programs. NOTE: The first JMRI release supporting the XnTcp adapter is version 2.1.5
- Paco Canada's GenLi. is a do-it-yourself XPressNet interfaces that emulate an LI100. There is also a USB version of this device. To configure these devices in JMRI, please see the instructions for configuring the Lenz LI100.
- Paco Canada's Gen-LI-S88 has the same functionality as a GenLI, plus adds an S88 feedback module. It can be used to add feedback to an existing XPressNet equipped layout. To configure this devices in JMRI, please see the instructions for configuring the Lenz LI100.
- Paco Canada's RS2PC Interface allows adding Lenz (and compatible) RS Feedback Bus modules to a system that does not support the RS Feedback Bus. To configure this devices in JMRI, please see the instructions for configuring the Lenz LI100.
- The OpenDCC project has two potential interfaces for use with JMRI. The OpenDCC Command Station and the OpenDCC Gateway. These interfaces are untested, but should be supported by JMRI.
JMRI supports the current version (XBus/XPressNet Version 3.0). We
may add XBus Version 1.0 and 2.0 support in the future which will allow
all XBus based systems to work with JMRI.
The Atlas Commander provides support only for operation of
equipment on a layout (running trains and throwing switches)
from JMRI. You cannot program decoders from a computer with the
Commander.
If you have an Atlas Commander, and would like to use it
to control your layout from the computer, an XPA and Hayes
Compatible Modem may be a more cost effective solution than the
LI100,LI100F,LI101F,or LIUSB
We provide support for the Hornby Elite using it's built in USB
connection. The Elite can be used for operating equipment on a layout
(running trains and throwing switches) and for programming from JMRI.
It is unknown at this point in time if we can control either an
Elite or a Select using one of the other interfaces. Hornby's manuals
warn against using their equipment with that of other manufacturers, so we expect some incompatibilities in this area.
We have a pretty good handle on what instructions each Lenz Command
station should support. If you find that you cannot perform a function you
think you should be able to using a Lenz system and the LI100,
LI101F or LIUSB, please let us know.
LZ100 and LZV100-based systems support the full range of JMRI
functionality. The LZ100 is the command station used in the
Set-01. The LZV100 is the command station used in the Set-90,
Set-100, and Set-LI.
The LH200 provides support only for operating equipment on a layout
(running trains and throwing switches) from JMRI. The LH200 is the
command station used in the Set-02. You can't program decoders
from a computer with Set-02.
The Compact is the same device as the Atlas Commander, and
has the same restrictions as the commander. The Compact is not
available in North America.
If you have either an LH200 or a Compact, and wish to add
computer control to your layout, an XPA and Hayes Compatible
Modem may be a more cost effective solution than the LI100,
LI100F, LI101F, or LIUSB
The BlackBox is a standalone decoder programmer.
It can be connected through an XPressNet interface (such as the
LI101F, etc) with a suitable cable. There are some
instructions for creating that cable in the LZV100 manual.
The BlackBox only does programming, and cannot operate either
locomotives or accessory decoders (turnouts) on the layout.
The Roco LocoMaus 2 (Roco Part number 10760) has been shown to
support operating equipment on a layout (running trains and throwing
switches) as well as programming locomotives on the programming
track.
For programming in service mode, the LocoMaus2 appears to only
be able to write to CVs.
It is not known at this point in time if the LocoMaus 2
supports Operations Mode Programming.
The LocoMaus 2 does not support feedback.
The Roco MultiMaus (Roco Part number 10810) has been shown to
support operating equipment on a layout (running trains and throwing
switches) and programming locomotives in both service and operations
mode.
The OpenDCC Command Station should be supported by JMRI through
either it's RS232 port or it's built in USB port.
We have no confirmation at this point in time that anyone has attempted this configuration.
Paco Canada has two versions of his do-it-yourself Nanox DCC system available, both are compatible with JMRI.
The original NanoX DCC system supports operating equipment on a
layout (running trains and throwing switches) and programming
locomotives.
The NanoX-S88 adds feedback capabilities to the NanoX system.
This feedback comes through the use of S88 compatible feedback
modules.
Paco Canada also provides two methods for adding feedback to
non-feedback equipped systems.
The Gen-LI-S88is an XPressNet interface that includes an S88
feedback module, so it can be used to add feedback to an existing
XPressNet equipped layout.
The RS2PC interface allows adding Lenz (and compatible) RS Feedbacl
Bus modules to a system that does not support the RS Feedback Bus.
This device does not require an XPressNet connection.
The ZTC Controls ZTC511 (with Command Station software
version 4.0) has been shown to support operating equipment on a
layout (running trains and throwing switches). The ZTC511 does not
support any programming operations from XPressNet devices.
The onboard serial interface of the ZTC511 is not supported at
this point in time.
The ZTC521 (with XBus V3.0 software) has yet to be tested, so
the full extent of what is supported is not known at this time.
You can use any of the Lenz or ZTC interfaces listed above to
connect to a ZTC system that supports the XPressNet (aka X-Bus V3.0)
protocol.
If you have either a ZTC system and wish to add computer
control to your layout, an XPA and Hayes Compatible Modem may
be a more cost effective solution than one of the purpose built
interfaces.
If you choose to use an XPA and a Hayes Compatible Modem to
control your XPressNet based system, you will be limited to
control of locomotives and accessory decoders.
You cannot program decoders from a computer using the XPA,
regardless of which system you have.
The device drivers for Windows are included on the CD that
comes with the device.
The device drivers for Linux are included with recent versions of
the Linux kernel
Device drivers for Linux, and MacOS (8,9 and X ) and Windows are
available from the FTDI website.
(A direct link to the drivers that is current as of this writing is http://www.ftdichip.com/Drivers/VCP.htm)
When the device drivers are installed, and the LIUSB is connected
to both your PC and your DCC system, the LIUSB should have a Red
LED turned on, indicating the XPressNet connection is OK, and a green
LED turned on, indicating the USB connection is OK.
NOTE: If you have installed the Lenz software, make sure none
of it is running. This includes the LI-Server, which may be running
in the background.
When the device drivers are installed, and the LIUSB is connected
to both your PC and your DCC system, the LIUSB should have a Red
LED turned on, indicating the XPressNet connection is OK, and a green
LED turned on, indicating the USB connection is OK.
NOTE: to use the LIUSB server, you MUST install the Lenz software
and the LI-Server must be running.
The device drivers for Windows are included on the CD that
comes with the device.
The device drivers for Linux are included with recent versions of
the Linux kernel
Device drivers for Linux, and MacOS (8,9 and X ) and Windows are
available from the FTDI website.
(A direct link to the drivers that is current as of this writing is http://www.ftdichip.com/Drivers/VCP.htm)
When the device drivers are installed, and the ZTC640 is connected
to both your PC and your DCC system, the ZTC640 should have a Red
LED turned on, indicating the XPressNet connection is OK, and a green
LED turned on, indicating the USB connection is OK.
The device drivers for Windows are included on the CD that
comes with the device and from the Hornby Website.
It is unknown at this point if there are device drivers available for
MacOS or Linux.
The Hornby Elite has a Green LED that illuminates when it is
recognized by the computer.
NOTE: The first JMRI release supporting the
XnTcp adapter is 2.1.5
More information on the XnTcp adapter can be found on its
home page.
Instructions for configuring JMRI to connect to an XnTcp adapter
can be found on the adapters
configuration page.
During configuration, the program tries to find all interfaces available on
the LAN
by broadcasting a UDP request.
Any adapter(s) present will reply with
their NetBios name, which can then be selected.
The preferences store the NetBios name of the interface,
rather than the storing the IP address digits,
since the IP address can change due to DHCP addressing.
This system uses the Lenz XPressNet Phone Adapter and a Hayes Compatible
modem to provide control of locomotives and stationary decoders.
Limitations
Connecting to an XPressNet based DCC System using a Lenz LI100, LI101F, or LI101F
Connecting to an XPressNet based DCC System using a Lenz LIUSB.
Connecting to an XPressNet based DCC System using a Lenz LIUSB and the Lenz LIUSB Server. (Windows Only)
NOTE: The first JMRI release supporting the Lenz LIUSB Server connection is 2.7.2
Connecting to the XPressNet Simulator
NOTE: The first JMRI release supporting the Lenz LIUSB Server connection is 2.5.5
Connecting to an XPressNet based DCC System using a ZTC ZTC640.
Connecting to an XPressNet using the Hornby Elite's built in USB connection.
NOTE: The first JMRI release supporting the Hornby Elite's built-in
USB connection is 2.1.2
Connecting to an XPressNet via an XnTcp adapter.
Connecting to an XPressNet based DCC System using the XPA and a modem
We have developed an alternative method for connecting to an XPressNet based
system which should prove to be more cost effective on XPressNet based
systems that do not support programming or feedback via the LI100, LI100F, or
LI101F computer interfaces, or for those who are interested in experimenting
with computer control, but don't need all the features supported by the Lenz
interfaces.
Documentation
Off Site Documentation
JMRI Documentation
XPressNet Specific Tools
The following XPressNet Specific Tools are provided as part of the JMRI
package (click on the name for more information)