FREMO Interlocking
Elekdra MR -> General Items
23.08.2005

Specification - Structure

This Page describes the structure of Elekdra.

To be as flexible as possible, the structure of the project is very important.
The interlocking system is devided ito the following parts:

  • Logic module
  • Hardware interface
  • Interface to MMI
  • Other interfaces

The system should be highly modulated. All elements (e.g. turnouts, crossings, signals, ...) should be indepentent objects, which get a connection through the route.

The routes should control themself, if they are allowed to be activated or not. For this purpose, they have to know about all elements, the contain. They even hav to know about them to set the corresponting indicators of the elements and manipulate states of signals or orientations of turnouts.

Basic elements, that have additional information about other elements

Double diamond crossing with slips

This element consists of two turnouts. These turnout are logicaly linked for display purposes. A double diamond crossing with slips is only a logical element, that stores two links to the corresponding turnouts.

Single diamond crossing with slips

This element is like a double diamond crossing, but has further information about forbidden combination of the orientations of the two turnouts.

Distant caution signals

For the correct state of this element, it has to know about the following track, because only displaying the state of the mandatory signal is not enough.

The distant caution signal has to know about whether a mandatory signal is on the same mast ("Nachtschaltung") or if a protection signal is between the distant signal and the mandatory signal and about the state of those.

The software structure of the elements can be read in teh existing code.

The signaling concept is currently under redesign [TK]