Thanks,
The 5V input goes high when car ignition is switched ON...low when OFF.
The relays, are changeover relays on each connection (go and return) to a motor. The relays are connected to pos of input 12v supply when not coil_powered.
Obviously which relay you switch on (contactor to neg of input supply) determines which way the motor spins.
When both relays are off, the motor terminals are thus both connected to pos (of input supply), so it wont spin.
If 5V goes high, then low before 5 secs is up, then no relay swithing should happen.
Relay should only switch in the said situation....and eg, if signal goes high for 20 seconds, then low at 20.001 seconds, for 1 sec, then back high again, then no relay switching should happen.