摘要 |
PURPOSE:To facilitate confirmation of information such as errors and others by segmenting the control flow, which controls sequence operations of respective elements of a unit, by functions and by controlling segments on a basis of program data assigned to respective segments. CONSTITUTION:System control unit SCU, mechanical element controlling module control unit MCU, and communication controlling unit CCU are provided as control units, and a C-MOSRAM backed up always by a battery is used as memory unit RAM2. Read/write of RAM2 is executed by input of the number of stored data into the memory in the mu-CPU, data shift for every one byte, input of newest data, decision for the number of data under the memory capacity or over the memory capacity, increment of the number of data by +1 in case of the number of data under the memory capacity, no operation in other cases, etc. SCU checks errors of MCU and CCU, and MCU and CCU check errors of units controlled by themselves respectively and report them to SCU, and SCU responds to these errors to control error report, write of error No. into RAM2, and power off. |