You could probably do this by simply testing the value of the input register, say I:1.0 for example.
If all the bits were normally off, then if I:1.0 > 0, you would save the value of I:1.0 to a register such as N7:1, and set a bit to inhibit the logic from executing again until you had looked at...