Control device

The control device addresses the challenge of diverse machine interfaces by standardizing data access and operation logic, facilitating unified management and operation across different industrial machines and tools, thereby improving equipment usability and development efficiency.

JP7568742B2Active Publication Date: 2024-10-16FANUC LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2022561913
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-11-10
Filing Date
2021-11-08
Publication Date
2024-10-16
Estimated Expiration
2041-11-08

AI Technical Summary

Technical Problem

In manufacturing sites where various types of industrial machines and manufacturers coexist, the differing control device settings and unique tool management mechanisms complicate data collection and integration, making it difficult for on-site workers to utilize the equipment effectively.

Method used

A control device that standardizes interfaces for industrial machines by using a common interface to access and operate machines through data access and operation logic, allowing for unified data management and operation across diverse equipment.

Benefits of technology

Enables seamless information exchange and utilization of a wide variety of machines and peripheral devices through a common interface, enhancing equipment usability and development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568742000001
    Figure 0007568742000001
  • Figure 0007568742000002
    Figure 0007568742000002
  • Figure 0007568742000003
    Figure 0007568742000003
Patent Text Reader

Abstract

This control device comprises: a data access logic storage unit that stores data access logic for referencing and / or updating data pertaining to an industrial machine; a data management unit that references or updates the data pertaining to the industrial machine on the basis of the data access logic; an operation logic storage unit that stores operation logic for executing a process for controlling the industrial machine; an operation management unit that executes an operation pertaining to the industrial machine on the basis of the operation logic; and an interface unit that provides a common interface for accessing the data management unit and the operation management unit.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device, and more particularly to a control device capable of managing and operating data through a single interface. [Background technology]

[0002] The control device controls a wide variety of industrial machines such as machine tools, robots, and peripheral devices used in manufacturing sites (Patent Document 1, etc.). For example, it controls a variety of machines, such as processing machines such as 3-axis controlled machine tools, 5-axis controlled machine tools, milling machines, lathes, grinding machines, and gear processing machines, tool changers such as magazine-type automatic tool changers (drum storage type, chain storage type, matrix storage type, etc.), turret-type automatic tool changers, and comb-type tool rests, and robots such as articulated robots and parallel link robots. In addition, when controlling the same processing machines and tool changers, various tools such as drilling tools, milling tools, and tapping tools are handled.

[0003] Control devices have many functions to support the specifications of such a wide variety of machines, peripheral devices, and tools. The range of support for each function may differ, so machine builders carefully select the functions required to achieve the desired machine control.

[0004] The operation specifications and data structures of each control device function often vary, and as a result, the interface for accessing and operating data often differs depending on the function selected.

[0005] Furthermore, when the above functions are lacking, many machine builders (and sometimes machine users) have constructed their own tool management systems using macro variables, PLC variable areas, etc. Such systems often have their own specifications and interfaces for each machine builder or machine. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2015-204615 A Summary of the Invention [Problem to be solved by the invention]

[0007] In manufacturing sites where various types of machines and industrial machines from various machine manufacturers coexist, there are machines with different control device settings and machines with unique tool management systems. Therefore, when building a data collection system or linking with peripheral devices, different approaches are required for each machine. This is one of the reasons why it is difficult for workers on site to utilize each piece of equipment. Therefore, there is a need for a mechanism that allows interactions regarding a wide variety of machines, peripheral devices, and equipment to be carried out through a common interface. [Means for solving the problem]

[0008] The control device according to the present invention solves the above-mentioned problems by standardizing the interfaces that differ for each industrial machine, such as machine tools, robots, and peripheral devices, used at manufacturing sites. The control device according to the present invention manages the procedures for referencing and setting data related to the industrial machines (hereinafter referred to as data access logic), which differ for each industrial machine, and the procedures for operating the industrial machines (hereinafter referred to as operation logic).When communicating with the industrial machines to access data or perform operations, the control device calls the data access logic and operation logic prepared for the industrial machine to be controlled via a common interface.The data access logic and operation logic may be prepared for each different piece of equipment, such as a tool, attached to the industrial machine.

[0009] In one aspect of the present invention, a control device for controlling an industrial machine includes a data access logic storage unit that stores at least one data access logic for performing at least one of referring to and updating data related to the industrial machine, and a data access logic storage unit that stores at least one data access logic for performing at least one of referring to and updating data related to the industrial machine when accessing data to the industrial machine. Each a data management unit that reads out a data access logic corresponding to an industrial machine from the data access logic storage unit and executes at least one of referring to and updating data related to the industrial machine based on the data access logic; an operation logic storage unit that stores at least one operation logic for executing a control process of the industrial machine; Each The control device comprises an operation management unit that reads out operation logic corresponding to an industrial machine from the operation logic memory unit and executes operations related to the industrial machine based on the operation logic, and an interface unit that provides a common interface for the data management unit and the operation management unit to access each function of the control device, and the functions related to the industrial machine can be used via the common interface. Effect of the Invention

[0010] One aspect of the present invention makes it possible to communicate with a wide variety of machines, peripheral devices, and equipment through a common interface, making it easier to utilize the wide variety of equipment installed at the site. [Brief description of the drawings]

[0011] [Figure 1] FIG. 2 is a schematic hardware configuration diagram of a control device according to an embodiment. [Diagram 2] FIG. 2 is a schematic block diagram illustrating the functionality of a control device according to one embodiment. [Diagram 3] FIG. 13 illustrates an example of a data access logic storage unit. [Figure 4] FIG. 13 illustrates an example of an operation logic storage unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. 1 is a schematic hardware configuration diagram showing a main part of a control device according to a first embodiment of the present invention. A control device 1 of the present invention can be implemented as a control device that controls, for example, a machine 3 based on a control program.

[0013] The CPU 11 provided in the control device 1 according to this embodiment is a processor that controls the entire control device 1. The CPU 11 reads out a system program stored in the ROM 12 via the bus 22, and controls the entire control device 1 in accordance with the system program. The RAM 13 temporarily stores temporary calculation data, display data, various data input from outside, and the like.

[0014] The non-volatile memory 14 is composed of, for example, a memory backed up by a battery (not shown) or an SSD (Solid State Drive), and the memory state is maintained even when the power supply of the control device 1 is turned off. The non-volatile memory 14 stores control programs and data read from the external device 72 via the interface 15, control programs and data input from the input device 71 via the interface 18, and control programs and data acquired from other machines to be controlled, the fog computer 6, the cloud server 7, and the like via the network 5. The data stored in the non-volatile memory 14 may include, for example, data related to the position, speed, acceleration, load, and usage time of each motor in the machine, and each physical quantity detected by a sensor (not shown) attached to the other machine. The data stored in the non-volatile memory 14 may include, for example, data related to the position, speed, acceleration, load, and usage time of each motor in the other machines to be controlled, and each physical quantity detected by a sensor (not shown) attached to the other machine. The control programs and data stored in the non-volatile memory 14 may be expanded in the RAM 13 when executed / used. In addition, the ROM 12 is previously written with various system programs, such as known analysis programs.

[0015] The interface 15 is an interface for connecting the CPU 11 of the control device 1 to an external device 72 such as an external storage medium. For example, control programs and setting data used for controlling a machine are read from the external device 72. In addition, the control programs and setting data edited in the control device 1 can be stored in an external storage medium such as a CF card or USB memory (not shown) via the external device 72. The programmable logic controller (PLC) 16 executes a ladder program and outputs signals to the machine 3 (for example, a tool changer, an actuator such as a robot, and sensors such as a temperature sensor and a humidity sensor attached to the machine) to be controlled based on input / output signals via an I / O unit 19 to control the machine. In addition, the PLC 16 receives signals from the machine 3, processes the signals as necessary, and then passes them to the CPU 11.

[0016] The interface 20 is an interface for connecting the CPU of the control device 1 to a wired or wireless network 5. The network 5 may communicate using technologies such as serial communication such as RS-485, Ethernet (registered trademark), optical communication, wireless LAN, Wi-Fi (registered trademark), Bluetooth (registered trademark), etc. The network 5 is connected to other machines to be controlled, a fog computer 6, a cloud server 7, and other higher-level management devices, and exchanges data with the control device 1.

[0017] The display device 70 displays various data loaded into the memory, data obtained as a result of executing programs, etc., outputted via the interface 17. An input device 71 consisting of a keyboard, pointing device, etc., transfers commands, data, etc. based on operations by an operator to the CPU 11 via the interface 18.

[0018] The axis control circuit 30 for controlling the axes of the machine receives the axis movement command amount from the CPU 11 and outputs the axis command to the servo amplifier 40. The servo amplifier 40 receives this command and drives the servo motor 50 that moves the drive unit of the machine along the axis. The servo motor 50 of the axis has a built-in position / speed detector, and the position / speed feedback signal from this position / speed detector is fed back to the axis control circuit 30, thereby performing position / speed feedback control. Note that while the hardware configuration diagram in Figure 1 shows only one each of the axis control circuit 30, servo amplifier 40, and servo motor 50, in reality, there are as many as the number of axes of the machine to be controlled.

[0019] 2 is a schematic block diagram showing functions of the control device 1 according to the first embodiment of the present invention. Each function of the control device 1 according to this embodiment is realized by the CPU 11 of the control device 1 shown in FIG. 1 executing a system program and controlling the operation of each part of the control device 1.

[0020] The control device 1 of this embodiment includes a control program execution unit 100, a network control unit 110, an I / O control unit 120, a screen operation control unit 130, an interface unit 140, a data management unit 150, and an operation management unit 160. In addition, the RAM 13 to the non-volatile memory 14 of the control device 1 store a control program 200 such as an NC program (numerical control program) for controlling the machines 2, 3, and 4 and peripheral devices, and also include a data access logic storage unit 210 that stores data access logic for referring to and updating data used in functions related to the control of the machines 2, 3, and 4 to be controlled, a data storage unit 220 that is an area for storing data acquired by the data access logic, and an operation logic storage unit 230 that stores operation logic for executing operations performed in functions related to the control of the machines 2, 3, and 4 to be controlled.

[0021] The control program execution unit 100 is realized by the CPU 11 included in the control device 1 shown in FIG. 1 executing a system program read from the ROM 12, and mainly performing arithmetic processing by the CPU 11 using the RAM 13 and the non-volatile memory 14, and processing using the axis control circuit 30, the PLC 16, the interfaces 17, 18, the interface 20, etc. The control program execution unit 100 analyzes the control program 200, and controls the operation of the machine 2 controlled via the axis control circuit 30, the machine 3 controlled via the PLC 16, the machine 4 controlled via the network 5, etc. based on the analysis result. The control program execution unit 100 creates and outputs command data for controlling the machines 2, 3, and 4 based on, for example, the command to control the machines 2, 3, and 4 commanded by the control program 200. On the other hand, the control program execution unit 100 obtains the state of the servo motor 50 (motor current value, position, speed, acceleration, load, etc.) as a feedback value and uses it for each control process. When the control program execution unit 100 accesses (references or updates) predetermined data related to the machines 2, 3, and 4, it does so via an interface provided by the interface unit 140. When the control program execution unit 100 outputs data related to predetermined control to the machines 2, 3, and 4, it outputs the data via the interface provided by the interface unit 140.

[0022] The network control unit 110 is realized by the CPU 11 included in the control device 1 shown in FIG. 1 executing a system program read from the ROM 12, and mainly performing arithmetic processing by the CPU 11 using the RAM 13 and the non-volatile memory 14, and processing using the interface 20, etc. The network control unit 110 accesses data via the network and inputs and outputs commands. When the network control unit 110 accesses (references or updates) predetermined data related to the machines 2, 3, and 4 via the network 5, it accesses via an interface provided by the interface unit 140. When the network control unit 110 outputs a command related to a predetermined control to the machines 2, 3, and 4 via the network 5, it outputs the command via an interface provided by the interface unit 140.

[0023] The I / O control unit 120 is realized by the CPU 11 included in the control device 1 shown in FIG. 1 executing a system program read from the ROM 12, and mainly performing arithmetic processing by the CPU 11 using the RAM 13 and the non-volatile memory 14, and processing using the PLC 16, etc. The I / O control unit 120 accesses data via the PLC 16 and inputs and outputs commands. When the I / O control unit 120 accesses (references or updates) predetermined data related to the machines 2, 3, and 4 via the PLC 16, the I / O control unit 120 accesses via an interface provided by the interface unit 140. When the I / O control unit 120 outputs a command related to a predetermined control to the machines 2, 3, and 4 via the PLC 16, the I / O control unit 120 outputs the command via an interface provided by the interface unit 140.

[0024] The screen operation control unit 130 is realized by the CPU 11 included in the control device 1 shown in Fig. 1 executing a system program read from the ROM 12, and mainly performing calculation processing by the CPU 11 using the RAM 13 and non-volatile memory 14, and processing using the interfaces 17, 18, etc. The screen operation control unit 130 controls display output to the display device 70 as a UI (user interface) and input via the input device 71. The screen operation control unit 130 obtains predetermined data to be displayed on the display device 70 via an interface provided by the interface unit 140.

[0025] The interface unit 140 is realized by the CPU 11 included in the control device 1 shown in Fig. 1 executing a system program read from the ROM 12 and performing calculation processing mainly by the CPU 11 using the RAM 13 and the non-volatile memory 14. The interface unit 140 provides a common interface mechanism for the control program execution unit 100, the network control unit 110, the I / O control unit 120, and the screen operation control unit 130 to use the data management unit 150 and the operation management unit 160.

[0026] The common interface related to data access provided by the interface unit 140 includes at least an interface for data reference and an interface for data update. The interface for data reference may, for example, take as input information uniquely identifying the machine to be accessed and information uniquely identifying the data item to be accessed, and output the value of the data. The interface for data update may, for example, take as input information uniquely identifying the machine to be accessed, information uniquely identifying the data item to be accessed, and the value of the data to be updated, and output whether the data value has been updated correctly. When the interface unit 140 receives a request related to data access via the common interface, it instructs the data management unit 150 to execute processing using the data access logic related to the specified machine.

[0027] Furthermore, the common interface related to the operations provided by the interface unit 140 may be, for example, an interface that takes as input information that uniquely identifies the machine to be operated, information that uniquely identifies the operation, and parameter values ​​related to the operation, and outputs whether the operation is successful or not. When the interface unit 140 receives a request related to an operation via the common interface, it instructs the operation management unit 160 to execute processing using the operation logic related to the specified machine.

[0028] The data management unit 150 is realized by the CPU 11 included in the control device 1 shown in Fig. 1 executing a system program read from the ROM 12, and mainly performing calculation processing by the CPU 11 using the RAM 13 and non-volatile memory 14, and processing using the axis control circuit 30, PLC 16, interfaces 17, 18, interface 20, etc. The data management unit 150 manages access to data related to the machine to be controlled. When access (reference, update, etc.) to data related to a specific machine is requested, the data management unit 150 accesses the data related to the machine by reading and executing the data access logic related to the machine from the data access logic storage unit 210. In the data access logic storage unit 210, as illustrated in FIG. 3, data access logic used to access data related to each machine is stored in association with the machine to be controlled. The data access logic related to the machine 2 controlled by the control device 1 via the axis control circuit 30 includes, for example, the axis number when referring to the value of each data item, a processing procedure for referring to the read value, and a procedure for converting the read value to a reference value. The data access logic related to the machine 3 controlled by the control device 1 via the PLC 16 includes, for example, the address of a signal when referring to the value of each data item, a processing procedure for referring to the signal value, and a procedure for converting the signal value to a reference value. The data access logic related to the machine 4 controlled by the control device via the network 5 includes, for example, the position of the machine on the network 5, an address when updating the value of each data item, a procedure for converting the updated value to the value on the machine, and a processing procedure for updating. Each data access logic may be created by a subprogram that runs on the CPU 11 or PLC 16 of the control device 1. These data access logics may be created in advance by the machine manufacturer of the machine to be controlled, or may be independently developed by the user of the machine. The data management unit 150 may realize data access by executing one data access logic for an access request for one data item. In addition, multiple data access logics may be combined and executed for an access request for one data item according to a predetermined definition. This is used, for example, when referring to a data value calculated based on the values ​​of data related to multiple machines, or when an update of one data value affects data related to multiple machines. The definition of the correspondence between the access request for this data and the data access logic may be stored in the data access logic storage unit 210 in advance.

[0029] The data management unit 150 may store and manage data related to the machine in the data storage unit 220. In this case, the data management unit 150 searches for the relevant data from the data storage unit 220 in response to a data reference request from the interface unit 140. If the data exists, the data management unit 150 responds by acquiring the data stored in the data storage unit 220, whereas if the data does not exist, the data management unit 150 responds by acquiring the data from the machine using data access logic and stores the acquired data in the data storage unit 220. Meanwhile, in response to a data update request from the interface unit 140, the data management unit 150 updates the data stored in the data storage unit 220 and updates the data on the machine in parallel using the data access logic. When storing and managing data in the data storage unit 220, a validity period may be set for the stored data. For data whose validity period has expired, the data management unit 150 always acquires the data from the machine using the data access logic. The expiration time should be set large for data whose values ​​do not change unless an operator changes the settings, and should be set small or to zero (0) for data such as motor position and speed that change in real time.

[0030] The operation management unit 160 is realized by the CPU 11 included in the control device 1 shown in Fig. 1 executing a system program read from the ROM 12, and mainly performing calculation processing by the CPU 11 using the RAM 13 and non-volatile memory 14, and processing using the axis control circuit 30, PLC 16, interfaces 17, 18, interface 20, etc. The operation management unit 160 manages the execution of operations related to the machine to be controlled. When a request is made to execute an operation related to a specific machine, the operation management unit 160 executes the operation related to the machine by reading out the operation logic related to the machine from the operation logic storage unit 230 and executing it. In the operation logic storage unit 230, as illustrated in FIG. 4, operation logic including a procedure for executing a predetermined control process is stored for each machine. In the operation logic storage unit 230, operation logic used for operating each machine is stored in association with the machine to be controlled. The operation logic for executing the control process related to the machine 2 controlled by the control device 1 via the axis control circuit 30 includes, for example, the number of the axis used when executing a specified process, a process procedure for control, etc. The operation logic for executing the control process related to the machine 3 controlled by the control device 1 via the PLC 16 includes, for example, the address of the signal used when executing a specified process, a process procedure for control, etc. The operation logic for executing the control process related to the machine 4 controlled by the control device via the network 5 includes, for example, the position of the machine on the network 5, a process procedure for control, etc. Each operation logic may be created by a subprogram running on the CPU 11 or PLC 16 of the control device 1. These operation logics may be created in advance by the machine manufacturer of the machine to be controlled, or may be independently developed by the user of the machine. The operation management unit 160 may execute one operation logic for one operation execution request. Also, multiple operation logics may be combined and executed for one operation execution request according to a predetermined definition. When multiple operation logics are combined and executed, each operation logic may be executed in an exclusive relationship. The definition of the correspondence between the operation execution request and the operation logic may be stored in advance in the operation logic storage unit 230.

[0031] An example of data access and operation execution in the control device 1 having the above configuration will be described below. Consider a case where two machines, a tool exchanger A (connected via the PLC 16) and a tool exchanger B (connected via the network 5), are controlled by the control device 1. In the data access logic storage unit 210, a "cutting time-based access logic" and a "use count-based logic" for the tool exchanger A are stored as data access logic related to the tool life value state of the tool exchanger A. Also, a "cutting time-based access logic" and a "tool wear amount-based access logic" for the tool exchanger B are stored in advance as data access logic related to the tool life value state of the tool exchanger B. Then, when a reference related to the tool life value state is received via the common interface, the tool exchanger A is defined to respond by performing data access using the "cutting time-based access logic" and the "use count-based logic", and the tool exchanger B is defined to respond by performing data access using the "cutting time-based access logic" and the "tool wear amount-based access logic".

[0032] At this time, it is assumed that a reference request for the "tool life value state" of the tool exchanger A is received from an operation monitoring application running on the fog computer 6, which is a higher-level device (step SA01). Then, the network control unit 110 requests the interface unit 140 to reference the data of the "tool life value state" of the tool exchanger A based on the request received from the higher-level PC (step SA02). When the interface unit 140 receives this and requests the data management unit 150 to reference the "tool life value state" of the tool exchanger A (step SA03), the data management unit 150 reads out and executes the "cutting time reference access logic" and the "use count reference logic" for the tool exchanger A from the data access logic storage unit 210 in order to reference the "tool life value state" of the tool exchanger A (step SA04). When the cutting time reference data and the use count reference data of the tool exchanger A are stored in the data storage unit 220, each data access logic responds to this (step SA05). On the other hand, if the data is not stored, a subprogram for referencing the data related to tool exchanger A is executed, and the cutting time reference data and the number of uses reference data of tool exchanger A are obtained via PLC16, and this is responded to (step SA06).

[0033] On the other hand, suppose that a reference request for the "tool life value state" of the tool exchanger B is received from an operation monitoring application running on the fog computer 6, which is a higher-level device (step SB01). Then, the network control unit 110 requests the interface unit 140 to reference the data of the "tool life value state" of the tool exchanger B based on the request received from the higher-level PC (step SB02). When the interface unit 140 receives this and requests the data management unit 150 to reference the "tool life value state" of the tool exchanger B (step SB03), the data management unit 150 reads out and executes the "cutting time reference access logic" and the "tool wear amount reference access logic" for the tool exchanger B from the data access logic storage unit 210 in order to reference the "tool life value state" of the tool exchanger B (step SB04). When the cutting time reference data and the tool wear amount reference data of the tool exchanger B are stored in the data storage unit 220, each data access logic responds to this (step SB05). On the other hand, if the data is not stored, a subprogram for referencing the data related to tool exchanger B is executed, and the cutting time reference data and tool wear amount reference data of tool exchanger B are obtained via network 5, and this is responded to (step SB06).

[0034] As another example, the operation logic storage unit 230 stores a "low-life tool selection logic" (a tool with the shortest life is selected) for tool changer A as the operation logic related to the tool selection operation of tool changer A. Also, a "shortest tool selection logic" (a tool that can be transported the fastest is selected) for tool changer B is pre-stored as the operation logic related to the tool selection operation of tool changer B. Then, when a request to execute a tool selection operation is received via the common interface, it is defined that tool changer A executes tool selection using the "low-life tool selection logic", and tool changer B executes tool selection using the "shortest tool selection logic".

[0035] At this time, a tool selection command (T_) is issued by the control program 200, and the control program execution unit 100 executes this command (step SC01). The control program execution unit 100 requests the interface unit 140 to execute the "tool selection operation" of the tool exchanger A based on the execution of the tool selection command (step SC02). When the interface unit 140 receives this command and requests the operation management unit 160 to execute the "tool selection operation" of the tool exchanger A (step SC03), the operation management unit 160 reads out and executes the "low-life tool selection logic" for the tool exchanger A from the operation logic storage unit 230 in order to execute the "tool selection operation" of the tool exchanger A (step SC04). This operation logic executes a subprogram that searches for and selects a tool with a low life in the tool exchanger A. The subprogram acquires the life of each tool from the tool exchanger A via the PLC 16 or via the data management unit 150, and identifies the tool with a low life. Then, the tool changer A is instructed via the PLC 16 to select the identified short-life tool (step SC05).

[0036] On the other hand, assume that a tool selection command (T_) is issued by the control program 200 and executed by the control program execution unit 100 (step SD01). Based on the execution of the tool selection command, the control program execution unit 100 requests the interface unit 140 to execute the "tool selection operation" of the tool exchanger B (step SD02). When the interface unit 140 receives this and requests the operation management unit 160 to execute the "tool selection operation" of the tool exchanger B (step SD03), the operation management unit 160 reads out and executes the "shortest tool selection logic" for the tool exchanger B from the operation logic storage unit 230 in order to execute the "tool selection operation" of the tool exchanger B (step SD04). This operation logic executes a subprogram that searches for and selects a tool that can be selected in the shortest time for the tool exchanger B. The subprogram acquires the arrangement of each tool from the tool exchanger B via the network 5 or via the data management unit 150, and identifies the tool that can be selected in the shortest time. Then, the CPU 11 issues a command to the tool changer B via the network 5 to select the identified tool (step SD05).

[0037] As yet another example, consider a case in which two machines, a 3-axis controlled machine tool A (connected via PLC 16) and a 5-axis controlled machine tool B (connected via network 5), are controlled by the control device 1. In the data access logic storage unit 210, a "manufacturer-compliant alarm diagnosis data access logic" for the machine tool A is stored as data access logic related to the alarm diagnosis information of the machine tool A. Also, a "user-defined alarm diagnosis data access logic" for the machine tool B is stored in advance as data access logic related to the alarm diagnosis information of the machine tool B. Then, when a reference related to the alarm diagnosis information is received via the common interface, the machine tool A is defined to respond by making data access using the "manufacturer-compliant alarm diagnosis data access logic", and the machine tool B is defined to respond by making data access using the "user-defined alarm diagnosis data access logic".

[0038] At this time, it is assumed that the screen operation control section 130 of the control device 1 attempts to display a diagnosis screen for an alarm of the machine tool A on the display device 70 (step SE01). The screen operation control section 130 requests the interface section 140 to refer to data related to the "alarm diagnosis information" of the machine tool A as information necessary for displaying the screen (step SE02). When the interface section 140 receives this and requests the data management section 150 to refer to the "alarm diagnosis information" of the machine tool A (step SE03), the data management section 150 reads out and executes the "manufacturer-compliant alarm diagnosis data access logic" for the machine tool A from the data access logic storage section 210 in order to refer to the "alarm diagnosis information" of the machine tool A (step SE04). This data access logic responds with the alarm diagnosis information set by the manufacturer of the machine tool A if it is stored in the data storage section 220 (step SE05). On the other hand, if such alarm diagnostic information is not stored, a subprogram for referencing data related to machine tool A is executed, and alarm diagnostic information set by the manufacturer is obtained from machine tool A via PLC 16, and this is responded to (step SE06).

[0039] On the other hand, suppose that the screen operation control section 130 of the control device 1 attempts to display a diagnosis screen for an alarm of the machine tool B on the display device 70 (step SF01). The screen operation control section 130 requests the interface section 140 to refer to data related to the "alarm diagnosis information" of the machine tool B as information necessary for displaying the screen (step SF02). When the interface section 140 receives this and requests the data management section 150 to refer to the "alarm diagnosis information" of the machine tool B (step SF03), the data management section 150 reads out and executes the "user-defined alarm diagnosis data access logic" for the machine tool B from the data access logic storage section 210 in order to refer to the "alarm diagnosis information" of the machine tool B (step SF04). If the alarm diagnosis information set by the user of the machine tool B is stored in the data storage section 220, this data access logic responds with this (step SF05). On the other hand, if such alarm diagnostic information is not stored, a subprogram for referencing data related to machine tool B is executed, and the alarm diagnostic information set by the user is obtained from machine tool B via network 5, and this is responded to (step SF06).

[0040] As yet another example, the operation logic storage unit 230 prestores "coordinate calculation logic", "tool compensation calculation logic", and "tool path drawing logic" for machine tool A as operation logic related to tool path drawing for machine tool A, and also prestores "5-axis coordinate calculation logic", "tool compensation calculation logic", "thermal displacement compensation calculation logic", and "tool path drawing logic" for machine tool B as operation logic related to tool path drawing for machine tool B. Then, when a request to draw tool path is received via the common interface, machine tool A is defined to process tool path drawing by sequentially executing "coordinate calculation logic", "tool compensation calculation logic", and "tool path drawing logic", while machine tool B is defined to process tool path drawing by sequentially executing "5-axis coordinate calculation logic", "tool compensation calculation logic", "thermal displacement compensation calculation logic", and "tool path drawing logic".

[0041] At this time, it is assumed that a request is received from a status monitoring application operating on the fog computer 6, which is a higher-level device, to execute "tool path drawing" of the machine tool A (step SG01). The network control unit 110 requests the interface unit 140 to execute "tool path drawing" of the machine tool A (step SG02). When the interface unit 140 receives this and requests the operation management unit 160 to execute "tool path drawing" of the machine tool A (step SG03), the operation management unit 160 sequentially reads out and executes "coordinate calculation logic", "tool compensation calculation logic", and "tool path drawing logic" for the machine tool A from the operation logic storage unit 230 in order to execute "tool path drawing" of the machine tool A (step SG04). This operation logic sequentially executes calculation of the coordinate position of the machine tool A, calculation of the tool compensation, and drawing processing of the tool path based on the calculated coordinate value and tool compensation value. Then, the result of the drawing calculation is responded to the higher-level device via the interface unit 140 (step SG05).

[0042] On the other hand, suppose that a request is received from a status monitoring application operating on the fog computer 6, which is a higher-level device, to execute "tool path drawing" for the machine tool B (step SH01). The network control unit 110 requests the interface unit 140 to execute "tool path drawing" for the machine tool B (step SH02). When the interface unit 140, which has received this, requests the operation management unit 160 to execute "tool path drawing" for the machine tool B (step SH03), the operation management unit 160 sequentially reads out and executes "5-axis coordinate calculation logic", "tool compensation calculation logic", "thermal displacement compensation calculation logic", and "tool path drawing logic" for the machine tool B from the operation logic storage unit 230 in order to execute "tool path drawing" for the machine tool B (step SH04). This operation logic sequentially executes calculation of coordinate position taking into account the inclination of the spindle of the machine tool B, calculation of tool compensation, calculation of thermal displacement compensation, and drawing processing of the tool path based on the calculated coordinate value, tool compensation value, and thermal displacement compensation value. Then, the result of the rendering calculation is returned to the upper device via the interface unit 140 (step SH05).

[0043] In this way, the control device 1 having the above configuration can control machines using data access logic and operation logic for each machine to be controlled. Data access and operation for these machines are performed via a common interface provided by the interface unit 140, so developers of applications, etc. can easily access data and control machines with different specifications if they remember the specifications of the common interface. The data access logic and operation logic executed by the data management unit 150 and the operation management unit 160 absorb the differences in specifications between machines and the differences in equipment such as tools. On-site workers can use the common interface to develop their own applications to control, maintain, and manage machines, which is expected to improve development efficiency and improve the maintainability of the equipment.

[0044] Although one embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment, and can be embodied in various forms by making appropriate modifications. [Explanation of symbols]

[0045] 1 Control device 2,3,4 Machine 5. Network 6. Fog Computer 7. Cloud Server 11 CPU 12 ROM 13 RAM 14 Non-volatile memory 15,17,18,20 Interface 16 PLC 19 I / O Unit 22 Bus 30-axis control circuit 40 Servo Amplifier 50 Servo motor 70 Display device 71 Input Devices 72 External equipment 100 Control program execution unit 110 Network control section 120 I / O control section 130 Screen operation control section 140 Interface section 150 Data Management Department 160 Operation Management Department 200 Control Program 210 Data Access Logic Storage Unit 220 Data storage unit 230 Operation logic memory unit

Claims

1. In a control device for controlling an industrial machine, a data access logic storage unit that stores at least one data access logic for performing at least one of referencing and updating data related to the industrial machine; a data management unit that reads out data access logic corresponding to each industrial machine from the data access logic storage unit when accessing data from the industrial machine, and executes at least one of referencing and updating data related to the industrial machine based on the data access logic; an operation logic storage unit that stores at least one operation logic for executing control processing of the industrial machine; an operation management unit that reads out operation logic corresponding to each industrial machine from the operation logic storage unit when operating the industrial machine, and executes an operation related to the industrial machine based on the operation logic; an interface unit that provides a common interface for the data management unit and the operation management unit to access each function of the control device; Equipped with A control device that enables utilization of functions related to the industrial machine via the common interface.

2. The function is at least one of a function of performing an operation related to a tool used in the industrial machine, a function of accessing data related to the tool, and a function of lifespan management related to the tool. The control device according to claim 1 .

Citation Information

Patent Citations

  • Data processor

    JP1977006434A

  • Numerical controller and cell controller

    JP1993084631A

  • Method for managing equipment connected to controller

    JP1998124131A

  • Managing method for working data and nc device

    JP1999202917A

  • Robot control apparatus for controlling robot that supplies and dismounts work to and from machine tool

    JP2010277425A