Automatic Train Control on any EEP Layout with Lua - v2 - 5
Download link to the software: https://github.com/FrankBuchholz/EEP-LUA-Automatic-Train-Control/raw/main/blockControl_v2/EEP_blockControl.zip
Demo 5 is a somewhat larger model railway layout, with 27 blocks and 7 trains. Two trains drive from / to the station counterclockwise, 2 trains do the same clockwise, and 3 cargo trains shuttle between the 4 groups of dead end tracks that resemble industry areas.
Via the ‘allowed blocks’ tables we specify which trains are allowed to drive where. The trains table specifies the train names, their start/stop switches and their allowed blocks table.
The routes table specifies every possible route from block A to block B and which turnuts to switch to get there.
We’ll also have a look at the section where the parameters can be set to change the amount of messages to show on the Lua screen, if the tooltips show or not, if the main switch is on or off and if all train switches are on or off at startup.