A method of communicating with I/O modules situated in slots in a programmable logic controller (PLC), said PLC including a central processing unit (CPU) coupled to said modules by a serial data line therebetween and by an interrupt controller therebetween, said method comprising the steps of:
- providing a plurality of slot enable lines between said interrupt controller and said slots, each of said slot enable lines being dedicated to a respective slot;
- said interrupt controller supplying a slot enable signal at selected times to a particular slot enable line to enable the I/O module in the slot coupled to said particular slot enable line;
- said I/O module supplying an interrupt signal at selected times over the same slot enable line used by said interrupt controller to send the slot enable signal to said I/O module, and
- said interrupt controller performing an AND operation to determine if both a particular slot enable line coupled to a particular slot exhibits a logic state corresponding to an interrupt and said interrupt controller is not driving said particular slot enable line with a slot enable signal exhibiting a logic state which enables said particular slot, to ascertain that said interrupt controller is receiving an interrupt from said I/O module.