Control device
A control device is provided with: an extraction unit which extracts, on the basis of a machine configuration including the number of axes and/or the number of systems in a machine tool, a plurality of task items included in setup work for the next process in the machine tool, as essential settings or optional settings; a determination unit which dynamically determines, in accordance with operation details of setup work performed on the machine tool during a period from the completion of the latest process by the machine tool to the present point in time, whether each of the plurality of task items extracted as an essential setting or optional setting corresponds to an essential setting or an optional setting; and an action control unit which does not permit a process action of the machine tool if there is an essential setting which has not been completed or updated.
1 . A control device, comprising:
a memory that stores a program; and
a processor configured to execute the program and control the control device to:
extract each of a plurality of task items including at least creating/editing a machining program, selecting a machining program, measuring and setting a workpiece, setting a tool, and setting a custom macro variable in setup work for next machining by a machine tool as a mandatory setting or an optional setting based on a machine configuration including at least one of a number of axes and a number of systems of the machine tool to be set;
detect an operation content of an operator's operation on the machine tool;
dynamically determine whether each of the plurality of task items extracted as a mandatory setting or an optional setting corresponds to either a mandatory setting or an optional setting when there is at least a change in the machining program of each system, a change in the tool number or tool offset value of each system, a change in workpiece coordinates, or a change in a custom macro variable in operation contents in the setup work for the machine tool during a period from completion of most recent machining performed by the machine tool to a present time, and update a task status of a task item from an uncompleted or unupdated status to a completed or updated status when at least a save operation in the task item of creating/editing the machining program, or at least a setting operation in the task item of selecting the machining program, measuring and setting the workpiece, setting the tool, or setting the custom macro variable is detected; and
not to permit a machining operation by the machine tool when a task item as an uncompleted or an unupdated mandatory setting remains among the plurality of task items.
2 . The control device according to claim 1 , wherein the processor displays, on a display unit, each of the plurality of task items so as to be discernible as either a mandatory setting or an optional setting based on a determination result.
3 . The control device according to claim 2 , wherein the processor outputs a warning when the processor does not permit the machining operation by the machine tool,
wherein the processor displays the warning on the display unit.
4 . The control device according to claim 2 , wherein the processor transitions to a setting screen for the uncompleted or the unupdated mandatory setting when the processor does not permit the machining operation by the machine tool.
5 . The control device according to claim 2 , wherein the processor displays a task item in which setting has been completed or updated among the plurality of task items so as to be distinguishable from the mandatory setting or the optional setting.