Electricians were performing annual battery replacement for the KA1 control cabinet. While replacing the batteries for the hoist controller PLC UPS the breaker feeding the hoist controller PLC was tripped. When power was restored B11.28 I/O module was in error and was causing the hoist trip under several erroneous faults.