The above circuit shows the connection of the LEDs of the posts. The posts consist of two different colored LEDs, one green and another red. Glowing green LED indicates that the path is clear and the train can move ahead. And glowing red LED indicates that the train cannot move ahead till the signal is green again.
In our system, we have total 4 posts each containing one red and one green LED.