Control system and control method

The control system leverages container and orchestration technologies to facilitate scalable resource use and efficient design, implementation, and verification of control devices, enhancing system integration and reducing hardware requirements.

JP7559532B2Active Publication Date: 2024-10-02OMRON CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020204061
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-09
Publication Date
2024-10-02
Estimated Expiration
2040-12-09

AI Technical Summary

Technical Problem

The challenge lies in efficiently facilitating the design, implementation, and verification of multiple control devices while allowing for scalable resource utilization, as existing methods face complexity and variations in work progress, leading to potential waiting times in system integration.

Method used

A control system utilizing container technology and orchestration to deploy and execute control operations across control devices and servers, enabling scalable resource use through generation and execution of runtime instances, emulation of I/O data, and flexible deployment modes.

Benefits of technology

This approach simplifies and accelerates the design, implementation, and verification of control systems, allowing for seamless transitions and early problem detection during integration, while enabling complex simulations and reducing the need for on-site hardware.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559532000001
    Figure 0007559532000001
  • Figure 0007559532000002
    Figure 0007559532000002
  • Figure 0007559532000003
    Figure 0007559532000003
Patent Text Reader

Abstract

To solve the problem in which: a configuration is desired to simplify a series of work including design, implementation, verification, etc., as to a plurality of controllers and a system combining a plurality of controllers, and to make resources of the controllers available in a scalable manner.SOLUTION: A control system includes: a generation module for generating a container including a runtime image which contains a user program to define control computations to a control subject and an execution environment to execute the user program; and an orchestrator for releasing the container for either one or both of a controller and a server. The controller and the server include a container engine to deploy the container, wherein deploying the container released by the orchestrator generates an instance of the runtime image for executing the control computations.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control system including a control device and a server, and a control method in the control system. [Background technology]

[0002] To start operating a control system consisting of multiple control devices (typically programmable logic controllers (PLCs)), a series of tasks such as design, implementation, and verification are required. In this series of tasks, the control devices are designed, implemented, and verified individually, and then combined with devices. To combine them into such a system, the work for each control device must be completed, but it is difficult to make the work progress uniform due to the complexity and characteristics of each control device. Therefore, variations in the work progress can result in waiting times before the system can be combined.

[0003] Incidentally, in the field of general IT technology, not in the technical field of control devices, scalable software services are provided by dynamically expanding and contracting computer resources using technologies such as containers and orchestration. For example, JP-T-2015-512091 (Patent Document 1) discloses a method for managing computer cloud resources. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 2015-512091 Summary of the Invention [Problem to be solved by the invention]

[0005] There is a demand for a configuration that facilitates the series of tasks such as design, implementation, and verification of multiple control devices and systems combining multiple control devices as described above, while enabling the resources of the control devices to be used in a scalable manner.

[0006] One object of the present invention is to provide a solution that meets these needs. [Means for solving the problem]

[0007] According to one example of the present invention, a control system is provided that includes one or more control devices and one or more servers. The control system includes a generation module that generates a container including a runtime image that includes a user program that defines a control operation for a control target and an execution environment for executing the user program, and an orchestrator that releases the container to one or both of the control device and the server. The control device and the server have a container engine that deploys the container, and deploys the container released by the orchestrator to generate an instance of the runtime and execute the control operation. According to this configuration, since the container including the runtime image can be deployed and executed on either the control device or the server, it is possible to easily verify the execution of the control operation even in a state where the control device does not exist. In addition, the control operation executed on the server can be easily moved to the control device.

[0008] The container engine of the server may generate an instance of an emulator that emulates input / output data exchanged with the control target together with an instance of the runtime. With this configuration, even if there is no device connected to the control device, it is easy to verify the control operation on the server.

[0009] When the container engine of the server generates an instance of the runtime, the container engine of the control device may generate an instance of a network server that mediates input / output data exchanged via a device connected to the control device to the server. With this configuration, the control calculation itself can be executed by the server while utilizing the I / O data exchanged between the device connected to the control device, and therefore resources provided by the server can be utilized.

[0010] When generating an instance of the runtime, the container engine of the server may generate an instance of a virtual I / O driver that emulates an I / O driver that is responsible for processing to access a device connected to the control device. With this configuration, it is possible to provide an execution environment that is substantially the same as that for executing control operations on the control device, so that the runtime for realizing the control operations can be commonly used in the server.

[0011] The container may include at least one of an image deployed only by the container engine of the control device and an image deployed only by the container engine of the server. According to this configuration, by redundantly including images in the container, control operations can be realized without depending on the deployment destination.

[0012] The control system may further include a repository that manages an address for accessing the container engine when the container engine of the server generates an instance of a runtime. With this configuration, when a control operation is executed on the server, differences in addresses assigned to execution environments can be absorbed by referring to the repository.

[0013] The control system may further include a node manager that virtually generates a node including a container engine when a container is released to a server and a container engine that deploys the container does not exist. With this configuration, a node that executes a control operation can be arbitrarily generated in response to a request.

[0014] The control system may further include a container hub that registers the container generated by the generation module in association with identification information of a releasable control device. This configuration makes it easy to reuse a container that has been generated once.

[0015] The orchestrator may select a container to be released and determine a release destination in accordance with a user operation. With this configuration, the user can release a required container to a required execution environment according to the status of the control system.

[0016] According to another example of the present invention, there is provided a control method executed in a control system including one or more control devices and one or more servers. The control method includes the steps of generating a container including a runtime image including a user program that defines a control operation for a control target and an execution environment for executing the user program, and releasing the container to one or both of the control device and the server. The control device and the server have a container engine that deploys the container, and deploying the released container generates an instance of the runtime and executes the control operation. Effect of the Invention

[0017] According to one aspect of the present invention, it is possible to facilitate a series of tasks such as design, implementation, and verification for a plurality of control devices and a system combining a plurality of control devices. According to another aspect of the present invention, it is possible to make the resources of the control device available in a scalable manner. [Brief description of the drawings]

[0018] [Figure 1] 1 is a schematic diagram showing an example of the overall configuration of a control system according to an embodiment of the present invention; [Diagram 2] 1 is a diagram for explaining an overview of processing using a container in a control system according to an embodiment of the present invention. FIG. [Diagram 3]FIG. 2 is a diagram for explaining modes provided in the control system according to the present embodiment. [Figure 4] 2 is a block diagram showing an example of a hardware configuration of a PLC constituting the control system according to the present embodiment. FIG. [Diagram 5] FIG. 2 is a block diagram showing an example of a hardware configuration of a server constituting the control system according to the present embodiment. [Figure 6] 2 is a block diagram showing an example of a hardware configuration of a development and maintenance terminal constituting the control system according to the present embodiment. FIG. [Figure 7] FIG. 2 is a schematic diagram showing an example of a functional configuration of a control system according to the present embodiment. [Figure 8] FIG. 2 is a schematic diagram showing an example of a functional configuration for realizing a mode provided in the control system according to the present embodiment. [Figure 9] FIG. 2 is a schematic diagram showing a configuration example of a PLC runtime container used in the control system according to the present embodiment. [Figure 10] FIG. 2 is a schematic diagram illustrating an example of a functional configuration related to generation of a PLC runtime container in the control system according to the present embodiment. [Figure 11] 1 is a schematic diagram showing an example of a functional configuration related to release and execution management of a PLC runtime container in a control system according to an embodiment of the present invention. FIG. [Figure 12] FIG. 2 is a schematic diagram showing a typical use case of the control system according to the present embodiment. [Figure 13] FIG. 13 is a schematic diagram outlining an example of a processing procedure in the use case shown in FIG. 12(A). [Figure 14] FIG. 13 is a schematic diagram outlining an example of another processing procedure in the use case shown in FIG. 12(A). [Figure 15] FIG. 13 is a schematic diagram outlining an example of a processing procedure in the use case shown in FIG. 12(B). [Figure 16] FIG. 13 is a schematic diagram outlining an example of another processing procedure in the use case shown in FIG. 12(B). [Figure 17]It is a schematic diagram outlining an example of a processing procedure in the use case shown in FIG. 12(C). [Figure 18] It is a flowchart showing an example of a processing procedure regarding the generation of a PLC runtime container in a control system according to the present embodiment. [Figure 19] It is a flowchart showing an example of a processing procedure regarding the release and execution management of a PLC runtime container in a control system according to the present embodiment.

Embodiments for Carrying Out the Invention

[0019] Embodiments of the present invention will be described in detail with reference to the drawings. For the same or corresponding parts in the drawings, the same reference numerals are given and the description thereof will not be repeated.

[0020] <A. Application Example> First, an example of a scenario to which the present invention is applied will be described.

[0021] FIG. 1 is a schematic diagram showing an overall configuration example of a control system 1 according to the present embodiment. Referring to FIG. 1, the control system 1 according to the present embodiment includes one or more PLC systems 2-1, 2-2, 2-3 (hereinafter also collectively referred to as "PLC system 2"), one or more servers 200, and a development and maintenance terminal 300. In the following description, when it is necessary to distinguish each of the PLC systems 2-1, 2-2, 2-3, suffixes such as "-1", "-2", "-3" may be given to the related components.

[0022] Each of the PLC systems 2 may also be referred to as a line and may control the entire factory or may control specific manufacturing equipment or manufacturing devices installed in the factory. The PLC systems 2-1, 2-2, 2-3 are each mainly configured with a PLC (Programmable Logic Controller) 100-1, 100-2, 100-3 (hereinafter also collectively referred to as "PLC 100"), which is a typical example of a control device for controlling a control target.

[0023] The PLC 100 is connected to a field device 10. The field device 10 includes any device necessary to control a controlled object. More specifically, the field device 10 includes a device for exchanging information with a controlled object (e.g., a manufacturing facility, a manufacturing device, a sensor and an actuator included in the manufacturing facility or the manufacturing device, etc.). In the example shown in FIG. 1, the field device 10 includes a remote I / O (Input / Output) 12, a relay group 14, a servo driver 16, and a servo motor 18.

[0024] The PLC 100 acquires information from the field device 10 and executes control calculations according to a user program created in advance to generate information to be provided to the field device 10. Hereinafter, the information acquired by the PLC 100 from the field device 10 will also be referred to as "input data," and the information provided to the field device 10 will also be referred to as "output data." The input data and output data will also be collectively referred to as "input / output data" or "I / O data."

[0025] 1, the PLC 100 and the field device 10 are connected via a control network 4, but the present invention is not limited to this and may be connected by hard wires. Furthermore, the field device 10 is not limited to the device shown in FIG. 1 and may include any device.

[0026] It is preferable to adopt an industrial communication protocol for the control network 4. Known examples of such communication protocols include EtherCAT (registered trademark), EtherNet / IP (registered trademark), DeviceNet (registered trademark), and CompoNet (registered trademark).

[0027] Each of the PLC systems 2 is capable of accessing a server 200 on the Internet 8 via an information network 6 and a gateway 20. For the information network 6, a general-purpose communication protocol such as Ethernet (registered trademark) may be adopted.

[0028] The server 200 deploys containers to provide an environment in which the containers can be executed, and manages the release of the containers. In this specification, "release" of a container includes a process of providing the target container to an execution destination and a process of instructing the execution of the container at the execution destination (for example, a process of instructing deployment). Details of these processes and functions will be described later.

[0029] The server 200 may be placed on a cloud via the Internet 8, or may be placed in a local network where the PLC system 2 exists without going through the Internet 8. The implementation form of the server 200 can be determined arbitrarily depending on the required performance, functions, and the like.

[0030] The development and maintenance terminal 300 can access the server 200 and perform user operations to realize various processes as described below.

[0031] FIG. 2 is a diagram for explaining an overview of processing using containers in the control system 1 according to the present embodiment.

[0032] In this specification, the programs and libraries necessary for executing control operations in the PLC 100 of the PLC system 2 are referred to as the "PLC runtime." The term "PLC runtime" may include the entity and execution environment that realizes the control operations, in addition to the programs and libraries necessary for executing the control operations. Typically, the "PLC runtime" includes a user program (e.g., a program arbitrarily created in accordance with IEC 61131-3) that defines the control operations for the control target by the PLC 100, and a PLC engine (firmware) that is the execution environment that executes the user program.

[0033] In the control system 1 according to the present embodiment, a package that allows the PLC runtime to be realized not only in the PLC 100 but also in the virtual environment provided by the server 200 is called a "PLC runtime container." By deploying the "PLC runtime container" in a host OS (Operating System), an execution environment for logically independent applications can be realized. Note that the term "PLC runtime container" can encompass the execution environment for realized applications. Details of the programs (applications) and libraries that constitute the "PLC runtime container," as well as details of a method for generating the "PLC runtime container," will be described later.

[0034] 2, the PLC runtime container 50 can be released to either the PLC 100 or the server 200 of the PLC system 2. By optimizing the deployment destination and deployment contents of the PLC runtime container 50 according to the required situation, at least three modes can be realized: (1) a local execution mode, (2) a cloud execution mode, and (3) a simulation mode.

[0035] FIG. 3 is a diagram for explaining the modes provided in the control system 1 according to the present embodiment.

[0036] 3A, (1) local execution mode corresponds to a state in which the PLC 100 executes control calculations using I / O data exchanged via the field device 10. More specifically, the PLC runtime 510 and physical I / O 160 are realized in the PLC 100. The physical I / O 160 is an abstracted layer that also includes the field device 10 and the control system network 4 (both of which are shown in FIG. 1). The local execution mode corresponds to so-called actual operation.

[0037] Referring to FIG. 3(B), (2) In the cloud execution mode, while I / O data is exchanged via the field device 10 connected to the PLC 100, the control calculation itself corresponds to the state of being executed by the server 200. More specifically, physical I / O 160 is realized in the PLC 100, and the PLC runtime 510 is realized in the server 200. The cloud execution mode can be used for actual operation, or can also be used for the development and checking of user programs, etc.

[0038] Referring to FIG. 3(C), (3) In the simulation mode, it does not require the field device 10 connected to the PLC 100. The server 200 emulates the field device 10 while the server 200 also executes the control calculation. More specifically, the PLC runtime 510 and the virtual I / O emulator 550 are realized in the server 200. The virtual I / O emulator 550 is a module that emulates the behavior of the physical I / O 160. The simulation mode can be used for the development and checking of user programs.

[0039] Thus, in the control system 1 according to the present embodiment, by using the PLC runtime container 50, even when part or all of the PLC system 2 does not exist, the development and checking of user programs can be easily performed, and seamless migration to actual operation can also be achieved.

[0040] <B. Hardware Configuration> Next, an example of the hardware configuration of the device constituting the control system according to the present embodiment will be described.

[0041] (b1:PLC100) Fig. 4 is a block diagram showing an example of a hardware configuration of a PLC 100 constituting the control system 1 according to the present embodiment. Referring to Fig. 4, the PLC 100 includes a processor 102 such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), a chipset 104, a main memory 106, a storage 110, an information network controller 120, a control network controller 122, a USB (Universal Serial Bus) controller 124, and a memory card interface 126.

[0042] The processor 102 reads out various programs stored in the storage 110, deploys them in the main memory 106, and executes them to realize control calculations for controlling the controlled object. The chipset 104 controls data transmission between the processor 102 and each component.

[0043] The storage 110 typically stores an OS 112 for implementing basic processing, and a system program 114 for performing processing such as deploying a PLC runtime container.

[0044] The information network controller 120 controls data exchange with the development and maintenance terminal 300 and the like via the information network 6 .

[0045] The control network controller 122 controls data exchange with the field device 10 via the control network 4 .

[0046] The USB controller 124 controls the transfer of data to and from external devices (eg, support devices) via a USB connection.

[0047] The memory card interface 126 is configured to allow a memory card 128 to be attached and detached, and allows data to be written to the memory card 128 and various data (user programs, trace data, etc.) to be read from the memory card 128.

[0048] FIG. 4 shows an example of a configuration in which the processor 102 executes a program to provide the necessary processes, but some or all of the provided processes may be implemented using a dedicated hardware circuit (e.g., an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array)). Alternatively, the main part of the PLC 100 may be realized using hardware that conforms to a general-purpose architecture (e.g., an industrial PC based on a general-purpose PC). In this case, virtualization technology may be used to run multiple OSs with different uses in parallel, and necessary applications may be executed on each OS.

[0049] (b2: Server 200) Fig. 5 is a block diagram showing an example of a hardware configuration of a server 200 constituting the control system 1 according to the present embodiment. Referring to Fig. 5, the server 200 includes one or more processors 202 such as a CPU or an MPU, a main memory 206, a storage 210, one or more network controllers 220, an input unit 226, and a display unit 228. These components are connected via a bus 208.

[0050] The processor 202 reads out various programs stored in the storage 210, expands them in the main memory 206, and executes them to realize various processes as described below.

[0051] The storage 210 is configured, for example, with a hard disk drive (HDD), a flash solid state drive (SSD), etc. The storage 210 typically stores an OS 212 for implementing basic processing, and a container application 214 for implementing various types of processing provided by the server 200, as described below.

[0052] The network controller 220 controls data exchange with various devices via the network.

[0053] The input unit 226 is made up of a keyboard, a mouse, etc., and receives instructions from a user. The display unit 228 is made up of a display, etc., and outputs the processing results from the processor 202, etc.

[0054] FIG. 5 shows an example of a configuration in which the necessary processing is provided by the processor 202 executing a program, but some or all of the provided processing may be implemented using a dedicated hardware circuit (e.g., an ASIC or an FPGA).

[0055] (b3: Development and maintenance terminal 300) Fig. 6 is a block diagram showing an example of a hardware configuration of a development and maintenance terminal 300 constituting the control system 1 according to the present embodiment. With reference to Fig. 6, the development and maintenance terminal 300 includes a processor 302 such as a CPU or an MPU, a main memory 306, a storage 310, a network controller 320, a USB controller 324, an input unit 326, and a display unit 328. These components are connected via a bus 308.

[0056] The processor 302 reads out various programs stored in the storage 310 , expands them in the main memory 306 , and executes them to realize the processes required by the development and maintenance terminal 300 .

[0057] The storage 310 is configured with, for example, an HDD, an SSD, etc. Typically, the storage 310 stores an OS 312 and a development program 314 for instructing processing as described below. Note that the storage 310 may store necessary programs other than the programs shown in FIG.

[0058] The network controller 320 controls data exchange with the PLC 100 or the like via an arbitrary control network 4 .

[0059] The USB controller 324 controls the data exchange with external devices via the USB connection.

[0060] The input unit 326 is composed of a mouse, a keyboard, a touch panel, etc., and receives instructions from the user. The display unit 228 is composed of a display, various indicators, etc., and outputs the processing results from the processor 202, etc.

[0061] The development and maintenance terminal 300 may have an optical drive 304. The optical drive 304 reads a program from a recording medium 305 (for example, an optical recording medium such as a DVD (Digital Versatile Disc)) that non-transiently stores a computer-readable program, and stores it in the storage 310, etc.

[0062] Various programs executed on the development and maintenance terminal 300 may be installed via a computer-readable recording medium 305, or may be installed in a form downloaded from an arbitrary server on the network.

[0063] FIG. 6 shows a configuration example in which the necessary processing is provided by the processor 302 executing a program. However, some or all of these provided processes may be implemented using a dedicated hardware circuit (for example, an ASIC or an FPGA, etc.).

[0064] <C. Functional Configuration of Control System 1> FIG. 7 is a schematic diagram showing an example of the functional configuration in the control system 1 according to the present embodiment. Referring to FIG. 7, each of the PLCs 100 has a container engine 150. The container engine 150 provides an execution environment for containers, and based on the manifest, etc. included in the PLC runtime container 50, deploys the module image to generate a module (instance) for executing processing.

[0065] On the other hand, the server 200 includes a container engine 250, a container generation module 260, and an orchestrator 270.

[0066] Similar to the container engine 150, the container engine 250 deploys an image of a module based on a manifest included in the PLC runtime container 50 and generates a module (instance) for executing processing.

[0067] The container engines 150 and 250 are platforms for containers as a service (CaaS). In the context of releasing the PLC runtime container 50, each of the container engines 150 and 250 may be referred to as a "node."

[0068] The container generation module 260 generates the PLC runtime container 50 in response to a user operation. In this embodiment, the container generation module 260 generates the PLC runtime container 50 including an image of the PLC runtime from a user program to be executed by the PLC 100 and related setting information, etc. That is, the container generation module 260 generates the PLC runtime container 50 including an image of the PLC runtime including a user program that defines a control operation for a control target and an execution environment for executing the user program.

[0069] The orchestrator 270 is responsible for the process of managing the PLC runtime container 50. The orchestrator 270 performs processes such as registering the PLC runtime container 50 generated by the container generation module 260 in the container hub, and manages whether to execute the PLC runtime container 50 registered in the container hub on any host (in this embodiment, the container engine 150 of the PLC 100 or the container engine 250 of the server 200) in response to a user operation or the like. In this way, the orchestrator 270 releases the PLC runtime container 50 to one or both of the PLC 100 and the server 200.

[0070] The PLC 100 and the server 200 each have container engines 150 and 250 for deploying the PLC runtime container 50. By deploying the PLC runtime container 50 released by the orchestrator 270, an instance of the PLC runtime image is generated and control calculations are executed.

[0071] Furthermore, the orchestrator 270 is responsible for management of startup / stop of the PLC runtime container 50, management of network connections between hosts, management of storage, scheduling of the host on which the PLC runtime container 50 is to be executed, management of the execution state of the PLC runtime container 50 on the host, and the like.

[0072] Note that the release of the PLC runtime container 50 by the orchestrator 270 may be performed according to a predetermined schedule, or the selection of the PLC runtime container 50 to be released and the determination of the release destination may be made according to a user operation.

[0073] Details of the processing by each component will be described later. <D. Use of PLC Runtime Container> Next, an example of implementing each of the modes shown in Fig. 2 and Fig. 3 using the PLC runtime container 50 will be described. In the following description, functions and processes provided by the container engine 150 of the PLC 100 or the container engine 250 of the server 200 will be mainly described.

[0074] FIG. 8 is a schematic diagram showing an example of a functional configuration for realizing the modes provided in the control system 1 according to the present embodiment.

[0075] With reference to FIG. 8A, the PLC 100 includes a local OS 140 and a container engine 150 .

[0076] (1) In the local execution mode, an instance of the PLC runtime 510 is generated on the container engine 150. The PLC 100 also includes a physical I / O driver 142 for implementing communication between the PLC runtime 510 and the physical I / O 160. The control calculation by the PLC 100 is implemented by the functional configuration shown in FIG. 8(A).

[0077] 8B, in (2) cloud execution mode, an instance of a virtual I / O network server 540 is generated on the container engine 150 of the PLC 100, instead of the PLC runtime 510. The virtual I / O network server 540 is responsible for processing to mediate exchanges between the server 200 and the physical I / O 160. The virtual I / O network server 540 synchronizes the results of I / O processing including the physical I / O 160 with the virtual I / O network client 530.

[0078] In this manner, when the container engine 250 of the server 200 creates an instance of an image of the PLC runtime 510, the container engine 150 of the PLC 100 creates an instance of a virtual I / O network server 540 that mediates I / O data exchanged through the field devices 10 connected to the PLC 100 to the server 200.

[0079] Meanwhile, the server 200 has a server OS 240 and a container engine 250. (2) In the cloud execution mode, an instance of a PLC runtime 510 is generated on the container engine 250. Furthermore, instances of a virtual I / O driver 520 and a virtual I / O network client 530 are generated on the container engine 250.

[0080] In this way, in (2) cloud execution mode, an instance of the PLC runtime 510 is generated in the server 200, and an instance of the virtual I / O network server 540 is also generated in the PLC 100.

[0081] The virtual I / O network client 530 exchanges I / O data with the virtual I / O network server 540 .

[0082] 8A, and performs the same process as accessing the physical I / O 160 of the PLC 100 in response to an internal command for accessing I / O data from the PLC runtime 510. In this way, when the container engine 250 of the server 200 generates an instance of the image of the PLC runtime 510, it generates an instance of the virtual I / O driver 520 that emulates the physical I / O driver 142 that is responsible for the process of accessing the field device 10 connected to the PLC 100.

[0083] The exchange between the virtual I / O network server 540 and the virtual I / O network client 530 is transparent to the PLC runtime 510. That is, the PLC runtime 510 executed by the PLC 100 and the PLC runtime 510 executed by the server 200 issue the same access command to the physical I / O 160. The virtual I / O driver 520, the virtual I / O network client 530, and the virtual I / O network server 540 realize substantially the same processing as the processing executed by the physical I / O driver 142 of the PLC 100 in response to the same access command. Due to the similarity of these processing, even if the PLC runtime 510 is operated on different execution environments as shown in Figs. 8(A) to 8(C), there is no need to make the processing contents different from each other.

[0084] Referring to FIG. 8C, in the (3) simulation mode, instances of a virtual I / O emulator 550 and a virtual I / O network server 540 are generated on the container engine 250.

[0085] The virtual I / O emulator 550 is a module that simulates the physical I / O 160 of the PLC 100, and executes processing such as generating input data in response to output data from the PLC runtime 510. Note that the virtual I / O emulator 550 only needs to be able to realize a simulation using the PLC runtime 510, and may execute processing (so-called return processing) that returns the output data provided from the PLC runtime 510 as input data as is. Alternatively, the virtual I / O emulator 550 may have a model of, for example, a servo driver, and may respond by inputting the output data provided from the PLC runtime 510 into the model and obtaining a result as input data.

[0086] Thus, in (3) simulation mode, the container engine 250 of the control device 200 generates an instance of the PLC runtime 510 as well as an instance of the virtual I / O emulator 550 that emulates I / O data exchanged with the controlled object.

[0087] The virtual I / O network server 540 executes the same process as the virtual I / O network server 540 of the PLC 100 shown in Fig. 8(B). That is, it virtually forms a communication path for exchanging I / O data between the virtual I / O network client 530 and the virtual I / O network server 540. The virtual I / O network server 540 synchronizes the result of the I / O process by the virtual I / O emulator 550 with the virtual I / O network client 530.

[0088] Depending on the mode, the connection destination of the virtual I / O network client 530 is appropriately changed to the virtual I / O network server 540 of the PLC 100 or the virtual I / O network server 540 of the server 200.

[0089] Fig. 9 is a schematic diagram showing a configuration example of a PLC runtime container 50 used in the control system 1 according to the present embodiment. Referring to Fig. 9, the PLC runtime container 50 includes a PLC runtime image 51, a virtual I / O driver image 52, a virtual I / O network client image 53, a virtual I / O network server image 54, and a virtual I / O emulator image 55. These images are data in a format that can execute necessary processes by being deployed.

[0090] The PLC runtime container 50 further includes a manifest 56. The manifest 56 includes definitions of which images are to be enabled and what resources are to be used in each execution environment and each mode.

[0091] The container engines 150 and 250 refer to the manifest 56 to select a necessary image from among the images of the modules included in the PLC runtime container 50. Typically, the manifest 56 includes definitions of functions used in each of the modes shown in Figures 8(A) to 8(C).

[0092] As shown in FIG. 9, the PLC runtime container 50 may include an image (e.g., virtual I / O network server image 54) deployed only by the container engine 150 of the PLC 100. Further, the PLC runtime container 50 may include images (e.g., virtual I / O driver image 52, virtual I / O network client image 53, virtual I / O emulator image 55, etc.) deployed only by the container engine 250 of the server 200.

[0093] Note that FIG. 9 shows a configuration example using the same PLC runtime container 50, but the configuration of the PLC runtime container 50 may be varied according to the release destination and the selected mode. That is, a PLC runtime container 50 including necessary images and corresponding manifests 56 in the selected mode may be generated and released.

[0094] <E. Generation of PLC Runtime Container> Next, functions and processes related to the generation of the PLC runtime container 50 will be described.

[0095] FIG. 10 is a schematic diagram showing a functional configuration example related to the generation of the PLC runtime container 50 in the control system 1 according to the present embodiment. Referring to FIG. 10, the container generation module 260 (FIG. 7) of the server 200 includes a development environment 262 and a system configuration manager 264.

[0096] The development environment 262 generates and outputs a user program 266 executed in the PLC system 2 and PLC system configuration information 268 defining the configuration of the PLC system 2 according to user operations. Typically, the development environment 262 includes an editor function, a debug function, a simulation function, a consistency check function, and the like.

[0097] The development environment 262 may be implemented on the server 200 or may be implemented by the development and maintenance terminal 300 executing a development program.

[0098] The user defines the configuration of the PLC system 2 included in the control system 1 on the development environment 262. The contents to be defined include the number of PLCs 100 and the resources to be used on the server 200. In addition, the user creates a user program 266 on the development environment 262 according to the object to be controlled.

[0099] The user can also issue instructions for releasing and deploying the PLC runtime container 50 via the development environment 262.

[0100] The system configuration manager 264 generates the PLC runtime container 50 in accordance with a user operation, based on a user program 266 and PLC system configuration information 268. The PLC runtime container 50 includes a manifest 56 in addition to an image of each module.

[0101] In addition to generating the PLC runtime container 50, the system configuration manager 264 generates and outputs a system configuration profile 60. The system configuration profile 60 includes the release destination of the PLC runtime container 50, identification information of the PLC 100, and the like.

[0102] The system configuration profile 60 may also include identification information of the container hub 276 to be used, identification information of the PLC runtime container 50 to be used, information indicating whether or not the use of virtual nodes is permitted, the maximum number of virtual nodes to be used, etc. In this case, the system configuration profile 60 also includes information of a repository in which information related to the PLC runtime container 50 is registered.

[0103] The system configuration profile 60 may be generated for each control system 1, or for each PLC system 2 included in the control system 1.

[0104] The system configuration profile 60 may include a container configuration profile. The container configuration profile includes identification information for identifying the PLC runtime container 50, and information such as the PLC 100 targeted by the PLC runtime container 50 and devices (such as motors and robots) connected to each PLC 100. In addition, the container configuration profile may include information such as the necessity of additional required functions (hereinafter also referred to as "function modules") in the development environment when controlling the device.

[0105] <F.Release and Execution Management of PLC Runtime Containers> Next, the functions and processes related to the release and execution management of the PLC runtime container 50 will be described.

[0106] FIG. 11 is a schematic diagram showing a functional configuration example related to the release and execution management of the PLC runtime container 50 in the control system 1 according to the present embodiment. Referring to FIG. 11, the orchestrator 270 (FIG. 7) of the server 200 includes a container manager 272 and a node manager 274.

[0107] The container manager 272 manages the release, deployment, execution, etc. of the PLC runtime container 50. The container manager 272 manages a container hub 276 for registering the PLC runtime container 50 and a repository 278 for managing the state of the PLC runtime container 50 registered in the container hub 276.

[0108] When the PLC runtime container 50 is provided from the container generation module 260 (see FIG. 10), the container manager 272 refers to the accompanying system configuration profile 60, registers the PLC runtime container 50 in the container hub 276, and adds an entry corresponding to the repository 278.

[0109] The container hub 276 registers the PLC runtime container 50 generated by the container generation module 260 in association with the identification information of the releasable PLC 100 .

[0110] Each entry of the repository 278 includes a container name for identifying a PLC runtime container 50 registered in the container hub 276, a name space for associating a node name with a node address, and a container state for indicating the state of the PLC runtime container 50. The name space maps a node name designation from the PLC runtime 510 with a corresponding node address. In this way, the repository 278 manages an address for accessing the container engine 250 when the container engine 250 of the server 200 generates an instance of the PLC runtime 510.

[0111] In response to requests from the container manager 272, the node manager 274 searches for the node to which the PLC runtime container 50 will be released (the container engine 150 of the PLC 100 or the container engine 250 of the server 200), obtains the node status, creates a virtual node, and so on.

[0112] Regarding the generation of a virtual node, when the node manager 274 releases the PLC runtime container 50 to the server 200, if there is no container engine 250 that deploys the PLC runtime container 50, the node manager 274 virtually generates a node including the container engine 250.

[0113] <G.ユースケース> Next, we will explain some use cases.

[0114] Fig. 12 is a schematic diagram showing a typical use case of the control system 1 according to the present embodiment. In the use case shown in Fig. 12, it is assumed that the PLCs 100-1, 100-2, and 100-3 control the control targets.

[0115] 12A illustrates an example in which all of the control calculations executed by PLCs 100-1, 100-2, and 100-3 are simulated by server 200. That is, a simulation mode is realized for each of PLCs 100-1, 100-2, and 100-3. In this case, PLCs 100-1, 100-2, and 100-3 do not necessarily have to exist.

[0116] Use case 2 shown in Fig. 12(B) shows an example in which the control calculation executed by PLC 100-1 is executed on server 200 while utilizing physical I / O 160-1 of PLC 100-1. That is, a cloud execution mode is realized for PLC 100-1. Note that a simulation mode is realized for PLCs 100-2 and 100-3, similar to Fig. 12(A). In this case, PLCs 100-2 and 100-3 do not necessarily have to exist in reality.

[0117] Use case 3 shown in Fig. 12(C) shows an example in which PLC 100-2 executes using its own physical I / O 160-2. That is, a local execution mode is realized for PLC 100-1. Note that a cloud execution mode is realized for PLC 100-1, as in Fig. 12(B), and a simulation mode is realized for PLC 100-3, as in Fig. 12(A). In this case, PLC 100-3 does not necessarily have to exist.

[0118] (g1: Use case 1) Fig. 13 is a schematic diagram outlining an example of a processing procedure in use case 1 shown in Fig. 12(A). Fig. 13 shows a case where a PLC runtime 510 (PLC runtime container 50) including a user program 266 is newly created. The PLC runtime container 50 is released in a simulation mode.

[0119] 13, the user inputs a definition of the configuration of the PLC system 2 to be designed ((1) Configuration definition). Then, the system configuration manager 264 generates a system configuration profile 60 corresponding to the input PLC system 2 ((2) System configuration profile generation).

[0120] Next, the user creates a user program 266 using the development environment 262 ((3) Create User Program). Then, the system configuration manager 264 generates a PLC runtime container 50 ((4) Create PLC Runtime Container). Furthermore, the container manager 272 registers the generated PLC runtime container 50 in the container hub 276 ((5) Register PLC Runtime Container). Through the above processing, the generation and registration of the PLC runtime container 50 is completed.

[0121] When the user instructs the release of any of the PLC runtime containers 50 (in this case, the simulation mode) ((6) release instruction), the node manager 274 generates a virtual node to be the release destination ((7) virtual node generation), and registers the node address of the generated virtual node in the repository 278 in association with the node name ((8) node name registration). Then, the selected PLC runtime container 50 is sent to the release destination virtual node ((9) PLC runtime container release). The container engine 250-1 of the virtual node deploys the PLC runtime container 50 ((10) PLC runtime container deployment). The container engine 250-1 of the virtual node registers the container name of the deployed PLC runtime container 50 in the repository 278 ((11) container name registration). The container engine 250-1 of the virtual node can resolve the node address corresponding to the node name of the sending or receiving destination in the exchange of I / O data by referring to the contents of the repository 278.

[0122] Furthermore, the container engine 250-1 of the virtual node reflects the contents of the instance of the PLC runtime container 50 that was deployed and generated in the container hub 276 ((12) Reflection of deployed contents). In this way, by reflecting the contents in the container hub 276, reuse becomes easy the next time the virtual node is started.

[0123] Fig. 14 is a schematic diagram outlining an example of another processing procedure in the use case 1 shown in Fig. 12(A). Fig. 14 shows a case where the PLC runtime container 50 created by the processing procedure shown in Fig. 13 is reused. The PLC runtime container 50 is released in a simulation mode.

[0124] 14, the user instructs reuse of the created PLC system 2 ((1) Reuse instruction). In response, the system configuration manager 264 loads the system configuration profile 60 corresponding to the instructed PLC system 2 ((2) System configuration profile load).

[0125] Next, the user updates the user program 266 using the development environment 262 ((3) User Program Update). Then, the system configuration manager 264 updates the PLC runtime container 50 ((4) PLC Runtime Container Update). Furthermore, the container manager 272 registers the updated PLC runtime container 50 in the container hub 276 ((5) PLC Runtime Container Registration). Through the above processing, the update (regeneration) and registration of the PLC runtime container 50 is completed.

[0126] When the user instructs the release of any of the PLC runtime containers 50 (in this case, the simulation mode) ((6) Release instruction), the selected PLC runtime container 50 is sent to the release destination virtual node ((7) PLC runtime container release). In this example, it is assumed that the PLC runtime has already been realized in the virtual node, so there is no need to newly generate a release destination virtual node.

[0127] The container engine 250-1 of the virtual node deploys the PLC runtime container 50 ((8) PLC runtime container deployment). This realizes the PLC runtime corresponding to the updated user program. Note that in many cases, there is no need to update the contents of the repository 278.

[0128] Furthermore, the container engine 250-1 of the virtual node reflects the contents of the instance of the PLC runtime container 50 that has been deployed and generated, in the container hub 276 ((9) Reflection of deployed contents).

[0129] (g2: Use case 2) Fig. 15 is a schematic diagram outlining an example of a processing procedure in use case 2 shown in Fig. 12(B). Fig. 15 illustrates a case where a PLC runtime 510 (PLC runtime container 50) including a user program 266 is newly created. The PLC runtime container 50 is released in cloud execution mode.

[0130] 15, the user inputs a definition of the configuration of the PLC system 2 to be designed ((1) Configuration definition). Then, the system configuration manager 264 generates a system configuration profile 60 corresponding to the input PLC system 2 ((2) System configuration profile generation).

[0131] Next, the user creates a user program 266 using the development environment 262 ((3) Create User Program). Then, the system configuration manager 264 generates a PLC runtime container 50 ((4) Create PLC Runtime Container). Furthermore, the container manager 272 registers the generated PLC runtime container 50 in the container hub 276 ((5) Register PLC Runtime Container). Through the above processing, the generation and registration of the PLC runtime container 50 is completed.

[0132] When the user instructs the release of any of the PLC runtime containers 50 (in this case, cloud execution mode) ((6) Release Instruction), the node manager 274 generates a virtual node to which the container will be released ((7) Virtual Node Generation), and registers the node address of the generated virtual node in the repository 278 in association with the node name ((8) Node Name Registration).

[0133] The selected PLC runtime container 50 is then sent to the release destination virtual node ((9) PLC runtime container release). The container engine 250-1 of the virtual node deploys the PLC runtime container 50 ((10) PLC runtime container deployment). The deployment by the container engine 250-1 generates instances of the PLC runtime 510, the virtual I / O driver 520, and the virtual I / O network client 530 (see FIG. 8(B)).

[0134] The selected PLC runtime container 50 is also sent to the release destination PLC 100-1 ((11) PLC runtime container release). The container engine 150 of PLC 100-1 deploys the PLC runtime container 50 ((12) PLC runtime container deployment). An instance of the virtual I / O network server 540 is generated by the deployment by the container engine 150.

[0135] The container engine 250-1 of the virtual node registers the container name of the deployed PLC runtime container 50 in the repository 278 ((13) Container name registration). In addition, the container engine 250-1 of the virtual node reflects the contents of the instance of the PLC runtime container 50 generated by deployment in the container hub 276 ((14) Reflection of deployment contents).

[0136] Fig. 16 is a schematic diagram outlining an example of another processing procedure in use case 2 shown in Fig. 12(B). Fig. 16 illustrates a case in which the PLC runtime 510 is released in the local execution mode, but is changed to the cloud execution mode due to a lack of resources in the PLC 100.

[0137] 16, the user inputs a definition of the configuration of the PLC system 2 to be designed ((1) Configuration definition). Then, the system configuration manager 264 generates a system configuration profile 60 corresponding to the input PLC system 2 ((2) System configuration profile generation).

[0138] Next, the user creates a user program 266 using the development environment 262 ((3) Create User Program). Then, the system configuration manager 264 generates a PLC runtime container 50 ((4) Create PLC Runtime Container). Furthermore, the container manager 272 registers the generated PLC runtime container 50 in the container hub 276 ((5) Register PLC Runtime Container). Through the above processing, the generation and registration of the PLC runtime container 50 is completed.

[0139] When the user instructs the release of any of the PLC runtime containers 50 (in this case, local execution mode) ((6) Release Instruction), the selected PLC runtime container 50 is sent to the release destination PLC 100-1 ((7) PLC Runtime Container Release). The container engine 150 of PLC 100-1 deploys the PLC runtime container 50 ((8) PLC Runtime Container Deploy). Here, it is assumed that the deployment of the PLC runtime container 50 has failed due to the capacity of PLC 100-1 being exceeded.

[0140] Now, suppose that the system configuration manager 264 has changed the processing from the local execution mode to the cloud execution mode, in which case the node manager 274 generates a virtual node to be the release destination ((9) Virtual Node Generation), and registers the node address of the generated virtual node in the repository 278 in association with the node name ((10) Node Name Registration).

[0141] Then, the selected PLC runtime container 50 is sent to the release destination virtual node ((11) PLC runtime container release). The container engine 250-1 of the virtual node deploys the PLC runtime container 50 ((12) PLC runtime container deployment).

[0142] The selected PLC runtime container 50 is also sent again to the release destination PLC 100-1 ((13) PLC runtime container release). The container engine 150 of the PLC 100-1 deploys the PLC runtime container 50 in cloud execution mode ((14) PLC runtime container deployment). An instance of the virtual I / O network server 540 is generated by the deployment by the container engine 150.

[0143] The container engine 250-1 of the virtual node registers the container name of the deployed PLC runtime container 50 in the repository 278 ((15) container name registration). In addition, the container engine 250-1 of the virtual node reflects the contents of the instance of the PLC runtime container 50 generated by deployment in the container hub 276 ((16) reflection of deployment contents).

[0144] (g3: Use Case 3) Fig. 17 is a schematic diagram outlining an example of a processing procedure in use case 3 shown in Fig. 12(C) . Fig. 17 illustrates a case where the PLC runtime 510 is released in a local execution mode, a cloud execution mode, and a simulation mode.

[0145] 17, the user inputs a definition of the configuration of the PLC system 2 to be designed ((1) Configuration definition). Then, the system configuration manager 264 generates a system configuration profile 60 corresponding to the input PLC system 2 ((2) System configuration profile generation).

[0146] Next, the user creates a user program 266 using the development environment 262 ((3) Create User Program). Then, the system configuration manager 264 generates a PLC runtime container 50 ((4) Create PLC Runtime Container). Furthermore, the container manager 272 registers the generated PLC runtime container 50 in the container hub 276 ((5) Register PLC Runtime Container). Through the above processing, the generation and registration of the PLC runtime container 50 is completed.

[0147] It is assumed that the user selects the local execution mode for PLC 100-1, the cloud execution mode for PLC 100-2, and the simulation mode for PLC 100-3 ((6) Release instruction).

[0148] The node manager 274 generates a virtual node to be the release destination ((7) Virtual Node Generation), and registers the node address of the generated virtual node in the repository 278 in association with the node name ((8) Node Name Registration).

[0149] The PLC runtime container 50 selected in the local execution mode is sent to the release destination PLC 100-1 ((9) PLC runtime container release), and the container engine 150 of PLC 100-1 deploys the PLC runtime container 50 ((10) PLC runtime container deployment).

[0150] The PLC runtime container 50 selected in the cloud execution mode is sent to the destination PLC 100-2 ((11) PLC runtime container release), and the container engine 150 of the PLC 100-2 deploys the PLC runtime container 50 ((12) PLC runtime container deployment). Also, the PLC runtime container 50 selected in the cloud execution mode is sent to the destination virtual node ((13) PLC runtime container release), and the container engine 250-2 of the virtual node deploys the PLC runtime container 50 ((14) PLC runtime container deployment).

[0151] The PLC runtime container 50 selected in the simulation mode is sent to the destination virtual node ((15) PLC runtime container release), and the container engine 250-3 of the virtual node deploys the PLC runtime container 50 ((16) PLC runtime container deployment).

[0152] The container engines 250-2 and 250-3 of the virtual node register the container name of the deployed PLC runtime container 50 in the repository 278 ((17) container name registration). Also, the container engines 250-2 and 250-3 of the virtual node reflect the content of the instance of the PLC runtime container 50 generated by the deployment in the container hub 276 ((18) deployment content reflection).

[0153] <H. Processing procedure> Next, an example of the processing procedure in the control system 1 according to the present embodiment will be described.

[0154] Fig. 18 is a flowchart showing an example of a processing procedure related to generation of the PLC runtime container 50 in the control system 1 according to the present embodiment. Fig. 19 is a flowchart showing an example of a processing procedure related to release and execution management of the PLC runtime container 50 in the control system 1 according to the present embodiment. Each step shown in Fig. 18 and Fig. 19 is typically realized by the processor 202 of the server 200 executing a program.

[0155] 18, the user accesses the development environment 262 to define the configuration of the PLC system 2. That is, the development environment 262 of the server 200 accepts the definition of the configuration of the PLC system 2 from the user (step S100). More specifically, the user specifies the target PLCs 100 and devices (motors, robots, etc.) connected to each PLC 100.

[0156] In response to the user's definition, the development environment 262 of the server 200 generates and outputs PLC system configuration information 268 (step S102). Next, the system configuration manager 264 of the server 200 generates and outputs system configuration profiles 60 corresponding to the specified PLCs 100 respectively (step S104). That is, the same number of system configuration profiles 60 as the number of specified PLCs 100 are generated. Furthermore, each of the system configuration profiles 60 includes information on devices connected to the corresponding PLC 100.

[0157] The development environment 262 of the server 200 provides an editor environment for generating an IEC program, and accepts a user program 266 created by a user (step S106).

[0158] The development environment 262 of the server 200 refers to the system configuration profile 60 and determines whether or not there is a functional module associated with any device connected to the PLC 100 (step S108). If there is a functional module associated with any device (YES in step S108), the development environment 262 of the server 200 provides an editor environment related to the associated functional module and accepts various settings from the user (step S110).

[0159] When the user completes the setting operation, the system configuration manager 264 of the server 200 loads the standard template required for PLC runtime (step S112). The system configuration manager 264 of the server 200 refers to the system configuration profile 60 and determines whether or not a template associated with any device connected to the PLC 100 is required (step S114). If a template associated with any device is required (YES in step S114), the system configuration manager 264 of the server 200 loads the required template (step S116).

[0160] Then, the system configuration manager 264 of the server 200 generates the PLC runtime container 50 based on the user program generated by the user and the loaded template (step S118).

[0161] Next, the container manager 272 of the server 200 registers the PLC runtime container 50 generated by the container generation module 260 in the container hub 276 (step S120).

[0162] Through the above steps, the process for generating the PLC runtime container 50 is completed. That is, the server 200 generates a container including an image of the PLC runtime that includes a user program that defines a control operation for a control target and an execution environment for executing the user program.

[0163] 19, in response to a user operation, the development environment 262 of the server 200 refers to the container hub 276 and the repository 278 to display a list of the PLC runtime containers 50 prepared in advance (step S200).

[0164] When the user selects any PLC runtime container 50 and mode, the system configuration manager 264 of the server 200 determines which mode was selected (step S202).

[0165] When local execution mode is selected ("local execution" in step S202), the node manager 274 of the server 200 refers to the system configuration profile 60 to determine whether a valid PLC 100 to which the selected PLC runtime container 50 will be released exists (step S204).

[0166] If the release destination PLC 100 is valid (YES in step S204), the container manager 272 of the server 200 updates the contents of the repository 278 in accordance with the release of the PLC runtime container 50 (step S206). Next, the system configuration manager 264 of the server 200 transmits the selected PLC runtime container 50 to the release destination PLC 100 (step S208). The container engine 150 of the destination PLC 100 references the manifest 56 included in the PLC runtime container 50 and deploys the PLC runtime container 50 (step S210). As a result, the PLC runtime 510 is realized in the release destination PLC 100. Then, the process ends.

[0167] On the other hand, if the release destination PLC 100 is valid (NO in step S204), the development environment 262 of the server 200 notifies the user that the resource destination PLC 100 is not valid (step S212), and the process ends.

[0168] When cloud execution mode is selected ("Cloud Execution Mode" in step S202), the node manager 274 of the server 200 refers to the system configuration profile 60 to determine whether a valid PLC 100 to which the selected PLC runtime container 50 will be released exists (step S214).

[0169] If the PLC 100 to which the selected PLC runtime container 50 is to be released is validly present (YES in step S214), the node manager 274 of the server 200 refers to the system configuration profile 60 and determines whether the virtual node to which the selected PLC runtime container 50 is to be released is validly present on the server 200 (step S216).

[0170] If the virtual node to be the release destination does not exist validly on the server 200 (NO in step S216), the node manager 274 of the server 200 generates the required number of virtual nodes (step S218). The virtual node provides an environment in which the PLC runtime container 50, including the container engine 250, can be deployed.

[0171] If the release destination virtual node is validly present on the server 200 (YES in step S216), the process of step S218 is skipped.

[0172] The container manager 272 of the server 200 updates the contents of the repository 278 in response to the release of the PLC runtime container 50 (step S220). Then, the system configuration manager 264 of the server 200 transmits the selected PLC runtime container 50 to the release destination PLC 100 and the virtual node on the server 200 (step S222). Meanwhile, the container engine 250 included in the virtual node of the destination server 200 also refers to the manifest 56 included in the PLC runtime container 50 and deploys the PLC runtime container 50 (step S224). As a result, the virtual I / O network server 540 is realized in the release destination PLC 100, and the PLC runtime 510 is realized in the virtual node on the server 200.

[0173] On the other hand, if the release destination PLC 100 does not exist (NO in step S214), the development environment 262 of the server 200 notifies the user that the resource destination PLC 100 does not exist (step S226), and the process ends.

[0174] When simulation mode is selected ("Simulation Mode" in step S202), the node manager 274 of the server 200 refers to the system configuration profile 60 to determine whether a virtual node to which the selected PLC runtime container 50 is to be released is validly present on the server 200 (step S228).

[0175] If a virtual node to be the release destination does not exist validly on the server 200 (NO in step S228), the node manager 274 of the server 200 creates the required number of virtual nodes (step S230).

[0176] If the release destination virtual node is validly present on server 200 (YES in step S228), the process of step S230 is skipped.

[0177] The container manager 272 of the server 200 updates the content of the repository 278 in response to the release of the PLC runtime container 50 (step S232). Then, the system configuration manager 264 of the server 200 transmits the selected PLC runtime container 50 to a virtual node on the server 200 (step S234). The container engine 250 included in the virtual node of the destination server 200 refers to the manifest 56 included in the PLC runtime container 50 and deploys the PLC runtime container 50 (step S236). As a result, an environment that can be simulated, including the PLC runtime 510 and the virtual I / O emulator 550, is realized on the virtual node on the release destination server 200. In this way, the process of releasing the PLC runtime container 50 to one or both of the PLC 100 and the server 200 is executed.

[0178] <I. Other Embodiments> For convenience of explanation, it is assumed that the server 200 has the container engine 250, the container generation module 260, and the orchestrator 270 (see FIG. 7). However, when the entity of the server 200 is cloudified and virtualized, the same hardware does not need to realize all of these modules, and it can be realized by appropriately using one or more processors.

[0179] <J. Supplementary Note> The present embodiment as described above includes the following technical ideas.

[0180] [Configuration 1] A control system (1) including one or more control devices (100) and one or more servers (200), a generation module (260) that generates a container (50) including an image (51) of a runtime (510) that includes a user program (266) that defines a control operation for a control target and an execution environment for executing the user program, and an orchestrator (270) that releases the container to one or both of the control device and the server; The control device and the server have a container engine (150, 250) that deploys the container, and by deploying the container released by the orchestrator, an instance of the runtime (510) is generated and the control operation is executed.

[0181] [Configuration 2] The control system of configuration 1, wherein the server's container engine (250) generates an instance of an emulator (550) that emulates input / output data exchanged with the control target along with the instance of the runtime.

[0182] [Configuration 3] The control system of configuration 1, wherein when the container engine (250) of the server generates an instance of the runtime, the container engine of the control device generates an instance of a network server (540) that mediates input / output data exchanged with the server via a device (10) connected to the control device.

[0183] [Configuration 4] The control system according to any one of configurations 1 to 3, wherein the container engine (250) of the server generates an instance of a virtual I / O driver (520) that emulates an I / O driver responsible for processing access to a device connected to the control device when generating an instance of the runtime.

[0184] [Configuration 5] The control system according to any one of configurations 1 to 4, wherein the container includes at least one of an image (54) deployed only by a container engine of the control device and an image (52, 53, 55) deployed only by a container engine of the server.

[0185] [Configuration 6] The control system according to any one of configurations 1 to 5, further comprising a repository (278) that manages an address for accessing the container engine when the container engine of the server generates an instance of the runtime.

[0186] [Configuration 7] The control system according to any one of configurations 1 to 6, further comprising a node manager (274) that virtually generates a node including a container engine if a container engine that deploys the container does not exist when the container is released to the server.

[0187] [Configuration 8] The control system according to any one of configurations 1 to 7, further comprising a container hub (276) that registers the container generated by the generation module in association with identification information of a releasable control device.

[0188] [Configuration 9] 9. The control system according to any one of configurations 1 to 8, wherein the orchestrator selects a container to be released and determines a release destination in accordance with a user operation.

[0189] [Configuration 10] A control method executed in a control system (1) including one or more control devices (100) and one or more servers (200), comprising: A step of generating a container including a runtime image including a user program that defines a control operation for a control target and an execution environment for executing the user program (S100 to S120); Releasing the container to one or both of the control device and the server (S200 to S234); A control method in which the control device and the server have a container engine that deploys the container, and by deploying the released container, an instance of the runtime is generated and the control operation is executed.

[0190] <Advantages> According to this embodiment, a control system that can utilize container technology and orchestration technology can be realized. By using these technologies, for example, when performing simulations of control operations, etc., the resources of the server (cloud) can be utilized in a scalable manner, so that even more complex and large-scale simulations can be performed in real time.

[0191] According to this embodiment, while utilizing the devices connected to the PLC, the control operation itself can also be executed on the server, so that the miniaturization and simplification of the PLC arranged on the field side can also be achieved.

[0192] According to this embodiment, even when composed of a plurality of PLCs, for each of the PLCs, the control operation can be executed in three modes: local execution mode, cloud execution mode, and simulation mode. Therefore, even when it is necessary to verify by combining a plurality of PLCs, the verification can be performed in a combination of modes possible in that situation. By verifying in such a combination, problems at the time of system connection can be discovered and solved at an early stage, and the time until the start of operation of the control system can be shortened.

[0193] The embodiments disclosed this time should be considered as illustrative in all respects and not restrictive. The scope of the present invention is shown not by the above description but by the claims, and it is intended that all modifications within the meaning and scope equivalent to the claims are included.

Explanation of Reference Numerals

[0194] 1 Control system, 2 PLC system, 4 Control network, 6 Information network, 8 Internet, 10 Field device, 12 Remote I / O, 14 Relays, 16 Servo driver, 18 Servo motor, 20 Gateway, 50 Runtime container, 51 PLC runtime image, 52 Virtual I / O driver image, 53 Virtual I / O network client image, 54 Virtual I / O network server image, 55 Virtual I / O emulator image, 56 Manifest, 60 System configuration profile, 100 PLC, 102, 202, 302 Processor, 104 Chipset, 106, 206, 306 Main memory, 110, 210, 310 Storage, 112, 212, 312 OS, 114 System program, 120 Information network controller, 122 Control network controller, 124, 324 USB controller, 126 Memory card interface, 128 Memory card, 140 Local OS, 142 Physical I / O driver, 150, 250 Container engine, 160 Physical I / O, 200 Server, 208, 308 Bus, 220, 320 Network controller, 226, 326 Input section, 228, 328 Display section, 240 Server OS, 260 Container generation module, 262 Development environment, 264 System configuration manager, 266 User program, 268 System configuration information, 270 Orchestrator, 272 Container manager, 274 Node manager, 276 Container hub, 278 Repository, 300 Development and maintenance terminal, 304 Optical drive, 305 Recording medium, 314 Development program, 510 PLC runtime, 520 Virtual I / O driver, 530 Virtual I / O network client, 540 Virtual I / O network server, 550 Virtual I / O emulator.

Claims

1. A control system comprising one or more control devices and one or more servers, a generation module that generates a container including a runtime image including a user program that defines a control operation for a control target and an execution environment that executes the user program; an orchestrator that releases the container to one or both of the control device and the server; The control device and the server have a container engine that deploys the container, and by deploying the container released by the orchestrator, an instance of the runtime is generated and the control operation is executed.

2. The control system according to claim 1 , wherein the container engine of the server generates an instance of an emulator that emulates input / output data exchanged with the controlled object together with the instance of the runtime.

3. The control system of claim 1, wherein when the container engine of the server generates an instance of the runtime, the container engine of the control device generates an instance of a network server that mediates input / output data exchanged with the server via a device connected to the control device.

4. The container engine of the server generates an instance of a virtual I / O driver that emulates an I / O driver responsible for processing access to a device connected to the control device when generating an instance of the runtime. The control system according to any one of claims 1 to 3.

5. The container includes at least one of an image deployed only by a container engine of the control device and an image deployed only by a container engine of the server. The control system according to any one of claims 1 to 4.

6. The control system according to any one of claims 1 to 5, further comprising a repository that manages an address for accessing the container engine when the container engine of the server generates an instance of the runtime.

7. The control system according to any one of claims 1 to 6, further comprising a node manager that virtually generates a node including a container engine if there is no container engine to deploy the container when the container is released to the server.

8. The control system according to any one of claims 1 to 7, further comprising a container hub that registers containers generated by the generation module in association with identification information of releasable control devices.

9. The control system according to any one of claims 1 to 8, wherein the orchestrator selects a container to be released and determines a release destination in accordance with a user operation.

10. A control method executed in a control system including one or more control devices and one or more servers, generating a container including a runtime image including a user program that defines a control operation for a control target and an execution environment for executing the user program; Releasing the container to one or both of the controller and the server; A control method in which the control device and the server have a container engine that deploys the container, and by deploying the released container, an instance of the runtime is generated and the control operation is executed.

Citation Information

Patent Citations

  • Service deployment in a cluster of I / O devices

    EP3722951A1

  • Process coordination in cloud computing environments

    JP2015512091A

  • Robot application managing device, system, method, and program

    JP2019128863A

  • Simulation system, method of carrying out a simulation, guidance system and computer program product

    US20140222408A1

  • Distributed software-defined industrial systems

    WO2019099111A1