 When no train is present, the relay is energised by the current flowing from the power source through the rails.When a train is present, its axles short (shunt) the rails together; the current to the track relay coil drops, and it is de-energised.Circuits through the relay contacts therefore report whether or not the track is occupied.