BurbMan, here's my understanding:
OP wants to close the 5V source to 5V sense lines to be able to pull codes from the computer only when:
In park/neutral, key on
Else, the connection between those lines is open.
Opnspaces, You asked:
1) I wasn't sure of the blocking diode position so I added two diodes. Were you saying to put in position A or position B or does it not matter and either position would work?
A: The blocking diode can be placed in either position, as you don't want the start line voltage from back-feeding the Run line. The diode is necessary to prevent spurious current spikes on the run line from the starter coil's collapsing current when you release the key from the start position.
As an aside, (in theory) current flows in the direction of the arrow, so it's blocked on the bar side.
2) Would the 5v through the constant duty solenoid cause the starter to constantly crank. I'm not sure if 5v would be enough to energize the starter solenoid but it's a thought.
A: The 5V circuit is completed through the switch when the relay is energized; it is a separate circuit and completely isolated from the 12V circuit. You'll never want to backfeed 12 into your computer!
Here's why the relay works in this setup:
When there's no voltage on the start line (key in Start position), the line acts like a ground when in Park or Neutral. When in any other gear, the neutral safety switch is open, so the circuit is open, so you have a route to ground.
If in any gear other than park or neutral, then the switch is open, but now you have no route to ground.
The reason that it acts like a ground when the key is NOT in the start position and you are in Park/Neutral: There is no 12V on the line from the start circuit, so it is an open circuit at that point. The coil in the starter solenoid is huge and has very low resistance; it takes a lot of current to pull that coil closed.
The coil in the relay is miniscule in comparison, requiring only a few milliamps.
Both coils are in series at this point, and if both were equally sized, it would take 24 volts and the commensurate current to pull them closed. If you put two relays in series, one with a tiny coil and the other a huge coil, then one will activate at 12V and the other simply acts as a wire to ground. There will be a bit of current drop across the starter solenoid, but not enough to be an issue.
If you have a spare starter solenoid and a small relay, such as that used for aux lighting, jig up the setup on your workbench. Let me know if I'm all wet...
There's a chance I'm wrong, but I'm 99% sure this will work.
2016 Forest River Sunseeker 2250SLEC Chevrolet 6.0L