Above is a part of a circuit which is a Schmitt trigger. As you see 24V DC Vcc and Gnd are the power rails.
I will set up this circuit and some other people are going to hook up input output and power connections each time they need.
My concern is, if someone connects the power connections reverse. I mean if one connects the power supply's plus to Gnd of this comparator and similarly power supply's minus to Vcc of this comparator, the circuit might damage because of the reverse DC voltage.
What could be the safety solution to eliminate a possible human mistake. I thought a diode connected on Gnd rail of the comparator might work. But Im not sure about the voltage stability of the comparator if I use that.
What is the most efficient way to prevent reverse power connections to an opAmp?
A figure or a diagram illustration would help.