Information processing device, method, and program

The information processing device simplifies the reuse of CAD data in factory automation by comparing and selecting elements using identifiers and virtual spaces, addressing the challenge of manual integration across equipment designs.

JP2024118734AInactive Publication Date: 2024-09-02OMRON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023025179
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-09-02
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies face challenges in efficiently reusing CAD data across different equipment in factory automation simulations, as parts commonly shared among equipment require manual preparation and integration, leading to increased user effort.

Method used

An information processing device that supports factory automation by comparing and selecting CAD data elements using identifiers, reference relationships, and three-dimensional virtual spaces to facilitate easy reuse of CAD data, including component and script data, through a user-friendly interface.

Benefits of technology

Enables efficient and user-friendly reuse of CAD data by allowing easy selection and integration of common parts and scripts across different equipment designs, reducing manual effort and improving simulation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024118734000001
    Figure 2024118734000001
Patent Text Reader

Abstract

To provide a technique for achieving easy reuse of CAD data.SOLUTION: In an information processing device, one or more element data are selected according to selection conditions among the plurality of element data of first CAD data and second CAD data of an object included in FA. The plurality of element data are imaged comparably with each other between both of the first CAD data and the second CAD data so that the selection of the element data on the basis of user operation relative to the plurality of imaged element data is set as the selection conditions.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a technique for processing information relating to three-dimensional computer aided design (3DCAD) data. [Background technology]

[0002] For example, there is known a technique for designing equipment such as machinery using 3D CAD software. In the 3D CAD software, the equipment can be represented as an assembly made up of a plurality of parts.

[0003] Furthermore, in recent years, a technology has been provided that uses CAD (Computer Aided Design) data of equipment designed with 3D CAD software to simulate the behavior of the equipment in a FA (Factory Automation) production line.

[0004] As an example of a simulation technology using CAD data, Patent Publication No. 2021-167037 (Patent Document 1) discloses a technology that reduces the user's effort in setting various information to perform a simulation for CAD data imported into a simulation device. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Patent Publication No. 2021-167037 Summary of the Invention [Problem to be solved by the invention]

[0006] When performing a simulation for different pieces of equipment on an FA production line, it is necessary to prepare CAD data for each piece of equipment. For example, the parts that make up one piece of equipment may contain parts that are common to other pieces of equipment, so there is a demand for technology that makes it easy to use the CAD data for parts of one piece of equipment as CAD data for other pieces of equipment, i.e., to facilitate "reuse."

[0007] The present disclosure has been made in view of the above-described background, and an object of one aspect is to provide a technique that enables easy reuse of CAD data. [Means for solving the problem]

[0008] The information processing device of the present disclosure is an information processing device that supports the design of factory automation (FA), and includes a memory unit that stores first CAD data and second CAD data, each of which has a plurality of element data, which are CAD data of an object to be provided in the FA, a setting unit that sets selection conditions, a selection unit that selects one or more element data from the plurality of element data of the first CAD data and the second CAD data in accordance with the selection conditions, and an import unit that imports the selected one or more element data, and the setting unit includes an imaging unit that images the plurality of element data between the first CAD data and the second CAD data so that they can be compared with each other, and sets the selection conditions to select one or more from the plurality of imaged element data based on a user operation.

[0009] According to the above-mentioned information processing device, a plurality of element data are visualized in a manner that allows comparison between the first CAD data and the second CAD data. By comparing the element data in the images, a user can easily select the element data to be reused at the import destination.

[0010] In the above information processing device, the element data includes an identifier that identifies the element data, and the imaging unit includes a list imaging unit that arranges and images a list of identifiers of multiple element data of the first CAD data and a list of identifiers of multiple element data of the second CAD data in a manner that allows them to be compared with each other.

[0011] According to the information processing device described above, identifiers of a plurality of element data are visualized in a manner that allows comparison between the first CAD data and the second CAD data. A user can compare the identifiers of the element data from the images to select element data to be imported.

[0012] In the above information processing device, element data includes reference data indicating identifiers of other element data having a reference relationship with the element data, and a list of identifiers of multiple element data includes a tree of reference relationships composed of identifiers of the reference data.

[0013] According to the information processing device described above, identifiers of a plurality of element data between the first CAD data and the second CAD data are visualized in a tree according to the reference relationships so as to be comparable with each other. A user can select element data to be imported from the tree image according to the reference relationships of the element data.

[0014] The list imaging unit of the information processing device images, in a predetermined manner in the list, identifiers of one or more element data that differ between the plurality of element data of the first CAD data and the plurality of element data of the second CAD data.

[0015] According to the above-described information processing device, it is possible to indicate to the user different identifiers in the image.

[0016] In the above information processing device, the user operation includes a designation operation for designating an identifier of the list, and the image of the list includes a user interface (UI) image for accepting the designation operation.

[0017] According to the information processing device described above, the list image displayed to the user as an image includes a UI image for receiving a user operation, and the user can operate the UI image to select element data in the image.

[0018] In the above information processing device, the element data includes different types of element data, and the different types of element data include part data having shape data for placing objects indicating the shapes of parts that make up the target object in a three-dimensional virtual space.

[0019] According to the information processing device described above, the types of element data can include part data, and the user can select part data as the data to be imported.

[0020] The above-mentioned information processing device includes a three-dimensional imaging unit that three-dimensionally images a first three-dimensional virtual space in which one or more objects based on shape data of one or more part data of the first CAD data are arranged and a second three-dimensional virtual space in which one or more objects based on shape data of one or more part data of the second CAD data are arranged in a manner that allows them to be compared with each other.

[0021] According to the information processing device described above, the part data is imaged by arranging objects in a three-dimensional virtual space, and a user can select part data through the objects arranged in the three-dimensional virtual space.

[0022] In the above-mentioned information processing device, the three-dimensional imaging unit images one or more objects that differ between one or more objects arranged in a first three-dimensional virtual space and a second object arranged in a second three-dimensional virtual space in a predetermined manner.

[0023] In the above-described information processing device, different objects among the objects arranged in the three-dimensional virtual space are notified by changing the imaging manner of the objects.

[0024] In the above information processing device, the user operation includes a designation operation for designating an object arranged in a three-dimensional virtual space, and the three-dimensional image includes a user interface (UI) image that accepts the object designation operation.

[0025] According to the above-described information processing device, the user can select an object by operating a UI image included in the three-dimensional virtual space image in which the object is arranged.

[0026] In the above-mentioned information processing device, the element data includes different types of element data, and the different types of element data include part data having shape data for placing objects indicating the shapes of parts that make up an object in a three-dimensional virtual space, and script data, and the script data includes an instruction sequence of script instructions written including an identifier of the part data referenced by the script data.

[0027] According to the above-described information processing device, the user can select script data as element data to be imported.

[0028] The above information processing device includes a sequence imaging unit that images an instruction sequence of first script data included in the first CAD data and an instruction sequence of second script data included in the second CAD data, the second script data having an identifier matching an identifier of the first script data, by arranging them in a manner that makes them comparable to each other.

[0029] According to the information processing device described above, the script data is imaged with its instruction sequences arranged so as to be comparable. A user can visually confirm the instruction sequences of the first and second script data shown in the image and select one of the script data having the corresponding instruction sequence.

[0030] In the information processing device, the sequence imaging unit images one or more script instructions that differ between the instruction sequence of the first script data and the instruction sequence of the second script data in a manner that is predetermined in the instruction sequence.

[0031] According to the above-described information processing device, the user can visually confirm in the image the script commands that differ between the command sequence of the first script data and the command sequence of the second script data.

[0032] A method according to the present disclosure is a method for supporting the design of factory automation (FA), comprising: a processor searching a memory unit that stores first CAD data and second CAD data, each of which has a plurality of element data, of an object to be provided in the FA; the processor setting a selection condition; the processor selecting one or more element data from the plurality of element data of the first CAD data and the second CAD data in accordance with the selection condition; and the processor importing the selected one or more element data, wherein the setting includes: imaging the plurality of element data between the first CAD data and the second CAD data so that they can be compared with each other; and setting the selection condition to select one or more from the imaged plurality of element data based on a user operation.

[0033] A program according to the present disclosure, when executed by a processor, causes the processor to execute a method for supporting design of factory automation (FA). The method includes the steps of: searching a storage unit that stores first CAD data and second CAD data, each of which has a plurality of element data, of an object to be provided in the FA; setting a selection condition by the processor; selecting one or more element data from the plurality of element data of the first CAD data and the second CAD data according to the selection condition; and importing the selected one or more element data, the setting including: imaging the plurality of element data between the first CAD data and the second CAD data so as to be comparable with each other; and setting the selection condition to select one or more from the plurality of imaged element data based on a user operation. Effect of the Invention

[0034] The present disclosure enables easy reuse of CAD data. [Brief description of the drawings]

[0035] [Figure 1] 1 is a schematic diagram showing an application example of a support device 100 according to the present embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a development environment for a control program 15 according to the present embodiment. [Diagram 3] 1 is a diagram illustrating an example of a hardware configuration of a support device 100 according to an embodiment of the present invention. [Figure 4] FIG. 2 is a diagram showing an example of the configuration of CAD data 22 according to the present embodiment. [Diagram 5] FIG. 11 is a diagram illustrating individual export according to the embodiment. [Figure 6] FIG. 11 is a diagram illustrating a batch export according to the embodiment. [Figure 7] 1 is a schematic diagram showing an application example of a support device 100 according to the present embodiment. [Figure 8]FIG. 13 is a diagram illustrating import of a CAD file according to the present embodiment. [Figure 9] 13A to 13C are diagrams illustrating an example of a screen display of the comparative import process according to the embodiment. [Figure 10] 13A to 13C are diagrams illustrating an example of a screen display of the comparative import process according to the embodiment. [Figure 11] 13A to 13C are diagrams illustrating an example of a screen display of the comparative import process according to the embodiment. [Figure 12] 13A to 13C are diagrams illustrating an example of a screen display of the comparative import process according to the embodiment. [Figure 13] 13A to 13C are diagrams illustrating an example of a screen display of the comparative import process according to the embodiment. [Figure 14] FIG. 2 is a diagram illustrating reference data 233 included in imported element data according to the present embodiment. [Figure 15] FIG. 2 is a diagram illustrating reference data 233 included in imported element data according to the present embodiment. [Figure 16] FIG. 2 is a diagram illustrating reference data 233 included in imported element data according to the present embodiment. [Figure 17] 13A and 13B are diagrams illustrating an example of a message display in individual export according to the embodiment. [Figure 18] 13A and 13B are diagrams illustrating an example of a message display in the batch export according to the embodiment. [Figure 19] 13 is a flowchart of an individual export process according to the present embodiment. [Figure 20] 11 is a flowchart of a batch export process according to the embodiment. [Figure 21] FIG. 2 is a diagram showing a display example of script data 24 according to the present embodiment. [Figure 22] FIG. 2 is a diagram showing a display example of script data 24 according to the present embodiment. [Diagram 23] 13 is a flowchart illustrating another process of batch export according to the embodiment. [Figure 24]11A and 11B are diagrams illustrating an example of a display of an import list according to the present embodiment. [Diagram 25] FIG. 13 is a diagram for explaining a change of an identifier 25 according to the present embodiment. [Figure 26] FIG. 13 is a diagram for explaining a change of an identifier 25 according to the present embodiment. [Figure 27] FIG. 13 is a diagram for explaining a change of an identifier 25 according to the present embodiment. [Figure 28] FIG. 2 is a schematic diagram showing an example of a unit configuration of the robot integrated system according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0036] The embodiments will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are designated by the same reference characters and the description thereof will not be repeated.

[0037] <Application Examples> First, an example of a situation to which the present invention is applied will be described. A support device 100 according to this embodiment is an example of an information processing device. The support device 100 provides a development environment for a program of an FA system 50. Such a development environment is realized by various modules including a module for developing various programs including a control program for the FA system 50 and a module for managing various data including CAD data. The program development module provides an environment for creating (editing, compiling, building, debugging) a program, a simulation environment for estimating the behavior of a control system that controls one or more pieces of equipment 10 provided in a production line, and the like. The CAD data is configured for each object (e.g., equipment 10).

[0038] The "equipment" provided in the production line may include, but is not limited to, actuators that operate in cooperation with a PLC (Programmable Logic Controller), sensors, workpieces, etc. The actuators constitute the drive mechanisms of robots or conveyors that transport or process the workpieces. The workpieces include final products or parts thereof, or intermediate products or parts thereof, etc.

[0039] In this embodiment, "export" mainly refers to a process of outputting one or more element data constituting the CAD data in the storage unit to the outside. The outside refers to another storage unit or other CAD data 22. Such a storage unit or CAD data is also called the "export source" and the other storage unit or other CAD data is also called the "export destination."

[0040] Moreover, "import" mainly refers to a process of taking in (storing) one or more element data constituting CAD data from an external source into a storage unit. The external source refers to another storage unit or other CAD data 22. Such a storage unit or CAD data is also called the "import source," and the other storage unit or other CAD data is also called the "import destination."

[0041] The storage unit that stores the CAD data to be imported or exported includes a medium that stores data volatilely or nonvolatilely, and a medium that stores data magnetically or optically. More specifically, the storage unit includes a storage medium such as a ROM (Read Only Memory), a RAM (Random Access Memory), a HDD (Hard Disk Drive), or an SSD (Solid State Drive) that is implemented inside the support device 100, or a storage medium provided outside the support device 100. The external storage medium includes, for example, a storage medium such as an HDD, an SSD, an FD (Flexible Disk), a CD (Compact Disc), a DVD (Digital Versatile Disc), a USB (Universal Serial Bus) memory, or a flash card memory that is detachable from the support device 100, and a storage medium that is connected to the support device 100 via a wired or wireless communication network. In such a storage medium, the CAD data is stored in the form of a file, and the file is stored in an area in the storage medium that is specified by, for example, a drive or a folder (directory), etc.

[0042] Fig. 7 is a schematic diagram showing an application example of the support device 100 according to the present embodiment. Fig. 7 mainly shows a configuration for importing CAD data, and the export configuration of the support device 100 will be described later.

[0043] 7 shows a module for importing, which is an example of transferring CAD data 22 between different storage units 21. More specifically, the management unit 20 includes a setting unit 310, a selection unit 320, an import unit 330, and the above-mentioned GUI unit 240. The setting unit 310 includes a comparison unit 311 and an imaging unit 312.

[0044] The import includes a process of importing CAD data 22C from storage unit 21B to storage unit 21C. Storage unit 21B in Fig. 7 stores different CAD data 22B-1 and CAD data 22B-2. Hereinafter, CAD data 22B-1 and CAD data 22B-2 may be referred to as first CAD data and second CAD data, respectively.

[0045] The first CAD data and the second CAD data respectively indicate CAD data 22 acquired during the design of equipment 10A of FA system 50A and equipment 10B of FA system 50B. Equipment 10 has a configuration common to equipment 10 described later in FIG. 1, and therefore description thereof that is not mentioned here will not be repeated.

[0046] The FA systems 50A and 50B are designed for, for example, different production lines and stored in the storage unit 21A, and are output from the storage unit 21A and stored in the storage unit 21B by the export unit 230. The FA systems 50A and 50B have a common configuration with the FA system 50 described later in FIG. 1, and therefore detailed description thereof will not be repeated here.

[0047] The first CAD data includes a plurality of element data each having an identifier 25A. The element data includes part data 23A and script data 24A. The part data 23A and the script data 24A are different types of element data. The second CAD data includes a plurality of element data each having an identifier 25B. The element data includes part data 23B and script data 24B. The part data 23B and the script data 24B are different types of element data. The CAD data 22C includes a plurality of element data each having an identifier 25C, and the element data includes part data 23C and script data 24C. The part data 23C and the script data 24C are different types of element data. The part data 23A, 23B, and 23C have a similar configuration to the part data 23, and the script data 24A, 24B, and 24C have a similar configuration to the script data 24 of FIG. 1, so that the details thereof will not be repeated here.

[0048] When a user starts up a new production line, the user designs a new FA system different from the FA systems 50A and 50B through a simulation using the CAD data 22C in the storage unit 21C of the support device 100. Prior to such a simulation, the user imports the CAD data 22C from the storage unit 21C. This import includes reuse of the first CAD data and the second CAD data in the storage unit 21B.

[0049] More specifically, the support device 100, as the setting unit 310, sets the selection condition 214 for selecting element data from the first CAD data and the second CAD data. The support device 100, as the selection unit 320, selects at least one element data from both the plurality of element data of the first CAD data and the plurality of element data of the second CAD data according to the selection condition 214. The support device 100, as the import unit 330, imports the at least one element data selected from the plurality of element data of the first CAD data and the second CAD data into the storage unit 21C. As a result, the element data is taken into the storage unit 21C, and CAD data 22C composed of the taken-in element data is held in the storage unit 21C.

[0050] In setting the selection condition 214, the support device 100, as the comparison unit 311, compares a plurality of element data of the first CAD data with a plurality of element data of the second CAD data. The support device 100, as the imaging unit 312, visualizes difference information indicating one or more element data different between the two data indicated by the result of the comparison. The GUI unit 240 displays the visualized difference information on the display 109. The user operates the support device 100 based on the difference information displayed on the display 109, and the support device 100 accepts the user operation. The support device 100 extracts at least one element data from one or more element data indicated by the difference information based on the accepted user operation, and sets the selection condition 214 to select the extracted element data. By setting the selection condition 214, at least one element data to be imported can be easily selected from one or more element data indicated by the difference information between the first CAD data and the second CAD data. The selected one or more element data can be reused as element data constituting the CAD data 22C for a new FA system design. In FIG. 7, two pieces of CAD data are stored in the storage unit 21B, but three or more pieces may be stored.

[0051] A specific application example of this embodiment will be described below. <A.エクスポート> FIG. 1 is a schematic diagram showing an application example of the support device 100 according to the present embodiment. In FIG. 1, a configuration related to export of CAD data 22 will be mainly described. The support device 100 has a storage unit 21A, a storage unit 21B, and a storage unit 21C that store CAD data 22A, CAD data 22B, and CAD data 22C, respectively, and a CAD data management unit 20. The storage units 21A, 21B, and 21C may be physically independent storage media, or may be configured in the same storage medium by making the storage areas different. In the following, the CAD data 22A, CAD data 22B, and CAD data 22C are collectively referred to as "CAD data 22" in a common description, and the storage units 21A, 21B, and 21C are collectively referred to as "storage unit 21" in a common description.

[0052] The equipment targeted by the CAD data 22 in FIG. 1 is, for example, the equipment 10 that transports the workpiece, but the target equipment is not limited to the equipment that transports the workpiece. The management of the CAD data 22 by the management unit 20 includes, for example, the transfer of the CAD data 22 between different storage units 21. The management unit 20 includes, as modules for realizing such data transfer, a setting unit 210, a selection unit 220, an export unit 230, an import unit 330, and a GUI (Graphical User Interface) unit 240 that provides a user interface. The setting unit 210 includes a list generation unit 212 that generates a list, which will be described later, and an imaging unit 213, which will be described later. The export unit 230 includes a determination unit 234, which will be described later, and an output unit 235, which will be described later. In FIG. 1, the block of the import unit 330 is indicated by a dashed line since export is mainly described.

[0053] The CAD data 22 includes a plurality of element data for designing the facility. The "element data" includes part data 23 and script data 24, each having an identifier 25. The identifier 25 indicates an ID such as an element name for identifying the corresponding element. The part data 23 is data for placing virtual objects (hereinafter simply referred to as "objects") corresponding to each part constituting the facility 10 in a virtual space. The parts typically include mechanical parts. Such a virtual space corresponds to a three-dimensional virtual space. The part data 23 typically includes shape data 231, described later, for indicating a three-dimensional shape for placing the object of the part in the virtual space.

[0054] The script data 24 includes a script sequence described by one or more variable names and one or more script commands 241. When executed, the script commands 241 include commands to calculate the behavior of an object corresponding to the part data 23 referenced by the variable names. The behavior is calculated based on data included in the part data 23, such as shape data 231. The variable names for referencing the part data 23 in the script data 24 are indicated by the identifiers 25 of the part data 23.

[0055] More specifically, when a simulation is performed, the support device 100 executes a script sequence based on a control command value and shape data 231 output from the simulator, and calculates the behavior of the object. Based on the calculated behavior, the support device 100 generates an image that visualizes the behavior of the object placed in the virtual space as viewed from a virtual viewpoint in the virtual space. The image is displayed on a display. The user can understand the behavior of the facility 10 based on the simulation from the displayed image.

[0056] When a user sets up a new production line, the user designs a new FA system different from the FA system 50 through a simulation using the CAD data 22B in the storage unit 21B of the support device 100. Prior to such a simulation, the user exports the CAD data 22A from the storage unit 21A to generate the CAD data 22B.

[0057] More specifically, the setting unit 210 of the management unit 20 sets a selection condition 211 for selecting one or more element data from the CAD data 22A in the storage unit 21A of the export source. The selection unit 220 selects one or more element data from the multiple element data of the CAD data 22A in accordance with the selection condition 211. The export unit 230 searches for the one or more element data from the storage unit 21A of the export source based on the selection result of the selection unit 220, and outputs (stores) the searched element data to the other storage unit 21B of the export destination. This makes it possible to reuse the one or more element data from the CAD data 22A selected by the selection condition 211 as element data of the CAD data 22B of the export destination.

[0058] 1, in a scene where the CAD data 22B in the storage unit 21B is used for designing another FA system, the import unit 330 searches for one or more element data of the CAD data 22B from the storage unit 21B of the import source, and outputs (stores) the searched element data to another storage unit 21C of the import destination. This allows one or more element data of the CAD data 22B of one FA system to be reused in the CAD data 22C of the other FA system.

[0059] In this embodiment, the objects to be imported or exported include items related to "3D display". Such items include a rectangular parallelepiped, a cylinder, part data 23, a virtual work detection sensor, a mechanical mechanism, a custom mechanical mechanism, a parallel link mechanism, script data 24 (script data including script commands, script sequences, etc.), a default function, a user function, etc.

[0060] In the following description, the export or import of CAD data 22 (component data 23 or script data 24) will be mainly described.

[0061] <B. Overall Module Configuration of the System> The support device 100 provides a simulator 28 that uses CAD data 22. FIG. 2 is a diagram schematically showing the development environment of the control program 15 according to the present embodiment. The support device 100 includes various modules such as a CAD data management unit 20, a simulator 28, a state calculation unit 29, a visualizer 27, and a collection unit 30. For the support device 100, the user develops the control program 15 of the facility 10 using these modules, and transfers the developed control program 15 to a controller 51 that controls an actual machine provided on the production line of the FA system 50. This actual machine corresponds to the drive device 55 of the facility 10. The controller 51 controls the drive device 55 by executing the transferred control program 15. The controller 51 typically includes a PLC (Programmable Logic Controller), but is not limited to the name of the PLC. The controller is a concept that refers to all control devices that control actual machines.

[0062] The storage unit 21 stores the CAD data 22 of the facility 10. The component data 23 corresponding to each component of the CAD data 22 has shape data 231 and attribute parameters 232 described later. The shape data includes size (length, diameter, width, magnitude), orientation (tilt) when the component is attached to a production line, etc., and the coordinate position in the virtual space at the time of attachment. Further, the attribute parameter 232 is an attribute related to control, and typically includes parameters of the physical characteristics of the components of the facility 10. The parameters of the physical characteristics may include the friction coefficient, weight (mass), parameters related to the assembled state of the components, such as position, screw tightening degree, and assembly accuracy. Note that the types of parameters are not limited to these. The object 16D is mainly used when displaying the control target in a three-dimensional virtual space based on mechanical parameters.

[0063] The model creation unit 26 creates a model 16 having model parameters 16A by applying attribute parameters 232 indicated by the part data 23 of the CAD data 22 to the basic model. The model 16 is represented by various arithmetic expressions including physical arithmetic expressions for calculating the behavior of the driving device 55 to be controlled, and the model parameters 16A represent parameters to be set in the arithmetic expressions of the model.

[0064] The simulator 28 includes a controller emulator 120 and an actuator emulator 124. The controller emulator 120 and the actuator emulator 124 operate in synchronization with each other at a period based on a time step ti according to a virtual time. The controller emulator 120 is a program for controller emulation for calculating the behavior of the controller 51. The actuator emulator 124 is a program for actuator emulation for calculating the behavior of the moving device 55.

[0065] The actuator emulator 124 calculates a behavior value according to an arithmetic expression of the model 16 in which the model parameters 16A are set, based on a command value from the controller emulator 120, and the controller emulator 120 executes the control program 15 based on the behavior value from the actuator emulator 124 to output a command value to the actuator emulator 124. In this manner, the controller emulator 120 and the actuator emulator 124 exchange command values ​​and behavior values ​​at every time step ti while being synchronized. Through this exchange, the simulator 28 simulates the exchange of command values ​​and behavior values ​​synchronized with the control period between the actual device (the driving device 55) and the controller 51 in the FA system 50.

[0066] When executing such a simulation, the state calculation unit 29 executes the script data 24 (script instructions) of the CAD data 22 using the command values output from the simulator 28 at each periodic time step ti. As a result, the state calculation unit 29 calculates the time-series behavior (position, orientation, shape, etc.) of the object in the virtual space based on the time-series command values calculated by the simulator 28, and outputs the behavior data. The behavior data includes the position coordinates of the object in the virtual space. The visualizer 27 generates drawing data for drawing and visualizing the object in the virtual space based on the calculated behavior data, and outputs it to the display 109. The display 109 displays an image according to the drawing data. Thereby, the estimated behavior of the actual machine can be visually presented to the user.

[0067] The collection unit 30 is a collection program for data collection. When executing the simulation, the collection unit 30 collects the behavior value D1 output by the actuator emulator 124 at each time step ti, and graphically displays the collected behavior value D1 on the display 109. The behavior value D1 is, for example, the position, rotation speed, speed, acceleration, angular velocity, angular acceleration, etc. calculated in the simulation of each part of the drive device 55.

[0068] <Configuration of Support Device 100> The support device 100 has a configuration corresponding to a computer. FIG. 3 is a diagram showing a hardware configuration example of the support device 100 according to the present embodiment.

[0069] The support device 100 includes, as main components, a processor 102 that executes an operating system (OS) and various programs, a main memory 104 that provides a working area for storing data necessary for the execution of the programs by the processor 102, an operation unit 106, an output unit 108, a network interface 101, a storage 111, an optical drive 115, and a local communication interface 116. These components are connected to each other via an internal bus 118 or the like so as to be able to communicate data with each other.

[0070] The operation unit 106 includes a keyboard, a mouse, or the like for accepting user operations on the support device 100. The output unit 108 includes a display 109, various indicators, a printer, and other devices for outputting information. The network interface 101 is configured to connect the support device 100 to a wireless or wired network 80. The local communication interface 116 is configured to connect the support device 100 to an external device. The network interface 101 or the local communication interface 116 includes a communication circuit such as a network card. The local communication interface 116 may include a circuit for connecting to a USB. The support device 100 communicates with the controller 51 via the network interface 101 or the local communication interface 116.

[0071] The optical drive 115 reads various programs from a computer-readable recording medium 114 including an optical recording medium (for example, a DVD or the like) that non-temporarily stores computer-readable programs, and installs the programs in the storage 111.

[0072] Various programs executed by the support device 100 may be installed via a computer-readable recording medium 114, or may be downloaded and installed from a server device (not shown) on the network 80 via the network interface 101. Alternatively, such programs may be installed via the local communication interface 116 from an external device including a USB memory.

[0073] The storage 111 includes a non-volatile storage medium such as an HDD or SSD, and stores various data and programs executed by the processor 102. Specifically, the storage 111 stores a management program 121 that realizes the management unit 20 when executed, model parameters 16A, a simulation program 126 that realizes the simulator 28 when executed, a GUI program 129 that realizes a module of the GUI unit 240 when executed, a visualization program 137 for drawing the behavior of the facility 10 on the display 109 using drawing data 137a, pairs 17, an FB set 138, and CAD data 22.

[0074] A pair 17 indicates a combination of a control program 15 of a facility 10 to be simulated and a model 16 generated from CAD data 22 of the facility 10. An FB set 138 constitutes a library of one or more function blocks. The function blocks correspond to unit programs constituting the control program 15. The CAD data 22 and the FB set 138 are assigned target IDs 1381 and 1391, respectively, which identify the facility 10 to which they are applied.

[0075] When the visualization program 137 is executed, it realizes the state calculation unit 29 and the visualizer 27. The visualizer 27 generates drawing data 137a for drawing the behavior of the facility 10 on the display 109 based on the virtual space information 105 in the main memory 104. The virtual space information 105 indicates the time-series 3D coordinates calculated by the state calculation unit 29 using the time-series command values (for example, the angular velocity of the motor of the drive device 55, etc.) for each time step ti output from the simulator 28. The visualizer 27 generates drawing data 137a for three-dimensionally drawing an image based on the component data 23 of the CAD data 22 of the facility 10 in the virtual space based on the virtual space information 105, and outputs it to the display 109. The display 109 displays an image of an object based on the drawing data 137a. As a result, on the display 109, the object is displayed according to the behavior values calculated by the simulation, and the movement of the components constituting the facility 10 is reproduced.

[0076] FIG. 3 shows an example of realizing a development environment with a single support device 100, but a plurality of support devices 100 may be linked to realize the development environment. In this case, a part of the processing necessary to realize the development environment may be executed by the support device 100, and the remaining processing may be executed by a cloud-based server or an on-premises server.

[0077] FIG. 3 shows an example in which the development environment is realized by the processor 102 executing one or more programs, but a part of the processing and functions necessary to realize the development environment may be implemented using a circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array).

[0078] <Configuration of CAD Data> Fig. 4 is a diagram showing an example of the configuration of CAD data 22 according to this embodiment. As shown in Fig. 4, the CAD data 22 includes one or more pieces of part data 23 for one or more parts constituting the equipment 10, and one or more pieces of script data 24. The script data 24 corresponds to a program of a script sequence that includes (references) one or more script commands 241 and is described.

[0079] The part data 23 includes shape data 231, attribute parameters 232, and reference data 233. The reference data 233 indicates a reference relationship. The reference relationship includes, but is not limited to, a parent-child relationship, a relationship between a "virtual work detection sensor" and a "virtual work" referenced by the sensor, and a relationship between a "script sequence" and a "script command 241" referenced in the script sequence. In this embodiment, a parent-child relationship is exemplified as the reference relationship indicated by the reference data 233.

[0080] In the part data 23, the part of the attribute is set to "parent" or "child". In the virtual space, when one of two objects corresponding to two parts follows the movement of the other object, the part data 23 of the one object becomes the "parent" of the part data 23 of the other object, and the part data 23 of the other object becomes the "child" of the part data 23 of the one object. The identifier 25 of the "parent" part data 23 is set in the reference data 233 of the "child" part data 23. Note that an object corresponding to a "child" can have one or more "parent" objects. The method of indicating the "parent" part data 23 is not limited to the method of setting the identifier 25 in the reference data 233, and for example, pointer-type data pointing to the "parent" part data 23 may be set.

[0081] <E.エクスポート> The export performed by the support device 100 includes individual export and batch export. The user operates the support device 100 to instruct the support device 100 to perform either the individual export or the batch export as the export.

[0082] (e1. Individual export) 5 is a diagram for explaining the individual export according to the present embodiment. In the individual export, one element data (part data 23 or script data 24) specified by the selection condition 211 is output from the CAD data 22 in the storage unit 21.

[0083] In the individual export, the support device 100, as the list generating unit 212 of the setting unit 210, generates a list of identifiers 25 of a plurality of element data included in the CAD data 22A of the storage unit 21A, and the support device 100, as the imaging unit 213, visualizes the list so as to be displayable on the display 109. More specifically, the imaging unit 213 uses the GUI unit 240 to display an image of the list 130 of FIG. 5, for example, on the display 109. The list 130 includes a list of element names indicated by the identifiers 25. In this embodiment, the list of identifiers 25 (element names) displayed in the export or import may be configured in a hierarchical or tree structure indicating, for example, a parent-child relationship according to the reference relationship indicated by the reference data 233.

[0084] The GUI unit 240 accepts user operations on the screen of the display 109. For example, when the user selects an element name 131 from the list 130 and an option 132 from the processing option list, the GUI unit 240 accepts the user operations.

[0085] The support device 100 extracts an element name 131 from the list 130 based on a user operation received via the GUI unit 240, and sets an instruction to select element data corresponding to the identifier of the element name 131 in the selection condition 211.

[0086] The support device 100, as the export unit 230, searches the storage unit 21A for element data having the identifier 25 indicated by the selection condition 211 in accordance with the instruction of the selection condition 211.

[0087] When the support device 100 receives an operation from the user to specify a file name 134a of a file in which the searched element data is to be stored, the support device 100 stores the exported element data in a file 134 having the file name 134a. In this example, the selected element name 131 indicates "carriage platform 1", so the part data 23 of "carriage platform 1" is stored in the file 134. The file 134 constitutes the storage unit 21B.

[0088] (e2. Determining reference relationships for individual exports) The support device 100 performs a reference determination process as the determination unit 234. In the reference determination process, the support device 100 determines the reference relationship of element data to be transferred (exported or imported). In addition, the support device 100, as the output unit 235, causes the GUI unit 240 to output a message based on the determination result.

[0089] For example, for each part data 23 to be transferred (e.g., part data 23 selected by the selection unit 220), the support device 100 compares the “parent” identifier indicated in the reference data 233 of the part data 23 with the respective identifiers 25 of the other part data 23 to be transferred, and determines from the comparison result whether or not the part data 23 having the identifier 25 matching the “parent” identifier is included in the element data to be transferred.

[0090] In the reference determination process, the support device 100 compares an identifier indicated by the reference data 233 of one piece of part data 23 to be transferred with a "parent" identifier indicated by each of the reference data 233 of the other piece of part data 23 to be transferred. The support device 100 determines that the other piece of part data 23 that matches the comparison is a "child" piece of part data that references the one piece of part data 23 as a "parent".

[0091] Fig. 17 is a diagram showing an example of a message display in individual export according to the present embodiment. When it is determined by the reference determination process that the part data 23 of "Work 1" which is the "parent" of "Work 1 Cover" is not specified, the support device 100 displays, as the GUI unit 240, for example, a message 161 of Fig. 16 together with the screen of the list 130. The message 161 indicates a warning that "Work 1 which is the parent of Work 1 Cover is not targeted for export". When the support device 100 receives a user operation to select the element name "Work 1 Cover" in the list 130, the message 161 may pop up on the screen.

[0092] (e3. Bulk Export) 6 is a diagram for explaining the batch export according to the present embodiment. In the batch export, a plurality of element data (part data 23 or script data 24) specified by the selection condition 211 is output from the CAD data 22 in the storage unit 21.

[0093] In bulk export, the support device 100, as the list generation unit 212 and the imaging unit 213 of the setting unit 210, generates a list of identifiers 25 of element data included in the CAD data 22A in the memory unit 21A, and displays, for example, an image of the list 130 in FIG.

[0094] The GUI unit 240 accepts user operations of selecting multiple element names and selecting the batch export processing option 132. The element name selection operation includes an operation of specifying an element name in the list 130 with a mark 133. The mark 133 constitutes a UI image that accepts such a user operation.

[0095] Based on such user operation, the support device 100 extracts multiple element names indicated by marks 133 from the list 130, and sets in the selection condition 211 an instruction to select element data corresponding to the identifiers 25 of the multiple element names.

[0096] The support device 100, as the export unit 230, searches the storage unit 21A for element data having the identifier 25 for each of the identifiers 25 of the multiple element names 131 indicated by the selection conditions 211, based on the identifier 25, in accordance with the instruction of the selection conditions 211. As a result, multiple element data corresponding to the multiple element names 131 are exported.

[0097] The support device 100 stores the exported multiple data elements in a file 134 having a file name 134a designated by the user. The file 134 constitutes the storage unit 21B.

[0098] In the batch export, the selection condition 211 can be set based on the script data 24. More specifically, when the element data of the element name 131 specified by the mark 133 is the script data 24, the support device 100, as the setting unit 210, parses the script data 24 and extracts, from the script data 24, the identifier 25 of the part data 23 referenced by the script command 241. The support device 100 sets, in the selection condition 211, an instruction to select the element data corresponding to the extracted identifier 25.

[0099] (e4. Determining reference relationships for bulk export) Fig. 18 is a diagram showing an example of a message display in the batch export according to the present embodiment. In the batch export, the support device 100, as the determination unit 234, performs the above-mentioned reference determination process on each part data 23 to be exported, which is designated by the mark 133 shown as a result of the selection by the selection unit 220. When it is determined that the "parent" part data 23 is not to be exported, the support device 100, as the output unit 235, displays, for example, the message shown in Fig. 18 via the GUI unit 240.

[0100] FIG. 18 shows a message in a table format. The table in FIG. 18 includes a column 141 of the list 130 of element names and a column 140 of remarks. For example, if it is determined that the "parent" part data 23 of "Work 1" is not to be exported, that is, is not designated by a mark 133 in the list 130, the table shows that the "parent" of the element names of the part data having a parent-child relationship with the part data 23 of "Work 1" is "pallet", and the "children" are "Work 1 cover", "Work 1 connector", and "Work accessory". Since the part data 23 of the "parent" "pallet" is not to be exported, the element name "pallet" is visualized in a predetermined manner, for example, in red 142. The "child" element names are visualized in another manner, for example, in blue 143.

[0101] Furthermore, the support device 100 performs a reference determination process on the script data 24. For example, in the list 130, the script data 24 of "script work 1" is selected as an export target by the mark 133. The support device 100 parses the script data 24, detects variable names described together with script commands from the script data 24 based on the parsing result, and determines whether the part data 23 referenced by the detected variable names is an export target. More specifically, for example, when the support device 100 detects a variable name in the script data 24 that references the part data 23 of "work 1", it determines whether the referenced part data 23 of "work 1" is an export target designated by the mark 133.

[0102] When the part data 23 of "Work 1" is determined to be exported by such reference determination processing, the support device 100 displays the element name "Script Work 1" in column 141 as the GUI unit 240, for example, in blue 143. If the detected "Work 1" is not designated by the mark 133 and is determined to be not exported, the element name "Script Work 1" in column 141 is visualized in a predetermined manner different from blue 143, for example, displayed in red 142.

[0103] In this way, the message displayed on the display 109 notifies the user of the reference relationship by displaying in a predetermined color the element names of element data having a reference relationship with the element data selected as the object to be exported. Also, the element name of the "parent" part data 23 or the part data 23 referenced in the script data 24 is displayed in red 142 to alert the user that the part data 23 with that element name is not the object to be exported.

[0104] <F.インポート> The support device 100 includes a batch import and an individual import as CAD data import modes, which will be described later. A user operates the support device 100 to instruct the support device 100 to perform either the batch import or the individual import.

[0105] (f1. Importing reference relationships) In the import, the element data is imported while maintaining reference relationships such as parent-child relationships. Figs. 14 to 16 are diagrams showing reference data 233 of element data imported into the storage unit according to this embodiment. The reference data 233 of the part data 23 of "Work 1 Cover" in Fig. 14 indicates that the "parent" is "Work 1". The reference data 233 of the script data 24 in Fig. 15 indicates that the part data 23 of "Work 1" is referenced. The reference data 233 of the part data 23 of "Virtual Work Detection Sensor" in Fig. 16 indicates that the "parent" is "Virtual Work".

[0106] (f2. Bulk import) As an example of the batch import, the import of a file of CAD data 22 (hereinafter, also referred to as a CAD file) will be illustrated. Fig. 8 is a diagram for explaining the import of a CAD file according to the present embodiment. The first CAD data and the second CAD data are stored in the storage unit 21B in a file format.

[0107] More specifically, the support device 100 uses the GUI unit 240 to display, for example, an image of the list 130 in FIG. 8 on the display 109. The list 130 includes a list of file names of various files stored in the storage unit 21B. The GUI unit 240 accepts user operations on the screen of the display 109. For example, the user selects option 132 for importing a CAD file from a list of processing options. The support device 100 imports element data of the CAD file into the storage unit 21C based on the user operation.

[0108] The support device 100 accepts an operation to specify a file name 134a, and displays a list 130 of identifiers of element data of the CAD file. The file name 134a indicates the file name of the CAD file imported into the storage unit 21C. The support device 100 performs the above-mentioned reference determination process for each element data (part data 23 or script data 24) included in the CAD file to be imported. As a result, when it is determined that the "parent" part data 23 is not to be imported, that is, is not included in the CAD file, the support device 100 displays, as the GUI unit 240, a message such as "Parent Work 1 of Work 1 Cover was not imported" on the display 109.

[0109] (f3. Individual import) In the individual import, the support device 100 performs a comparative import process. In the comparative import process, the support device 100 selects first CAD data and second CAD data from among a plurality of CAD data stored in the storage unit 21B, and as the comparison unit 311, compares the first CAD data with the second CAD data, and imports one or more element data based on the result of the comparison into the storage unit 21C. Figs. 9 to 13 are diagrams showing examples of screen displays in the comparative import process according to this embodiment.

[0110] (Display example 1) The screen in Fig. 9 has parallel windows W1 and W2. The support device 100, as the comparison unit 311, displays object images based on the first CAD data and the second CAD data, respectively, i.e., object images corresponding to the equipment 10A and 10B, in the windows W1 and W2 via the GUI unit 240. An "object image" refers to an image in which an object (image) of each part is arranged in a virtual space based on the shape data 231 of each part data 23 included in the CAD data. In the object image, the objects of each part are color-coded so that they can be distinguished from each other.

[0111] The support device 100, as the GUI unit 240, accepts a user operation to select one or more component objects from the window W1 or W2. The support device 100, as the setting unit 310, specifies one or more element data from among the element data of the first CAD data and the second CAD data based on the accepted user operation, and sets an instruction to select the specified one or more element data in the selection condition 214.

[0112] (Display example 2) In the comparative import process, as shown in FIG. 10, object images based on the first CAD data, the second CAD data, and the element data to be imported may be arranged in parallel windows W1, W2, and W3 on the display 109, respectively.

[0113] 9, the support device 100 displays object images based on the first CAD data and the second CAD data in windows W1 and W2, respectively. The support device 100, as the comparison unit 311, compares the first CAD data with the second CAD data and detects the different part data 23 indicated by the comparison result. In the comparison, the support device 100 compares the part data 23 having the same value of the identifier 25 between the first CAD data and the second CAD data.

[0114] The support device 100, as the GUI unit 240, displays the object of the part data 23 in which a difference has been detected in a predetermined manner (blinking, inverted display, etc.) in the object image. In the object images of windows W1 and W2 in Fig. 10, the object 110 of the part data 23 in which a difference has been detected is displayed in a predetermined manner. Fig. 10 shows that the difference between the part data 23 having the same identifier 25 value is the difference in the coordinate position in the virtual space indicated by the shape data 231. Note that element data contained in only one of the first CAD data and the second CAD data may be detected as the difference.

[0115] The user selects the import target based on the displayed difference. For example, the support device 100, as the GUI unit 240, accepts a user operation to select one or more component objects from the window W1 or W2. The support device 100, as the setting unit 310, specifies one or more element data from among the element data of the first CAD data and the second CAD data based on the accepted user operation, and sets an instruction to select the specified one or more element data in the selection condition 214.

[0116] Furthermore, the user operation for selecting the import target may be the selection of one of the CAD files, the first CAD data in window W1 or the second CAD data in window W2. The object image in window W3 in Fig. 10 shows a case in which the CAD file in window W1 has been selected as the import target, i.e., all element data constituting the first CAD data has been selected.

[0117] 9 and 10 are displayed by the three-dimensional imaging unit 312a of the imaging unit 312. More specifically, the three-dimensional imaging unit 312a arranges a first three-dimensional virtual space in which one or more objects based on shape data of one or more component data of the first CAD data are arranged, and a second three-dimensional virtual space in which one or more objects based on shape data of one or more component data of the second CAD data are arranged so as to be comparable to each other, and creates a three-dimensional image. The three-dimensional image is displayed on the display 109 via the GUI unit 240.

[0118] (Display example 3) When a predetermined operation such as clicking is performed on the object 110 corresponding to the difference on the screen of Fig. 10, the support device 100 displays the screen of Fig. 11 on the display 109 via the GUI unit 240 in response to the user operation. The screens of Fig. 10 and Fig. 11 may be displayed on the display 109 as multiple screens.

[0119] 11, among a plurality of types of attributes possessed by part data 23 corresponding to object 110, attribute 112 for which a difference has been detected is displayed in a distinguishable manner in a predetermined display mode such as red. When a user clicks on attribute 112, support device 100 reflects the value of attribute 112 in the attribute of part data 23 of object 110 to be imported based on the user operation. In FIG. 11, a "parent" value 113 indicated by reference data 233 possessed by part data 23 of object 110 is also displayed. In this way, in association with object 110, the three-dimensional image also includes a user interface (UI) image (such as the dashed line image in FIG. 10) that accepts a designation operation for the object.

[0120] (Display example 4) In the windows W1 and W2 arranged in parallel on the screen of FIG. 12, a list 130 of element names indicated by the identifiers 25 of element data included in the first CAD data and a list 130 of element names indicated by the identifiers 25 of element data included in the second CAD data are displayed, respectively. In addition, in a window W3 arranged in parallel to the windows W1 and W2, a list 130 of element names indicated by the identifiers 25 of element data to be imported selected based on a user operation is displayed. When the user designates one or more element names from the lists 130 of the windows W1 and W2 with a mark 133, the support device 100, as the setting unit 310, adds the element names of the element data designated by the mark 133 based on the designation operation to the list 130 of the window W3. The support device 100, as the setting unit 310, sets an instruction to select element data corresponding to each element name in the list 130 of the window W3 in the selection condition 214.

[0121] 12 is realized by the list imaging unit 312b of the imaging unit 312. The list imaging unit 312b images a list of identifiers 25 of a plurality of element data of the first CAD data and a list of identifiers 25 of a plurality of element data of the second CAD data, arranging them so as to be comparable to each other. Such a list may be shown in the above-mentioned hierarchical or tree structure based on the reference data 233. An image of the list is displayed on the display 109 via the GUI unit 240.

[0122] (Example 5) In the comparative import process, the support device 100, as the comparison unit 311, compares the script data 24 having the same identifier 25 between the first CAD data and the second CAD data, and displays the comparison result on the display 109 via the GUI unit 240. The screen in Fig. 13 displays the comparison result between such script data 24.

[0123] 13, the script commands 241 written in the script data 24 of the first CAD data are displayed in window W1, and the script commands 241 written in the script data 24 of the second CAD data are displayed in window W2. A difference is detected in the script commands 241 on lines 47 and 49 between the two script data 24. A mark 139 is displayed on the lines where a difference is detected.

[0124] The user operates the button 135 on the display 109. The support device 100 accepts the user operation via the GUI unit 240, and rewrites the script command 241 of the line in which a difference was detected based on the accepted user operation. Rewriting includes line-by-line rewriting and batch rewriting. In line-by-line rewriting, for example, the script command 241 of the window W2 of a selected line among the lines in which a difference was detected is rewritten with the script command 241 of the line in the window W1. In batch rewriting, for each line of all lines in which a difference was detected, the script command 241 of the line in the window W2 is rewritten with the script command 241 of the line in the window W1.

[0125] After such rewriting, the user operates the button 136. The support device 100 accepts the user operation via the GUI unit 240, and based on the accepted user operation, compares the script data 24 of the window W1 after the rewriting with the script data 24 of the window W2, and displays the result of the comparison.

[0126] 13 is realized by the sequence imaging section 312c of the imaging section 312. The sequence imaging section 312c images the command sequence of the first script data included in the first CAD data and the command sequence of the second script data included in the second CAD data and having an identifier matching the identifier 25 of the first script data, by arranging them so as to be comparable with each other. Such an imaged screen is displayed on the display 109 via the GUI section 240.

[0127] <Flowchart and Display Example of G. Export> The processing implemented by the processor 102 by executing the instructions of the management program 121 and the GUI program 129 will be described with reference to the flowchart.

[0128] (g1. Flowchart of Individual Export) In individual export, a case where only one piece of component data 23 is imported will be described. FIG. 19 is a flowchart of the processing of individual export according to the present embodiment. In FIG. 19, the messages output in association with the flowchart are shown.

[0129] The processor 102 sets the selection condition 211 (step S31). Here, according to the selection condition 211, for example, one piece of element data (component data 23) corresponding to the component of "Work 1" is selected. The processor 102 searches for the component data 23 from the CAD data 22A in the storage unit 21A based on the selection condition 211. The processor 102 performs a reference determination process based on the reference data 233 of the searched component data 23, and determines whether the component data 23 of "Work 1" refers to other component data 23 as "parent" (step S33).

[0130] If it is determined that it does not refer to other component data 23 as "parent" (NO in step S33), the process proceeds to step S37. If it is determined that it refers to other component data 23 as "parent" (YES in step S33), the message 151 is displayed on the display 109 (step S35). The message 151 indicates, for example, that the "parent" of "Work 1" is "pallet", and that the element data of "Work 1" is exported with the reference data 233 deleted. In step S35, the processor 102 performs a deletion process (for example, a process of rewriting to "empty") on the value of the reference data 233 of the searched component data 23 of "Work 1".

[0131] The processor 102 determines whether the part data 23 of "work 1" is referenced by other part data 23 as a "parent" (step S37). More specifically, in the reference determination process, the processor 102 searches the CAD data 22 in the storage unit 21A based on the identifier 25 of the element data of "work 1", and determines whether there is other element data having reference data 233 indicating the value (element name) of the identifier 25 as a "parent" based on the search result. If it is determined that the part data 23 of "work 1" is not referenced by other element data as a "parent" (NO in step S37), the process proceeds to step S41.

[0132] When it is determined that the part data 23 of "Work 1" is referenced as a "parent" by other part data 23 (YES in step S37), the processor 102 displays a message 152 on the display 109 (step S39). The message 152 indicates, for example, that "Work 1" is referenced by "Work 1 Cover" and "Work 1 Connector", and that only the element data of "Work 1" will be exported.

[0133] The processor 102 exports the part data 23 of the searched "work 1" to the storage unit 21B (step S41).

[0134] (g2. Bulk export flow chart) Fig. 20 is a flowchart of the batch export process according to this embodiment. In the flowchart of Fig. 20, an instruction is set in the selection condition 211 to select part data 23 corresponding to a plurality of element names designated by marks 133 by a user operation from the list 130 on the screen of Fig. 6. Here, for the sake of explanation, the part data 23 designated by marks 133 is referred to as target part data 23.

[0135] In order to receive selection conditions 211 for batch export, the processor 102 displays, for example, the list 130 in Fig. 6 on the display (step S1). For example, the processor 102 receives a designation operation using the mark 133 of an element name in the list 130 in Fig. 6 (step S3). The processor 102 searches the storage unit 21A for target part data 23 having an identifier 25 indicating the designated element name, and performs a reference determination process on the reference data 233 of the searched target part data 23.

[0136] Based on the result of the reference determination process, the processor 102 determines whether the CAD data 22A in the storage unit 21A includes other "child" part data 23 that references the target part data 23 (step S5). If it is determined that the CAD data 22A does not include other part data 23 (NO in step S5), the process proceeds to step S7. If it is determined that the CAD data 22A includes other part data 23 (YES in step S5), the processor 102 determines whether the other part data 23 is to be exported (step S13). That is, the processor 102 determines whether the other part data 23 has already been specified as the target part data 23 in step S3.

[0137] If it is determined that the other part data 23 is to be exported (YES in step S13), the process proceeds to step S7. If it is determined that the other part data 23 is not to be exported (NO in step S13), the processor 102 causes the display 109 to display, for example, the table of Fig. 18, and causes the element names of the other part data 23 not determined to be exported in the table to be displayed in blue characters (step S15). Then, the process proceeds to step S7.

[0138] Based on the result of the reference determination process, the processor 102 determines whether the CAD data 22A in the storage unit 21A includes other part data 23 that the target part data 23 references as a "parent" (step S7). If it is determined that the CAD data 22A does not include other part data 23 that is a "parent" (NO in step S7), the process proceeds to step S9. If it is determined that the CAD data 22A includes other part data 23 (YES in step S7), the processor 102 determines whether the other part data 23 is to be exported (step S13). That is, the processor 102 determines whether the other part data 23 has already been designated as the target part data 23 in step S3.

[0139] If it is determined that the "parent" other part data 23 is to be exported (YES in step S17), the process proceeds to step S9. If it is determined that the other part data 23 is not to be exported (NO in step S9), the processor 102 causes the display 109 to display the table of Fig. 18, and causes the element names of the other part data 23 not determined to be exported in the table to be displayed in red characters (step S19). Then, the process proceeds to step S9.

[0140] The processor 102 determines whether or not the designation of the target part data 23 continues based on the user operation on the support device 100 (step S9). If it is determined that the designation has ended (NO in step S9), the process proceeds to step S21, but if it is determined that the designation continues (YES in step S9), the process returns to step S3, where the processor 102 accepts the designation of the next target part data 23 and performs the processes in and after step S5 for the next target part data 23.

[0141] The processor 102 determines whether or not other part data 23 referenced as a "parent" by each target part data 23 is exported (step S21). That is, it determines whether or not the element name in red characters is included in the table of FIG. 18.

[0142] When it is determined that the other part data 23 referenced as the "parent" is not to be exported (YES in step S21), the processor 102 displays, for example, a message 161 in FIG. 17 on the display 109 to notify that the reference will be deleted (step S22), and proceeds to step S23. In step S22, the processor 102 executes a deletion process of the reference data 233.

[0143] When it is determined that the other part data 23 referred to as the "parent" is to be exported (NO in step S21), the processor 102 performs a batch export of the multiple target part data 23 designated in step S3 (step S23).

[0144] (g3. Changing variable names in script data) 21 and 22 are diagrams showing display examples of script data 24 according to this embodiment. If part data 23 corresponding to a variable name referenced in script data 24 to be exported is not to be exported, the support device 100 changes (replaces) the variable name to a predetermined variable name 158 when performing export, as shown in Fig. 22. The variable name 158 includes, for example, a message to call attention that the part data 23 was not to be exported.

[0145] FIG. 21 shows code 153 in the case where part data 23 corresponding to a variable name referenced in script data 24 is to be exported. Code 153 is a command code of script data 24 described using a variable name. For example, code 153 has a variable name 154 for referencing part data 23 of part "palette". In contrast, FIG. 22 shows code 155 after code 153 is changed in the case where part data 23 of part "palette" is not to be exported. In code 155, variable name 154 is changed to a predetermined variable name 158. Support device 100 adds comment 57a to code 155 near variable name 158. Comment 57a includes a message that part data 23 to be referenced has not been exported and therefore needs to be imported and added. Support device 100 also displays mark 156 on display 109 at the position where comment 57a and variable name 158 are described.

[0146] Although the support device 100 changes the variable name 158 and adds the message 157 when the script data 24 is exported, it may also be possible to perform these operations when the script data 24 is imported.

[0147] (g4. Flowchart of exporting script data) Fig. 23 is another process flowchart of the batch export according to the present embodiment. In Fig. 23, a message 159 indicating a change in variable name is shown in association with the flowchart. The processor 102 displays, for example, the list 130 of Fig. 6 on the display in order to accept selection conditions 211 for the batch export (step S51). For example, the processor 102 sets the selection conditions 211 for selecting element data to be exported based on a user operation accepted via the list 130 of Fig. 6.

[0148] The processor 102 determines whether the script data 24 is included in the multiple element data to be exported at once, which is indicated by the selection condition 211 (step S53). If it is determined that the multiple element data does not include the script data 24 (NO in step S53), the process proceeds to step S65. On the other hand, if it is determined that the multiple element data includes the script data 24 (YES in step S53), the processor 102 performs a reference determination process on the script data 24 (steps S55, S57, and S59). In this reference determination process, the processor 102 parses the script data 24 (step S55), identifies part data 23 referenced by one or more detected variable names indicated by the parsing result (step S57), and determines whether all of the identified one or more part data 23 are to be exported (step S59).

[0149] If it is determined that all of the identified part data 23 are to be exported (YES in step S59), the process proceeds to step S65. If it is determined that all of the identified part data 23 are not to be exported (NO in step S59), that is, if it is determined that at least one of the part data 23 is not to be exported, the processor 102 changes the variable name that refers to the part data 23 to a predetermined variable name (step S63), as shown in Fig. 21. The processor 102 also causes the display 109 to display a message 159 that prompts the user to redefine the changed variable name (step S63), and executes the batch export (step S65).

[0150] (g5. Import support information) Fig. 24 is a diagram showing a display example of an import list according to the present embodiment. When the CAD data 22 is imported, the support device 100 provides information to support the user in setting (resetting) the reference data 233 deleted in the CAD data 22 or the changed variable name 158. An example of the support information is shown in Fig. 24. The import list displayed on the display 109 in Fig. 24 includes, for each of one or more imported element data, an element name 242, an element name 243, and an element name 244 indicated by the identifier 25 of the element data. The element name 243 is the reference element data of the element data of the corresponding element name 242, and indicates the identifier 25 of the reference element data (such as the "parent" part data 23 or the part data 23 indicated by the variable name) to be attached to the CAD data 22 of the import source. The element name 244 is the referencing element data of the element data of the corresponding element name 242, and indicates the identifier 25 of the referencing element data (such as the "child" part data 23 or script data 24) in the import source CAD data 22.

[0151] In the import list, the referenced element data with element name 243 marked with (A1) indicates that the reference data 233 was deleted during export or import. Also, the referencing element data with element name 244 marked with (A2) indicates that it was not imported because it was not a target for import. This indicates that the referenced data 233 was deleted during import or that the variable name was changed to variable name 158 in the script data 24.

[0152] (g6. Change of element data identifier) The support device 100 functions as the import unit 330 to change the identifier 25 of the element data to be imported, and imports the element data after the change. Figures 25 to 27 are diagrams for explaining the change of the identifier 25 according to this embodiment. In Figures 25 to 27, the identifier 25 indicates the element name.

[0153] More specifically, based on the identifier 25 of the element data to be imported, the support device 100 searches the storage unit 21C (or CAD data 22C) where the import destination is located for the element data having the identifier 25 indicating a name that matches the element name of the said identifier 25. The support device 100 changes the identifier 25 of the retrieved element data so as to indicate a name different from the element name of the identifier 25 of the element data to be imported.

[0154] The support device 100 causes the display 109 to display a message notifying the change of the identifier 25 described above. The message 251 in FIG. 25 shows the element names before and after the change for the identifier 25 in association with each other. For each element data to be imported, when the identifier 25 indicated by the reference data 233 of the said element data shows the element name before the above change, the support device 100 changes the identifier 25 of the said reference data 233 so as to show the element name after the change so that the reference relationship is maintained.

[0155] The above message 251 may be a message as shown in FIG. 26 or FIG. 27. In FIG. 26, the message 251 includes the element name 254 after the change of the element data for which the identifier 25 has been changed, and the element names 252 and 253 of the element data for which the identifier 25 has not been changed, for the element data to be imported. In FIG. 27, the message 251 includes the element names 255 before and after the change, and the element name 256 of the element data for which the identifier 25 has not been changed, for the element data to be imported.

[0156] <H. Robot Integration System> The support device 100 supports a user who designs a robot integration system that integrates an industrial robot and peripheral devices. FIG. 28 is a schematic diagram showing an example of the unit configuration of the robot integration system according to the present embodiment. The facility 10 described above may also include a robot connected to the field network 4 in FIG. 28.

[0157] The robot integrated system of FIG. 28 includes a PLC 200, servo motor drivers 31a, 31b and a remote IO terminal 5 connected to the PLC 200 via a field network 4, a robot controller 410, and IO devices provided in the field (e.g., a photoelectric sensor 33a, a proximity sensor 341 provided on a stopper 340, and encoders 351, 352, etc.).

[0158] The PLC 200 includes an arithmetic unit 201 that executes main arithmetic processing, one or more IO units 202, and a special unit 203. These units are configured to be able to exchange data with each other via a system bus 205, and are supplied with power from a power supply unit 204. The arithmetic unit 201 is connected to the support device 100 via a network 3.

[0159] The IO unit 202 collects behavior values ​​from IO devices including the photoelectric sensor 33a, the proximity sensor 341 of the stopper 340, and the encoders 351 and 352. The special unit 203 has functions that are not supported by the IO unit 202, such as input and output of analog data, temperature control, and communication using a specific communication method.

[0160] A robot controller 410, servo motor drivers 31a and 31b, and a remote IO terminal 5 may be connected to the field network 4. The remote IO terminal 5 includes a communication coupler 501 for performing processing related to data transmission in the field network 4, and one or more IO units 502. These units are configured to be able to exchange data with each other via a remote IO terminal bus 503.

[0161] Examples of drive devices, servo motor drivers 31a and 31b, are connected to the arithmetic unit 201 via the field network 4 and drive servo motors 321 and 322 according to command values from the arithmetic unit 201. Specifically, servo motor drivers 31a and 31b periodically receive command values such as position command values, speed command values, and torque command values from the PLC 200. The arithmetic unit 201 generates these command values based on the detection values (behavior values) from encoders 351 and 352.

[0162] The arithmetic unit 201 refers to the detection values from the IO devices described above and executes the control program 15 to output command values for operating the robot 400. The robot controller 410 drives servo motors 421 to 423 provided in the robot 400 according to the command values. Encoders (not shown) are arranged on the respective rotation axes of servo motors 421 to 423. The encoder outputs behavior values such as the position (rotation angle), rotation speed, and cumulative rotation count of the servo motor to the robot controller 410 as feedback values of the corresponding servo motor.

[0163] The management unit 20 according to the present embodiment is configured to be able to implement both the module in FIG. 1 and the module in FIG. 7, or to be able to implement one of the two. When both are implemented in the management unit 202, the support device 100 can perform resource allocation or exclusive control so that the use of resources (for example, the storage unit 21) does not conflict between the two.

[0164] <I. Supplementary Note> The present embodiment as described above includes the following technical ideas. [Configuration 1] An information processing apparatus (100) for supporting the design of factory automation (FA), a storage unit (21B) that stores first CAD data (22B-1) and second CAD data (22B-2), which are CAD data of objects provided in the FA and each have a plurality of element data; A setting unit (310) for setting selection conditions; a selection unit (320) that selects one or more element data from the plurality of element data of the first CAD data and the second CAD data in accordance with the selection condition (214); an import unit (330) for importing the one or more selected element data; The setting unit is an imaging unit (312) that images a plurality of element data between the first CAD data and the second CAD data so as to be comparable to each other; The information processing device sets the selection condition to select one or more of the plurality of imaged element data based on a user operation. [Configuration 2] The element data includes an identifier (25A, 25B) for identifying the element data, The imaging unit includes: The information processing device according to configuration 1, further comprising a list imaging unit (312b) that arranges and images a list of identifiers of a plurality of element data of the first CAD data and a list of identifiers of a plurality of element data of the second CAD data so as to be comparable to each other. [Configuration 3] The element data includes reference data (233) indicating identifiers of other element data having a reference relationship with the element data, 3. The information processing apparatus according to configuration 2, wherein the list of identifiers of the plurality of element data includes a tree of the reference relationships configured by identifiers of the reference data. [Configuration 4] The list imaging unit includes: The information processing device according to configuration 2 or 3, wherein identifiers of one or more element data that differ between the plurality of element data of the first CAD data and the plurality of element data of the second CAD data are imaged in a predetermined manner in the list. [Configuration 5] the user operation includes a designation operation for designating an identifier of the list; 5. The information processing device according to any one of configurations 2 to 4, wherein the image in the list includes a user interface (UI) image that accepts the designation operation. [Configuration 6] The element data includes different types of element data, The different types of element data are: 6. The information processing device according to any one of configurations 1 to 5, further comprising part data (23A, 23B) having shape data for arranging objects indicating shapes of parts constituting the target object in a three-dimensional virtual space. [Configuration 7] The imaging unit includes: The information processing device according to configuration 6, further comprising a three-dimensional imaging unit (312a) that arranges a first three-dimensional virtual space in which one or more objects based on shape data of one or more part data of the first CAD data are arranged, and a second three-dimensional virtual space in which one or more objects based on shape data of one or more part data of the second CAD data are arranged so as to be comparable to each other, and three-dimensionally images the first three-dimensional virtual space and the second three-dimensional virtual space. [Configuration 8] The three-dimensional imaging unit includes: The information processing device of configuration 7, wherein one or more objects that differ between the one or more objects arranged in the first three-dimensional virtual space and a second object arranged in the second three-dimensional virtual space are imaged in a predetermined manner. [Configuration 9] the user operation includes a designation operation for designating an object arranged in the three-dimensional virtual space, 9. The information processing device according to configuration 7 or 8, wherein the three-dimensional image includes a user interface (UI) image that accepts a designation operation of the object. [Configuration 10] The element data includes different types of element data, The different types of element data are: Part data (23A, 23B) having shape data for arranging objects indicating the shapes of parts constituting the target object in a three-dimensional virtual space; Script data (24A, 24B), The script data is 10. The information processing device according to any one of configurations 1 to 9, comprising a command sequence of a script command (241) written including an identifier of part data to which the script data refers. [Configuration 11] The imaging unit includes: The information processing apparatus according to configuration 10, further comprising a sequence imaging unit (312c) that arranges and images a command sequence of first script data included in the first CAD data and a command sequence of second script data included in the second CAD data, the second script data having an identifier matching an identifier of the first script data, so as to be comparable to each other. [Configuration 12] The sequence imaging unit includes: 12. The information processing device of configuration 11, wherein one or more script instructions that differ between an instruction sequence of the first script data and an instruction sequence of the second script data are imaged in a manner predetermined in the instruction sequences. [Configuration 13] A method for supporting design of factory automation (FA), comprising: A processor (120) searches a storage unit that stores first CAD data (22B-1) and second CAD data (22B-2), each of which has a plurality of element data, of an object to be provided in the FA; The processor sets a selection condition (214); said processor selecting one or more element data from a plurality of element data of said first CAD data and said second CAD data in accordance with said selection condition; The processor imports the one or more selected element data; The setting includes: converting a plurality of element data into images in a manner that allows comparison between the first CAD data and the second CAD data; and setting the selection condition to select one or more of the plurality of imaged element data based on a user operation. [Configuration 14] A program (121) that, when executed by a processor (102), causes the processor to execute a method for supporting design of factory automation (FA), comprising: The method comprises: The processor searches a storage unit (21B) that stores first CAD data (22B-1) and second CAD data (22B-2) of an object provided in the FA, each of the first CAD data (22B-1) and second CAD data (22B-2) having a plurality of element data; The processor sets a selection condition (214); said processor selecting one or more element data from a plurality of element data of said first CAD data and said second CAD data in accordance with said selection condition; The processor imports the one or more selected element data; The setting includes: converting a plurality of element data into images in a manner that allows comparison between the first CAD data and the second CAD data; and setting the selection condition to select one or more of the plurality of imaged element data based on a user operation.

[0165] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0166] 10,10A,10B Equipment, 15 Control program, 16 Model, 16A Model parameters, 17 Pair, 20 Management section, 21,21A,21B,21C Memory section, 22,22A,22B,22C CAD data, 23,23A,23B,23C Part data, 24,24A,24B,24C Script data, 25,25A,25B,25C Identifier, 26 Model creation section, 27 Visualizer, 28 Simulator, 29 State calculation section, 30 Collection section, 51 Controller, 55 Drive equipment, 57a Comment, 100 Support device, 101 Network interface, 102 Processor, 104 Main memory, 105 Virtual space information, 106 Operation unit, 108 Output unit, 109 Display, 111 Storage, 114 recording medium, 115 optical drive, 116 local communication interface, 120 controller emulator, 121 management program, 124 actuator emulator, 126 simulation program, 129 GUI program, 130 list, 131, 242, 243, 244, 252, 253, 254, 255, 256 element name, 132 option, 133, 139, 156 mark, 135, 136 button, 137 visualization program, 137a drawing data, 140, 141 column, 142 red, 143 blue, 151, 152, 157, 159, 161, 251 message, 154, 158 variable name, 210, 310 setting section, 211, 214 selection condition, 212 list generation section, 213, 312 Imaging section, 220, 320, selection section, 230, export section, 231, shape data, 232, attribute parameters, 233, reference data, 234, judgment section, 235, output section, 240, GUI section, 241, script command, 311, comparison section, 312, imaging section, 312a, three-dimensional imaging section, 312b, list imaging section, 312c, sequence imaging section.

Claims

1. An information processing device for supporting design of factory automation (FA), a storage unit for storing first CAD data and second CAD data, each of which has a plurality of element data, of an object to be provided in the FA; A setting section for setting selection conditions; a selection unit that selects one or more element data from a plurality of element data of the first CAD data and the second CAD data in accordance with the selection condition; an import unit that imports the one or more selected element data; The setting unit is an imaging unit that images a plurality of element data between the first CAD data and the second CAD data so as to be comparable to each other; The information processing device sets the selection condition to select one or more of the plurality of imaged element data based on a user operation.

2. The element data includes an identifier for identifying the element data, The imaging unit includes: 2 . The information processing apparatus according to claim 1 , further comprising a list imaging unit that images a list of identifiers of a plurality of element data of the first CAD data and a list of identifiers of a plurality of element data of the second CAD data, arranged so as to be comparable to each other.

3. The element data includes reference data indicating identifiers of other element data having a reference relationship with the element data, The information processing apparatus according to claim 2 , wherein the list of identifiers of the plurality of element data includes a tree of the reference relationships constituted by identifiers of the reference data.

4. The list imaging unit includes:

4. The information processing apparatus according to claim 2, wherein identifiers of one or more element data that differ between the plurality of element data of the first CAD data and the plurality of element data of the second CAD data are visualized in the list in a predetermined manner.

5. the user operation includes a designation operation for designating an identifier of the list; The information processing device according to claim 2 , wherein the image in the list includes a user interface (UI) image that accepts the designation operation.

6. The element data includes different types of element data, The different types of element data are: The information processing apparatus according to claim 1 , further comprising part data having shape data for arranging objects indicating shapes of parts constituting the target object in a three-dimensional virtual space.

7. The imaging unit includes:

7. The information processing device according to claim 6, further comprising a three-dimensional imaging unit that arranges a first three-dimensional virtual space in which one or more objects based on shape data of one or more part data of the first CAD data and a second three-dimensional virtual space in which one or more objects based on shape data of one or more part data of the second CAD data are arranged in a manner that allows them to be compared with each other, and creates three-dimensional images.

8. The three-dimensional imaging unit includes: The information processing device according to claim 7 , wherein one or more objects that differ between the one or more objects arranged in the first three-dimensional virtual space and a second object arranged in the second three-dimensional virtual space are imaged in a predetermined manner.

9. the user operation includes a designation operation for designating an object arranged in the three-dimensional virtual space, The information processing device according to claim 7 , wherein the three-dimensional image includes a user interface (UI) image that accepts an operation for specifying the object.

10. The element data includes different types of element data, The different types of element data are: part data having shape data for arranging objects representing shapes of parts constituting the target object in a three-dimensional virtual space; script data, The script data is The information processing apparatus according to claim 1 , further comprising a command sequence of a script command written including an identifier of part data to which the script data refers.

11. The imaging unit includes:

11. The information processing apparatus according to claim 10, further comprising a sequence imaging unit that images an instruction sequence of first script data included in the first CAD data and an instruction sequence of second script data included in the second CAD data and having an identifier matching an identifier of the first script data, by arranging them in a manner that makes them comparable to each other.

12. The sequence imaging unit includes: The information processing apparatus according to claim 11 , wherein one or more script instructions that differ between the instruction sequence of the first script data and the instruction sequence of the second script data are imaged in a manner that is predetermined in the instruction sequence.

13. A method for supporting design of factory automation (FA), comprising: A processor searches a storage unit that stores first CAD data and second CAD data, each of which has a plurality of element data, of an object to be provided in the FA; said processor setting selection conditions; the processor selects one or more element data from a plurality of element data of the first CAD data and the second CAD data in accordance with the selection condition; The processor imports the one or more selected element data; The setting includes: imaging a plurality of element data between the first CAD data and the second CAD data in a manner that allows comparison with each other; and setting the selection condition to select one or more of the plurality of imaged element data based on a user operation.

14. A program that, when executed by a processor, causes the processor to execute a method for supporting design of factory automation (FA), comprising: The method comprises: The processor searches a storage unit that stores first CAD data and second CAD data, each of which has a plurality of element data, of an object to be provided in the FA; said processor setting selection conditions; the processor selects one or more element data from a plurality of element data of the first CAD data and the second CAD data in accordance with the selection condition; The processor imports the one or more selected element data; The setting includes: imaging a plurality of element data between the first CAD data and the second CAD data in a manner that allows comparison with each other; and setting the selection condition to select one or more of the plurality of imaged element data based on a user operation.

Citation Information

Patent Citations

  • Simulation device, simulation method and simulation program

    JP2021167037A