摘要 |
PURPOSE:To grasp accurately the operation mode at the time, when program runaway occurs, to clear up easily causes of program runaway by storing the operation mode then. CONSTITUTION:A CPU1 continues to transmit runaway detection clear pulses to a runaway detecting circuit 6 in the normal state. If this clear pulse signal is broken, runaway of the CPU1 is detected, and a reset signal is transmitted immediately to the CPU1, and a runaway detection signal is outputted for a certain period. When the CPU1 is reset, an initial routine is executed; and if the runaway detection signal is outputted then, the copy mode just before runaway is written in a storage area of a RAM5. Meanwhile, the runaway detecting circuit 6 clears the runaway detection signal when several runaway detection clear pulses are inputted thereafter. |