120627-2139 EDT
LMAO:
See
http://en.wikipedia.org/wiki/Operational_amplifier
and
http://www.ti.com/product/lm741 then pick datasheet.
From the spec sheet the maximum input voltage can not exceed the power supply rails at +/-15 V.
Personally I do not operate with supply voltages greater than +/-12.
I first put the 741 into a product in 1971. The first IC op amp one I played with was a Fairchild uC702 about 1965. This cost in the range 0f $35 to $45 in 1965 dollars. I have an unused one in the drawer. This obvious is an antique now.
Back to your problem. How did you supply power to the op amp. For your voltage level of the shunt (I believe +24 V relative to ground) you need to reference the op amp to one or the other ends of the shunt. Thus you could generate -12 V relative to the shunt from the 24 V with a 7912. Then, I believe, with a 741 you are going to need some + voltage relative to the shunt, maybe +5 V. You may search for some other op amp that could work with the differential input at the positive rail. It may be that present 741s will.
The present 741 datasheet is lacking on performance of the amplifier when the inputs are near the rail voltages. A possible way to move the inputs somewhat from the positive rail and use just the 24 V supply to power the 741 is to provide two voltage dividers from the shunt to the minus of your 24 V supply. Maybe 1 K from the shunt to tap point and then 10 K to the - rail via the trimpot. Use low temperature coefficient metalfilm resistors with a 1% rating. At the bottom of the 10 K resistors put a 500 ohm trimpot with its center slider connected to the - rail and each end of the trimpot goes to one 10 K resistor. This should be sufficient to balance for differences in the resistors and to possibly set your threshold point. Eliminate the 10 K resistors I referenced earlier that connected to the back to back diodes across the amplifier input. Now the 1 K resistors serve the same purpose.
On the supply voltage to the op amp you may want to place a transient limiter. Transorb is one trade name for a Zener type limiter. This will require a series resistor for current limiting under transient conditions.
A much simpler approach may be the isolated current sensor I referenced in a previous post. I have not worked with it, but it is designed to measure currents offset from common (ground).
.