Ok.
I decided to try a TL072 for the comparator, since they are in abundant supply at my studio, as the console is full of them.
First of all, let me thank you again, John, for all the help and direction in this endeavor.
It does sort of work. I had to use 15k resistors instead of 10's, maybe that is why. I tried 33k in place of 20k also. I did not use the pull up resistors on the opamp output.
It works in that output 1 goes high when +24VDC is present, and output
2 goes high when 0VDC == GND is present, but output 1 goes high in both cases.
This could be ok, since I could put relay 1's power leads through an extra set of contacts on relay 2, thus disabling relay 1 when relay 2 activates.
Maybe this is what was supposed to happen? If so, I can totally work with it, but I wanted to see if I did something wrong.
Reading with a meter, pin 1 on the opamp goes to ~24V on both states, pin 5 goes to 24V on 0VDC==GND.
Any more suggestions?
Chris