Patent ID: 9557732
Date: 2017-01-31
CPC Classifications: G05B

Claim:
1. A numerical controller (NC) having a program resuming function, the numerical controller including: an NC section that sequentially reads out blocks of a machining program to thereby control a motor connected to the numerical controller; and a programmable machine controller (PMC) section that receives a signal state change command from the NC section, decodes the signal state change command by a sequence program, and controls a peripheral machine section connected to an input-output interface mounted on the numerical controller, using the signal obtained by decoding, wherein the numerical controller controls each of the NC section and the PMC section to perform machining of a workpiece, and the numerical controller has the program resuming function for detecting in advance, with the NC section during execution of machining, an uncut block in which the machining of the workpiece is easily resumed, in order to resume the machining of the workpiece when the machining of the workpiece is suspended, storing one or a plurality of items of information concerning the uncut block in a memory of the NC section as NC section program resumption block data, and performing resumption of the machining of the workpiece on the basis of the NC section program resumption block data arbitrarily selected after the machining of the workpiece is suspended, and wherein the numerical controller further comprises: an NC section program resumption block data identification number storing section that adds, when the information concerning the uncut block is stored as the NC section program resumption block data during execution of machining of the workpiece, a unique identification number to the information concerning the uncut block and stores the information concerning the uncut block; an NC section identification number output section that outputs the identification number added to the NC section program resumption block data corresponding to the signal state change command, to the PMC section, every time a signal state change command for outputting a signal from the NC section to the PMC section is executed by the NC section for the purpose of causing the PMC section to perform mainly operation of the peripheral machine section during execution of machining of the workpiece, and notifies the PMC section of timing for storing data necessary for the resumption; and a PMC section program resumption block data storing section that stores the PMC section program resumption block data, which includes the signal state obtained by decoding, by the sequence program, the signal state change command received from the NC section and data with which the PMC section controls the peripheral machine section, in a memory of the PMC section, at a timing when the identification number is output by the NC section identification number output section, in the PMC section.