摘要 |
PURPOSE:To quickly process failures, by immediately interrupting processing and saving the program during the execution of a processing program if a failure takes place, and returning to the original program again after the end of processing for the failure. CONSTITUTION:An input control circuit ICT reads out a program of a main memory NCM normally and gives an output to a decoder DEC, and when a tool broken signal TLBS is inputted to said circuit ICT and an operation control circuit OPCN via a power supply circuit PWC, a pulse distribution stop signal PDI is outputted to a pulse distributor PDC, the circuit ICT stops the readout of a memory NCM to read out a subprogram in response to the TLBS from a sub-memory UMM to an OPCN via a DEC, and a data memory DMM is saved to a save memory SMM, allowing to replace a tool with a subprogram. After the replacement of a tool, the data memory DMM is read out from the save memory SMM and the execution of the stopped main program is restarted. Thus, the processing of failures can be performed quickly. |