Sorry about that, Chief...
Ron,
Sorry for the name slip! That's what I get for being in a hurry. While I was responding, my wife was waiting on me to leave to go see some friends. (Guess what his name is!)
Unfortunately, limiting to 36VDC is not an option.
I really appreciate you taking your time on this. As you can tell, I'm out of my primary field (automation programming) but have a problem I need to solve for a customer. I checked all of my normal suppliers for a networked module that would do voltage thresholds, but none of them had one. The intent is for this circuit to feed to a logic module, which is available. My software can then test that module and change processing accordingly.
By allowing Vr to vary, I was trying to make the circuit more flexible so that it can be used in multiple applications. Could go with a fixed reference voltage (Vr) for each different application or use an on-board pot to set it.
For this first one, I need to set the trigger level at 48VDC. If Vs is that much or more, I need one output high and the other low. If less, they should be reversed. (The second output allows me to more easily chain the circuits, but I could live with only one output of High if Vs < 48, Low if >=48.)
Do you know of something that will work?
Best,
Bruce