Device, system, method, and program for managing recipe intended to control line
The system simplifies recipe and workpiece switching in simulators by associating them through production information, reducing manual effort and providing error warnings, addressing the complexity of manual correlations in existing technologies.
Patent Information
- Application Number
- JP2023047550
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies do not facilitate easy switching of recipes and workpieces in a simulator, requiring manual correlation and increasing complexity with large numbers of recipes and workpieces.
A system and method for managing recipes and workpieces using production information to associate recipes with workpieces, allowing selection-based switching and simulation execution, with warnings for discrepancies between simulated and actual operations.
Enables easy switching of recipes and workpieces by selecting production information, reducing manual correlation efforts and providing warnings for errors, thus simplifying the simulation process.
Smart Images

Figure 2024136434000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for managing recipes for controlling a line, and more particularly, to a technique for managing recipes and 3D data of workpieces. [Background technology]
[0002] In a factory, a production line processes products or their parts (called "workpieces"). The line is a production facility made up of multiple devices. Each device on the line is controlled by a control device such as a PLC (Programmable Logic Controller). The same line may process different workpieces. To accommodate this, setting information called a recipe may be used. The recipe is used as setting information for the control device. By switching the recipe set in the control device, a user can process different workpieces using the same line.
[0003] Simulation technology is also used to check the operation of the control program executed by the control device. Furthermore, technology is known that reproduces the operation of a real line, etc. in a 3D space (simulation). Recipes are also used as setting information for these simulations.
[0004] A user can check the operation of a control program or the operation of an actual line located far away from the user by looking at a simulation screen displayed on a terminal display. Such a simulation technique can be used to support the development of a control program and to check the operation of a line controlled by a control device.
[0005] Regarding a technology for supporting the development of a control program, for example, JP 2016-091066 A (Patent Document 1) discloses a support device that "searches for a search group name that matches input characters from among the names of groups in which data is classified and managed hierarchically, and displays the search group name together with the name of the parent group of the group with the search group name" (see [Abstract]). [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2016-091066 A Summary of the Invention [Problem to be solved by the invention]
[0007] According to the technology disclosed in Patent Document 1, it may be possible to manage the programs and setting information used in the control device as a project. However, the technology disclosed in Patent Document 1 does not allow easy switching of recipes and workpieces set in the simulator.
[0008] For example, a user may set a recipe in a simulator to debug a control program. In this case, the user needs to change the information of the workpiece displayed by the simulator to match the recipe. In such a case, a technology is desired that allows the user to easily switch the recipe and workpiece set in the simulator.
[0009] The present disclosure has been made in consideration of the above-described background, and an object of one aspect is to provide a technique for easily switching a recipe and a workpiece to be set in a simulator. [Means for solving the problem]
[0010] According to an embodiment, there is provided an apparatus for managing one or more recipes for controlling a line. The apparatus includes a storage for storing a project of a production process. The project includes one or more recipes and one or more pieces of production information that associate each of the one or more recipes with each of the one or more workpieces. The apparatus further includes an input unit for receiving a selection of any of the one or more pieces of production information, a control unit for executing a simulation, and an output unit for outputting an execution screen of the simulation. The control unit executes a simulation based on a first recipe and a first workpiece associated with the first production information, based on a selection of first production information from the one or more pieces of production information.
[0011] According to the above disclosure, the apparatus may execute a simulation based on a recipe and a workpiece associated with each other in response to the selection of production information. This allows the user to switch both the recipe and the workpiece used in the simulator simply by selecting the production information. As a result, the user does not need to remember the correspondence between each recipe and each workpiece.
[0012] In one aspect, the device further includes a communication unit for receiving information about one or more pieces of equipment constituting the real line and information about the real workpiece. The simulation is a simulation that reproduces the operation of the real line based on information about the one or more pieces of equipment. The control unit refers to information about the real workpiece and determines whether or not the shape of the workpiece in the simulation differs from the shape of the real workpiece. The output unit outputs a warning based on the difference between the shape of the workpiece in the simulation and the shape of the real workpiece.
[0013] According to the above disclosure, the device may reproduce the operation of a real line within a simulation. Furthermore, the device may output a warning based on a difference between the work in the simulation and the work on the real line. This allows the user to know that the work is different between the simulation and the real line. As a result, the user may know that there is a mistake in the simulation settings, or that an incorrect work is being used on the real line, etc.
[0014] In one aspect, the project includes information about the work, and the control unit changes the information about the work to indicate the first work associated with the selected first production information.
[0015] According to the above disclosure, the device can change information of the work in the project to indicate the work associated with the selected production information, so that the user can change the work sent to the simulator simply by selecting the production information.
[0016] In one aspect, the control unit executes a simulation based on a second recipe and a second workpiece associated with the second production information based on the second production information being selected while the first production information is selected.
[0017] According to the above disclosure, the device can change both the recipe and the workpiece set in the simulator simply by receiving a selective input of production information.
[0018] In one aspect, the apparatus further includes a UI (User Interface) for inputting settings of one or more pieces of production information. The input unit is configured to be able to accept, via the UI, an input of a recipe associated with each of the one or more pieces of production information and an input of a workpiece associated with each of the one or more pieces of production information.
[0019] According to the above disclosure, the apparatus can receive input of a recipe and a workpiece to be associated with production information from a user.
[0020] According to another embodiment, a system for managing one or more recipes for controlling a line is provided. The system includes a first device for managing a project of a production process and a second device for executing a simulation. The first device includes a storage for storing the project. The project includes one or more recipes and one or more pieces of production information that associate each of the one or more recipes with each of the one or more workpieces. The first device includes an input unit for receiving a selection of any of the one or more pieces of production information, and a first communication unit for transmitting the first recipe and the first workpiece associated with the first production information to the second device based on the selection of the first production information from the one or more pieces of production information. The second device includes a control unit for executing a simulation based on the received first recipe and first workpiece, and an output unit for outputting an execution screen of the simulation.
[0021] According to the above disclosure, the system may execute a simulation based on a recipe and a workpiece associated with each other in response to the selection of production information. This allows a user to switch both the recipe and the workpiece used in the simulator simply by selecting production information. As a result, the user does not need to remember the correspondence between each recipe and each workpiece.
[0022] In one aspect, the second device further includes a second communication unit for receiving information about one or more pieces of equipment constituting the real line and information about the real workpiece. The simulation is a simulation that reproduces the operation of the real line based on information about the one or more pieces of equipment. The control unit refers to information about the real workpiece and determines whether or not the shape of the workpiece in the simulation differs from the shape of the real workpiece. The output unit outputs a warning based on the difference between the shape of the workpiece in the simulation and the shape of the real workpiece.
[0023] According to the above disclosure, the system may reproduce the operation of a real line within a simulation. Furthermore, the system may output a warning based on differences between the work in the simulation and the work on the real line. This allows the user to know that the work is different between the simulation and the real line. As a result, the user may know that there is a mistake in the simulation settings, or that the wrong work is being used on the real line, etc.
[0024] In one aspect, the project includes information about the work, and the first device changes the information about the work to indicate the first work associated with the selected first production information.
[0025] According to the above disclosure, the system can change the information of the work in the project to indicate the work associated with the selected production information, so that the user can change the work sent to the simulator simply by selecting the production information.
[0026] In one aspect, the first communication unit transmits information about a second recipe and a second workpiece associated with the second production information to the second apparatus based on the second production information being selected while the first production information is selected.
[0027] According to the above disclosure, the system can change both the recipe and the workpiece set in the simulator simply by accepting a selective input of production information.
[0028] In one aspect, the first device further includes a UI for inputting settings of one or more pieces of production information. The input unit is configured to be able to accept, via the UI, an input of a recipe associated with each of the one or more pieces of production information and an input of a workpiece associated with each of the one or more pieces of production information.
[0029] According to the above disclosure, the system can accept input of a recipe and a work to be associated with production information from a user.
[0030] In one aspect, when transmitting the first recipe to the second apparatus, the first communication unit excludes 3D (Dimensional) data transmitted in advance to the second apparatus from the transmission data.
[0031] According to the above disclosure, when transmitting a recipe from a first device to a second device, the system may exclude the 3D data previously sent to the second device from the transmitted data. As a result, the system may reduce the amount of communication between the first device and the second device.
[0032] According to another embodiment, a method for managing one or more recipes for controlling a line is provided. The method includes storing a project of a production process in a storage. The project includes one or more recipes and one or more production information items that associate each of the one or more recipes with each of the one or more workpieces. The method includes accepting a selection of any of the one or more production information items, running a simulation, and outputting an execution screen of the simulation. Running the simulation includes running a simulation based on a first recipe and a first workpiece that are associated with the first production information based on a selection of first production information from the one or more production information items.
[0033] According to the above disclosure, the method may execute a simulation based on a recipe and a workpiece associated with each other in response to the selection of production information. This allows a user to switch both the recipe and the workpiece used in the simulator by simply selecting production information. As a result, the user does not need to remember the correspondence between each recipe and each workpiece.
[0034] According to yet another embodiment, a program for managing one or more recipes for controlling a line is provided. The program causes a computer to save a project of a production process in a storage. The project includes one or more recipes and one or more pieces of production information that associate each of the one or more recipes with each of the one or more workpieces. The program further causes the computer to accept a selection of any of the one or more pieces of production information, execute a simulation, and output an execution screen of the simulation. Executing the simulation includes executing a simulation based on a first recipe and a first workpiece associated with the first production information based on a selection of first production information from the one or more pieces of production information.
[0035] According to the above disclosure, a computer that executes a program can execute a simulation based on a recipe and a workpiece that are associated with each other in response to the selection of production information. This allows a user to switch both the recipe and the workpiece used in the simulator by simply selecting production information. As a result, the user does not need to remember the correspondence between each recipe and each workpiece. Effect of the Invention
[0036] According to an embodiment, it is possible to easily switch the recipe and workpiece set in the simulator.
[0037] The above and other objects, features, aspects and advantages of the present disclosure will become apparent from the following detailed description of the disclosure taken in conjunction with the accompanying drawings. [Brief description of the drawings]
[0038] [Figure 1] FIG. 1 is a diagram illustrating an application example of the technology of the present disclosure. [Diagram 2] FIG. 1 shows an example of a configuration of a system 20 according to the present embodiment. [Diagram 3]It is a diagram showing an example of the configuration of the first device 200 and the second device 210. [Figure 4] It is a diagram showing an example of the data structure of a project. [Diagram 5] It is a diagram showing an example of the display of the execution result of a simulation. [Figure 6] It is a diagram showing a first example of an editing screen for production information. [Figure 7] It is a diagram showing a second example of an editing screen for production information. [Figure 8] It is a diagram showing a third example of an editing screen for production information. [Figure 9] It is a diagram showing a fourth example of an editing screen for production information. [Figure 10] It is a diagram showing a fifth example of an editing screen for production information. [Figure 11] It is a diagram showing a sixth example of an editing screen for production information. [Figure 12] It is a diagram showing an example of the procedure of recipe switching processing executed by the system 20. [Figure 13] It is a diagram showing an example of the procedure of warning output processing executed by the second device 210. [Figure 14] It is a diagram showing an example of a warning screen. [Figure 15] It is a diagram showing an example of the state of reduction of data transferred from the first device 200 to the second device 210. [Figure 16] It is a diagram showing an example of a transfer setting screen. [Figure 17] It is a diagram showing an example of a project screen.
Embodiments for Carrying Out the Invention
[0039] Hereinafter, embodiments of the technical idea according to the present disclosure will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed descriptions thereof will not be repeated.
[0040] <A. Application Example> Fig. 1 is a diagram showing an application example of the technology of the present disclosure. With reference to Fig. 1, an operation example of a system to which the technology of the present disclosure can be applied, a problem when switching recipes, and terms used in this specification will be described.
[0041] The technology disclosed herein facilitates switching between recipes and workpieces. A recipe is setting information that is applied to a control device that controls a line. In other words, a recipe can also be said to be setting information for a manufacturing process. For example, recipe A indicates manufacturing process A for workpiece A, and recipe B indicates manufacturing process B for workpiece B. When recipe A is applied (set), the control device controls the line to process workpiece A. Similarly, when recipe B is applied (set), the control device controls the line to process workpiece B.
[0042] The recipe is also used as a setting for a simulation. The simulation here is a simulation of the operation of any line, such as a production line or an inspection line in a factory. A simulator with a recipe set therein reproduces the line in a 3D space. Also, a simulator with a recipe set therein reproduces the operation of a control device using an emulation function.
[0043] The control device and simulator may use some or all of the data included in the recipe. The recipe includes, as an example, the variable values of the control program of the control device. The recipe also includes 3D data (CAD (Computer Aided Design) data) and the like. The 3D data here includes, for example, 3D data of the workpiece, and 3D data of each piece of equipment and each object (such as a base and a frame) that constitutes the line.
[0044] The control device may control the line based on the values of variables included in the recipe. As an example, the control device may control the line to process workpiece A based on the values of variables in recipe A. As another example, the control device may control the line to process workpiece B based on the values of variables in recipe B. The simulator reproduces the line in 3D space based on the 3D data included in the recipe. The simulator may also reproduce the operation of the control device using an emulation function based on the values of variables included in the recipe. In this way, the recipe may be used for two purposes: operating an actual line and running a simulation.
[0045] The technology disclosed herein can reduce the man-hours required for debugging a control program by facilitating the switching of recipes and workpieces set in a simulator. Furthermore, the technology disclosed herein can easily reproduce the operation of a real production line in a simulation by facilitating the switching of recipes and workpieces set in a simulator.
[0046] (a. Example of operation of a system to which the technology of the present disclosure can be applied) The recipe includes various settings required to execute a simulation. For example, the recipe may include 3D data for reproducing a line, 3D data for a robot, values of variables for a control program, and any other data required to execute a simulation.
[0047] The system 20 (see FIG. 2), the first apparatus 200 (see FIG. 2), or the second apparatus 210 (see FIG. 2) executes a simulation based on the selected recipe. The first apparatus 200 and the second apparatus 210 have a function of independently executing a simulation. Therefore, in the following description, the system 20 in this specification may be read as the first apparatus 200 or the second apparatus 210. The user can switch the simulation to be executed by the system 20 by switching the recipe. More specifically, the user sets or inputs the recipe to an integrated development environment (IDE) 310 (see FIG. 3) or a simulator 320 (see FIG. 3) executed by the system 20. The IDE 310 and the simulator 320 have a function of independently executing a simulation. Therefore, in the following description, the simulator 320 may be read as the IDE 310. The simulator 320 interprets the recipe and executes the simulation. The simulator 320 outputs a simulation execution screen.
[0048] As an example, a user switches recipes when he wants to process different workpieces on the same or similar line. For example, assume that line X corresponds to the processing of workpiece A and workpiece B. Also assume that the recipe corresponding to the processing of workpiece A is recipe A, and the recipe corresponding to the processing of workpiece B is recipe B. When processing workpiece A and when processing workpiece B, each device included in line X needs to operate differently. Also, when processing workpiece A and when processing workpiece B, the platform on which the workpiece is fixed and the tool at the tip of the robot that processes the workpiece may be different. The recipe includes information on the operation of each device, the platform, the tool of the robot, and any other setting information required for switching the line. When the user wants simulator 320 to reproduce the processing of workpiece A on line X, the user sets or inputs recipe A to simulator 320. When the user wants simulator 320 to reproduce the processing of workpiece B on line X, the user sets or inputs recipe B to simulator 320.
[0049] 1, a simulation execution screen 101 is an execution screen for a simulation of recipe A. An execution screen 102 is an execution screen for a simulation of recipe B. A user can check the operation of a line corresponding to the machining of different workpieces by switching between recipes A and B. In other words, a user can check the operation of a control program corresponding to the machining of different workpieces by switching between recipes A and B.
[0050] There are two main uses for the simulation function of the system 20. The first use is to debug a control program. The second use is to reproduce the operation of an actual line. These uses will be explained in order below.
[0051] First, the first application, debugging of a control program, will be described. A user creates a control program to operate a line. The control program is installed in a control device 220 such as a PLC (see FIG. 2). To debug the control program, the user needs to check the operation of each device controlled by the control device 220. However, the line is not necessarily completed when the control program is implemented. Furthermore, when an actual line is operated, debugging takes time, and a large amount of work may be discarded. Therefore, the simulator 320 provides an emulation function that reproduces the operation of the control device 220 and a simulation function that reproduces the operation of the line. That is, the simulator 320 includes an emulator and a simulator.
[0052] As an example, a user implements a control program for machining a workpiece A by a line X. In this case, the user sets a recipe A corresponding to the workpiece A in the simulator 320. The simulator 320 emulates the operation of the control device 220 based on the values of variables of the control program included in the recipe A. The simulator 320 also reproduces the line X in a 3D space based on 3D data and the like included in the recipe A. By using the simulator 320, the user can check how the line X operates according to the control program. As a result, the user does not need to build an actual line and can quickly check the execution result of the control program. Furthermore, the user can reduce the man-hours required for developing the control program.
[0053] Next, the reproduction of the operation of an actual line, which is the second use, will be described. After the operation of the line, the user needs to check whether the line is operating normally. However, it is a heavy burden for the user to be in a place where the line can be checked at all times. In addition, the user may want to check the operation of a line in a remote location. Therefore, the system 20 provides a function of reproducing the operation of a real line in a 3D space.
[0054] More specifically, the second device 210 has a function of managing one or more control devices 220. The second device 210 may set a recipe or a part of the recipe (variables of the control program, etc.) in one or more control devices 220. The one or more control devices 220 may control the actual line based on the recipe or a part of the recipe. Each of the one or more control devices 220 transmits commands to each device and values of signals acquired from each sensor to the second device 210. According to an embodiment, each of the one or more control devices 220 may transmit internal information held by the device itself to the second device 210. The internal information includes values of commands to each device and values of signals acquired from each sensor. According to another embodiment, each of the one or more control devices 220 may transmit values of variables of the control program to the second device 210. According to another embodiment, each of the one or more control devices 220 may transmit physical quantities of the positions of each device calculated from the values of variables of the control program to the second device 210. The physical quantities may include, for example, angles of joints of a robot. The second apparatus 210 reproduces the operation of an actual line in a 3D space based on various information received from the control device 220. Therefore, it can be said that the control device 220 operates according to a recipe, and the second apparatus 210 imitates the operation of an actual line.
[0055] As an example, a user wants to check how a workpiece A is being machined on an actual line X. In this case, the system 20 (the second device 210) sets the recipe A (or a part of the recipe A) in one or more control devices 220. The one or more control devices 220 control the line based on the recipe A. The one or more control devices 220 transmit commands to each device and values of signals acquired from each sensor to the system 20 (the second device 210). The system 20 (the second device 210) reproduces a line in a 3D space based on various 3D data included in the recipe A. Each device included in the line in the 3D space is the same as each device included in the actual line. In addition, the system 20 operates each device arranged in the 3D space based on various information received from the one or more control devices 220. That is, the system 20 links each device arranged in the 3D space with each actual device. In this way, the user can check the operation of the actual line by viewing the execution screen of the simulation. As a result, a user does not need to be in a position where he or she can see the actual line, for example, and can also check the operation of a line in a remote location.
[0056] Furthermore, the system 20 has a warning function in addition to the simulation function. Assume that the system 20 is used for the second purpose of reproducing the operation of an actual line. In this case, there is a possibility that the work on the line reproduced in the 3D space differs from the work on the actual line. This situation may occur due to a mistake in the simulation settings or a human error on the actual line. Therefore, the system 20 outputs a warning based on the difference between the work on the line reproduced in the 3D space and the work on the actual line.
[0057] More specifically, the system 20 acquires an image or video of a workpiece captured by a camera installed on the actual line. Next, the system 20 compares the shape of the workpiece captured in the image or video with the shape of the workpiece in the simulation. The system 20 outputs a warning based on the fact that the shape of the workpiece captured in the image or video does not match the shape of the workpiece in the simulation. As another example, the system 20 may estimate the shape of the workpiece on the actual line by one or more sensors. In this case, the system 20 compares the shape of the workpiece estimated from the output signals of the one or more sensors with the shape of the workpiece in the simulation. The system 20 outputs a warning based on the fact that the shape of the workpiece estimated from the output signals of the one or more sensors does not match the shape of the workpiece in the simulation.
[0058] According to one embodiment, the system 20 may display a warning on the display of the first apparatus 200 or the second apparatus 210. According to another embodiment, the system 20 may transmit information including a warning to a user's terminal. According to yet another embodiment, the system 20 may display a warning on the display of the first apparatus 200 or the second apparatus 210 and transmit information including a warning to a user's terminal. In this way, the user can understand that the work in the simulation and the work on the actual line are different. The work in the simulation is a work associated with a recipe set in the simulator.
[0059] (b. Issues when switching recipes) Next, problems caused by switching recipes will be described. As described above, a user can change the operation of the control device 220 by switching recipes. That is, a user can change the manufacturing process in the same line by switching recipes. Also, a user can cause the system 20 to execute simulations corresponding to various workpieces by switching recipes.
[0060] However, when the recipe is switched, the user must set or re-input the workpiece corresponding to the switched recipe in the system 20. This is because the recipe and the workpiece are not directly related to each other. The recipe includes information that defines the operation of each device on the line. In contrast, the workpiece information indicates what is processed by the line and is data separate from the recipe. In the conventional technology, when the user switches the recipe set in the simulator, the user must also manually change the workpiece information set in the simulator. In such a situation, if there are many recipes, the number of works also increases, making the recipe switching work complicated.
[0061] Therefore, the system 20 provides the user with a function for adding data called production information for associating a recipe with a workpiece to a project. Once the user defines the production information, the user does not need to remember the correspondence between the recipe and the workpiece. Furthermore, the user can set both the recipe and the workpiece in the system 20 simply by selecting the production information. Based on receiving an input of the selection of the production information, the system 20 can execute a simulation using the recipe and the workpiece associated with the production information.
[0062] (c. Terms Used in This Specification) In this specification, the term "system" includes a configuration consisting of one or more devices, and a server. The system also includes a virtual machine or a container constructed in a cloud environment, or a configuration consisting of at least a part of these. The device may be any information processing device such as a personal computer, a workstation, a server device, a tablet, or a smartphone. The device may also be a combination of these.
[0063] According to one embodiment, the system may be connected to input / output devices such as a display and a keyboard for use by a user. According to another embodiment, the system may provide various functions to a user as a service or web application via a network. In this case, the user may use the functions of the system via a browser or client software installed on his / her terminal.
[0064] In addition, when a system is composed of one device, the system may be read as a device. For example, the technology of the present disclosure may be executed by the first device 200 or the second device. Therefore, the system 20 in this specification may be read as the first device 200 or the second device 210.
[0065] In this specification, a "project" is a unit for managing the production process to be executed by a line. As an example, a project may be created for each line. A project includes at least one or more recipes, one or more pieces of work information, and one or more pieces of production information as elements. The information on the work may be 3D data of the work, or may be information indicating the position of the 3D data of the work (such as an address in memory).
[0066] As an example, the project includes recipe A and recipe B. In this case, the project may further include production information A that associates recipe A with work A, and production information B that associates recipe B with work B. According to an embodiment, the project may include 3D data of a plurality of workpieces as information of the work. For example, the information of the work may include 3D data of work A and 3D data of work B. In this case, the system 20 sets or outputs the 3D data of the recipe A and the workpiece A in the project to the simulator based on the selection of the production information A. According to another embodiment, the project may include information indicating the position of the 3D data of the workpiece (such as an address in memory) as information of the workpiece. In this case, the system 20 changes the reference destination of the information of the workpiece in the project to the 3D data of the workpiece A based on the selection of the production information A. Based on the selection of the production information A, the system 20 sets or outputs the 3D data of the workpiece A indicated by the information of the recipe A and the workpiece in the project to the simulator.
[0067] According to an embodiment, the system 20 may manage the recipe, work information, and production information on an apparatus basis. For example, assume that there are two second apparatuses 210 (e.g., second apparatus A and second apparatus B). In this case, a project may include a recipe, work information, and production information for setting the second apparatus A, and a recipe, work information, and production information for setting the second apparatus B. Similarly, a project may include a recipe, work information, and production information for setting three or more apparatuses.
[0068] In this specification, the "recipe" corresponds to the setting information of the control device 220 and the simulator 320. The recipe may include variables of the control program, settings of the tool at the tip of the robot, settings of the platform on which the workpiece is placed, and any other settings. The system 20 may change the operation of the actual line by setting the recipe to one or more control devices 220. The system 20 may also change the operation of the simulation by setting the recipe to the simulator 320. The project includes one or more recipes as elements. According to an embodiment, the recipe may be set not to the control device 220 but to the second device 210 that manages the control device 220. In this case, the second device 210 may set values of variables of the control program included in the recipe to each of one or more control devices under its management. The second device 210 may also set any information included in the recipe to each of one or more control devices under its management. Alternatively, the second device 210 may set the recipe itself to each of one or more control devices under its management.
[0069] In this specification, a "work" refers to an object to be processed, manufactured, and / or inspected on a line. A work includes machine parts, electronic parts, food products, and any other objects. A work transmitted as data in this specification includes 3D data of a work or data indicating the location of the 3D data of a work. A project includes, as an element, 3D data of one or more workpieces, or data indicating the location of the 3D data of any workpiece.
[0070] In this specification, "3D data" refers to CAD data designed by CAD software. Alternatively, the 3D data may be data designed by other 3D modeling software. Alternatively, the 3D data may be data generated from the results of a scan by a 3D scanner or the like.
[0071] In this specification, a "line" refers to a facility for manufacturing, processing, and / or inspecting a workpiece. A line may be composed of a combination of robots, sensors, conveyor belts, and any other equipment.
[0072] In this specification, a "simulator" has a function of reproducing the operation of a line. Further, the simulator has a function of emulating the operation of a control device. Further, the simulator has a function of interlocking the emulation function of the control device and the simulation function of the operation of the line. A user can use the function to debug a control program. Further, the simulator has a function of reproducing the operation of an actual line based on various information obtained from the control device. A user can use the function to remotely check the operation of an actual line, for example.
[0073] The simulator in this specification can operate an object in 3D space based on a signal from an emulator. Further, the simulator in this specification can operate an object in 3D space based on various information obtained from the control device. In this way, the simulator can change the position of an object arranged in 3D space based on numerical information obtained from the outside. That is, it can be said that the simulator is a visualizer that visualizes the movement of an object based on information obtained from the outside. Therefore, the simulator 320 in this specification may be read as a visualizer. Further, the IDE 310 may be read as having a function of a visualizer. Further, in this specification, the simulation may be read as a visualization process. Similarly, the execution of the simulation may be read as the execution of the visualization process. The visualization process includes operating an object in 3D space based on information obtained from an emulator or a control device and outputting the state of the operation.
[0074] <B. Configuration of the System According to the Present Embodiment> FIG. 2 is a diagram showing an example of the configuration of the system 20 according to the present embodiment. The system 20 includes one or more first devices 200 and one or more second devices 210. The system 20 (first device 200) can link the emulation function of the control device 220 with a simulation function of the line operation. This allows a user to debug a control program before constructing a real line. Furthermore, the system 20 (second device 210) can receive various signals from the external control device 220 as necessary to reproduce the operation of the real line. This allows a user to remotely monitor the operation of the real line. Furthermore, a user can edit a project using the first device 200 and transmit all or a part of the edited project to the second device 210. The second device 210 can execute a simulation based on all or a part of the received project.
[0075] According to an embodiment, the system 20 may include one or more first devices 200, but may not include one or more second devices 210. In this case, the system 20 (first device 200) may link the emulation function of the control device 220 with the simulation function of the line operation. This allows a user to debug a control program before constructing an actual line.
[0076] Also, according to another embodiment, the system 20 may include one or more second devices 210, but may not include one or more first devices 200. In this case, the system 20 (second device 210) may receive various signals from the control device 220 as necessary to reproduce the operation of the real line. This allows the user to remotely monitor the operation of the real line.
[0077] The first device 200 is used as a terminal by a user. The first device 200 is mainly used for developing a control program and editing a production process project. The first device 200 is equipped with an IDE 310 for developing a control program and editing a production process project. The project includes one or more recipes, one or more pieces of production information, and information about one or more workpieces.
[0078] The second device 210 manages one or more control devices 220. More specifically, the second device 210 transmits a recipe or a part of the recipe (variables of a control program, etc.) set by a user to one or more control devices 220. Each of the one or more control devices 220 controls the real line 230 based on the set recipe or a part of the recipe (variables of a control program, etc.). The second device 210 also reproduces the operation of the real line 230 in a 3D space (simulation) based on various information acquired from the one or more control devices 220. The second device 210 includes a simulator 320 for reproducing the operation of the real line 230 in a 3D space (simulation). The first device 200 and the second device 210 include similar simulation functions. The second device 210 also includes a function for determining whether or not the work in the simulation matches the work on the real line. The second device 210 outputs a warning when the work in the simulation does not match the work on the real line.
[0079] The control device 220 controls one or more devices 232 on the real line 230 and acquires signals from one or more sensors 234. The control device 220 receives a recipe or a part of a recipe (variables of a control program, etc.) from the second device 210. The control device 220 changes variables of the control program in the control device based on the received information. The control device 220 processes, for example, a workpiece on the real line 230 based on the control program in which the values of the variables are set. Each of the one or more control devices 220 transmits commands to each device 232 and signals obtained from each sensor 234 to the second device 210. The second device 210 reproduces the operation of the real line 230 in a 3D space based on the information received from each control device 220.
[0080] The real line 230 is a production facility or an inspection facility that is composed of one or more devices 232 and one or more sensors 234. The real line 230 is controlled by one or more controllers 220. The devices 232 are robots or other industrial machines that compose the real line 230. Each device 232 operates based on an instruction sent from the controller 220. The sensor 234 converts the reaction of the sensor element into an electrical signal and outputs the electrical signal to the controller 220. The sensor 234 may output an analog signal or a digital signal.
[0081] When the user debugs the control program, there is no need to reproduce the operation of the real line 230, and no information from the control device 220 is required. Therefore, when the user debugs the control program, the user may use only the first device 200. When the user remotely monitors the real line 230, it is necessary to reproduce the operation of the real line 230, and information from the control device 220 is also required. Therefore, when the user remotely monitors the real line 230, the user uses the second device 210. Also, the user may edit the project in the first device 200 and cause the second device 210 to execute a simulation. In this case, the user uses the IDE 310 of the first device 200 to edit the project and transmit a part of the project to the second device 210. Also, the user causes the simulator 320 of the second device 210 to execute a simulation.
[0082] According to an embodiment, a user may manage a project and execute a simulation by the second device 210. In this case, the second device 210 is a device that manages one or more recipes for controlling a line. The second device 210 also includes a storage 303 (see FIG. 3) that stores a project 450 (see FIG. 4) of a production process. The project 450 includes one or more recipes and one or more pieces of production information that associate each of the one or more recipes with each of the one or more workpieces. The second apparatus 210 further includes an input unit (input IF 305 (see FIG. 3)) for accepting a selection of one or more pieces of production information, a control unit (processor 301 (see FIG. 3)) for executing a simulation, and an output unit (output IF 306 (see FIG. 3)) for outputting a simulation execution screen. The control unit (processor 301) executes a simulation based on a first recipe and a first work associated with the first production information based on the selection of first production information from one or more pieces of production information. In practice, the control unit (processor 301) may execute a simulation based on receiving an input of an execution command for a simulation from a user. The control unit (processor 301) executes a simulation based on the production information that was selected when the input of the execution command was received.
[0083] According to another embodiment, a user may manage and edit a project by the first device 200 and execute a simulation by the second device 210. The system 20 includes the first device 200 that manages a project of a production process and the second device 210 that executes a simulation. The first device 200 includes a storage 303 that stores a project 450. The project 450 includes one or more recipes and one or more pieces of production information that associate each of the one or more recipes with each of the one or more workpieces. The first device 200 includes an input unit (input IF 305) for receiving a selection of one or more pieces of production information, and a first communication unit (communication IF 307) for transmitting the first recipe and the first workpiece associated with the first production information to the second device based on the selection of the first production information from the one or more pieces of production information. The second device 210 includes a control unit (processor 301) for executing a simulation based on the received first recipe and first workpiece, and an output unit (output IF 306) for outputting an execution screen of the simulation. In practice, the control unit (processor 301) may execute a simulation based on receiving an input of a command to execute a simulation from a user. The control unit (processor 301) executes the simulation based on the production information that was set when the input of the command to execute the simulation was received.
[0084] Furthermore, the second device 210 outputs a warning when the work in the simulation does not match the work on the real line. More specifically, the second device 210 further includes a communication unit (communication IF 307 (see FIG. 3)) for receiving information on one or more pieces of equipment constituting the real line and information on the real work. The simulation is a simulation that reproduces the operation of the real line 230 based on information on one or more pieces of equipment. The control unit (processor 301) refers to information on the real work, and determines whether the shape of the work in the simulation is different (or whether they match) from the shape of the real work shown in the image. The output unit (output IF 306) outputs a warning based on the difference between the shape of the work in the simulation and the shape of the real work.
[0085] The information on the one or more devices may be commands from the control device 220 to each device and the values of signals acquired by the control device 220 from each sensor. The information on the one or more devices may be internal information stored in the control device 220 indicating the state of each device and the signal of each sensor. The information on the one or more devices may be the values of variables of a control program. The information on the one or more devices may also be the physical amount of the position of each device calculated from the values of variables of a control program. The physical amount may include, for example, the angle of a joint of a robot. The information on the real workpiece may be, for example, a photo or video of the workpiece captured by a camera. The information on the real workpiece may also be a signal related to the shape of the workpiece obtained from one or more sensors. The second device 210 may display a warning on the display of the second device 210. The second device 210 may also transmit a message including a warning to the first device 200. In this case, the first device 200 may display a warning on the display of the first device 200.
[0086] FIG. 3 is a diagram showing an example of the configuration of the first device 200 and the second device 210. The first device 200 and the second device 210 may realize the technology disclosed in this specification by executing a program on the hardware shown in FIG. 3. The first device 200 and the second device 210 include a processor 301, a memory 302, a storage 303, an external device IF 304, an input IF 305, an output IF 306, and a communication IF 307. According to an embodiment, the control device 220 may include a part or all of the configuration shown in FIG. 3 as a part of the configuration. The storage 303 stores an IDE 310 and / or a simulator 320. The IDE 310 and the simulator 320 are programs.
[0087] The processor 301 may execute a program for implementing various functions of the first device 200 or the second device 210. The processor 301 may be configured, for example, with at least one integrated circuit. According to an embodiment, the processor 301 may include, for example, at least one central processing unit (CPU), at least one graphics processing unit (GPU), at least one field programmable gate array (FPGA), at least one application specific integrated circuit (ASIC), or a combination thereof.
[0088] The memory 302 stores programs executed by the processor 301 and data referenced by the processor 301. In one aspect, the memory 302 can be realized by a dynamic random access memory (DRAM), a static random access memory (SRAM), or the like.
[0089] Storage 303 is a non-volatile memory, and stores programs executed by processor 301 and data referenced by processor 301. In this case, processor 301 executes programs read from storage 303 to memory 302, and references data read from storage 303 to memory 302. In one aspect, storage 303 can be realized by a hard disk drive (HDD), a solid state drive (SSD), an erasable programmable read only memory (EPROM), an electrically erasable programmable read only memory (EEPROM), a flash memory, or the like.
[0090] The external device IF 304 can be connected to any external device such as a printer, a scanner, an external HDD, etc. In one aspect, the external device IF 304 can be realized by a USB (Universal Serial Bus) terminal or the like.
[0091] The input IF 305 may be connected to any input device such as a keyboard, a mouse, a touch pad, a game pad, etc. In one aspect, the input IF 305 may be realized by a USB terminal, a PS / 2 terminal, a Bluetooth (registered trademark) module, or the like.
[0092] The output IF 306 can be connected to any output device such as a cathode ray tube display, a liquid crystal display, an organic EL (Electro-Luminescence) display, etc. In one aspect, the output IF 306 can be realized by a USB terminal, a D-sub terminal, a DVI (Digital Visual Interface) terminal, an HDMI (High-Definition Multimedia Interface) terminal, a DisplayPort terminal, etc.
[0093] The communication IF 307 is connected to other devices via a wired network or a wireless network. In one aspect, the communication IF 307 may be realized by a wired LAN (Local Area Network) port, a Wi-Fi (Wireless Fidelity) (registered trademark) module, or the like. In another aspect, the communication IF 307 may transmit and receive data using a communication protocol such as TCP / IP (Transmission Control Protocol / Internet Protocol) or UDP (User Datagram Protocol).
[0094] The IDE 310 is an integrated development environment. The IDE 310 includes an editor for writing a control program and a debugger for the control program. The IDE 310 also provides a function for executing a simulation and a function for editing the settings of the simulation. The IDE 310 also has a function for managing a project of a production process. As an example, the IDE 310 has a function for adding, updating, and deleting a project. The IDE 310 also has a function for adding, updating, and deleting a recipe, work information, and production information in the project. The IDE 310 also has a function for setting a part or all of the data in the project in another device. The other device here is the control device 220 or a second device 210 that manages one or more control devices 220, etc. The IDE 310 also has a function for executing a simulation based on a part or all of the data in the project. For example, the IDE 310 may execute a simulation based on the recipe and work information in the project. The recipe and work information are associated by production information.
[0095] The simulator 320 provides a function of executing a simulation and a function of editing the settings of the simulation. The simulator 320 also has a function of managing a project of a production process. As an example, the simulator 320 has a function of adding, updating, and deleting a project. The simulator 320 also has a function of adding, updating, and deleting a recipe, work information, and production information in the project. The simulator 320 also has a function of setting a part or all of the data in the project to another device. The other device here is the control device 220 or the second device 210 that manages one or more control devices 220, etc. The simulator 320 also has a function of executing a simulation based on a part or all of the data in the project. For example, the simulator 320 may execute a simulation based on the recipe and work information in the project. The recipe and work information are associated by the production information. The simulator 320 also has a function of receiving various information from one or more control devices 220 and reproducing the operation of the actual line 230 in a 3D space.
[0096] It can be said that IDE310 is a program that adds the functions of simulator 320 to the development environment of the control program. According to an embodiment, the first device 200 may include IDE310, and the second device 210 may include simulator 320. In this case, the user uses the first device 200 to develop the control program and edit the simulation settings. Also, the user uses the second device 210 to execute the simulation. At that time, the second device 210 acquires the simulation settings (recipe and 3D data of the workpiece) from the first device 200.
[0097] <C. Data Configuration of the Project> FIG. 4 is a diagram showing an example of the data structure of the project. Project 400 does not include production information. Project 450 includes production information. By comparing Project 400 and Project 450, it will be explained how the project management changes depending on the presence or absence of production information. In the example of FIG. 4, both Project 400 and Project 450 include three recipes.
[0098] (a. Data Configuration of a Project without Production Information) First, the recipe switching operation when using Project 400 will be described. Project 400 includes an application manager 410, a recipe manager 420, and 3D data of one or more workpieces (Workpiece 1 to 3).
[0099] The application manager 410 manages data on an apparatus (application) basis, for example, for managing recipes of the second apparatus 210 and the like. According to an embodiment, the application manager 410 may be a setting file or script for managing applications. For example, assume that the project 400 includes settings for two apparatuses (apparatus A and apparatus B). In this case, the project 400 includes an application A corresponding to the apparatus A and an application B corresponding to the apparatus B. The applications A and B are settings for each apparatus. Hereinafter, "application" refers to the settings of a simulation on an apparatus basis managed by the application manager 410. In the example of FIG. 4, the project 450 includes a single application. The application of the project 400 includes CAD data for each of the workpieces 1 to 3 and each of the recipes 1 to 3.
[0100] The recipe manager 420 manages recipes. According to an embodiment, the recipe manager 420 may be a configuration file or a script for managing recipes. Each recipe managed by the recipe manager 420 corresponds to, for example, each work. Assume that the user wants to switch recipe 1 to recipe 2. In this case, the user may change the recipe set in the simulator 320 from recipe 1 to recipe 2 by the recipe manager 420. However, recipes 1 to 3 and works 1 to 3 are not associated with each other. Therefore, the user needs to change the work set in the simulator 320 as well. That is, the user needs to select 3D data of the work to be used in recipe 2 from one or more works registered in the project 400. For example, when there are dozens of recipes, it is difficult for the user to grasp the relationship between each recipe and each work. Therefore, in order to solve this problem, the system 20 provides a data structure such as the project 450.
[0101] (b. Data structure of project including production information) Next, a description will be given of a recipe switching operation when using the project 450. Like the project 400, the project 450 includes an application manager 410 and a recipe manager 420. Also, unlike the project 400, the project 450 includes a production information manager 430 and work information 440.
[0102] The production information manager 430 manages the production information. The production information is information that associates a recipe with a work. For example, the production information 1 is information that associates the recipe 1 with the work 1. According to an embodiment, the production information manager 430 may be a setting file or a script for managing the production information. The user may register the production information in the project 450 via a UI provided by the system 20. More specifically, the user may define the production information by associating the recipe registered in the system 20 with the 3D data of the work. The user may select a combination of a recipe and a work by selecting the production information registered in the project 450. For example, it is assumed that the production information 1 is currently selected. In this case, the system 20 inputs the recipe 1 and the work 1 to the simulator 320. The simulator 320 executes a simulation based on the recipe 1 and the work 1. Next, it is assumed that the user selects the production information 2. In this case, the system 20 selects the recipe 2 and the work 2 instead of the recipe 1 and the work 1, and inputs the recipe 2 and the work 2 to the simulator 320. In practice, the system 20 inputs recipe 2 and workpiece 2 to the simulator 320 based on receiving an instruction to input settings to the simulator 320 from a user. The simulator 320 executes a simulation based on recipe 2 and workpiece 2. In practice, the simulator 320 executes a simulation based on receiving an instruction to execute a simulation from a user. According to an embodiment, the production information may include any information other than the recipe and the workpiece. For example, the production information may include information on a tool attached to a robot, information on a platform on which a workpiece is placed, and the like.
[0103] The work information 440 is any information indicating 3D data of the work. For example, the work information 440 may be 3D data of the work, or may be data indicating the position of the 3D data of the work (such as an address in memory). The work information 440 indicates the work associated with the selected production information. For example, when production information 1 is selected, the work information 440 indicates the work 1. At this time, the work information 440 may be 3D data of the work 1, or may be data indicating the position of the 3D data of the work 1. The system 20 inputs the 3D data of the work indicated by the work information 440 to the simulator 320.
[0104] As described above, a user can associate a recipe with a workpiece by the production information. Also, a user can select both the recipe and the workpiece to be input to the simulator 320 by selecting production information. The workpiece information 440 indicates the workpiece associated with the selected production information. The system 20 inputs or transmits the selected recipe and the selected workpiece (the workpiece indicated by the workpiece information 440) to the simulator 320. In this way, by registering the production information in the project 450 in advance, the user does not need to remember the correspondence between each recipe and each workpiece. The user can select both the recipe and the workpiece to be input to the simulator 320 at once by simply selecting the production information. This reduces the burden on the user and also reduces mistakes in the combination of recipes and workpieces.
[0105] As an example, suppose that recipe 1 and work 1 are set in the second device 210. In this case, suppose that the second device 210 is used to debug the control program. At this time, the second device 210 emulates the operation of the control device 220 using the values of the variables of the control program included in recipe 1. Also, the second device 210 reproduces a line in a 3D space using the 3D data included in recipe 1. The line may be a line before construction. The second device 210 reproduces the operation of the line by coordinating the emulation function and the simulation function. At this time, the work 1 is used in the 3D space. The second device 210 outputs the execution result of the simulation in which the work 1 is displayed.
[0106] As another example, suppose that recipe 1 and work 1 are set in the second device 210. In this case, suppose that the second device 210 is used to reproduce the operation of the real line 230. At this time, the second device 210 transmits the values of variables of the control program included in recipe 1 to one or more control devices 220. The control device 220 controls the real line 230 based on the received settings (values of variables). The control device 220 transmits commands to each device and values of signals acquired from each sensor to the second device 210. The commands to each device and values of signals acquired from each sensor may be internal information temporarily stored in the control device 220. According to an embodiment, the control device 220 may transmit the values of variables of the control program to the second device 210. According to another embodiment, the control device 220 may transmit the physical amount of the position of each device calculated from the values of variables of the control program to the second device 210. The physical amount may include, for example, the angle of a joint of a robot. Next, the second device 210 reproduces a line in a 3D space using each 3D data included in the recipe 1. The second device 210 reproduces the operation of the real line 230 in the 3D space based on various information received from one or more control devices 220. At this time, the workpiece 1 is used in the 3D space. The second device 210 outputs the execution result of the simulation in which the workpiece 1 is displayed.
[0107] The project 450 shown in FIG. 4 is an example, and the example of the data structure of the project 450 is not limited thereto. The project 450 may manage recipes, workpieces, and production information by any data structure. According to an embodiment, the project 450 may not include the application manager 410. In this case, the recipe manager 420, the production information manager 430, and the workpiece information 440 are arranged directly under the project 450. Also, according to another embodiment, the project 450 may not include the recipe manager 420 and the production information manager 430. In this case, the project 450 may include a setting file or the like that serves as a substitute for the recipe manager 420 and the production information manager 430.
[0108] At least, the project 450 includes the work information 440. The control unit (processor 301) of the first device 200 or the second device 210 changes the work information to indicate the first work associated with the selected first production information.
[0109] Furthermore, the control unit (processor 301) of the first apparatus 200 or the second apparatus 210 executes a simulation based on the second recipe and the second workpiece associated with the second production information, based on the second production information being selected while the first production information is selected. Alternatively, the communication IF 307 of the first apparatus 200 may transmit the second recipe and the second workpiece associated with the second production information to the second apparatus 210, based on the second production information being selected while the first production information is selected. In this case, the second apparatus 210 executes a simulation based on the received second recipe and second workpiece.
[0110] As described above, the system 20 inputs the selected recipe and workpiece in the project 450 to the simulator 320. At this time, the device that manages the project and the device that executes the simulation may be the same or different.
[0111] As an example, the first apparatus 200 may manage the project, and the second apparatus 210 may execute the simulator 320. In this case, the user edits the project 450 via the IDE 310 installed in the first apparatus 200. The user inputs a command to transmit settings to the simulator 320 to the first apparatus 200 (IDE 310). The first apparatus 200 (IDE 310) transmits the selected recipe and workpiece to the simulator 320 installed in the second apparatus 210. The user transmits a simulation execution command to the second apparatus 210 (simulator 320) via the first apparatus 200 (IDE 310). The second apparatus 210 (simulator 320) executes a simulation based on the received recipe and workpiece in accordance with the simulation execution command. The second apparatus 210 (simulator 320) may display the execution result of the simulation on the display of the second apparatus 210. Or, the second apparatus 210 (simulator 320) may transmit the execution result to the first apparatus 200 (IDE 310). In this case, the first device 200 (IDE 310) may display the results of the simulation on the display of the first device 200.
[0112] As another example, the first apparatus 200 may manage both the project and execute the simulator 320. In this case, the user edits the project 450 via the IDE 310 installed in the first apparatus 200. The user inputs a command to execute a simulation to the first apparatus 200 (IDE 310). The first apparatus 200 (IDE 310) executes a simulation based on a selected recipe and workpiece. The first apparatus 200 (IDE 310) displays the execution result of the simulation on the display of the first apparatus 200.
[0113] As yet another example, the second device 210 may perform both project management and execution of the simulator 320. In this case, the user edits the project 450 via the IDE 310 installed in the first device 200. The user transmits a simulation execution command to the second device 210 (simulator 320) via the first device 200 (IDE 310). The second device 210 (simulator 320) executes the simulation based on the selected recipe and work. The second device 210 (simulator 320) displays the execution result of the simulation on the display of the second device 210.
[0114] FIG. 5 is a diagram showing an example of display of the execution result of a simulation. The execution result 501 is the execution result of a simulation based on production information 1. The execution result 502 is the execution result of a simulation based on production information 2. The production information 1 includes recipe 1 and work 1. That is, the production information 1 associates recipe 1 and work 1. The production information 2 includes recipe 2 and work 2. That is, the production information 2 associates recipe 2 and work 2. The user can change both the recipe and the work input to the simulator 320 only by changing the production information. For example, assume that the user switches the production information 1 to the production information 2. In this case, as shown in FIG. 5, the execution result of the simulation output by the simulator 320 changes from the execution result 501 to the execution result 502. The system 20 can display these execution results on the display of the first device 200, the display of the second device 210, or the displays of both devices.
[0115] <D. Example of Screens Provided by the System According to the Present Embodiment> Next, with reference to FIGS. 6 to 11, an example of an editing screen for production information provided by the system 20 will be described. Each screen shown in FIGS. 6 to 11 can be provided as a UI of the IDE 310 and the simulator 320. Also, each screen shown in FIGS. 6 to 11 can be displayed on the display of the first device 200 or the display of the second device 210.
[0116] FIG. 6 is a diagram showing a first example of an editing screen for production information. Each screen shown in FIG. 6 is a screen for selecting a switching target according to production information. The switching target is data that is changed by the production information within a project. For example, assume that a recipe and a work are changed due to a change in production information. In this case, the recipe and the work are switching targets. The production information may include any data other than the recipe and the work as a switching target. For example, the switching target may include a robot (a robot tool) and a platform on which the work is placed. A user may add any data as a switching target to the production information via each screen shown in FIG. 6.
[0117] Screen 600 is an explorer and includes a production information item 601. When production information item 601 is selected on screen 600, screen 610 is displayed. Screen 610 includes an icon 612 and a list 614. The user can select a switching target in the production information from list 614 and select icon 612. This causes the selected switching target to be added to screen 620 that displays switching targets. In the example of FIG. 6, a workpiece has been added to screen 620 as switching target 622.
[0118] According to one embodiment, screens 600 to 620 may be configured as one screen or UI. In this case, each of screens 600 to 620 may be a menu, an explorer, a panel, or any other item that configures one screen. According to another embodiment, screens 600 to 620 may be individual screens.
[0119] Fig. 7 is a diagram showing a second example of an editing screen for production information. Each screen shown in Fig. 7 is a screen for editing each item included in the production information.
[0120] Screen 700 is a screen for selecting production information to be edited. The user selects the production information to be edited on screen 700 and presses edit button 702. Then, screen 710 for editing the selected production information is displayed on the display. In the example of Fig. 7, a screen for editing production information 1 is displayed.
[0121] According to one embodiment, screen 700 and screen 710 may be configured as a single screen or UI. In this case, screen 700 and screen 710 may each be a menu, explorer, panel, or any other item that makes up a single screen. According to another embodiment, screen 700 and screen 710 may be separate screens.
[0122] FIG. 8 is a diagram showing a third example of a production information editing screen. Each screen shown in FIG. 8 is a continuation of screen 710. Screen 800 is a screen when a recipe item 802 is selected as an editing item on screen 710. When recipe item 802 is selected, a recipe selection item 804 is displayed on screen 800. Recipe selection item 804 may be a list, a radio button, or any other UI. A user can select a recipe to be associated with production information from recipe selection item 804. In the example of screen 800, a user has selected recipe 1 as a recipe to be associated with production information 1.
[0123] Screen 810 is the screen that appears when a work item 812 is selected as an editing item on screen 710. When the work item 812 is selected, a work editing item 814 is displayed on screen 810. The work editing item 814 includes a 3D display of the work and work properties, etc. In the work editing item 814, the user can perform any operation related to the work, such as changing the work settings and switching the work to be referenced.
[0124] 9 is a diagram showing a fourth example of the production information editing screen. It is a diagram showing another example of the display of the editing items 814. The language and items of the editing items 814 are customizable. The editing items 814 may include, as one example, an update button 900 for 3D data (CAD data, etc.). By pressing the update button 900, the user may cause a screen 1000 for updating the 3D data to be displayed on the display.
[0125] FIG. 10 is a diagram showing a fifth example of the production information editing screen. Each screen shown in FIG. 10 is an update screen for 3D data of a workpiece associated with production information. Screen 1000 is a screen for selecting a source of 3D data of the workpiece. When a source of 3D data of the workpiece is selected on screen 1000, screen 1010 is displayed. A user can update a workpiece to be associated with production information via screen 1010. As an example, a user can select a workpiece from among the selected sources.
[0126] Fig. 11 is a diagram showing a sixth example of the production information editing screen. Each screen shown in Fig. 11 is a screen where production information can be confirmed and edited. Screen 1100 and screen 1110 are the same screen, but have different display items. Screen 1100 displays recipe 1 and detailed information on a workpiece associated with recipe 1. Screen 1110 displays recipe 2 and detailed information on a workpiece associated with recipe 2. Through these screens, the user can change the recipe associated with the production information and adjust the parameters of the workpiece.
[0127] As described above, the first apparatus 200 and the second apparatus 210, i.e., the system 20, are provided with a UI for inputting settings of one or more pieces of production information. The input section (input IF 305) of the first apparatus 200 and the second apparatus 210 is configured to be able to accept, via the UI, an input of a recipe associated with each of the one or more pieces of production information, and an input of a workpiece associated with each of the one or more pieces of production information. Each screen is output to a display via the output IF 306.
[0128] <E.フローチャート> Next, an example of a procedure of a process executed by the system 20 will be described with reference to Fig. 12 and Fig. 13. The process of Fig. 12 and Fig. 13 may be executed by the first device 200 or the second device 210 instead of the system 20.
[0129] According to an embodiment, the processor 301 may load a program for performing the processes of Figures 12 and 13 from the storage 303 into the memory 302 and execute the program. The program is, for example, the IDE 310, the simulator 320, or another program. In another aspect, a part or all of the processes may be realized as a combination of circuit elements configured to perform the processes.
[0130] Fig. 12 is a diagram showing an example of the procedure of recipe switching processing executed by the system 20. The procedure from when the system 20 accepts additional input of new production information 4 to when it executes a simulation based on the production information 4 will be described with reference to Fig. 12.
[0131] In step S1210, the system 20 accepts an operation to add production information. The system 20 accepts an operation to add new production information via a UI provided by the IDE 310 or the simulator 320. In the example of Fig. 12, the system 20 accepts production information 4.
[0132] In step S1220, the system 20 accepts an operation to add and edit a recipe. The system 20 accepts an operation to add and / or edit a recipe via a UI provided by the IDE 310 or the simulator 320. In the example of Fig. 12, the system 20 accepts an operation to add recipe 4. If there is no need to add a recipe to a project or edit a recipe, the system 20 does not need to execute the processing of this step.
[0133] In step S1230, the system 20 accepts an editing operation of the production information. For example, the system 20 accepts an editing operation of the production information via each screen shown in Figs. 6 to 11, etc. As an example, the system 20 accepts an operation to associate the production information with a recipe and a work. The system 20 can also accept an operation to associate the production information with other information (such as information on a platform on which a robot tool or a work is placed). In the example of Fig. 12, a recipe 4 and a work 4 are associated with production information 4.
[0134] In step S1240, the system 20 can receive an application operation of production information. The application operation of production information is an operation of selecting production information. When production information is selected, information (such as recipe and work) to be input to the simulator 320 is also determined. Therefore, the application operation of production information can also be said to be an operation of selecting or determining information to be input to the simulator 320. In the example of FIG. 12, production information 4 is selected.
[0135] In step S1250, the system 20 selects a recipe associated with the production information. In the example of Fig. 12, since the production information 4 is selected, the system 20 selects the recipe 4 associated with the production information 4.
[0136] In step S1260, the system 20 selects a work associated with the production information. In the example of Fig. 12, since the production information 4 is selected, the system 20 selects the work 4 associated with the production information 4. At this time, the information of the work in the project indicates the selected work 4. The system 20 may replace the information of the work with 3D data of the work 4. The system 20 may also change the reference destination of the information of the work (such as an address in memory) to the 3D data of the work 4.
[0137] In step S1270, the system 20 transmits information on the selected recipe and workpiece to the simulator 320. The system 20 may execute the processing of this step based on receiving a setting transmission command from the user to the simulator 320. The simulator 320 executes a simulation based on the received recipe and workpiece. The simulator 320 also outputs the execution result of the simulation. The system 20 may transmit information on the selected recipe and workpiece to the IDE 310. In this case, the IDE 310 executes a simulation based on the received recipe and workpiece. The IDE 310 also outputs the execution result of the simulation. In either case, the workpiece 4 selected by the production information 4 is used in the simulation. The execution result screen of the simulation displayed on the display of the second device 210 or the like shows the workpiece 4.
[0138] Fig. 13 is a diagram showing an example of the procedure of a warning output process executed by the second device 210. The process shown in Fig. 13 includes a process of acquiring various signals and an image of a workpiece from the control device 220. Therefore, the process shown in Fig. 13 is executed by the second device 210 capable of communicating with the control device 220.
[0139] In step S1310, the second device 210 checks the workpiece with a camera or a sensor. More specifically, the second device 210 acquires information about the workpiece. The information about the workpiece may be an image or video captured by a camera installed on the actual line 230. Alternatively, the information about the workpiece may be a signal related to the shape of the workpiece obtained by a sensor installed on the actual line 230. According to one embodiment, the second device 210 may directly receive an image or a sensor signal from a camera or a sensor installed on the actual line 230. According to another embodiment, the second device 210 may receive an image or a sensor signal via the control device 220.
[0140] In step S1320, the second device 210 determines whether the workpiece on the real line 230 is a workpiece set in the selected production information. That is, the second device 210 determines whether the shape of the workpiece on the real line 230 is the same as the shape of the workpiece in the simulation. Alternatively, the second device 210 may determine whether the shape of the workpiece on the real line 230 is different from the shape of the workpiece in the simulation.
[0141] If the second device 210 determines that the work on the actual line 230 is the work set in the selected production information (YES in step S1320), the second device 210 transfers control to step S1340. If not (NO in step S1320), the second device 210 transfers control to step S1330.
[0142] In step S1330, the second device 210 outputs a warning. According to one embodiment, the second device 210 displays the warning on a display of the second device 210. According to another embodiment, the second device 210 transmits a message including the warning to the first device 200. Furthermore, according to another embodiment, the second device 210 transmits a message including the warning to a terminal held by a line supervisor or the like.
[0143] In step S1340, the second apparatus 210 determines whether there is a next workpiece. That is, the second apparatus 210 determines whether the actual line 230 is still processing the workpiece. If the second apparatus 210 determines that there is a next workpiece (YES in step S1340), it transfers control to step S1310. If not (NO in step S1340), the second apparatus 210 ends the process.
[0144] FIG. 14 is a diagram showing an example of a warning screen. As an example, the second device 210 may output a warning screen such as screen 1400 on the display of the second device 210 during the process of step S1330. Screen 1400 includes an execution screen of the simulation and a warning display. Alternatively, the second device 210 may transmit a message including a warning to the first device 200. In this case, the first device 200 may display a warning screen such as screen 1400 on the display of the first device 200.
[0145] <F. Reduction of Transfer Data to the Simulator> The system 20 sets (transmits) a recipe and work to the simulator 320. The recipe may include, for example, 3D data of each device constituting the line. For example, assume that the user wants to edit a project on the first device 200 and execute a simulation on the second device 210. In this case, the IDE 310 of the first device 200 needs to transmit 3D data of each device constituting the line and the like to the simulator 320 of the second device 210. However, such 3D data and the like have a large data volume and may adversely affect data transmission and reception. Therefore, the system 20 compares the data previously set (transmitted) to the simulator 320 with the data newly transmitted to the simulator 320 and obtains the difference. Then, the system 20 sets (transmits) only the difference to the simulator 320. The data transmitted to the simulator 320 may include, for example, a recipe, work, and / or any other information related to the simulation.
[0146] According to an embodiment, the system 20 may determine whether there is data unnecessary for the execution of the simulation in the recipe or the like. When the system 20 discovers unnecessary data, the system 20 may exclude the unnecessary data from the data transmitted to the simulator 320. The unnecessary data is, for example, a base part that is not directly related to the processing of the work.
[0147] 15 is a diagram showing an example of a state of reduction of data transferred from the first apparatus 200 to the second apparatus 210. The 3D data group 1500 is all 3D data included in the recipe. The 3D data group 1510 is one or more pieces of 3D data actually transmitted to the simulator 320. The 3D data group 1510 may be a collection of the minimum amount of data required to execute the simulator 320. The 3D data group 1510 may also include only data that is the difference between the past recipe and the new recipe.
[0148] 16 is a diagram showing an example of a transfer setting screen. Screen 1600 is a confirmation screen for data to be transferred to simulator 320. 3D data (unsent data 1610) that the target (simulator 320) does not possess is checked. The user can confirm the data to be transmitted by referring to screen 1600. The user can also change the data to be transmitted via screen 1600. Screen 1600 can include a button for transferring a file to the target (simulator 320), a button for executing file acquisition processing from the target (simulator 320), and the like.
[0149] FIG. 17 is a diagram showing an example of a project screen. The screen 1700 is a confirmation screen for data in a project or a recipe. The screen 1700 may be a part of another screen (such as an explorer). As an example, the screen 1700 displays information on 3D data (untransmitted data 1702, 1704, 1706, 1708) that the simulator 320 does not hold. The screen 1700 may include an indication indicating that the simulator 320 does not hold these 3D data. For example, a line may be drawn through the icon of the 3D data that the simulator 320 does not hold. The user may understand the data to be transferred to the simulator 320 by referring to the screens 1600 and 1700, etc.
[0150] As described above, when the communication IF 307 of the second device 210 transmits the first recipe to the second device 210, it can exclude the 3D data previously sent to the second device 210 from the transmission data. The second device 210 receives only the difference of the data held by the second device 210. The second device 210 (simulator 320) can execute a simulation based on the data already held by the second device 210 and the received difference.
[0151] As described above, the system 20 according to the present embodiment provides a function of managing a project including production information. The production information associates a recipe and a work. The user can select both the recipe and the work to be set in the simulator 320 only by selecting the production information.
[0152] Further, the system 20 can determine whether or not the shape of the work in the simulation matches (differs from) the shape of the work on the actual line 230. When the shape of the work in the simulation differs from the shape of the work on the actual line 230, the system 20 outputs a warning. Thereby, the user can grasp a setting mistake of the recipe in the simulator 320 or that a wrong work is being processed on the actual line 230.
[0153] <G. Addendum> As described above, the present embodiment includes the following disclosures. [Configuration 1] An apparatus (210) for managing one or more recipes for controlling a line, comprising a storage (303) for storing a project (450) of a production process, wherein the project (450) includes the one or more recipes and one or more production information associating each of the one or more recipes with each of one or more works, and the apparatus (210) includes an input unit (305) for receiving a selection of any of the one or more production information, A control unit (301) for executing a simulation; an output unit (306) for outputting an execution screen of the simulation; The control unit (301) executes the simulation based on a first recipe and a first workpiece associated with the first production information based on a selection of first production information from the one or more pieces of production information. [Configuration 2] Further comprising a communication unit (307) for receiving information on one or more devices constituting the real line and information on the real work, the simulation is a replica of the operation of the real line based on information about the one or more pieces of equipment; The control unit (301) refers to information about the actual workpiece and determines whether or not a shape of the workpiece in the simulation differs from a shape of the actual workpiece; The apparatus (210) according to configuration 1, wherein the output unit (306) outputs a warning based on a difference between a shape of the workpiece in the simulation and a shape of the actual workpiece. [Configuration 3] The project (450) includes information about the work, The apparatus (210) according to configuration 1 or 2, wherein the control unit (301) changes the information of the workpiece to indicate the first workpiece associated with the selected first production information. [Configuration 4] The apparatus (210) of configuration 1 or 2, wherein the control unit (301) executes the simulation based on a second recipe and a second workpiece associated with the second production information, based on the selection of second production information while the first production information is selected. [Configuration 5] Further comprising a UI (User Interface) for inputting the one or more pieces of production information; The input unit (305) inputs, via the UI, inputting a recipe associated with each of the one or more pieces of production information; 3. The apparatus (210) according to configuration 1 or 2, configured to be capable of receiving an input of a workpiece associated with each of the one or more pieces of production information. [Configuration 6] A system (20) for managing one or more recipes for controlling a line, comprising: A first device (200) for managing a production process project (450); a second device (210) for performing the simulation; The first device (200) includes a storage (303) for storing the project (450), The project (450) The one or more recipes; one or more pieces of production information associating each of the one or more recipes with each of the one or more workpieces; The first device (200) is an input unit (305) for receiving a selection of any one of the one or more pieces of production information; a first communication unit (307) for transmitting a first recipe and a first workpiece associated with the first production information to the second device (210) based on a selection of first production information from the one or more pieces of production information; The second device (210) is a control unit (301) for executing the simulation based on the received first recipe and the first workpiece; and an output unit (306) for outputting an execution screen of the simulation. [Configuration 7] The second device (210) further includes a second communication unit (307) for receiving information on one or more devices constituting the real line and information on the real work, the simulation is a replica of the operation of the real line based on information about the one or more pieces of equipment; The control unit (301) refers to information about the actual workpiece and determines whether or not a shape of the workpiece in the simulation differs from a shape of the actual workpiece; The system (20) according to configuration 6, wherein the output unit (306) outputs a warning based on a difference between a shape of the workpiece in the simulation and a shape of the actual workpiece. [Configuration 8] The project (450) includes information about the work, The system (20) of configuration 6 or 7, wherein the first device (200) changes the information of the work to indicate the first work associated with the selected first production information. [Configuration 9] The system (20) of configuration 6 or 7, wherein the first communication unit (307) transmits information on a second recipe and a second workpiece associated with the second production information to the second apparatus (210) based on the selection of second production information while the first production information is selected. [Configuration 10] The first device (200) further includes a UI for inputting the one or more pieces of production information; The input unit (305) inputs, via the UI, inputting a recipe associated with each of the one or more pieces of production information; The system (20) according to configuration 6 or 7, configured to be capable of receiving an input of a work associated with each of the one or more pieces of production information. [Configuration 11] The system (20) of configuration 6 or 7, wherein the first communication unit (307) excludes 3D (Dimensional) data that has been previously sent to the second device (210) from the transmitted data when transmitting the first recipe to the second device (210). [Configuration 12] 1. A method for managing one or more recipes for controlling a line, comprising: storing a project (450) of the production process in a storage (303); The project (450) The one or more recipes; one or more pieces of production information associating each of the one or more recipes with each of the one or more workpieces; The method comprises: accepting a selection of one or more pieces of production information; Running a simulation; and outputting an execution screen of the simulation; The method, wherein performing the simulation includes performing the simulation based on a first recipe and a first work associated with first production information based on a selection of first production information from the one or more production information. [Configuration 13] 1. A program for managing one or more recipes for controlling a line, comprising: Executing the computer to store the project (450) of the production process in the storage (303); The project (450) The one or more recipes; one or more pieces of production information associating each of the one or more recipes with each of the one or more workpieces; The program is accepting a selection of one or more pieces of production information; Running a simulation; and and outputting an execution screen of the simulation. The program in which executing the simulation includes executing the simulation based on a first recipe and a first work associated with first production information based on a selection of first production information from the one or more production information.
[0154] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is indicated by the claims, not by the above description, and is intended to include all modifications within the meaning and scope of the claims. In addition, the disclosure contents described in the embodiments and each modified example are intended to be implemented, as far as possible, either alone or in combination. [Explanation of symbols]
[0155] 20 System, 101 Simulation execution screen, 102 Execution screen, 200 First device, 210 Second device, 220 Control device, 230 Real line, 232 Equipment, 234 Sensor, 301 Processor, 302 Memory, 303 Storage, 304 External device IF, 305 Input IF, 306 Output IF, 307 Communication IF, 310 IDE, 320 Simulator, 400, 450 Project, 410 Application manager, 420 Recipe manager, 430 Production information manager, 440 Work information, 501, 502 Execution result, 600, 610, 620, 700, 710, 800, 810, 1000, 1010, 1100, 1110, 1400, 1600, 1700 Screen, 601, 802, 812 Item, 612, icon, 614, list, 622, switching target, 702, edit button, 804, selected item, 814, edit item, 900, update button, 1500, 1510, data group, 1610, 1702, 1704, 1706, 1708, unsent data.
Claims
1. 1. An apparatus for managing one or more recipes for controlling a line, comprising: Equipped with storage to store production process projects, The project is the one or more recipes; one or more pieces of production information associating each of the one or more recipes with each of the one or more workpieces; The apparatus comprises: an input unit for receiving a selection of any one of the one or more pieces of production information; A control unit for executing a simulation; An output unit for outputting an execution screen of the simulation, The control unit performs the simulation based on a first recipe and a first work associated with the first production information based on the selection of first production information from the one or more production information.
2. A communication unit for receiving information on one or more devices constituting the actual line and information on the actual work, the simulation is a replica of the operation of the real line based on information about the one or more pieces of equipment; The control unit refers to information about the real workpiece and determines whether or not a shape of the workpiece in the simulation differs from a shape of the real workpiece; The apparatus according to claim 1 , wherein the output unit outputs a warning based on a difference between a shape of the workpiece in the simulation and a shape of the actual workpiece.
3. The project includes information about the work, The apparatus according to claim 1 or 2, wherein the control unit changes information about the workpiece to indicate the first workpiece associated with the selected first production information.
4. The apparatus according to claim 1 or 2, wherein the control unit performs the simulation based on a second recipe and a second work associated with the second production information based on the selection of second production information while the first production information is selected.
5. A UI (User Interface) for inputting the one or more pieces of production information, The input unit, via the UI, inputting a recipe associated with each of the one or more pieces of production information; The apparatus according to claim 1 or 2, configured to be capable of receiving an input of a workpiece associated with each of the one or more pieces of production information.
6. 1. A system for managing one or more recipes for controlling a line, comprising: a first device for managing a project of a production process; a second device for performing the simulation; the first device includes a storage device for storing the project; The project is the one or more recipes; one or more pieces of production information associating each of the one or more recipes with each of the one or more workpieces; The first device is an input unit for receiving a selection of any one of the one or more pieces of production information; a first communication unit for transmitting a first recipe and a first workpiece associated with the first production information to the second device based on a selection of first production information from the one or more pieces of production information; The second device is a control unit for executing the simulation based on the received first recipe and the first workpiece; and an output unit for outputting an execution screen of the simulation.
7. The second device further includes a second communication unit for receiving information about one or more devices that configure the real line and information about the real work, the simulation is a replica of the operation of the real line based on information about the one or more pieces of equipment; The control unit refers to information about the real workpiece and determines whether or not a shape of the workpiece in the simulation differs from a shape of the real workpiece; The system according to claim 6 , wherein the output unit outputs a warning based on a difference between a shape of the workpiece in the simulation and a shape of the actual workpiece.
8. The project includes information about the work, The system according to claim 6 or 7, wherein the first device changes information of the workpiece to indicate the first workpiece associated with the selected first production information.
9. The system described in claim 6 or 7, wherein the first communication unit transmits information about a second recipe and a second workpiece associated with the second production information to the second device based on the selection of second production information while the first production information is selected.
10. The first device further includes a UI for inputting settings of the one or more pieces of production information, The input unit, via the UI, inputting a recipe associated with each of the one or more pieces of production information; The system according to claim 6 or 7, configured to be capable of receiving an input of a work associated with each of the one or more pieces of production information.
11. The system according to claim 6 or 7, wherein the first communication unit, when transmitting the first recipe to the second device, excludes 3D (Dimensional) data previously sent to the second device from the transmission data.
12. 1. A method for managing one or more recipes for controlling a line, comprising: Including storing the production process project in storage, The project is the one or more recipes; one or more pieces of production information associating each of the one or more recipes with each of the one or more workpieces; The method comprises: accepting a selection of one or more pieces of production information; Running a simulation; and outputting an execution screen of the simulation; The method, in which performing the simulation includes performing the simulation based on a first recipe and a first work associated with the first production information based on a selection of first production information from the one or more production information.
13. 1. A program for managing one or more recipes for controlling a line, comprising: Execute the computer to store the production process project in storage; The project is the one or more recipes; one or more pieces of production information associating each of the one or more recipes with each of the one or more workpieces; The program is accepting a selection of one or more pieces of production information; Running a simulation; and and outputting an execution screen of the simulation. The program in which executing the simulation includes executing the simulation based on a first recipe and a first work associated with the first production information based on a selection of first production information from the one or more production information.
Citation Information
Patent Citations
Information processor, information processing method, information processing program and record medium
JP2016091066A
Cited By
Production system, cell controller, and production method
WO2026083635A1
Production system, cell controller, control method, and program
WO2026083959A1
