This application based on and claims the benefit of priority from Japanese Patent Application No. 2018-192661, filed on 11 Oct. 2018, the content of which is incorporated herein by reference.
The present invention relates to a control system of a machine tool.
As is known, in the field of machine tools, a CNC (Computerized Numerical Control) technology is applied, the amount of movement of a tool, the speed of movement thereof and the like are numerically controlled with a computer and thus the repetition of the same machining procedure, the machining of a complicated shape and the like are highly automated. Data produced with a CAD or a CAM is captured into the CNC, and furthermore, various types of data such as an option, parameters, an NC program, a microprogram, a macro variable, a workpiece origin offset, a tool offset, tool shape data and tool management data are input and controlled, with the result that an NC machine tool such as an NC lathe or a machining center is consistently automated from design to manufacturing (see, for example, patent document 1).
Patent Document 1: Japanese Unexamined Patent Application, Publication No. 2003-202910
On the other hand, when parameters for the CNC are changed, the set state of previous parameters and parameters after being changed are compared, and thus the effectiveness of the parameters after being changed is verified. The verification of the effectiveness of the parameters for the CNC after the setting thereof is changed is performed by storing (recording) the previous parameters and inputting the parameters again or using the mechanism of Undo & Redo. The mechanism of Undo & Redo is a mechanism in which the past settings are taken out chronologically (Undo) and in which the setting on the current side is returned from the past setting (Redo).
However, as described above, the mechanism of Undo & Redo is configured such that the Undo/Redo is performed chronologically. Hence, when the current parameters are returned to parameters obtained by returning a plurality of times (parameters obtained by returning a plurality of times are taken out), as shown in
In view of the foregoing conditions, an object of the present invention is to provide a control system of a machine tool which can efficiently return the set state of parameters for CNC to a previous set state.
The present inventors et al. find a method by which the set state of parameters for CNC can be efficiently returned to a previous set state so as to complete the present invention. More specifically, the present invention provides the followings.
(1) In the present invention, a control system of a machine tool which is automated by reflecting parameters with computerized numerical control includes: a storage unit which stores change history data of parameters and attribute data of the parameters; and a change history organization unit which organizes, with the parameter change history data and the parameter attribute data, the parameters for each of change history attributes so as to generate a change history attribute unit list.
(2) Preferably, in the present invention, in (1) described above, the control system of the machine tool includes: a Undo/Redo target selection unit which specifies arbitrary parameters in the change history attribute unit list; and a parameter setting return processing unit which performs return processing for returning to the parameters specified in the Undo/Redo target selection unit.
(3) Preferably, in the present invention, in (1) and (2) described above, the control system of the machine tool includes a change history display unit which displays the change history attribute unit list.
(4) Preferably, in the present invention, in any one of (1) to (3) described above, the change history organization unit includes: a change history acquisition unit which acquires the parameter change history data from the storage unit; a change history organization request acquisition unit which receives a change history organization request; a parameter attribute acquisition unit which acquires the parameter attribute data from the storage unit; an attribute list generation unit which uses the parameter change history data and the parameter attribute data so as to generate an attribute list of the parameters; and a change history attribute unit list generation unit which organizes the attribute list for each of the change history attributes so as to generate the change history attribute unit list.
(5) Preferably, in the present invention, in (4) described above, when in the attribute list, a history in which one parameter is changed a plurality of times is present, a plurality of parameters having the same attribute are treated as one set such that the parameter setting return processing unit returns the parameters for each unit of a set state of the parameters.
According to the present invention, it is possible to efficiently return the set state of parameters for CNC to a previous set state.
Specifically, it is possible to organize a change history arranged chronologically and to return, in one stroke, to desired parameters, and thus as compared with a conventional one, is possible to significantly reduce the effort, the labor and the time of an operator when the setting of parameters for CNC is changed.
A control system of a machine tool according to an embodiment of the present invention will be described below with reference to
The control system A of the machine tool in the present embodiment configured so as to reflect various types of data such as an option, parameters, an NC program, a microprogram, a macro variable, a workpiece origin offset, tool offset, tool shape data and tool management data on the side of the machine tool (CNC: computerized numerical control) such as an NC lathe or a machining center and to thereby automate a machining operation. The control system. A of the machine tool is also configured with a computer which includes a memory such as a ROM (read only memory) and a RAM (random access memory), CPU (control processing unit) and a communication control unit that are connected together through a bus. Examples of the parameter include various types of parameters on, for example, the control of the machine tool such as an angle of inclination of an inclination axis on the control of the inclination axis and the axis number of the inclination axis.
The control system A of the machine tool in the present embodiment further includes, as shown in
The storage unit 1 stores, for example, data (parameter attribute data) 7 of various types of attributes of the parameters such as the functional attributes of the control of the inclination axis, the synchronization control of a feed axis and the like and the systematic attributes of the machine tool, chronological parameter change history data 8 and parameters 9 used in the machine tool.
The change history organization unit 2 a unit which organizes, according to a change history organization request, various types of data stored in the storage unit 1.
As shown in
The change history display unit 3 displays the change history attribute unit list 16 which is generated in the change history attribute unit list generation unit 14.
The Undo/Redo target selection unit 4 is a unit which receives an Undo/Redo request for the parameters so as to select, from the change history attribute unit list 16 generated in the change history attribute unit list generation unit 14 and displayed in the change history display unit 3, a target on which to perform Undo or Redo.
The parameter setting return processing unit 5 is a unit for changing (return set) the setting of the parameters to parameters, such as previous (past) parameters, which are arbitrarily selected in the Undo/Redo target selection unit 4.
The parameter display unit 6 displays parameters used in the control of the machine tool.
Then, a method and a procedure of using the control system A of the machine tool configured as described above and according to the present embodiment so as to return, in one stroke, to previous desired parameters (parameters set in the past) such as parameters obtained by returning a plurality of times will be described.
First, as shown in
Then, the parameter attribute acquisition unit 12 acquires the parameter attribute data 7 from the storage unit 1. The attribute list generation unit 13 then checks and organizes parameter numbers N (a, b, c, x, y and z in
When the attribute list/change history list 15 is generated, as shown in
Then, whether or not the acquisition of the history is completed is checked (step 6) and when it is not completed, the parameter attribute acquisition unit 12 acquires parameter change information with functions (step 7). When the acquisition of the history is completed, is completed as it is (Step 8).
Then, when the acquisition of the history is not completed, the parameter change information with functions is acquired, and thereafter whether or not the function of the acquired parameter is present in the function list is checked (step 9). When the function of the acquired parameter is present in the function list, whether or not the acquisition of the history is completed is checked, and the operation described above is repeated (step 10).
On the other hand, when the function of the acquired parameter is not present in the function list, the function of the parameter is added to the function list (step 11). In this way, the total number Z in the function list is increased (step 12).
Then, as shown in
Then, the change history attribute unit list generation unit 14 organizes the change history list 15 for each of the functions so as to generate the change history attribute unit list 16 as shown in the diagram on the left side of
Hence, in the control system A of the machine tool in the present embodiment, as described above, the change history attribute unit list 16 (chronological change history information for each of the attributes) in which the change history is organized for each of the attributes (functions) is displayed and thus when the operator sees the change history attribute unit list 16, the operator can easily check the change history of parameters which are changed a plurality of times, that is, the change history of the past parameters.
In the control system A of the machine tool in the present embodiment, since the change history for each of the attributes is displayed in the change history attribute unit list 16, it is possible to select target information (parameters) with the Undo/Redo target selection unit 4, and it is possible to return to the selected parameters with the parameter setting return processing unit 5. In this way, by use of the information of the change history attribute unit list 16, the parameters which are changed a plurality of times can be returned, in one stroke, to a previous setting. The changed parameters are categorized in the change history, and thus the cancellation of the change of parameters or the like can be performed for each function unit (attribute unit).
Hence, with the control system A of the machine tool in the present embodiment, it is possible to efficiently return the set state of parameters for CNC to a previous set state. In this way, it is possible to organize the change history arranged chronologically and to return, in one stroke, to desired parameters, and thus as compared with a conventional one, it is possible to significantly reduce the effort, the labor and the time of the operator when the setting of parameters for CNC is changed.
Although the embodiment of the control system of the machine tool according to the present invention is described above, the present invention is not limited to the embodiment described above, and can be modified as necessary without departing from the spirit thereof.
For example, although in the present embodiment, the function used as the attribute, and the change history attribute unit list 16 organized for each of the functions, the attribute may naturally be another attribute such as the mechanical system of the machine tool.
Here, when as shown in
Specifically, when in the change history list 15, a history in which one parameter is changed a plurality of times is present, for example as shown in
Thereafter, the parameter is added to the change history attribute unit list (function history parameter list) 16, and the initial value of the parameter is recorded as a parameter set initial state (step 17).
As shown in
Thereafter, the Undo/Redo target selection unit 4 is used to select and specify the information of an arbitrary target in the change history list 15 (in the present embodiment, specification 1 is made when the parameters are changed at the first time and specification 2 is made when the parameters are changed at the second time), the change history attribute unit list (function history parameter list) 16 is set to the initial state and parameters in the state of specification 1 and in the state of specification 2 are organized as a set, with the result that a state list is generated (step 1).
Whether or not the generated state is present in the state list is checked (step 19), and when it is present therein, the process is completed without being processed (step 20) whereas when it is not present therein, the change history display unit 3 displays the generated state as a function group (step 21).
In this way, even when in the change history list 15, a history in which one parameter is changed a plurality of times is present, the information displayed in the change history display unit 3 is used so as to select the information (parameters) of the target with the Undo/Redo target selection unit 4, and thus it is possible to return to the parameters selected in the parameter setting return processing unit 5.
Hence, the information in the change history attribute unit list 16 is used, and thus it is possible to reliably return, in one stroke, parameters which are changed a plurality of times to a previous setting. The changed parameters are categorized in the change history, and thus the cancellation of the change of parameters or the like can be performed for each function unit (attribute unit).
Number | Date | Country | Kind |
---|---|---|---|
2018-192661 | Oct 2018 | JP | national |