Disclaimer: I am not an electrical engineer. I understand the logic of what I want, but I do not know which components are available to solve my problem. Please be gentle.
This is what I have:
- I have a device A that puts ground (-31) on a wire when in rest. I can deactivate and reactivate this externally, so I can use it like an on/off switch.
- I have a device B that puts ground (-31) on a wire when it is active and 'nothing' when it is inactive.
- I have a relay C that connects when it receives a ground (-31), allowing the mechanism behind it to function, like an on/off switch. The relay also receives a +15 as general power supply to do its magic.
This is what I want: I want to hook up device A and B to the relay C in such a way that:
- When device B activates, the relay disconnects forever until device A overrides it by being activated (or deactivated and then reactivated, if need be), regardless of the current state of device A.
- If device B deactivates, the relay is still disconnected. If device B activates again, the relay is still disconnected.
- When device A deactivates, the relay disconnects until device A reactivates.
Simply put: device A controls the relay and acts as manually operated master override, but device B can interject regardless of the state of device A.
What component(s) do I need between A, B and C to get the behavior I am looking for, and am I making any sense? :)