Console Mode

Rocrail in 'Console' mode

In this mode the Rocrail server accepts the console commands listed below. In some cases it may take af few seconds for Rocrail to initialize and accept commands.

To start Rocrail in console mode a command prompt is opened and in the Rocrail directory Rocrail is started with the Command Line Option 'console':

rocrail -console


? - Help

Typing '?' followed by a carriage return in the console of Rocrail brings up a list with a available commands for this mode.

q - Shutdown

Save the rocrail.ini, active trackplan, occupancy file and shut down the server.
If one or more clients are still active the OS will block this port for some time and prevent the Rocrail server to use this port for service.

p - Power ON

Send a global power on command to the default command station connected.

y - Power OFF

Send a global power off command to the default command station connected.

x - Read all slots

LocoNet only: Request information for all slots.

s - Stop auto mode

Stop all locos and switch off auto mode.

5 - Query network

Protocol Action
LocoNet Query all LocoIO/GCA50's
mergCBUS Query all nodes.
RocNet Query all nodes
CTI Query network configuration
other No action



Personal Tools