Pulse output dynamic time for relais

Maybe you can use the delay node for that.
See also recent discussion : Delay node with variable delay