You have come here because you want to start a moving railway.

For a moving train you always need 3 bits of data:

- The time when the train enters the rail northbound,
- The time when the train leaves southbound, and
- The train number.

If one of the times is 0 the train only runs in one direction. The sign of the primary train selects right or left lane traffic. If a macro can move several trains this data is needed for each train so you can select the proper timing of the trains relative to each other.

This is a macro that allows two trains per cycle:

We can read this as follows:

Left column:

The first train enters the rail at time 1 northbound. It enters southbound so that it leaves again at 56. The train is the ICE2 (402).

Right column:

The second train runs 28 Slots later. Its the same train. If the righthand lower box contains a train # then that train is used. The difference between the primary and secondary train is important for some stations, switches, and crossings.

If there are no special reasons the above times are always useful.

Some macros (the dead end stations and the crossings ) allow for two trains running up to twice per cycle. The best optical effect is obtained when the southbound train is placed when the northbound gets removed. You get this if the ending time south is the start time north + 2 * (2+w), w = duration of the train stop. With w=9 this difference is 2*(2+9)=2*11=22. If you now attach the switch M2Pa2xx3 with %9=2 (sorting function) with End 1 or End 3 then you get a continuous run of trains coming over one crossing's end to the station and going back over the other crossing's end. This makes trains running over dead end stations possible.