Control system, support device and recording medium

By automatically generating communication settings, the control system automatically groups and sends process data to the information processing device, solving the problem of complex communication settings between the PLC and the information processing device, and realizing the automation and efficiency improvement of data exchange.

CN113508345BActive Publication Date: 2024-11-12OMRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080017707.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-14
Filing Date
2020-02-26
Publication Date
2024-11-12
Estimated Expiration
2040-02-26

AI Technical Summary

Technical Problem

In existing technologies, users need to manually perform complex communication settings to achieve data exchange between the PLC and the information processing device, which makes the communication setting process cumbersome and time-consuming.

Method used

A control system is provided, comprising a control device, an information processing device, a grouping unit, and a generation unit. By automatically generating communication settings, the system automatically groups process data and sends it to the information processing device to execute the application program, thus simplifying the communication setting process.

Benefits of technology

It automates and simplifies data exchange between the PLC and the information processing device, reduces the processing burden on the control device, and improves the efficiency of communication settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113508345B_ABST
    Figure CN113508345B_ABST
Patent Text Reader

Abstract

An object of the present invention is to easily perform communication settings so that process data required for executing an application is sent from a control device to an information processing device. In a control system (1a) including a control device (100) and an information processing device (200) that executes an application (220) using process data (52) managed by the control device (100), there is a grouping unit (20a) and a generating unit (40a). The grouping unit (20a) allocates process data (52) used in the application (220) to a plurality of groups. The generating unit (40a) generates a communication setting (400) in accordance with the allocation result of the grouping unit (20a) so that the process data (52) included in one group is saved in one data set (50) and sent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a function of assisting in setting a communication environment between a control device and an information processing device that executes one or more application programs that utilize process data managed by the control device. Background Art

[0002] Control devices such as PLC (Programmable Logic Controller) are introduced in various manufacturing sites. Such a control device is a computer that executes a control program designed according to a manufacturing device or manufacturing equipment. Such a control device is connected to an information processing device such as HMI (Human Machine Interface) in a communicative manner.

[0003] The information processing device, for example, uses information from the control device to graphically display the operating status of the control object of the control device, or uses information from the control device to execute an application different from the displayed application.

[0004] For example, Japanese Patent Publication No. 2017-146803 (Patent Document 1) discloses a program display as an example of an information processing device connected to a PLC. The program display performs layout of functional components displayed on the page and allocation of functions in units of pages, when a screen displayed on the display screen is regarded as one page.

[0005] Prior art literature

[0006] Patent Literature

[0007] Patent Document 1: Japanese Patent Application Publication No. 2017-146803 Summary of the invention

[0008] Problems to be solved by the invention

[0009] Patent Document 1 does not specifically mention how to obtain the information required to implement the functions assigned to each page. In the application for implementing the function, information of the control device as a PLC (hereinafter referred to as "process data") is used. The user needs to set the communication of the control device so that it sends the process data used by the application.

[0010] An object of the present invention is to easily perform communication settings so that process data required for executing an application program is transmitted from a control device to an information processing device.

[0011] Means for solving problems

[0012] According to an example of the present disclosure, a control system including a control device, an information processing device, a grouping unit, and a generating unit is provided. The control device is configured to execute a control program for controlling a control object, manage a plurality of process data referenced or updated in the control program, and send one or more data sets storing at least a portion of the plurality of process data according to a predetermined communication setting. The information processing device is configured to execute one or more applications using one or more process data specified in the plurality of process data using the one or more data sets sent from the control device. The grouping unit assigns one or more process data specified to be used in one or more applications to one or more groups, respectively. The generating unit generates a communication setting for the control device according to the assignment result of the grouping unit, so that for each of the one or more groups grouped by the grouping unit, the one or more process data assigned to the group is saved in one data set and sent.

[0013] According to the present disclosure, since communication settings are automatically generated according to the application to be executed by the information processing device, communication settings can be easily performed so that process data required for executing the application is transmitted from the control device to the information processing device.

[0014] In the above disclosure, the communication setting may include information for specifying one or more process data to be stored in each data set.

[0015] According to this disclosure, since the combination of process data to be stored in one data set is specified, the processing load of the control device in generating the data set can be reduced compared to the case where only the storage rule is specified.

[0016] In the above disclosure, the communication setting may include information for determining the order in which one or more process data in each data set are stored.

[0017] According to the disclosure, the control device does not need to determine the storage order each time a data set is generated, which can reduce the processing burden of the control device in generating data sets. And, for example, by sending a communication setting including information for determining the storage order to both the information processing device and the control device, a data link between the information processing device and the control device can be easily established.

[0018] In the above disclosure, the control system may further include a support device that provides a development environment for one or more application programs. In the control system, the support device may also include a grouping unit and a generating unit.

[0019] According to this disclosure, since a support device that provides an application development environment is provided as a grouping unit and a generating unit, application development and communication settings can be performed at the same time.

[0020] In the above disclosure, the control system may further include a relay device that relays communication between the control device and the information processing device. In the control system, the relay device may include a grouping unit and a generating unit.

[0021] According to this disclosure, data exchange between the information processing device and the control device can be achieved even without performing communication settings on the control device in advance.

[0022] In the above disclosure, the information processing device may manage multiple application data referenced or updated in one or more application programs, and the information processing device may send one or more application data sets storing at least a portion of the multiple application data according to a predetermined communication setting of the information processing device. The control device may also execute the control program by using the application data set to use one or more application data designated from the multiple application data. The grouping unit may also assign one or more application data designated to be used in the control program to one or more control program groups, respectively. The generation unit may also generate the communication setting of the information processing device according to the allocation result of the grouping unit, so as to save and send one or more application data assigned to the control program group to one application data set for each of the one or more control program groups grouped by the grouping unit.

[0023] According to the disclosure, when application data is used in the execution of a control program, the communication settings of the information processing device are automatically generated based on the control program, so that the communication settings of the information processing device can be easily performed so that the application data required for the execution of the control program is sent from the information processing device to the control device.

[0024] According to another example of the present disclosure, a support device is provided, which assists in setting a communication environment between a control device and an information processing device. The control device is configured to execute a control program for controlling a control object, manage a plurality of process data referenced or updated in the control program, and transmit one or more data sets storing at least a part of the plurality of process data according to a predetermined communication setting. The information processing device is configured to execute one or more applications using one or more process data specified in the plurality of process data using the one or more data sets transmitted from the control device. The support device includes: a grouping unit that assigns one or more process data specified to be used in one or more applications to one or more groups, respectively; and a generating unit that generates the communication setting for the control device according to the assignment result of the grouping unit, so that for each of the one or more groups grouped by the grouping unit, the one or more process data assigned to the group is stored in one data set and transmitted.

[0025] According to the present disclosure, since communication settings are automatically generated according to the application to be executed by the information processing device, communication settings can be easily performed so that process data required for executing the application is transmitted from the control device to the information processing device.

[0026] According to another example of the present disclosure, a support program is provided, which assists in setting a communication environment between a control device and an information processing device. The control device is configured to execute a control program for controlling a control object, manage a plurality of process data referenced or updated in the control program, and transmit one or more data sets storing at least a portion of the plurality of process data according to a predetermined communication setting. The information processing device is configured to execute one or more applications using one or more process data specified in the plurality of process data using the one or more data sets transmitted from the control device. The support program causes a computer to execute the following steps: a grouping step of assigning one or more process data specified to be used in one or more applications to one or more groups, respectively; and a generation step of generating a communication setting for the control device according to the result of the assignment in the grouping step, so that for each of the one or more groups grouped in the grouping step, the one or more process data assigned to the group is stored in one data set and transmitted.

[0027] According to the present disclosure, since communication settings are automatically generated according to the application to be executed by the information processing device, communication settings can be easily performed so that process data required for executing the application is transmitted from the control device to the information processing device.

[0028] Effects of the Invention

[0029] According to an example of the present disclosure, communication settings can be easily performed so that process data required for executing an application program is transmitted from a control device to an information processing device. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 1 is a schematic diagram showing an application scenario of a control system 1 a centered around an FA system 10 a .

[0031] Figure 2 This is a diagram schematically showing a control system 1 according to the first embodiment.

[0032] Figure 3 This is a diagram for explaining the outline of Pub / Sub communication.

[0033] Figure 4 This is a diagram for explaining the outline of the HMI 200 that functions as a subscriber.

[0034] Figure 5 This is a diagram for explaining an overview of the controller 100 that functions as a publisher.

[0035] Figure 6 This is a diagram showing an example of a series of processes from application development to introduction of the developed application.

[0036] Figure 7 It is a block diagram showing the functional structure of the support device 300.

[0037] Figure 8 It is a schematic diagram showing an example of the hardware configuration of the support device 300 .

[0038] Fig. 9 2 is a schematic diagram showing an example of the hardware configuration of the HMI 200 .

[0039] Fig.10 It is a schematic diagram showing an example of the hardware configuration of the controller 100 .

[0040] Fig.11 It is a diagram for explaining the execution phase of the application program according to the modification example.

[0041] Fig.12 It is a schematic diagram of the grouping unit 20b and the generating unit 40b according to the modified example.

[0042] Fig.13 This is a diagram schematically showing a control system 1c according to the second embodiment.

[0043] Fig.14 It is a schematic diagram showing an example of the hardware configuration of the setting device 600 .

[0044] Fig.15 This is a diagram schematically showing a control system 1d according to the third embodiment.

[0045] Fig.16 This is a sequence diagram showing a flow from when the relay device 700 starts communicating with the controller 100 d to when the communication setting 400 is transmitted to the controller 100 d .

[0046] Fig.17 It is a schematic diagram showing an example of the hardware configuration of the relay device 700 .

[0047] Fig.18 This is a diagram schematically showing a control system 1e according to the fourth embodiment.

[0048] Fig.19 2 is a diagram showing an example of the data structure of the data set 50 .

[0049] Fig. 20 This is a diagram for explaining connection information 480 .

[0050] Fig.21 It is a schematic diagram showing an outline of a control system 1f in a modified example. DETAILED DESCRIPTION

[0051] Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, the same components and structural elements are marked with the same reference numerals. Their names and functions are also the same. Therefore, their detailed description will not be repeated. The various embodiments and various modifications described below may also be appropriately and selectively combined.

[0052] §1 Application Examples

[0053] Figure 1 Schematic diagram showing an application scenario of the control system 1a centered around the FA system 10a. The control system 1a provides a function of assisting in setting the communication environment between the devices included in the FA system 10a.

[0054] The FA system 10a includes a controller 100a and an HMI 200a. The controller 100a is connected to the HMI 200a via an information system network 2a in a communicative manner. The information system network 2a is, for example, a network that complies with a communication standard that enables data exchange regardless of the vendor, OS (Operating System) type, etc. As such a communication standard, OPC UA (Object Linking and Embedding for Process Control Unified Architecture) is known.

[0055] In addition, the communication standard adopted by the information system network 2a is not limited to OPC-UA. For example, the information system network 2a may be a network that complies with a communication standard unique to a specific vendor or OS, or a network that complies with EtherNet / IP (registered trademark), which is an industrial open network that has a control protocol installed on Ethernet (registered trademark).

[0056] The FA system 10a may also be a structure including a plurality of controllers 100a. The FA system 10a may also be a structure including a plurality of HMIs 200a. The FA system 10a may also be a structure in which one HMI 200a is connected to one controller 100a in a manner that allows communication, or one HMI 200a is connected to a plurality of controllers 100a in a manner that allows communication, or a plurality of HMIs 200a are connected to one controller 100a in a manner that allows communication, or a plurality of HMIs 200a are connected to a plurality of controllers 100a in a manner that allows communication. Figure 1 In the illustrated example, the FA system 10a is configured such that two HMIs 200a are communicatively connected to one controller 100a.

[0057] The controller 100a is an example of a control device of the present invention, and executes a control program 120 for controlling a control object, and performs central processing in the FA system 10a. Figure 1 In the example shown, the controller 100a is communicatively connected to the field device 500 as the control target via the control system network 4. The control system network 4 preferably adopts a network that performs constant cycle communication and guarantees the arrival time of data. As networks that perform such constant cycle communication, EtherCAT (registered trademark), EtherNet / IP (registered trademark), DeviceNet (registered trademark), CompoNet (registered trademark), etc. are known.

[0058] The field device 500 includes various industrial devices for automating the production process, including devices that provide some physical effects to manufacturing equipment, production lines, etc. (hereinafter, collectively referred to as "fields"), and input / output devices that exchange information with the field. For example, the field device 500 includes a servo driver that controls a servo motor, a robot controller that controls a robot, a sensor that is a device for collecting data, an actuator for a mobile conveyor, or a remote I / O (Input / Output) device.

[0059] The controller 100a controls the field device 500 by executing the control program 120. In addition, the controller 100a manages a plurality of process data 52 that are referenced or updated as the control program 120 is executed.

[0060] The process data 52 includes data input from the field device 500 to the controller 100a, data output from the controller 100a to the field device 500, and data used for execution of the control program 120 or state management of the controller 100a. The process data 52 is updated periodically or event-based as the control program 120 is executed.

[0061] The controller 100a transmits a plurality of data sets 50 storing at least a portion of a plurality of process data 52 according to a predetermined communication setting 400. The plurality of data sets 50 differ from each other in at least one of a combination of stored process data 52, a transmission trigger, and a transmission destination.

[0062] The HMI 200a is an example of an information processing device of the present invention, and executes an application 220 using the process data 52 included in the data set 50 sent by the controller 100a. Figure 1 In the illustrated example, the HMI 200 a executes the application program 220 to present various information obtained by executing the control program 120 to the operator.

[0063] The HMI 200 a may directly receive the data set 50 sent by the controller 100 a from the controller 100 a , or may receive the data set 50 via other equipment such as a relay device.

[0064] In addition, the information processing device that executes the application 220 using the process data 52 managed by the controller 100a is not limited to the HMI 200a. For example, the information processing device may be a database that collects information related to traceability measured from the field device 500 that is the control target, or a SCADA (Supervisory Control And Data Acquisition) device that performs process control and centralized monitoring.

[0065] In addition, the information processing device is not limited to the device connected to the controller 100a via the information system network 2a, and may be a robot controller, an actuator, or other controller that controls a robot connected via the control system network 4. That is, the application 220 is not limited to an application for the purpose of presenting information, and may be an application for the purpose of realizing the function of using the process data 52 managed by the controller 100a. In addition, the following description assumes that the application is for the purpose of presenting information and is a program for the function of providing a display image to the display unit.

[0066] In addition, Figure 1 In the example shown, the control device and the information processing device are different devices from each other and are physically connected to each other, but the control device and the information processing device may be logically connected to each other.

[0067] In the execution phase of the application 220, the HMI 200a executes the application 220 by using the process data 52 stored in the data set 50 distributed from the controller 100a. That is, the application 220 is executed on the premise that the process data 52 used in the application 220 is sent from the controller 100a. The control system 1a has a function of generating a communication setting 400 in addition to the FA system 10a, and the communication setting 400 allows the process data 52 required for the execution of the application 220 to be sent from the controller 100a to the HMI 200a.

[0068] Hereinafter, the stage of developing the application 220 and introducing it into the FA system 10a, that is, the stage of generating the communication setting 400 will be described. The control system 1a includes a grouping unit 20a and a generating unit 40a in addition to the controller 100a and the HMI 200a. The functions of the grouping unit 20a and the generating unit 40a are typically implemented as follows: the processor of the support device that provides the development environment of the application 220 executes a support program for assisting the setting of the communication environment.

[0069] In addition, the functions of the grouping unit 20a and the generating unit 40a may be realized by a dedicated setting device. In addition, a relay device may be provided between the HMI 200a and the controller 100a to realize the functions of the grouping unit 20a and the generating unit 40a through the relay device.

[0070] exist Figure 1 In the description, the timing of generating the communication setting 400 is set as the timing performed at the introduction stage before executing the application 220. In addition, the timing of generating the communication setting 400 may also be performed at the execution stage of the application. For example, the communication setting 400 may be generated or updated every time the application 220 to be executed is switched.

[0071] The application program 220 may be distributed in a state where it is stored in a memory card or a database in an installable format, or may be created by a user.

[0072] The grouping unit 20a allocates the process data 52 designated to be used in the application 220 to one or more groups. For example, the grouping unit 20a extracts predetermined elements and groups the process data 52 based on the extracted elements. The predetermined elements include the type of the controller 100a that manages the process data 52, the cycle of updating the process data 52 by the controller 100a, the cycle of using the process data 52 by the application 220, the data size of the process data 52, and the like. Alternatively, the grouping unit 20a may allocate the process data 52 designated to be used in the application 220 to one or more groups in a manner that satisfies conditions arbitrarily set by the user.

[0073] The generation unit 40 a generates the communication setting 400 for storing and transmitting one or more process data 52 included in one group in one data set 50 for each of the plurality of groups according to the allocation result of the grouping unit 20 a .

[0074] exist Figure 1 In the example shown, the application 220 uses process data 52B, process data 52D, and process data 52X. The grouping unit 20a groups the plurality of process data 52, for example, for each cycle used in the application 220. Figure 1 In the example shown, the application 220 updates and utilizes the information of the process data 52B and the process data 52D every first cycle, and updates and utilizes the information of the process data 52X every second cycle. Figure 1 In the figure, some parts and numbers are omitted.

[0075] The grouping unit 20a allocates the process data 52B and the process data 52D to the group GR1, and allocates the process data 52X to the group GR2.

[0076] The generation unit 40a generates the communication setting 400 so that the process data 52B and the process data 52D are stored in one data set 50-1 and the process data 52X is stored in another data set 50-2. The communication setting 400 includes conditions for transmitting the data set 50, the order in which the data is stored in the data set 50, the type of data stored in the data set 50, and the like.

[0077] The generation unit 40a determines the communication setting 400 according to information such as the attributes of the process data 52, the communication protocol used in the information system network 2a, and the network structure of the FA system 10a centered on the controller 100a. The attributes of the process data 52 include, for example, the timing of reference or update in the control program 120, the data size, and the like.

[0078] The conditions for transmitting the data set 50 are determined, for example, according to the timing of updating the process data 52 by the controller 100a, the timing of using the process data 52 by the application 220, and the like. Figure 1 In the example shown, the communication setting is created so that the process data 52B and the process data 52X used for generating information whose update cycle is the first cycle are distributed every first cycle.

[0079] As described above, the control system 1a includes the grouping unit 20a and the generating unit 40a, thereby generating the communication setting 400 of the controller 100a based on the application 220. As a result, the communication setting 400 can be easily performed so that the process data 52 required for executing the application 220 is transmitted from the controller 100a to the HMI 200a.

[0080] §2 Structure Example

[0081] Hereinafter, a configuration example for realizing the control system shown in the above-mentioned application example will be described.

[0082] [Implementation Method 1]

[0083] <Overall structure of control system 1>

[0084] Figure 2 This is a diagram schematically showing a control system 1 according to Embodiment 1. The control system 1 includes a support device 300 , a controller 100 , and an HMI 200 .

[0085] In the first embodiment, the communication method between the controller 100 and the HMI 200 is described as the OPC UA publish / subscribe type communication method. In addition, the communication using the OPC-UA publish / subscribe type communication method is also referred to as PubSub communication. The outline of PubSub communication will be described later.

[0086] The controller 100 directly or indirectly controls one or more field devices 500. The network structure of the field devices 500 controlled by the controller 100 is arbitrarily designed by the user.

[0087] In addition, Figure 2 In the example shown, the controller 100 and the HMI 200 are connected in a one-to-one manner. The connection method between the controller 100 and the HMI 200 is not limited to this, and other devices may be provided between the controller 100 and the HMI 200.

[0088] The structure of the network including the controller 100 and the HMI 200 and the structure of the network including the controller 100 and the field device 500 are not limited to Figure 2 The example shown can be arbitrarily designed by the user. For example, the HMI 200 may be connected to a plurality of controllers 100 in a communicable manner. In addition, the controller 100 may be connected to a plurality of HMIs 200 in a communicable manner.

[0089] The support device 300 provides a development environment for the application program 220 executed by the HMI 200 and a development environment for the control program 120 executed by the controller 100, and provides an environment for setting a communication environment between the controller 100 and the HMI 200. Such a development environment and setting environment are provided by installing a support program in the support device 300. The support program is, for example, "Sysmac Studio" manufactured by Omron Corporation.

[0090] The user can design the control program 120 for the controller 100 by using the support program, and install the designed control program 120 in the controller 100. In addition, the user can design the application program 220 for the HMI 200 by using the support program, and install the designed application program 220 in the HMI 200. In addition, the support device 300 generates the communication setting 400 for realizing the application program 220 based on the designed control program 120 and the application program 220 by executing the support program, and installs the generated communication setting 400 in the controller 100.

[0091] Furthermore, the program for developing the control program 120 , the program for developing the application program 220 , and the program for generating the communication settings 400 do not need to be packaged and provided as one program, but may be provided separately.

[0092] The communication setting 400 does not need to be generated in a format that can be installed from the support device 300 to the controller 100 , and may be generated in a report format, for example. This allows the user to easily perform settings for a controller that cannot install the communication setting 400 directly from the support device 300 .

[0093] <B.PubSub communication>

[0094] Figure 3 This is a diagram for explaining the outline of PubSub communication. In the following description, the side that distributes data is called a "publisher", and the side that subscribes to the data distributed by the publisher is called a "subscriber". In the control system 1 of embodiment 1, the controller 100 is equivalent to the publisher that distributes data. On the other hand, the HMI 200 is equivalent to the subscriber who subscribes to the data distributed by the controller 100.

[0095] Publishers generate and distribute datasets containing one or more data. Publishers do not determine the destination, but multicast datasets to a network of publishers and subscribers.

[0096] A subscriber has one or more subscriptions that specify the data to be subscribed. A subscriber starts or stops subscribing for each subscription. For example, Figure 3In the example shown, when the subscriber starts to subscribe to subscription A, he / she starts to subscribe to data a and data b. On the other hand, when the subscriber starts to subscribe to subscription B, he / she starts to subscribe to data a and data e. In addition, different subscriptions may include common subscription objects.

[0097] The subscriber receives at least one of the various data sets distributed by the publisher that contains the data covered by the subscription. Figure 3 In the example shown, the subscription being ordered is indicated by a slash. When the subscriber is ordering subscription B, he or she receives at least data set 1 storing data a and data b and data set 3 storing data e. Figure 3 In the example shown, the subscriber does not receive data set 2, but can also receive it. In addition, the subscriber only needs to be able to read the ordered data. Figure 3 As in the example shown, a data set (data set 1) including data that is not the object of the order is received.

[0098] In addition, the method for subscribers to manage the start and stop of data subscription is not limited to Figure 3 For example, subscribers can be managed on a per-data basis.

[0099] Reference Figure 4 and Figure 5 , an overview of PubSub communication between the HMI 200 and the controller 100 is described. Figure 4 This is a diagram for explaining the outline of the HMI 200 that functions as a subscriber. Figure 5 This is a diagram for explaining an overview of the controller 100 that functions as a publisher.

[0100] Reference Figure 4 The HMI 200 includes a display unit 242, a plurality of application programs 220 (220-1, 220-2, ...), and an OPC UA client 60. Each application program 220 is a program for displaying a specific page on the display unit 242. Figure 4 , an example is shown in which application 1 for displaying page 1 on display unit 242 is being executed.

[0101] Each page includes a plurality of objects 54. For example, page 1 includes objects 54a to 54d. The display of object 54 is updated according to the value of the variable included in the program. For example, the display of object 54a is updated according to the value of variable 2. Similarly, the display of object 54b is updated according to the value of variable 1, the display of object 54c is updated according to the value of variable 4, and the display of object 54d is updated according to the value of variable 3.

[0102] The application 220 updates the value of the variable by referring to the mapping information 222. The mapping information 222 is information that associates the variable with the process data. For example, the value of variable 1 is updated according to the value of process data A. The cycle of updating the value of each process data can be set by the user according to the creation of the application 220, and can also be determined according to the update cycle of the controller 100 that manages the process data. Figure 4 In the example shown, the values ​​of each of the process data A to process data D are updated by the controller 100 every first cycle, and the values ​​of each of the process data X to process data Z are updated by the controller 100 every second cycle.

[0103] The OPC UA client 60 allows the HMI 200 to function as a subscriber. The OPC UA client 60 includes a subscription management unit 62 , a plurality of subscriptions 64 (subscription 1 to subscription n), and a communication driver 66 .

[0104] The subscription management unit 62 manages the subscription start and subscription stop of the subscription 64 according to the application 220 being executed. Specifically, the subscription management unit 62 determines the subscription 64 to be subscribed in a manner that the process data referenced by the application 220 being executed becomes the subscription object among the plurality of subscriptions 64. Figure 4 In the example shown, a slash is used to indicate a subscription in the order.

[0105] The subscription 64 is generated in advance according to the application 220 and the mapping information 222. As an example, the subscription 64 is generated for each application 220. In addition, the subscription 64 is generated for each cycle in which the process data 52 is updated in the controller 100. Figure 4 In the example shown, subscription 64 is generated based on the type of application 220 and the update cycle of controller 100. More specifically, process data A, B, D, and X referenced in application 1 are allocated to subscription 1 and subscription 2 for each update cycle of controller 100.

[0106] The subscription management unit 62 manages the start and stop of subscriptions according to the application 220 being executed, and thus generates subscriptions according to each application 220. In addition, it is not necessary to generate a subscription in such a way that all process data included in one subscription 64 are used for one application, and a plurality of process data used in different applications may be included in one subscription.

[0107] In addition, the order management unit 62 is not limited to the management based on the subscription 64 as long as it can manage the start and stop of the order of the process data 52 .

[0108] The communication driver 66 filters the data set 50 sent from the controller 100 to receive the data set 50 storing the process data being ordered. The HMI 200 updates the process data included in the mapping information 222 using the process data included in the data set 50 received by the communication driver 66 .

[0109] Reference Figure 5 The controller 100 has a control program 120 , a control system network interface (IF) 191 , and an OPC UA server 80 .

[0110] The controller 100 controls the field device 500 by executing the control program 120. For example, the control program 120 updates the process data 52 using the state value of the field device 500 input via the control system network IF 191, and performs a control operation with reference to the updated process data 52. The control program 120 updates the value of the process data 52 according to the result of the executed control operation, and outputs the updated value of the process data 52 to the field device 500 via the control system network IF 191 as a control value.

[0111] The OPC UA server 80 allows the controller 100 to function as a publisher. The OPC UA server 80 includes a data set generation unit 82 that generates a data set 50 and a communication driver 84 that transmits the data set 50 .

[0112] The data set generation unit 82 refers to the communication setting 400 to generate a data set 50 storing one or more process data 52. The data set 50 is a collection of process data 52 and is a data set in a format that can be output to the information system network 2.

[0113] The communication setting 400 includes a data set setting 420 and a generation condition 440. The data set setting 420 is information for specifying the process data 52 stored in one data set 50. In addition, in one data set 50, it may be specified that only one process data 52 is stored, or it may be specified that a plurality of process data 52 is stored. That is, the term "data set" refers to a combination of one or more process data 52 stored in the data set 50.

[0114] That is, the controller 100 generates a data set according to the data set setting 420. Thus, compared with the case where the communication setting 400 specifies process data of a specific attribute as one data set, the processing load of the controller 100 can be reduced.

[0115] The generation condition 440 specifies the conditions for generating the data set 50. Figure 5In the example shown, as an example, it is specified that dataset 1, dataset 3, and dataset 7 are generated every first cycle, and dataset 2, dataset 6, and dataset 9 are generated every second cycle.

[0116] The communication driver 84 distributes the data set 50 generated by the data set generation unit 82 to the information system network 2 .

[0117] Reference Figure 4 and Figure 5 , the OPC UA server 80 generates and transmits the data set 1 storing the process data A and the process data B and the data set 3 storing the process data D in each first cycle. When the OPC UA client 60 is executing the application 1, it sets the subscription 1 to be subscribed, and reads the data set 1 and the data set 3. Thus, the application 1 updates the variables 1 to 3 at the cycle in which the controller 100 updates the process data A, process data B, and process data D corresponding to the variables 1 to 3, thereby updating the display of the objects 54a, 54b, and 54d.

[0118] In addition, the OPC UA server 80 generates and transmits the data set 2 storing the process data X at every second cycle. The OPC UA client 60 sets the subscription 2 to be subscribed when executing the application 1, and reads the data set 2. Thus, the application 2 updates the variable 4 at the cycle in which the controller 100 updates the process data X corresponding to the variable 4, thereby updating the display of the object 54c.

[0119] When the application to be executed is changed, the OPC UA client 60 changes the subscription 64 to be subscribed, and changes the object data set 50 to be read. In addition, changing the subscription 64 to be subscribed is also referred to as "changing subscription 64", and changing the subscription object by changing the subscription 64 is also referred to as "changing subscription request".

[0120] Thus, even if the application to be executed changes, PubSub communication does not require changes in the processing on the publisher side. Therefore, compared with command and response communication, PubSub communication can reduce the number of exchanges between the data transmission side and the receiving side.

[0121] On the other hand, the OPC UA client 60 changes the subscription 64 according to the change of the application 220 as the execution target, thereby also changing the subscription request. When it is desired to implement PubSub communication between the controller 100 and the HMI 200, the controller 100 (publisher) side needs to generate the data set 50 in a manner that satisfies each subscription request that changes in accordance with the change of the application 220. In other words, the user needs to design the communication setting 400 of the controller 100 so as to satisfy the subscription request that is specialized for each of all the applications 220 executed by the HMI 200 as the subscriber.

[0122] In the first embodiment, the support device 300 generates the communication settings 400 that meet the order request specialized for each application 220 based on the generated application 220. This reduces the burden on the user.

[0123] <C. Flow from application development to implementation>

[0124] Figure 6 is a diagram showing an example of a series of processes from application development to importing the developed application. Figure 6 In this paper, it is assumed that the control program is pre-designed for illustration. In addition, it is assumed that Figure 6 The steps shown are performed by the support device 300. Figure 6 , the timing for generating the communication setting 400 is explained.

[0125] (Step 1: Application Generation)

[0126] "Application generation" includes designing the content displayed on the HMI 200, creating an application for realizing the designed content, and specifying process data used in the application. There are various processes from creating an application to specifying process data used in the application. For example, process data used in the process of creating the application may be specified, or process data may be specified for each variable after the entire application is created.

[0127] The support device 300 stores information that can identify the type of process data referenced or updated in the control program in the memory. The support device 300 presents information that can identify the type of process data stored in the memory to the user, and the user specifies the process data to be used in the application from the presented process data types.

[0128] The method of specifying process data includes a method of directly specifying the process data to be used and a method of associating the process data with the variables used in the application. In the first embodiment, the description assumes that the process data to be used in the application is specified by associating the process data with the variables used in the application. In this way, the process data used by each application is specified.

[0129] When the application is generated, mapping information 222 is generated to associate variables used in the application with process data. In addition, the support device 300 may generate mapping information for each application, or may generate one mapping information for a plurality of applications. In the first embodiment, the description is made assuming that one mapping information is generated for a plurality of applications.

[0130] In addition, along with the generation of the application, the support device 300 generates a subscription 64. The subscription management unit 62 generates a subscription 64 for each application 220, for example, to facilitate the management of the start and stop of the subscription. The subscription 64 is generated, for example, for each update cycle of the controller 100, in a manner that the communication driver 66 can easily refer to.

[0131] (Step 2: Grouping)

[0132] The support device 300 allocates each of the process data 52 used in the application to one or more groups. For example, the support device 300 extracts a predetermined element from each of the plurality of process data 52 and groups the process data 52 based on the extracted element.

[0133] The extracted elements include, for example, a cycle for updating the process data 52, a cycle for updating the process data 52 in an application, an application that uses the process data 52, and the like. In addition, when the HMI 200 is connected to a plurality of controllers 100 in a communicable manner, an element for extracting the controller 100 that manages the process data 52 may be included. In addition, the grouping unit may allocate the process data 52 designated to be used in the application 220 to one or more groups so as to satisfy conditions arbitrarily set by the user. In addition, the support device 300 may repeatedly allocate groups until the total amount of process data included in one group becomes less than the size of the data set 50 that can be transmitted at one time, which is determined according to the communication performance of the information system network 2.

[0134] The grouping based on the extracted elements is performed based on, for example, the attributes of the process data 52 to be stored, the structure of the network including the controller 100, the transmission performance of the controller 100, the reception performance of the HMI 200, the communication performance of the information system network 2, etc. The attributes of the process data 52 include, for example, the timing of reference or update in the control program 120, the data size, etc.

[0135] (Step 3: Generate communication settings)

[0136] The support device 300 generates a communication setting 400 to store one or more process data 52 included in each group in one data set 50 according to the allocation result of the process data 52. The communication setting 400 is generated based on the communication protocol between the HMI 200 and the controller 100 or the structure of the network including the controller 100, for example.

[0137] (Step 4: Installation)

[0138] The support device 300 installs the application 220 and subscription 64 generated in step 1 in the HMI 200, and installs the communication setting 400 generated in step 3 in the controller 100. The communication setting 400 and subscription 64 do not need to be generated in an installable form, and may be output in a report form, for example.

[0139] <C. Functional structure>

[0140] Figure 7 3 is a block diagram showing a functional configuration of the support device 300. The support device 300 includes an input unit 320, a display unit 340, a development unit 360, a grouping unit 20, and a generation unit 40.

[0141] The input unit 320 receives user operations. Typically, the input unit 320 is a touch panel, a mouse, a keyboard, etc. The development unit 360 generates the application 220 and the mapping information 222 according to the user operations received by the input unit 320 .

[0142] Specifically, the user registers one or more objects 54 ( Figure 7 Next, the user registers the operation for updating the display of the object 54 and the variables used for the operation for each of one or more objects 54 ( Figure 7 Finally, the user will be able to associate the process data 52 extracted from the control program 120 with the registered variables ( Figure 7(3) Association in ). Thus, one or more applications 220, mapping information 222, and subscriptions 64 are generated. In addition, the order of creating applications is an example and is not limited to this order. For example, after the association between the variable and the process data is established, the variable can be used to generate an application. In addition, Figure 7 In the figure, the order of creating subscription 64 is not shown.

[0143] The development unit 360 creates the application 220 and the mapping information 222 according to the information received by the input unit 320 , and provides a user interface necessary for creating the application via the display unit 340 .

[0144] The grouping unit 20 includes a first grouping unit 22 and a second grouping unit 24. The first grouping unit 22 groups the process data 52 included in the mapping information 222 for each application based on the mapping information 222 and the application 220.

[0145] exist Figure 7 In the example shown, variables corresponding to process data A, B, D, and X are used in application 1. In addition, variables corresponding to process data B and D are used in application 2. That is, the first grouping unit 22 assigns process data A, B, D, and X to group GR1, and assigns process data B and D to group GR2.

[0146] The second grouping unit 24 further groups the groups assigned by the first grouping unit 22 at each cycle of updating in the controller 100. The cycle at which the process data 52 is updated in the controller 100 is defined by the control program 120.

[0147] exist Figure 7 In the example shown, it is assumed that the process data A, B, and D are updated every 100 ms in the controller 100. It is assumed that the process data X is updated with the occurrence of event X. That is, the second grouping unit 24 allocates the process data A, B, D, and X allocated to group 1 to group GR1-1 and allocates the process data X to group GR1-2. Figure 7 In the example shown, the update cycle of each process data 52 included in the group GR2 is common in the controller 100 .

[0148] The generation unit 40 includes a data set configuration generation unit 42 and a generation condition generation unit 44. The data set configuration generation unit 42 generates a data set configuration 420 (see Figure 5 Specifically, the data set setting generation unit 42 specifies the combination of the process data 52 so that the process data 52 included in each group formed by the grouping unit 20 is included in one data set 50 .

[0149] The generation condition generation unit 44 generates the generation condition 440 (see Figure 5 ). Specifically, the transmission condition for each combination (data set) of the process data 52 determined by the data set setting generation unit 42 is determined.

[0150] exist Figure 7 In the example shown, the process data A, B, and D are stored in one data set 50 , and the data set setting 420 is generated so that the process data X is stored in a different data set 50 .

[0151] The generation condition generation unit 44 determines the generation condition and the transmission condition of each data set specified in the data set setting 420 based on the data set setting 420 and the result of the second grouping unit 24 .

[0152] exist Figure 7 In the example shown, the data set 50 storing the process data A, B, and D is transmitted at a cycle of 100 ms, and the data set 50 storing the process data X is generated and transmitted on an event-by-event basis.

[0153] Furthermore, when MTU (Maximum Transmission Unit) is defined as the performance of the information system network 2 , the grouping unit 20 may repeatedly divide the group until the total amount of process data included in one group does not exceed the MTU.

[0154] Furthermore, the generating unit 40 may define the order in which the process data 52 is stored according to the attributes of the process data 52. The order in which the process data 52 is stored may be defined in an order that is easy for the controller 100 to store according to the performance of the controller 100, the network configuration of the controller 100, and the like.

[0155] <D. Hardware structure>

[0156] Reference Figure 8 to Figure 10 , the hardware structure of the devices included in the control system 1 is described in sequence. Figure 8 It is a schematic diagram showing an example of the hardware configuration of the support device 300 . Fig. 9 2 is a schematic diagram showing an example of the hardware configuration of the HMI 200 . Fig.10 It is a schematic diagram showing an example of the hardware configuration of the controller 100 .

[0157] (d1. Hardware Structure of Support Device 300)

[0158] As an example, the support device 300 is implemented using hardware that complies with a general-purpose architecture (for example, a general-purpose personal computer). The support device 300 may be a fixed type or provided in the form of a portable notebook personal computer at a manufacturing site where the controller 100 is installed. Figure 8 The support device 300 includes a processor 310 , an input unit 320 , a display unit 340 , a volatile memory 350 , a nonvolatile memory 370 , an optical drive 392 , and a USB (Universal Serial Bus) controller 394 . These components are connected via a processor bus 396 .

[0159] The processor 310 is composed of a CPU (Central Processing Unit) or a GPU (Graphical Processing Unit), etc., reads out the program stored in the non-volatile memory 370, and executes it in the volatile memory 350, thereby providing the user with the functions of creating and debugging the control program 120 and the application 220, and setting the communication environment between the controller 100 and the HMI 200.

[0160] The volatile memory 350 is composed of DRAM (Dynamic Random Access Memory), SRAM (Static Random Access Memory), etc. The nonvolatile memory 370 is composed of, for example, HDD (Hard Disk Drive), SSD (Solid State Drive), etc.

[0161] The nonvolatile memory 370 stores, in addition to an OS (not shown) for realizing basic functions, a support program 372 for providing functions as the support device 300. The support program 372 includes a control program development program 374 for providing a development environment for the control program 120, an application development program 376 for providing a development environment for the application program 220, and a communication setting program 378 for providing an environment for setting the communication environment between the controller 100 and the HMI 200.

[0162] For example, the processor 310 provides the following by executing the application development program 376: Figure 7 In addition, the processor 310 provides the functions of the development unit 360 by executing the communication setting program 378. Figure 7 The functions of the grouping unit 20 and the generating unit 40 are shown.

[0163] In addition, a structural example is shown in which the required functions are provided by executing a program by the processor 310, but a part or all of these provided functions may also be implemented using a dedicated hardware circuit (for example, an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array), etc.).

[0164] The input unit 320 and the display unit 340 are as shown in FIG. Figure 7 As described.

[0165] The support device 300 includes an optical drive 392 that reads a program stored in a recording medium 392A (eg, an optical recording medium such as a DVD (Digital Versatile Disc)) that stores a computer-readable program in a nonvolatile manner and installs the program in the nonvolatile memory 370 or the like.

[0166] The support program 372 etc. executed by the support device 300 may be installed via the computer-readable recording medium 392A, or may be installed by downloading from a server device on the network etc. In addition, the functions provided by the support device 300 of this embodiment may be implemented as part of a module provided by the OS.

[0167] The USB controller 394 is responsible for data exchange with any information processing device via a USB connection. Specifically, the USB controller 394 is responsible for data exchange with the controller 100 or the HMI 200 .

[0168] (d2.HMI 200 hardware structure)

[0169] As an example, HMI 200 is implemented using hardware that complies with a general-purpose architecture (for example, a general-purpose personal computer). HMI 200 may be a fixed type or provided in the form of a portable notebook personal computer at a manufacturing site where controller 100 is installed. Fig. 9 The HMI 200 includes a processor 210 , a touch panel 240 , a volatile memory 250 , a nonvolatile memory 270 , a communication IF 292 , and a USB controller 294 . These components are connected via a processor bus 296 .

[0170] Processor 210 is composed of a CPU, a GPU, etc., reads out a program stored in nonvolatile memory 270 , expands and executes the program in volatile memory 250 , and thereby outputs various information obtained by executing control program 120 to touch panel 240 .

[0171] The volatile memory 250 is composed of a DRAM, an SRAM, etc. The nonvolatile memory 270 is composed of, for example, an HDD, an SSD, etc.

[0172] The nonvolatile memory 270 stores an OPC UA program 260 , one or more subscriptions 64 , one or more application programs 220 , and mapping information 222 in addition to an OS (not shown) for realizing basic functions.

[0173] The OPC UA program 260 is a program for causing the HMI 200 to function as a subscriber and for communicating between the controller 100 and the HMI 200 in accordance with OPC UA. The processor 210 executes the OPC UA program 260, thereby providing Figure 4 The functions of the OPC UA client 60 shown in FIG. 2 are as follows. The OPC UA program 260 is installed in the nonvolatile memory 270 from, for example, another external storage medium (eg, a memory card, a server device on a network).

[0174] One or more subscriptions 64, one or more applications 220, and mapping information 222 are created in the environment provided by the support device 300. Each data created in the environment provided by the support device 300 is typically installed in the non-volatile memory 270 via a USB connection. In addition, all or part of each data created in the environment provided by the support device 300 may be installed in the non-volatile memory 270 via other external storage media (e.g., a memory card, a server device on a network).

[0175] In addition, the configuration example in which the processor 210 executes the program to provide the required functions is shown, but a part or all of the functions provided may be implemented using a dedicated hardware circuit (such as ASIC or FPGA, etc.) In addition, the functions provided by HMI200 may also be implemented in the form of a part of a module provided by the OS.

[0176] Touch panel 240 includes display unit 242 as a display and input unit 244 for accepting user operations. Display unit 242 and input unit 244 may be configured as separate bodies.

[0177] The communication IF 292 is responsible for data exchange with the controller 100. The USB controller 294 is responsible for data exchange with any information processing device via a USB connection. Specifically, the USB controller 294 exchanges data with the support device 300.

[0178] (b3. Hardware Structure of Controller 100)

[0179] Reference Fig.10, the controller 100 includes a processor 110, a chipset 196, a nonvolatile memory 170, a volatile memory 150, a control system network IF 191, an information system network IF 192, a USB controller 193, a memory card IF 194 and an internal bus controller 195 as main components.

[0180] The processor 110 is composed of a CPU, a GPU, etc., and reads various programs stored in the non-volatile memory 170, expands and executes them in the volatile memory 150, thereby realizing the control of the field device 500 and the function as a publisher. The chipset 196 mediates the data exchange between the processor 110 and each component to realize the processing of the controller 100 as a whole.

[0181] The nonvolatile memory 170 stores the control program 120 , the OPC UA program 180 , and the communication settings 400 .

[0182] Typically, the control program 120 is composed of a user program designed and generated by the user operation support device 300 and a system program that provides basic functions of the controller 100. The user program and the system program cooperate to achieve the user's control purpose and control the field device 500.

[0183] The OPC UA program 180 is a program for causing the controller 100 to function as a publisher and for communicating with the HMI 200 in accordance with OPC UA. The processor 110 provides Figure 5 The OPC UA program 180 may be pre-installed in the controller 100 as a system program, or may be installed in the non-volatile memory 170 from another external storage medium (eg, the memory card 194A or a server device on a network).

[0184] The communication setting 400 is generated in the environment provided by the support device 300. The control program 120 generated by the communication setting 400 and the user's operation design of the support device 300 is typically installed in the non-volatile memory 170 via a USB connection. In addition, all or part of each data created in the environment provided by the support device 300 may be installed in the non-volatile memory 170 via other external storage media (e.g., the memory card 194A, a server device on the network).

[0185] In addition, although a configuration example is shown in which the processor 110 executes a program to provide the required functions, a part or all of the provided functions may be implemented using a dedicated hardware circuit (such as an ASIC or FPGA, etc.). In addition, the main part of the controller 100 may be implemented using hardware that complies with a general-purpose architecture (such as an industrial personal computer based on a general-purpose personal computer). In this case, a plurality of OSs with different purposes may be executed in parallel using virtualization technology, and the required application program may be executed on each OS.

[0186] The control system network IF 191 is responsible for data exchange with the field device 500 .

[0187] The information system network IF 192 is responsible for data exchange with the HMI 200 .

[0188] The USB controller 193 is responsible for data exchange with any information processing device via a USB connection. Specifically, the USB controller 193 is responsible for data exchange with the support device 300.

[0189] The memory card IF 194 is configured to be removable from a memory card 194A, and can write a control program, various settings, and other data to or read a control program, various settings, and other data to or from the memory card 194A.

[0190] The internal bus controller 195 is an interface mounted on the controller 100 for exchanging data with an I / O unit (not shown) and the like. The internal bus may use a communication protocol unique to the manufacturer or a communication protocol that is the same as or complies with any industrial network protocol.

[0191] <E. Modification of grouping>

[0192] In the first embodiment, the HMI 200 is communicatively connected to one controller 100. In addition, it is assumed that the process data 52 used in one or more application programs 220 is transmitted from one controller 100. Based on this, the case where the grouping unit 20 includes the first grouping unit 22 and the second grouping unit 24 is described.

[0193] In addition, the HMI 200 may be connected to a plurality of controllers 100 in a communicable manner. In this case, one or more application programs 220 may be configured to use a plurality of process data 52 transmitted from different controllers 100. In this case, the grouping unit 20 may also be configured to group the process data 52 transmitted from different controllers 100. Figure 7 Description of the grouping method Different methods of grouping.

[0194] Reference Fig.11, the execution phase of the application program when the application program 220 is configured to use a plurality of process data 52 transmitted from different controllers 100 will be described. Fig.11 is a diagram for explaining the execution phase of an application program of a modified example. Figure 4 The configuration corresponding to the configuration of the HMI 200 of the first embodiment described above is marked with Figure 4 The same reference numerals are used and the description thereof is omitted.

[0195] The HMI 200b is connected to the plurality of controllers 100-1, 100-2, and 100-3 in a communicable manner. The HMI 200b has an OPC UA client 60b. The OPC UA client 60b has communication drivers 66b-1, 66b-2, and 66b-3 for each of the connected controllers 100-1, 100-2, and 100-3.

[0196] Each subscription 64b is set so that the process data 52 included in each subscription 64b as the subscription object is managed by the same controller 100. Specifically, the process data a, b, and c included in subscription 1 are all process data 52 managed by the controller 100-1. In addition, the process data l, m, and n included in subscription 2 are all process data 52 managed by the controller 100-2. In addition, the process data x, y, and z included in subscription 3 are all process data 52 managed by the controller 100-3.

[0197] When process data a, b, c are used in the execution of application 1, subscription 1 is ordered. In this case, only data set 50 sent from controller 100-1 is ordered, and data sets 50 sent from controllers 100-2 and 100-3 are not ordered.

[0198] Reference Fig.12 , a method for generating communication settings when the application 220 is configured to use a plurality of process data 52 transmitted from different controllers 100 will be described. Fig.12 2 is a schematic diagram of a grouping unit 20b and a generating unit 40b of a modified example. Figure 7 The configuration corresponding to the configuration of the HMI 200 of the first embodiment described above is marked with Figure 7 The same reference numerals are used and the description thereof is omitted.

[0199] The grouping unit 20b includes a third grouping unit 26 in addition to the first grouping unit 22 and the second grouping unit 24. The grouping unit 20b performs grouping in the order of the third grouping unit 26, the first grouping unit 22, and the second grouping unit 24.

[0200] The third grouping unit 26 groups the process data 52 used in the application program into groups for each controller 100 that manages the process data 52. Fig.12 In the example shown, process data a, b, c are process data managed by controller 100-1, process data l, m, n are process data managed by controller 100-2, and process data x, y, z are process data managed by controller 100-3. Therefore, the third grouping unit 26 allocates process data a, b, c to group GR1, allocates process data l, m, n to group GR2, and allocates process data x, y, z to group GR3. In addition, the controller 100 that manages the process data 52 is determined by the control program 120 executed in each of the controllers 100-1, 100-2, and 100-3.

[0201] Then, the first grouping unit 22 further groups the groups assigned by the third grouping unit 26 for each application. Figure 7 The same, therefore the description is omitted.

[0202] The generation unit 40b generates the communication settings 400 for each of the controllers 100-1, 100-2, and 100-3. The communication settings 400-1 of the controller 100-1 are generated in such a manner that the process data 52 included in each group derived from the group GR1 grouped by the third grouping unit 26 is stored in one data set 50. Similarly, the communication settings 400-2 of the controller 100-2 are generated in such a manner that the process data 52 included in each group derived from the group GR2 grouped by the third grouping unit 26 is stored in one data set 50. The communication settings 400-3 of the controller 100-3 are generated in such a manner that the process data 52 included in each group derived from the group GR3 grouped by the third grouping unit 26 is stored in one data set 50.

[0203] In this way, when the controller 100 that manages each of the plurality of process data 52 included in the application is different, it is necessary to generate the communication setting 400 for each controller. As in this modification, after grouping each of the plurality of process data 52 according to each controller 100 that manages the process data 52, the communication setting 400 is generated for each group, thereby enabling the communication setting for each of the plurality of controllers to be generated with less processing.

[0204] Furthermore, the control system of the first embodiment and the modified example can easily perform the communication setting 400 so that the process data 52 required for the execution of the application 220 is transmitted from the controller to the HMI.

[0205] In addition, in the first embodiment and the modification, the support device 300 can perform application development and communication settings at the same time. In addition, in the first embodiment and the modification, the support device 300 provides not only an application development environment and a communication setting environment, but also a control program development environment. Therefore, it is possible to easily implement communication settings that take into account the relationship between the application and the control program.

[0206] [Implementation Method 2]

[0207] In the first embodiment, the environment for generating the communication setting 400 is the same as the environment for generating the application 220, and is realized by the support device 300. In addition, the environment for generating the communication setting 400 may be provided separately from the environment for generating the application 220. Specifically, the environment for generating the communication setting 400 may be realized by a dedicated setting device for generating the communication setting 400.

[0208] <A.Control system structure>

[0209] Fig.13 1 is a diagram schematically showing a control system 1c according to Embodiment 2. Fig.13 In the second embodiment, the control system 1c includes a controller 100, an HMI 200, and a setting device 600. When the control system 1 of the first embodiment is compared with the control system 1c of the second embodiment, the control system 1c is different from the control system 1 in that the setting device 600 is provided instead of the support device 300. In addition, it is assumed that the application 220 and the subscription 64 are already installed in the HMI 200. In addition, it is assumed that the control program 120 is already installed in the controller 100.

[0210] The setting device 600 is connected to the HMI 200 so as to be communicable therewith via a USB connection or the like. The setting device 600 exports the subscription 64 installed in the HMI 200 . The setting device 600 generates the communication setting 400 based on the subscription 64 .

[0211] The setting device 600 is communicably connected to the controller 100 via a USB connection, etc. The setting device 600 transmits the communication setting 400 generated based on the subscription 64 to the controller 100 .

[0212] Thereby, PubSub communication between the controller 100 and the HMI 200 is established.

[0213] More specifically, the setting device 600 includes a grouping unit 20c and a generating unit 40c. The grouping unit 20c extracts the process data 52 specified as the subscription object from each subscription 64 installed by the HMI 200. The extracted process data 52 is grouped for each subscription 64. In addition, it is assumed that the plurality of process data 52 specified in at least one subscription 64 are managed by the same controller 100.

[0214] In addition, the grouping unit 20c does not need to perform grouping for each subscription 64, but may perform grouping by the method described in the first embodiment and the modification of the first embodiment.

[0215] The generation unit 40c generates the communication setting 400 according to the allocation result of the grouping unit 20c. The method by which the generation unit 40c generates the communication setting 400 is the same as that in the first embodiment, and thus the description thereof is omitted. The generation unit 40c transmits the generated communication setting 400 to the corresponding controller 100.

[0216] <B. Setting the hardware structure of the device>

[0217] Fig.14 1 is a schematic diagram showing an example of the hardware structure of the setting device 600. As an example, the setting device 600 is implemented using hardware that complies with a general architecture (for example, a general-purpose personal computer). The setting device 600 may be a fixed type or provided in the form of a portable notebook personal computer at a manufacturing site where the controller 100 is installed.

[0218] Reference Fig.14 The setting device 600 includes a processor 610 , an input unit 620 , a display unit 640 , a volatile memory 650 , a nonvolatile memory 670 , and a USB controller 694 . These components are connected via a processor bus 696 .

[0219] The processor 610 is composed of a CPU, a GPU, etc., reads out a program stored in the nonvolatile memory 670 , expands and executes the program in the volatile memory 650 , and thereby provides the user with a function for setting the communication environment between the controller 100 and the HMI 200 .

[0220] The volatile memory 650 is composed of a DRAM, an SRAM, etc. The nonvolatile memory 670 is composed of, for example, an HDD, an SSD, etc.

[0221] The nonvolatile memory 670 stores, in addition to the OS for realizing basic functions, a communication setting program 678 that provides an environment for setting the communication environment between the controller 100 and the HMI 200 .

[0222] For example, the processor 610 provides the above functions by executing the communication setting program 678. In addition, a configuration example is shown in which the processor 610 executes a program to provide the required functions, but a part or all of the provided functions may be implemented using a dedicated hardware circuit (such as ASIC or FPGA).

[0223] The input unit 620 receives user operations. Typically, the input unit 620 is a touch panel, a mouse, a keyboard, etc. The display unit 640 presents information to the user. Typically, the display unit 640 is a display.

[0224] The communication setting program 678 etc. may be installed via a computer-readable recording medium or downloaded from a server device on a network etc. The functions provided by the setting device 600 of this embodiment may be implemented as part of a module provided by the OS.

[0225] The USB controller 694 is responsible for data exchange with any information processing device via a USB connection. Specifically, the USB controller 694 is responsible for data exchange with the controller 100 or the HMI 200 .

[0226] <C. Modification of the control system 1c>

[0227] In the control system 1c of the second embodiment, the case where the subscription 64 is already installed in the HMI 200 is described. In addition, the setting device 600 may have a function of generating the subscription 64. That is, the setting device 600 may export the application 220 and the mapping information 222 from the HMI 200, generate the subscription 64 and the communication setting 400 based on these information, and install them in the HMI 200 and the controller 100, respectively. In addition, the setting device 600 may only have a function of generating the communication setting 400 based on the application 220 and the mapping information 222.

[0228] Thus, in the second embodiment and the modification, the auxiliary function of the communication environment between the HMI 200 and the controller 100 is provided by the setting device 600. In this case, as in the first embodiment, the communication setting 400 can be easily performed so that the process data 52 required for the execution of the application 220 is sent from the controller 100 to the HMI 200.

[0229] Furthermore, by providing the auxiliary function of the communication environment between the HMI 200 and the controller 100 by the setting device 600, it is possible to easily introduce it to a site where an application development environment and a control program development environment already exist.

[0230] [Implementation method 3]

[0231] In the first and second embodiments, the communication setting 400 is generated before the communication between the HMI 200 and the controller 100 is started. Alternatively, the communication setting 400 may be set when an order request is issued from the HMI 200 as a subscriber after the communication between the HMI 200 and the controller 100 is started. The third embodiment shows an example in which the communication setting 400 is set when the order request is issued from the HMI 200.

[0232] <A. Configuration of control system 1d>

[0233] Fig.15 1d is a diagram schematically showing a control system 1d according to Embodiment 3. Fig.15 , the control system 1d includes a controller 100d, an HMI 200, and a relay device 700. When the control system 1 of the first embodiment is compared with the control system 1d of the third embodiment, the control system 1d is different from the control system 1 in that the controller 100 is replaced with the controller 100d, and the relay device 700 is replaced with the support device 300. In addition, it is assumed that the application 220 and the subscription 64 are already installed in the HMI 200. In addition, it is assumed that the control program 120 is already installed in the controller 100d.

[0234] The relay device 700 includes a transmission and reception management unit 70 and a process data management unit 72 in addition to the grouping unit 20 d and the generating unit 40 d .

[0235] The transceiving management unit 70 receives the subscription request from the HMI 200, and sends the data set 50 distributed from the controller 100d to the HMI 200 to meet the request. Specifically, the transceiving management unit 70 establishes a corresponding topic list 74 by referring to the subscription 64 of the HMI 200 and the data set 50 distributed from the controller 100d, selects the data set 50 that meets the subscription request from the various data sets 50 distributed by the controller 100d, and sends it to the HMI 200.

[0236] When the transmission and reception management unit 70 determines that the order request from the HMI 200 cannot be satisfied by referring to the subject list 74 , the transmission and reception management unit 70 requests the grouping unit 20 d and the generation unit 40 d to execute processing for generating the communication setting 400 so that the data set 50 satisfying the order request of the HMI 200 is distributed from the controller 100 d .

[0237] The grouping unit 20d allocates one or more process data 52 included in the subscription 64 from the HMI 200 to one or more groups, referring to the process data list 76 that defines the correspondence between the process data 52 and the controller 100d that distributes the process data 52. In the third embodiment, an example is shown in which there is one controller 100d connected to the HMI 200 in a communicable manner. However, when a plurality of controllers are connected to the HMI 200 in a communicable manner, the grouping unit 20d allocates at least the process data 52 to each controller.

[0238] The process data list 76 is managed by the process data management unit 72. When the communication between the relay device 700 and the controller 100d is established, the process data management unit 72 requests the controller 100d to send information indicating the managed process data 52. The process data management unit 72 receives the information indicating the process data 52 ( Fig.15 ), confirm whether the correspondence between the controller 100d and the process data 52 managed by the controller 100d is registered in the process data list 76; if not, register the correspondence between the controller 100d and the process data 52 managed by the controller 100d in the process data list 76.

[0239] The grouping unit 20 d distributes one or more process data 52 included in the subscription 64 to one or more groups so that the total of the process data included in one group does not exceed the communication performance of the controller 100 d .

[0240] The generation unit 40d specifies a combination of process data 52 to be stored in one data set 50 according to the allocation result. The generation unit 40d requests the controller 100d to store the specified combination of process data 52 in one data set 50 and transmit it.

[0241] Furthermore, the generation unit 40d notifies the transmission and reception management unit 70 of the predetermined result. The transmission and reception management unit 70 registers the result predetermined by the generation unit 40d in the topic list 74 in association with the subscription 64 of the HMI 200 .

[0242] Each time a new order request is received, the relay device 700 re-defines the data set 50. The controller 100d updates the communication setting 400 to transmit the newly specified data set 50. In addition, the relay device 700 updates the subject list 74 when a new data set 50 is specified. In addition, the relay device 700 updates the process data list 76 when a new controller is connected.

[0243] <B. Sequence>

[0244] Fig.16This is a sequence diagram showing a flow from the start of communication between the relay device 700 and the controller 100d until the communication setting 400 is transmitted to the controller 100d. In the following, a "step" is simply indicated as "S".

[0245] In S120 , the relay device 700 and the controller 100 d are connected via a network.

[0246] In S122 , the relay device 700 requests the controller 100 to register the process data 52 .

[0247] In S124 , the controller 100 d receives the request and registers the process data 52 .

[0248] In S126 , the relay device 700 updates the process data list 76 .

[0249] When receiving the order request from the HMI 200 ( S128 ), the relay device 700 starts a process for transmitting the data set to the HMI 200 ( S150 ).

[0250] In S152 , the relay device 700 distributes the process data 52 included in the subscription 64 to one or more groups according to the process data list 76 .

[0251] For example, the process data 52 included in the subscription 64 is distributed every cycle in which it is updated by the controller 100d. The process data 52 included in the subscription 64 is distributed so that the total of the process data included in one group does not exceed the communication performance of the controller 100d.

[0252] In S154 , the relay device 700 specifies a combination of the process data 52 stored in one data set 50 according to the allocation result.

[0253] In step S156, the relay device 700 updates the subject list 74. In step S158, the relay device 700 requests the controller 100 to transmit the data set generated in step S154. The request to transmit the data set corresponds to the communication setting 400.

[0254] The controller 100d updates the communication setting 400 in response to the request (S160). The controller 100d generates and transmits a data set in accordance with the updated communication setting 400 (S162, S164).

[0255] In S166, the relay device 700 specifies the HMI 200 to which the transmitted data set 50 is to be transmitted according to the subject list 74. In S168, the relay device 700 transmits the data set to the specified transmission destination (HMI 200).

[0256] Afterwards, when receiving a stop of the order request from HMI 200 (S170), relay device 700 updates subject list 74 (S172) and stops sending the data set sent from controller 100d to HMI 200. Thus, the process of sending the data set for one order request of relay device 700 (S150) ends.

[0257] Furthermore, it is assumed that the controller 100 d continues to transmit the process data even if it receives a stop of the order request from the HMI 200 .

[0258] In addition, each time the relay device 700 receives a subscription request, it refers to the topic list 74 to determine whether the process data 52 specified by the subscription 64 as the subscription object has been distributed. For example, in the topic list 74, a combination of data sets for satisfying the subscription request specified by the subscription 64 is specified for each subscription 64. The relay device 700 refers to the topic list 74 to determine whether the subscription 64 requested to be subscribed has been registered in the topic list 74.

[0259] When the subscription 64 requested to be subscribed is registered in the topic list 74 , the relay device 700 updates the topic list 74 so as to transmit one or more data sets for satisfying the subscription request specified by the subscription 64 requested to be subscribed to the HMI 200 that has made the subscription request.

[0260] When the subscription 64 requested to be subscribed is not registered in the subject list 74, the relay device 700 determines a data set including the process data 52 specified by the subscription 64 requested to be subscribed, from the data sets registered in the subject list 74. Then, the relay device 700 excludes the process data 52 included in the determined data set from the subscription 64, performs grouping and data set specification, requests the controller 100d to generate and transmit the specified data set 50, and updates the subject list 74.

[0261] Specifically, it is assumed that a data set 1 consisting of process data a and b and a data set 2 consisting of process data a and f are already registered in the subject list 74. In this case, it is assumed that the process data included in the newly requested subscription 64 is process data a, b, c, and d. At this time, the relay device 700 registers the requested subscription 64 in correspondence with the data set 1 in the subject list 74. In addition, the process data c and d are regarded as the objects of grouping and data set generation. For example, when it is determined that the process data c and d are generated as a data set 3, the relay device 700 registers the requested subscription 64 in correspondence with the data set 3 in the subject list 74.

[0262] Therefore, the dataset 1 and the dataset 3 are registered in the topic list 74 in correspondence with the requested subscription 64. The relay device 700 refers to the topic list 74 and distributes the dataset 1 and the dataset 3 to the HMI 200 that requested the subscription 64.

[0263] That is, the relay device 700 updates the topic list 74 each time the subscription 64 is requested again, thereby being able to distribute the data set to the HMI 200 in a manner that satisfies the request.

[0264] <C. Hardware structure of relay device>

[0265] Fig.17 Schematic diagram showing an example of the hardware configuration of the relay device 700. Fig.17 The relay device 700 includes a processor 710 , a volatile memory 750 , a nonvolatile memory 770 , and a communication IF 794 . These components are connected via a processor bus 796 .

[0266] The processor 710 is composed of a CPU, a GPU, etc., reads out a program stored in the non-volatile memory 770 , expands and executes the program in the volatile memory 750 , and thereby provides a function of relaying communication between the controller 100 and the HMI 200 .

[0267] The volatile memory 750 is composed of a DRAM, an SRAM, etc. The nonvolatile memory 770 is composed of, for example, an HDD, an SSD, etc.

[0268] In addition to the OS for implementing basic functions, the non-volatile memory 770 also includes: a communication setting program 778, which provides an environment for setting the communication environment between the controller 100 and the HMI 200; a PubSub program 772, which manages various lists used to relay communications between the controller 100 and the HMI 200 to implement PubSub communication; a topic list 74; and a process data list 76.

[0269] For example, the processor 710 provides a communication configuration program 778 by executing the communication configuration program 778. Fig.15 In addition, the processor 710 provides the functions of the grouping unit 20d and the generating unit 40d shown in FIG. Fig.15 The functions of the transmission and reception management unit 70 and the process data management unit 72 are shown. In addition, a configuration example is shown in which the required functions are provided by executing a program by the processor 710, but a part or all of these provided functions may be implemented using a dedicated hardware circuit (such as ASIC or FPGA, etc.).

[0270] Various programs stored in nonvolatile memory 770 may be installed via a computer-readable recording medium or downloaded from a server device on a network, etc. In addition, the functions provided by relay device 700 of this embodiment may be implemented as part of a module provided by the OS.

[0271] The communication IF 794 is responsible for data exchange with the controller 100 d and data exchange with the HMI 200 .

[0272] <D. Modification>

[0273] In the third embodiment, an example is shown in which the subscription 64 is pre-installed in the HMI 200 . In addition, the HMI 200 is not limited to management based on the subscription 64 as long as it can identify the process data 52 to be used in the application 220 to be executed.

[0274] In the third embodiment, an example is shown in which the HMI 200 and the controller 100 d are connected one to one via the relay device 700 , but a plurality of HMIs 200 and a plurality of controllers 100 d may be connected to each other in a communicable manner via the relay device 700 .

[0275] In addition, an example is shown in which the relay device 700 relays the data set 50 sent from the controller 100d and sends it to the HMI 200, but the relay device 700 may extract the process data 52 included in the data set 50 sent from the controller 100d, and regenerate a new data set and send it to the HMI 200. In this case, the relay device 700 notifies the HMI 200 of information that can identify the process data 52 included in the data set sent from the relay device 700 to the HMI 200, or writes the header of the data set.

[0276] Thus, in the third embodiment and the modification, the relay device 700 provides a communication environment auxiliary function between the HMI 200 and the controller 100d. In this case, as in the first embodiment, the communication setting 400 can be easily performed so that the process data 52 required for executing the application 220 is transmitted from the controller to the HMI.

[0277] In addition, by providing the auxiliary function of the communication environment between the HMI 200 and the controller 100d by the relay device 700, data exchange between the HMI 200 and the controller 100d can be realized without installing the communication setting 400 in the controller 100d in advance. In addition, even if a new HMI or controller is added to the network formed by the HMI 200 and the controller 100d, or the HMI or controller leaves the network, the communication setting 400 corresponding to such addition and leaving can be performed without stopping the communication between the existing HMI and the controller.

[0278] [Implementation Method 4]

[0279] In the above-mentioned embodiments 1 to 3, the information system network 2 is a network that complies with OPC UA. In addition, even if the information system network 2 is a network that complies with EtherNET / IP (registered trademark), a data link between the HMI and the controller is required. Setting a data link is also called establishing a connection. In embodiment 4, the communication setting in the case of using a network that complies with EtherNET / IP (registered trademark) instead of the information system network 2 is described.

[0280] <A. Configuration of control system 1e>

[0281] Fig.18 1 is a diagram schematically showing a control system 1e according to Embodiment 4. Fig.18 The control system 1e includes a controller 100e, a plurality of HMIs 200e-1, 200e-3, 200e-3 (hereinafter, also collectively referred to as HMI 200e), and a setting device 600e.

[0282] The controller 100e and the plurality of HMIs 200e are connected to each other via an information system network 2e conforming to EtherNET / IP so as to be able to communicate with each other.

[0283] In addition, Fig.18 In the example shown, a case is shown where the data link between the HMI 200e - 3 and the controller 100e is set via the setting device 600e to establish the connection 3 .

[0284] The setting device 600e includes a grouping unit 20e and a generating unit 40e. The setting device 600e refers to the application 220 included in the HMI 200e-3 and specifies a plurality of process data 52 used in the application 220.

[0285] The grouping unit 20e allocates the identified plurality of process data 52 to one or more groups. The allocation method can be based on the same viewpoints as those described in the first to third embodiments.

[0286] The generation unit 40e sets the communication setting 400 in accordance with the allocation result so that the process data 52 included in one set is stored in one data set 50. The communication setting 400 includes the storage information 460 that specifies the order in which the process data 52 is stored, in addition to the data set setting 420 (information that specifies the process data 52 stored in one data set 50) and the generation condition 440 (information that specifies the condition of the data set 50) described in the first embodiment.

[0287] Furthermore, the generating unit 40 e generates, for each data set 50 , connection information 480 that can identify which process data 52 is stored at which location.

[0288] The setting device 600e installs the connection information 480 in the HMI 200e-3 and the communication setting 400 in the controller 100e. The setting device 600e may create the connection information 480 and the communication setting 400 for each application 220, or may create one connection information 480 and communication setting 400 for a plurality of applications 220. Furthermore, the setting device 600e may install the connection information 480 in the HMI 200e-3 and the communication setting 400 in the controller 100e, but may also output the information as a report.

[0289] The setting device 600e generates communication settings 400 and connection information 480 for each of the HMIs 200e-1, 200e-2, and 200e-3. The communication settings 400 generated by the setting device 600e are installed in the controller 100e, and the connection information 480 is installed in the HMIs 200e-1, 200e-2, and 200e-3, respectively, thereby establishing connections 1 to 3.

[0290] Furthermore, when a plurality of process data 52 used in the application program 220 executed in one HMI 200 e are managed by different controllers 100 e , the connection information 480 and the communication setting 400 are generated for each controller 100 e .

[0291] <B. Data Structure and Connection Information 480 of Data Set 50>

[0292] Reference Fig.19 as well as Fig. 20 , the data structure of the data set 50 generated by the controller 100e and the connection information 480 referred to by the HMI 200e in order to interpret the data set 50 are described.

[0293] Fig.19 2 is a diagram showing an example of the data structure of the data set 50 . Fig. 20 This is a diagram for explaining connection information 480 .

[0294] Reference Fig.19 A connection ID 56 is added to each data set 50. In addition, the data set 50 has a storage area 58 composed of a plurality of storage units 580. A serial number 582 is allocated to each storage unit 580, and each storage unit 580 stores the process data 52.

[0295] Reference Fig. 20 The connection information 480 is information indicating which process data is stored in each storage unit 580. Specifically, the connection information 480 is information in which a serial number is associated with a type of process data stored in the storage unit of the serial number for each connection ID.

[0296] The HMI 200 interprets the data set 50 transmitted from the controller 100 e based on the connection information 480 , extracts the process data 52 , and executes the application program 220 .

[0297] <C. Modification>

[0298] The method of establishing the connection is not limited to the method using the setting device 600e. As described in the first and third embodiments, the connection between the HMI and the controller may be established using a support device or a relay device.

[0299] Thus, in the fourth embodiment and the modified example, since the connection between the HMI and the controller is automatically established based on the application to be executed, it is possible to easily perform the communication setting 400 so that the process data 52 required for the execution of the application 220 is sent from the controller to the HMI. In addition, the data sent from the controller to the HMI is limited to the process data required by the application, so there is no need to send unnecessary data.

[0300] In the fourth embodiment and the modification, since the setting device 600e generates the saved information 460, the controller 100e does not need to determine the saving order each time the data set 50 is generated, and the processing burden of the controller 100e in generating the data set 50 can be reduced. In addition, since the connection information 480 equivalent to the saved information 460 is sent to the HMI 200, the data link between the controller 100e and the HMI 200 can be easily established.

[0301] [Other Modifications]

[0302] In the above embodiments 1 to 4, the case where the HMI has the function of a subscriber and the controller has the function of a publisher is described. Each control system shown in the above embodiments 1 to 4 may also have a structure for distributing information from the HMI to the controller according to the communication setting of the HMI set in advance. In this case, as in the above embodiments 1 to 4, the communication setting for generating the information distributed by the HMI may also be generated according to the control program.

[0303] Fig.21 1 is a schematic diagram showing an outline of a control system 1f in a modified example. Fig.21 In the description, the contents related to the information distribution from the controller to the HMI described in the first to fourth embodiments are omitted.

[0304] Reference Fig.21 The control system 1f has a plurality of controllers 100f, a plurality of HMIs 200f, a grouping unit 20f, and a generating unit 40f. Fig.21 In FIG. 1 , display of the field devices 500 connected to each controller 100 f is omitted.

[0305] The HMI 200 f stores the application data 2052 referred to or updated in the application 220 in one or more types of application data sets 2050 and distributes the application data 2052 according to the preset communication setting 800 .

[0306] The application data 2052 includes, for example, the process data 52 , data output as a result of executing the application 220 , and control values ​​input according to user operations for controlling the controller 100 f .

[0307] For example, when a user operates the HMI 200f to control the controller 100f or when the transmitted process data 52 is returned to the controller 100f, the application data set 2050 is distributed from the HMI 200f to the controller 100f.

[0308] The controller 100f executes the control program 120 using the pre-specified application data 2052. Here, from the viewpoint of the controller 100f, the application data 2052 corresponds to process data, and corresponds to data distributed from the HMI 200 among the process data.

[0309] The control program 120 is based on, for example, Figure 2 The description supports the development environment provided by the apparatus 300 to create.

[0310] The grouping unit 20f allocates each application data 2052 designated to be used in the control program 120 to one or more groups. The grouping method can use the method described in the above embodiment. In addition, the grouping unit 20f can also obtain the application data 2052 from each control program 120 of a plurality of controllers 100f and group the obtained application data 2052.

[0311] The generating unit 40f generates the communication setting 800 according to the allocation result of the grouping unit 20f so as to store the application data 2052 allocated to each of the plurality of groups GR1, GR2, ... grouped by the grouping unit 20f in one application data set 2050 and transmit the application data 2052 allocated to the group.

[0312] That is, the communication setting 800 can be prepared so that when the application data 2052 is used in the execution of the control program 120 , the application data 2052 required for the control program 120 can be transmitted from the HMI 200 f to the controller 100 f according to the control program 120 .

[0313] Although in Fig.21 Not shown in FIG. 4 , the grouping unit 20 f and the generating unit 40 f may create the communication settings 400 of the controller 100 f.

[0314] The grouping unit 20f and the generating unit 40f can be realized by the supporting device, the setting device, and the relay device described in the first to third embodiments.

[0315] In addition, the communication between the HMI 200f and the controller 100f is not limited to OPC UA, and may be communication compliant with EtherNET / IP (registered trademark) as shown in the fourth embodiment.

[0316] §3 Notes

[0317] As described above, the above-mentioned Embodiments 1 to 3 and Modifications include the following disclosures.

[0318] <Structure 1>

[0319] A control system comprising a control device (100, 100a, 100d, 100e, 100f), the control device (100, 100a, 100d, 100e, 100f) executing a control program (120) for controlling a control object (500) and managing a plurality of process data (52) referenced or updated in the control program, the control device being configured to transmit one or more data sets (50) storing at least a part of the plurality of process data according to a predetermined communication setting (400),

[0320] The control system has:

[0321] An information processing device (200, 200a, 200b, 200e, 200f) that uses the one or more data sets sent from the control device to execute one or more application programs (220) that use one or more specified process data among the plurality of process data;

[0322] a grouping unit (20, 20a, 20b, 20c, 20d, 20e, 20f) for assigning the one or more process data designated to be utilized in the one or more application programs to one or more groups, respectively; and

[0323] A generation unit (40, 40a, 40b, 40c, 40d, 40e, 40f) generates the communication settings for the control device according to the allocation result of the grouping unit, so as to save and send one or more process data allocated to each of the one or more groups grouped by the grouping unit into a data set.

[0324] <Structure 2>

[0325] In the control system described in Structure 1,

[0326] The communication settings include information (420) for identifying one or more process data to be stored in each data set.

[0327] <Structure 3>

[0328] In the control system described in structure 1 or 2,

[0329] The communication setting includes information (460) for determining the order in which one or more process data in each data set are stored.

[0330] <Structure 4>

[0331] In the control system described in any one of structures 1 to 3,

[0332] The control system further comprises a support device (300) which provides a development environment for the one or more application programs.

[0333] The supporting device comprises the grouping unit (20, 20b) and the generating unit (40, 40b).

[0334] <Structure 5>

[0335] In the control system described in any one of structures 1 to 3,

[0336] The control system further comprises a relay device (700) for relaying communication between the control device and the information processing device.

[0337] The relay device includes the grouping unit (20d) and the generating unit (40d).

[0338] <Structure 6>

[0339] In the control system described in any one of structures 1 to 5,

[0340] The information processing device (200f) manages a plurality of application data (2052) referenced or updated in the one or more applications.

[0341] The information processing device (200f) transmits one or more application data sets (2050) storing at least a part of the plurality of application data according to a predetermined communication setting (800) of the information processing device,

[0342] The control device (100f) is capable of executing the control program by using the application data set and using one or more application data specified among the plurality of application data.

[0343] The grouping unit (20f) allocates the one or more application data designated to be used in the control program to one or more control program groups, respectively.

[0344] The generation unit (40f) generates the communication settings of the information processing device according to the allocation result of the grouping unit, so as to save and send one or more application data allocated to each of the one or more control program groups grouped by the grouping unit into an application data set.

[0345] <Structure 7>

[0346] A support device (300, 600, 600e) assists in setting a communication environment between a control device (100, 100e) and an information processing device (200, 200b, 200e), wherein the control device (100, 100e) executes a control program (120) for controlling a control object (500) and manages a plurality of process data (52) referenced or updated in the control program, and the information processing device (200, 200b, 200e) executes one or more application programs (220) using one or more designated process data among the plurality of process data, wherein:

[0347] The control device is configured to transmit one or more data sets (50) storing at least a portion of the plurality of process data according to a predetermined communication setting (400),

[0348] The information processing device is configured to execute the one or more application programs using the one or more data sets sent from the control device,

[0349] The supporting device comprises:

[0350] a grouping unit (20, 20b, 20c, 20e) for assigning the one or more process data designated to be utilized in the one or more application programs to one or more groups, respectively; and

[0351] A generation unit (40, 40b, 40c, 40e) generates the communication settings for the control device according to the allocation result of the grouping unit, so as to save and send one or more process data allocated to each of the one or more groups grouped by the grouping unit into a data set.

[0352] <Structure 8>

[0353] A support program (378, 678, 778) assists in setting a communication environment between a control device and an information processing device, wherein the control device executes a control program for controlling a control object and manages a plurality of process data referenced or updated in the control program, and the information processing device executes one or more application programs that utilize one or more specified process data among the plurality of process data, wherein:

[0354] The control device is configured to transmit one or more data sets (50) storing at least a portion of the plurality of process data according to a predetermined communication setting (400),

[0355] The information processing device is configured to execute the one or more application programs using the one or more data sets sent from the control device,

[0356] The support program causes the computer (300, 600, 600e, 700) to execute the following steps:

[0357] a grouping step (step 2) of assigning the one or more process data designated to be used in the one or more application programs to one or more groups, respectively; and

[0358] A generation step (step 3) generates the communication setting for the control device according to the result allocated in the grouping step, so as to save and send one or more process data allocated to each of the one or more groups grouped in the grouping step into a data set.

[0359] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all aspects. The scope of the present invention is indicated by the claims, not by the above description, and is intended to include all changes within the meaning and scope equivalent to the claims. In addition, the inventions described in the embodiments and various modifications can be implemented individually or in combination as long as possible.

[0360] Description of symbols

[0361] 1a, 1c, 1d, 1e, 1f: control system; 2, 2a, 2e: information system network; 4: control system network; 10a: FA system; 20, 20a, 20b, 20c, 20d, 20e, 20f: grouping unit; 22: first grouping unit; 24: second grouping unit; 26: third grouping unit; 40, 40a, 40b, 40c, 40d, 40e, 40f: generation unit; 42: data set setting generation unit; 44: generation condition generation unit; 50: data set; 52: process data; 54: object; 56: connection ID; 58: storage area; 60, 60b: OPC UA client; 62: order management unit; 64, 64b: subscription; 66, 66b, 84: communication driver; 70: transmission and reception management unit; 72: process data management unit; 74: topic list; 76: process data list; 80: OPC UA server; 82: data set generation unit; 100, 100a, 100d, 100e, 100f: controller; 110, 210, 310, 610, 710: processor; 120: control program; 146, 193, 294, 394, 694: USB controller; 150, 250, 350, 650, 750: volatile memory; 170, 270, 370, 670, 770: non-volatile memory; 180, 260: OPC UA program; 191: control system network IF; 192: information system network IF; 194: memory card IF; 194A: memory card; 195: internal bus controller; 196: chipset; 200, 200a, 200b, 200e, 200f: HMI; 220: application; 222: mapping information; 240: touch panel; 242, 340, 640: display unit; 244, 320, 620: input unit; 292, 792: communication IF; 296, 396, 696: processor bus; 300: support device; 360 development unit; 372 : Support program; 374: Development program for control program; 376: Development program for application program; 378, 678, 778: Communication setting program; 392: Optical drive; 392A: Recording medium; 400, 800: Communication setting; 420: Data set setting; 440: Generation condition; 460: Save information; 480 Connection information; 500: Field device; 580; Storage unit; 582: Serial number; 600, 600e: Setting device; 700: Relay device; 772: PubSub program; 2050: Application data set; 2052: Application data.

Claims

1. A control system, in, The control system includes a control device that executes a control program for controlling a control object and manages a plurality of process data referenced or updated in the control program, wherein the control device is configured to transmit one or more data sets storing at least a part of the plurality of process data according to a predetermined communication setting. The control system has: an information processing device for executing one or more application programs using one or more designated process data among the plurality of process data using the one or more data sets transmitted from the control device; a grouping unit that allocates the one or more process data designated to be used in the one or more application programs to one or more groups, respectively; as well as a generating unit that generates the communication setting for the control device according to the allocation result of the grouping unit, so as to save and transmit the one or more process data allocated to each of the one or more groups grouped by the grouping unit into one data set, The communication setting is a setting related to a publish-subscribe type communication method, is set in response to a subscription request from a subscriber, and includes information for determining the order in which one or more process data in each data set are stored.

2. The control system according to claim 1, in, The communication setting includes information for specifying one or more process data to be stored in each data set.

3. The control system according to claim 1 or 2, in, The control system further comprises a support device, which provides a development environment for the one or more application programs. The supporting device includes the grouping unit and the generating unit.

4. The control system according to claim 1 or 2, in, The control system further includes a relay device that relays communication between the control device and the information processing device. The relay device includes the grouping unit and the generating unit.

5. The control system according to claim 1 or 2, in, The information processing device manages a plurality of application data that are referenced or updated in the one or more applications. The information processing device transmits one or more application data sets storing at least a part of the plurality of application data according to a predetermined communication setting of the information processing device, The control device can execute the control program by using the application data set and using one or more application data specified among the plurality of application data. The grouping unit allocates the one or more application data designated to be used in the control program to one or more control program groups, respectively. The generation unit generates the communication settings of the information processing device according to the allocation result of the grouping unit, so as to save and send one or more application data allocated to each of the one or more control program groups grouped by the grouping unit into an application data set.

6. A support device that assists in setting a communication environment between a control device and an information processing device, wherein the control device executes a control program for controlling a control object and manages a plurality of process data referenced or updated in the control program, and the information processing device executes one or more application programs that utilize one or more specified process data among the plurality of process data, in, The control device is configured to transmit one or more data sets storing at least a part of the plurality of process data according to a predetermined communication setting. The information processing device is configured to execute the one or more application programs using the one or more data sets sent from the control device, The supporting device comprises: a grouping unit that allocates the one or more process data designated to be used in the one or more application programs to one or more groups, respectively; as well as a generating unit that generates the communication setting for the control device according to the allocation result of the grouping unit, so as to save and transmit the one or more process data allocated to each of the one or more groups grouped by the grouping unit into one data set, The communication setting is a setting related to a publish-subscribe type communication method, is set in response to a subscription request from a subscriber, and includes information for determining the order in which one or more process data in each data set are stored.

7. A recording medium having a support program recorded thereon, the support program assisting in setting a communication environment between a control device and an information processing device, the control device executing a control program for controlling a control object and managing a plurality of process data referenced or updated in the control program, the information processing device executing one or more application programs utilizing one or more specified process data among the plurality of process data, in, The control device is configured to transmit one or more data sets storing at least a part of the plurality of process data according to a predetermined communication setting. The information processing device is configured to execute the one or more application programs using the one or more data sets sent from the control device, The support program causes the computer to perform the following steps: a grouping step of assigning the one or more process data designated to be used in the one or more application programs to one or more groups, respectively; as well as a generating step of generating the communication setting for the control device according to the result of the allocation in the grouping step so as to save and transmit the one or more process data allocated to each of the one or more groups grouped in the grouping step into one data set, The communication setting is a setting related to a publish-subscribe type communication method, is set in response to a subscription request from a subscriber, and includes information for determining the order in which one or more process data in each data set are stored.