For those who have followed the previous articles, you must have read that I want to do a digital network to be able to control it via a computer, a phone or a tablet.
The interest is to have an interface as user friendly as possible and especially to overcome the limitations of a central (in my case to the ecos ESU).
Eventually, my network must be fully automated or not. Either the computer controls the trains following a schedule table, or there is no assurance that network security by avoiding collisions … But we’re not there yet!
To control the train via a computer, there are several software solutions. I am only interested in solutions free and open and running on Linux. Therefore the choice is simple, the software Rocrail !
Rocrail consists of two programs : an application server and a client application.
The server application is the part that will be linked to the network via the control panel. It interprets the signals sent and received from the plant.
The client application is the GUI. You can have multiple clients for a server. We note immediately the interest of this architecture, I have a client on a client PC and phone, or both at the same time!
Rocrail is documented through a wiki available in multiple languages.
You can download Rocrail here.
I’m using at the moment the 2404 revision. Choose the file appropriate for your platform and operating system. (The higher the revision number, the greater your version is newer).
The installation is specific to your environment, I will not spend time on it. On Linux, just install the package.
Before starting Rocrail, we will configure the network interface of our central (if not already).
We can then start the game server “rocraild”.
Next run the client “rocview” (which is already configured in my case) :
On my diagram, you can see the tracks, curves and knockers, needles ; contacts overhead lights (small round), Townships (rectangles).
You’ll notice that my train parked into “platform 2 ‘(the contacts are activated). This is consistent with what gives the ecos :
We’ll see how to configure Rocrail. For the server side, there is nothing to do, everything is done via the client.
First, I define the interface in French :
In the “File” menu, we will configure the properties of “Rocrail” :






then, the properties of “rocview” :






In the following sections, we will :
– How to declare a new locomotive / train
– How to report a needle
– How to report the contact points (reverse signaling)
– How to declare blocks and districts
And of course we will try to explain the meaning of each parameter seen here.
Du beau travail, les explications sont jusqu’ici très claires à mes yeux bien sur.
A plus.
Bonjour,
Comment fais tu pour brancher ton logiciel au réseau? Et si on a besoin de matériel, combien ca coute?
Sinon, c’est EXCELLENT
Bonsoir,
Mon ordinateur est en réseau avec ma centrale Ecos. Soit tu utilises 2 cables réseau “droits” et tu relis ton ordinateur à la centrale via un switch ou un routeur. Tu peux aussi brancher ton Ecos directement à l’ordinateur en utilisant un cable réseau “croisé”.
Le coup est donc très faible.
Pour d’autres centrales comme la Intellibox v1. Elle est connectée à l’ordinateur via un cable série.
Le logiciel est quant à lui configuré pour lui dire le moyen utilisé pour la connexion (voir les captures dans l’article).
Nicolas
J’ai une centrale Roco MultiMaus, est-ce que ça marche?
Bonsoir,
Oui ta centrale est supportée.
Je te laisse lire la page :
http://wiki.rocrail.net/doku.php?id=roco-cs-en
Pour la rétro-signalisation, je te conseille d’utiliser un module HSI-88 que tu connectera en USB sur ton PC. Ce module est reconnu par Rocrail.
Le système de rétro-signalisation de Roco est supporté ; mais il est plus coûteux.
Nicolas