Jon/Dimitri,
As you might guess, the challenge is to break an infinite loop. No charge from engine to camper unless the engine is RUNNING, and no charge from camper to engine unless the engine is OFF.
I do this with two relays, one is a simple on with engine, off when engine off. The other...