Modules must be created with Rocview in offline mode, no server connection, and saved with its own unique file name.
If one or more modules are part of one none changeable section, like a railway station, they should be defined in Rocrail as one logical module.
All modules have four logical sides named by the main compass points:
A module route generally have a compass point and a block, but if there is no block in between it will have 2 compass points.
It is preferred to manually define Module routes if extra flexibility is needed. Direction arrows are not necessary but visually helpfull.
This step can be skipped if no extra flexibility is needed, and leave route generation to the Router.
Each module side may have up to 5 track connections.
Module routes are automatically resolved after they are part of an arrangement. (Module plan.)
|From block||To block||Crossing blocks||Commands|
|point-en||point-ws||3b1, 3b2||3t1=turnout, 3t2=turnout|
Free text for the arrangement title.
This text will be shown in the titlebar of Rocview.
The sub title will be used as label for the modular layout panel.
The XML file containing all locomotives properties.
Routes XML file, default rt.xml.
The following module independent objects are saved and loaded in/from the routes file:
Flip all switches and signals at startup to get defined positions.
Allow saving the module files.
Allow saving the moduleplan file.
Use routes defined in the modules.
First the edit mode must be activated: Menu → Track plan → Edit module plan
The module can be dragged around with the mouse on an empty grid cell.
With a right mouse click on an empty module grid cell a popup menu will appear:
Select the wanted orientation for this module.
For setup of colors in Module plans see here: Track plan color
A right mouse click on an empty grid cell of the module to be removed and select Delete track panel in the popup menu will removing it from the module plan.
| The module will only removed from this arrangement.
The xml-file of this module will not deleted
Free text for the module title; Must be set unique because it is used for removing modules.
Module ID which is a reference for all other modular actions. Be carefull to change this ID because it could make the module routes invalid.
The number is used for graphical representation, location, in the RocNetNode Dialog.
XML File with the module definition.
Module position in the arrangement.
Which side of the module will be upper most is selected by the rotation option:
After adding one or more modules to the plan the module connections can be set.
With a right mouse click on an empty module grid cell select Module properties from the popup menu and switch to the Connections tab:
The left module in this example has the ID m2 and the right one m4.
The module connections for the left module, m2, is on the east side m4.
The module connections for the right module, m4, is on the west side m2.
In this example the left module is rotated and its South side is on top:
The module connections for the left module, m2, is on the WEST side m12.
The module connections for the right module, m12, is on the WEST side m2.