At most crossings, the signals will activate about 30 seconds before the train arrives but there are sensors measuring speed so that the crossing knows when to activate; so, the slower the train is, the longer the delay and the faster the train is, the earlier the crossing activates.