A follow-up and another question:
Killing the power had no effect, the battery backup worked fine.
I checked out all the wiring, pulled out all the wires and checked the wires for continuity, rewired the input expander and checked wiring on contacts for continuity with power off, then checked...