Chapter 4. CPU OperationGFK-2222AD April 2018 175Intelligent Option Module Self-Test CompletionIntelligent option modules may take a longer time to complete their self-tests than the CPU due to thetime required to test communications media or other interface devices. As an intelligent option modulecompletes its initial self-tests, it tells the CPU the time required to complete the remainder of these self-tests. During this time, the CPU provides whatever additional information the module needs to completeits self-configuration, and the module continues self-tests and configuration. If the module does notreport back in the time it specified, the CPU marks the module as faulted and makes an entry in one ofthe fault tables. When all self-tests are complete, the CPU obtains reports from the module as generatedduring that particular module’s power-up self-test and places fault information (if any) in the fault tables.Intelligent Option Module Dual Port Interface TestsAfter completion of the intelligent option module self-test and results reporting, integrity tests are jointlyperformed on the dual-port interface used by the CPU and intelligent option module for communications.These tests validate that the two modules are able to pass information back and forth, as well as verifythe interrupt and semaphore capabilities needed by the communications protocol. After dual portinterface tests are complete, the communications messaging system is initialized.I/O System InitializationIf the module is an input module, no further configuration is required. If the module is an output module,the module is commanded to go to its default state. The output modules default to all outputs off atpower-up and in failure mode, unless configured otherwise.A bus transmitter module is interrogated about what expansion racks are present in the system. Basedon the bus transmitter module’s response, the CPU adds those racks and their associated slots into thelist of slots to be configured.Finally, the I/O Scanner performs its initialization. The I/O Scanner initializes all the I/O controllers in thesystem by establishing the I/O connections to each I/O bus on the I/O controller and obtaining all I/Oconfiguration data from that I/O controller. This configuration data is compared with the stored I/Oconfiguration and any differences reported in the I/O Fault Table. The I/O Scanner then sends each I/Ocontroller a list of the I/O modules to be configured on the I/O bus. After the I/O controllers have beeninitialized, the I/O Scanner replaces the factory default settings in all I/O modules with any application-specified settings.4.11.2 Power-Down SequenceSystem power-down occurs when the power supply detects that incoming power has dropped for morethan 15ms.