If they are just momentarily triggering then you would need to write a macropump to watch all the limit LEDs and when seen turn on another LED so that you can look and see which one has tripped. A brain would be faster but unfortunately the latching in the Brain doesnt seem to be working correctly.
Obviously you could only do this if they are, as Tweakie has said, wired to individual inputs.
Hood