The Digital relay sensor is used to pair a locomotive relay with an electric locomotive from Railcraft. Devices are paired by first sneak right-clicking the relay sensor on the locomotive relay, followed by sneak left-clicking the electric locomotive to attach the relay sensor.