摘要 |
PURPOSE:To make the self-runaway of a microcomputer processable, without using a monostable multivibrator, by installing the self-runaway judgment means to judge the self-runaway according to a flag and the abnormal processing means to process the self-runaway. CONSTITUTION:The flag of an abnormality detection memory is reset to a RAM of the microcomputer MC, set to the main processing number Nx=1, the main processing is performed once, and Nx=Nx+1 shall be made. At this time, N<=Nx is judged, and the main processing Nx is repeated until N times. Then, when the main processing number Nx is more than the specified frequency N, Nx is reset to 1. Next, the flag state is judged, if the flag is set it is judged as self-runaway, the flag is reset, and returns to the main processing. Further, if the flag is reset, the self-runaway state is displayed on a display unit 40, and the abnormality processing is performed by an abnormality processing means 30. |