Automatic Train Control on any EEP Layout with Lua - v2 - 02
Channel:
Subscribers:
18,300
Published on ● Video Link: https://www.youtube.com/watch?v=qEFNnP-s14c
In demo 2 we add a second train. They drive around, controlled by Lua, without ever colliding. Lua only allows a train to start driving if the destination block and all the required turnouts on the way are free. If a train is allowed to start, Lua reserves the turnouts and the destination block; these are now unavailable to other trains until they are released again when the train arrives at its destination block, which is detected via the block entry sensor.
Download the ZIP file with demos and User Manual here:
https://github.com/FrankBuchholz/EEP-LUA-Automatic-Train-Control/raw/main/blockControl_v2/EEP_blockControl.zip