Hardware Setup Support: Terminal Server Connection
A Terminal Server is a box that connects one or more serial ports to a network so they can be accessed from a remote computer. JMRI running on a computer with a network connection can connect to an EasyDCC or NCE Command Station or C/MRI nodes via one of these. This allows you to put the computer and layout as far apart as you'd like.
This capability was originally created for david zuhn, who has a web page describing in detail how he set it up for EasyDCC.
The NCE and C/MRI set up processes are similar.
ConnectingTo make this work, you have to configure both JMRI and the Terminal Server, and make the appropriate connections.
- To configure JMRI:
- Select the "Connections" tab in the "Preferences" from the "Edit" menu
- Select "Easy DCC" as the System Manufacturer
- Select "EasyDCC over terminal server" as the System Connection
- Enter the IP address and TCP/UDP Port number corresponding to the serial port on the terminal server
- Click "Save" & quit the program
- Configure the Terminal Server to connect to the command station: 9600 baud, no parity, 8 bits.
- Connect a serial cable from the Terminal Server to the Command Station. Depending on the type of the Terminal Server, this might require that you wire a custom cable to get the right connectors. Note that you want the "Transmit data" wire on one end to connect to the "Receive data" on the other. Do this for both directions, and also include a ground wire.
- Make the network connections needed.
Start JMRI. If everything is OK, the application will start and tell you on the splash screen it's properly connected.