The present invention relates to a control system, and more particularly, to a control system capable of executing a control process in an optimal environment.
Conventionally, as regards various types of machine tools such as lathes, grinders, and machining centers, processes for implementing various functions have been developed and used to be expansively installed in the individual machine tools according to diversified uses and purposes. These processes include, for example, a preprocessing process for generating execution form data from a machining program in advance, a basic screen process for displaying basic information on machining, a tool management process for managing tools attached to the machine tools, and the like.
As these various processes are additionally installed in general-purpose machine tools, it is necessary to install a large-capacity memory for expanding these processes and a high-performance CPU for executing these processes, resulting in a cost increase of the machine tools. Moreover, in performing the machining by using a plurality of machine tools, an operator must operate an input device to achieve setting while observing the respective screens of the machine tools despite the sameness of the setting, thereby causing a reduction in work efficiency.
On the other hand, with the recent development of network technologies, there are increasing systems in which machine tools in a factory are connected to a high-order server such as a host computer or a cell computer and run in response to machining instructions or control commands from the high-order server. Moreover, there are also forms, such as cloud systems, in which control processes are executed on a server and the results of the execution are used in the machine tools.
In these circumferences, Japanese Patent Application Laid-Open No. 2016-071407 discloses a technique in which some of necessary processes for the operation of a machine tool are operated on a host computer. In operating the machine tool, according to this technique, necessary information is exchanged between the host computer and the machine tool through a network as the some of the processes are operated on the host computer and other processes are operated on the machine tool. Moreover, Japanese Patent Application Laid-Open No. 2017-016233 discloses a technique in which a non-volatile memory of a numerical controller and an external storage device of a server are selected as storage destinations of machining programs in the numerical controller, depending on the necessity of high-speed reading.
Even if the technique disclosed in Japanese Patent Application Laid-Open No. 2016-071407 is used, however, only the specific processes are fixedly arranged on the server, so that all the other processes are resident in the machine tool. Therefore, even unnecessary processes for production planning are resident without exception in the machine tool, so that there remains a problem that the unnecessary processes compress a memory or induce a reduction in performance.
Although a technique for selecting an optimal storage location of a machining program created by a user is disclosed in Japanese Patent Application Laid-Open No. 2017-016233, on the other hand, the machining program is machining data that is used to generate the amount of movement of an axis by a basic-axis control process or the like after being converted into execution form data by a preprocessing process. Specifically, the machining program, unlike those processes which are resident on a RAM as they are executed, is handled as temporary data for controlling the axis. Accordingly, although the optimal storage location of the machining program can be selected, it is impossible to suppress the memory capacity for expanding the processes or reduce the rate of CPU usage by the processes.
Furthermore, in the case where a plurality of machine tools are used for simultaneous operation, all the machine tools do not always share the same capability, use, or purpose. Therefore, if the latency of communication is high due to the performance of a communication interface, for example, even those processes which can be executed on the host computer sometimes should be executed on the machine tools, and it is not always advisable to operate specific processes on the host computer.
The present invention has been made to solve the above problems and its object is to provide a control system capable of executing a control process in an optimal environment.
The control system of the present invention comprises a high-order server and a plurality of machine tools and solves the above problems by providing the high-order server with a process execution environment determination mechanism, which is configured to determine any of a high-order server and a machine tool which should execute the control process required in operation of the plurality of machine tool, from the point of view of efficiency of an entire system, and determining, by the process execution environment determination mechanism, optimal execution environments for the control processes, based on information input from a production planning device or the like.
A control system according to an aspect of the present invention is constructed so that at least one machine tool and a high-order server configured to manage the machine tool are connected through a communication line, and comprises a control process management unit configured to manage an execution condition for the execution of a control process available in machining performed in the machine tool, a machining management unit configured to manage machining information on the machining in the machine tool, and a control process arrangement unit configured to determine the arrangement of the control process in the respective execution environments of the machine tool and the high-order server, based on the execution condition managed by the control process management unit and the machining information managed by the machining management unit.
The machining management unit may be configured to manage a factor related to the execution environment to be considered in arranging the control process, and the control process arrangement unit may be configured to determine the arrangement of the control process in the respective execution environments of the machine tool and the high-order server, based on the execution condition managed by the control process arrangement unit and the factor related to the execution environment managed by the machining management unit.
A high-order server according to another aspect of the present invention is configured to manage at least one machine tool through a communication line, and comprises a control process management unit configured to manage an execution condition for the execution of a control process available in machining performed in the machine tool, a machining management unit configured to manage machining information on the machining in the machine tool, and a control process arrangement unit configured to determine the arrangement of the control process in the respective execution environments of the machine tool and the high-order server, based on the execution condition managed by the control process management unit and the machining information managed by the machining management unit.
According to the present invention, an optimal process arrangement can be determined according to the capability, use, and purpose of each machine tool, so that highly efficient process execution can be achieved to reduce the cost of the entire system.
An embodiment of the present invention will now be described with reference to the accompanying drawings. First, the overall structure of a control system 1 according to the embodiment of the present invention will be described with reference to the block diagram of
The control system 1 is constructed in such a manner that the high-order server 2 and at least one machine tool 3 are connected by a wired/wireless communication line 4.
The high-order server 2 can be constructed as a server device, such as a host computer or a cell controller, for managing the at least one machine tool 3. Based on a production plan or the like received from a production planning device 5 or the like, for example, the high-order server 2 assigns tasks related to workpiece machining to the machine tools 3 under the control of the high-order server 2 and commands the machine tools 3 to perform the tasks through the communication line 4. The high-order server 2 of the present embodiment comprises a process execution environment determination mechanism 100 configured to determine an optimal execution environment for a control process according to the assignment of the tasks to the individual machine tools 3.
The machine tools 3 include a lathe, grinder, and machining center that machine a workpiece based on a command from the high-order server 2. The machine tool 3 performs a task related to workpiece machining assigned by the high-order server 2, based on the command from the high-order server 2. The machine tool 3 may be a single machine or a set of machines including peripheral equipment such as a robot.
The process execution environment determination mechanism 100 comprises a control process management unit 110, machining management unit 120, control process arrangement unit 130, operation sequence creation unit 140, control process transfer unit 150, and control process storage unit 160. The above individual functional means of the process execution environment determination mechanism 100 are implemented as a CPU of the high-order server 2 reads out and executes system programs stored in a memory such as a ROM or a RAM, thereby controlling various parts of the high-order server 2.
The control process management unit 110 creates a control process management table 111, which is a table on which information on all necessary control processes for the tasks related to the workpiece machining commanded to the machine tools 3 is listed. This control process management unit 110 reads out data on the control processes previously registered in the control process storage unit 160 and creates the control process management table 111 based on the read data on the control processes.
As shown in
The machining management unit 120 is a functional means for creating a machining management table 121 on which tasks related to the workpiece machining assigned to the individual machine tools 3 are listed. Information related to the machining that includes information on the necessary control process for the machining performed by each of the machine tools is registered in the machining management table 121 created by the machining management unit 120. The machining management unit 120 creates the information related to the machining registered in the machining management table 121, based on, for example, information such as the production plan input from the production planning device 5 and information acquired from each machine tool 3 under the control of the machining management unit 120.
In the example shown in
The control process arrangement unit 130 creates a control process arrangement table 131 which determines, based on the control process management table 111 created by the control process management unit 110 and the machining management table 121 created by the machining management unit 120, any of the high-order server 2 and each machine tool 3 on which each control process registered in the control process management table 111 should be arranged (or by which each control process registered in the control process management table 111 should be executed). The control process arrangement unit 130 determines a device (the high-order server 2 or the machine tools 3) that executes the control processes according to a predetermined rule, based on the control process management table 111 and the machining management table 121. This predetermined rule may be, for example, a rule by which a control process not enabling a communication control should be executed on the machine tool 3 that uses the control process or a rule by which a control process enabling a communication control should be executed on the high-order server 2 as far as possible. Moreover, the predetermined rule may be a rule compatible with the nature of each control process, e.g., a rule by which a control process related to the user interface should be executed on the high-order server as long as the processing capacity of the high-order server permits (i.e., a rule for reduction in the operator's labor intensity by the arranging the user interface in the high-order server). Furthermore, the arrangement of the control process may be determined by using a rule by which the control process should be arranged in consideration of memory amount, processing capacity, and execution load installed in the high-order server 2 or the machine tools 3 or a rule by which the control process should be arranged in consideration of the communication traffic and a communication buffer.
In the example shown in
The operation sequence creation unit 140 creates an operation sequence for controlling the exchange of the control process that is expected to be exchanged between the high-order server and the machine tool, for each of the control processes registered in the control process arrangement table 131 created by the control process arrangement unit 130. The operation sequence creation unit 140 creates the operation sequence for controlling exchange of the control process, set to be executed on the high-order server in the control process arrangement table 131, between the high-order server and the machine tool at time of execution of the control process, based on the data on the control processes previously stored in the control process storage unit 160. In the example of the control process arrangement table 131 illustrated in
The control process transfer unit 150 transfers the control processes to the individual execution environments according to the control process arrangement table 131 and transfers the operation sequence created by the operation sequence creation unit 140 to the execution environments in which the operation sequence is used. The control processes transferred to the execution environments by the control process transfer unit 150 may be the control processes (programs) previously stored in the control process storage unit 160.
According to the embodiment described above, the process execution environment determination mechanism 100 can implement an optimal arrangement of the control process for the machining tasks based on the possibility of the communication control for each control process.
The factors related to the execution environments to be considered in determining the arrangement of the control process may be supposed to include the latency of communication, as well as the possibility of communication control for each control process, communication traffic, communication buffer amount, and the like. In general, there are various disturbances in factory environments, so that only a specific machine tool may be subject to high latency of communication due to the influence of noise or the like. In such a case, for machine tools with high latency of communication with the high-order server, it may be advisable to change the arrangement of the control process, as compared with other machine tools.
As illustrated in
The present invention is not limited to the above-described embodiment and may be suitably modified without departing from the spirit of the invention. Any of the constituent elements of the embodiment may be modified or omitted without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2017-155467 | Aug 2017 | JP | national |