Automatic doors

Automatic doors are a technology used in train stations (notably metro) that open the access to the railway only when a train is there (irl, you don't have any risk to be collided by a train).

It was introduced at Vishnu Beach in 2020 on GSMRL, and was also implement to the terminus Ice Arena of this same line.

Doors toggling
It requires only mesecons :


 * 1) Place a detector rail on the track (the train is above the rail when it is stopped)
 * 2) Place doors along the platform with sequence : 2 doors - 1 wall
 * 3) Place mesecons lamps under the doors, it will be used for hiding the mesecons wires and also for esthetic.
 * 4) Connect detector rail to mesecons rails under your lamps.

Doors timing
You need to connect the detector rail to a luacontroller, from mesecons. Then, you have to connect the controller to a digiline lcd through a digiline wire (blue).

On the lua_controller, you can copy paste the following code :

Now, you have to change the value of  to the one of your station. Set the lcd channel to  and the timing will be effective at the next start.