摘要 |
PURPOSE:To prevent a serious malfunction by executing a malfunction countermeasure routine which is prepared in advance, when an interruption processing is not executed within a prescribed time, in the course of executing a regular processing routine, and securing a release of an interrupting inhibition state. CONSTITUTION:First of all, in a step S1, a regular processing is executed. Subsequently, in a step S2, the contents of a RAM (TIME) of a prescribed address are brought to increment, and in a step S3, its value is compared with a value of a TIME1 which is set in advance, and if a value of the TIME is equal or larger, the processing proceeds to a step S4, but if not so, it returns to the step S1. Also, in the steps 4, 5, a prescribed malfunction preventive countermeasure routine is executed. On the other hand, when an interruption is generated from the outside, a CPU suspends the main routine, and executes a step S11. In this step, the interruption processing is executed. Next, the processing clears the TIME in a step S12, and returns to the main routine in a step S13. |