摘要 |
<p>PURPOSE:To avoid the defects like the operating mistakes, etc., by detecting the states of devices in a prescribed cycle and setting again the lamp lighting state based on the detecting results. CONSTITUTION:In a background process, a microcomputer 30 senses (detects) periodically a key switch 41 of a control panel 40 via an I/O port and sets the lighting state data on an LED 44 at an internal register of the computer 30 to execute the output to the LED 44. It is supposed that a sensing process of the switch 41 and an LED display output process are carried out per 30msec on an average including a case where an interruption process is produced to a function circuit 33. Thus the serial data D (D0-D7) are inputted again to a shift register 42 every 30msec and converted into the parallel data by the register 42. Hereafter the lighting state of the LED 44 is set again in a mode corresponding to the switch 41 with the outputs of output terminals Q0-Q7.</p> |