Controller, control system, and control method

By distributing connection information to destination groups and managing updates, the controller system reduces communication delays and maintains efficiency even when some controllers become non-communicable, ensuring smooth communication with available controllers.

JP2024143575AActive Publication Date: 2024-10-11YOKOGAWA ELECTRIC CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023056326
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-11
Estimated Expiration
2043-03-30

AI Technical Summary

Technical Problem

When one controller in a system cannot communicate with other controllers, it affects the communication of those that can communicate, leading to delays and inefficiencies in the overall communication process.

Method used

A controller is designed to distribute connection information to destination groups, allowing parallel communication with other controllers, reducing the impact of non-communicable controllers on communicable ones by grouping connections based on common destinations and managing updates to these connections efficiently.

Benefits of technology

This approach reduces waiting times for communication with ready controllers and minimizes delays by ensuring that communication with available controllers continues uninterrupted, even if one controller becomes non-communicable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024143575000001_ABST
    Figure 2024143575000001_ABST
Patent Text Reader

Abstract

To provide a controller, a control system, and a control method, capable of reducing an influence exerted from a controller that is in a state where communication is not possible to the communication performed by a controller that is in a state where communication is possible.SOLUTION: A controller 10 includes a processor 11. The processor 11 generates binding information corresponding to inter-station binding executed with another controller 10 as a destination and generated by an engineering device 40, and destination information for associating the other controller being made a destination of the inter-station binding. The processor 11 acquires a plurality of pieces of binding information. The processor 11 distributes the binding information corresponding to the inter-station binding having the same destination among the plurality of pieces of binding information to a destination group corresponding to the other controller being made as a destination of the inter-station binding on the basis of the destination information. The processor 11 executes the inter-station binding corresponding to the binding information distributed to the destination group collectively, with the controller corresponding to the destination group as a destination.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a controller, a control system, and a control method. [Background technology]

[0002] 2. Description of the Related Art Conventionally, a system that enables information sharing among a large number of control stations (controllers) is known (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2009-26063 A Summary of the Invention [Problem to be solved by the invention]

[0004] Assume that when one controller communicates with each of a plurality of other controllers, some of the controllers with which it communicates become unable to communicate. Under this assumption, when the controller communicates with each of the other controllers in turn, it waits for a response from the controller that has become unable to communicate. While the controller is waiting for a response from the controller that has become unable to communicate, it is unable to communicate with the other controllers that are able to communicate. In other words, the controller that is unable to communicate affects communication with the controllers that are able to communicate.

[0005] The present disclosure has been made in consideration of the above-mentioned points, and aims to provide a controller, a control system, and a control method that can reduce the impact that a controller that is unable to communicate has on communication of a controller that is able to communicate. [Means for solving the problem]

[0006] (1) A controller according to some embodiments includes a processor. The processor generates destination information that associates coupling information, generated by an engineering device, corresponding to inter-station couplings to be executed with each of a plurality of other controllers as a destination, with each of the plurality of other controllers that are destinations of the inter-station couplings. The processor acquires the plurality of pieces of coupling information. The processor distributes, among the plurality of pieces of coupling information, coupling information corresponding to inter-station couplings having the same destination, to destination groups corresponding to each of the plurality of other controllers that are destinations of the inter-station couplings, based on the destination information. The processor collectively executes the inter-station couplings corresponding to the coupling information distributed to the destination groups, with each of the controllers corresponding to the destination groups as destinations. By distributing the inter-station couplings to destination groups corresponding to each destination, the influence of a controller that is unable to communicate on communication of a controller that is able to communicate is reduced compared to a case in which the inter-station couplings are not distributed for each destination.

[0007] (2) In the controller described in (1) above, when the processor newly acquires information identifying another controller that is a destination of the inter-station coupling corresponding to the coupling information that is not associated with another controller in the destination information, the processor may associate the coupling information that was not associated with the other controller with the newly acquired information identifying the other controller. By associating the information identifying the controller that is a destination of the inter-station coupling corresponding to the coupling information with the coupling information that was not associated with the other controller, the next time the inter-station coupling corresponding to the coupling information is executed, the coupling information is assigned to a destination group.

[0008] (3) In the controller described in (1) or (2) above, when the inter-station coupling corresponding to the coupling information associated with the other controller is updated, the processor may cancel the association of the other controller with the coupling information corresponding to the updated inter-station coupling in the destination information. By canceling the association of the controller with the coupling information corresponding to the updated inter-station coupling, it is possible to prevent the coupling information corresponding to the inter-station couplings destined for different controllers from being mixed in the destination group.

[0009] (4) In the controller according to any one of (1) to (3) above, the processor may generate a link that sequentially connects, among the multiple pieces of coupling information, the coupling information associated with one other controller. By connecting the coupling information with a link, the processor can reduce the operational load for collectively executing inter-station couplings with the same destination.

[0010] (5) In the controller described in (4) above, when the station-to-station coupling corresponding to the coupling information connected to the link is updated, the processor may remove the coupling information corresponding to the updated station-to-station coupling from the link by connecting the coupling information connected before the coupling information corresponding to the updated station-to-station coupling with the coupling information connected after the coupling information corresponding to the updated station-to-station coupling. By operating as described above, the processor can reconnect the link by changing only the link before the coupling information corresponding to the updated station-to-station coupling. As a result, the processor can easily handle the update of the station-to-station coupling corresponding to the coupling information connected to the link.

[0011] (6) In the controller according to any one of (1) to (5) above, the processor may distribute coupling information corresponding to station-to-station couplings addressed to a first controller to a first destination group, and distribute coupling information corresponding to station-to-station couplings addressed to a second controller to a second destination group. The processor may communicate with each of the first controller and the second controller in parallel by executing in parallel the station-to-station couplings corresponding to the coupling information distributed to the first destination group and the station-to-station couplings corresponding to the coupling information distributed to the second destination group. By separating the communication with the first controller and the communication with the second controller, it is possible to prevent the influence of a state in which one of the first controller or the second controller is unable to communicate from extending to the communication of the other controller.

[0012] (7) A control system according to some embodiments includes a controller as described in any one of (1) to (6) above, and an operation monitoring device that stores coupling information corresponding to inter-station couplings to be executed with each of a plurality of other controllers as destinations, and transmits to the controller information identifying the other controllers that are the destinations of the inter-station couplings corresponding to the coupling information.

[0013] (8) The control system described in (7) above may further include an engineering device. The engineering device may notify the controller when a functional block corresponding to the inter-station coupling is updated. By the engineering device notifying the controller of an update of a functional block corresponding to the inter-station coupling, the processor is less likely to overlook a possibility of a change in the destination of the inter-station coupling. As a result, it is possible to prevent coupling information corresponding to inter-station couplings destined for different controllers from being mixed in a destination group.

[0014] (9) A control method according to some embodiments includes the steps of: generating, by a processor, coupling information generated by an engineering device, corresponding to a station-to-station coupling to be executed with each of a plurality of other controllers as a destination; generating destination information that associates each of the plurality of other controllers that are destinations of the station-to-station coupling; acquiring the plurality of pieces of coupling information; allocating, based on the destination information, coupling information corresponding to station-to-station couplings that have the same destination, to destination groups corresponding to each of the plurality of other controllers that are destinations of the station-to-station coupling; and collectively executing the station-to-station couplings corresponding to the coupling information allocated to the destination groups, with each of the controllers corresponding to the destination groups as destinations. Effect of the Invention

[0015] According to the controller, control system, and control method disclosed herein, the latency of communication with a controller in a communication-enabled state is reduced. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 is a block diagram showing a configuration example of a control system according to an embodiment of the present disclosure. [Diagram 2] 11 is a diagram showing an example of control logic executed by a controller as coupling information. FIG. [Diagram 3] FIG. 2 is a block diagram illustrating an example of data integration between controllers. [Figure 4] FIG. 11 is a block diagram illustrating an example of an operation for accessing data between controllers. [Diagram 5] FIG. 11 is a block diagram showing a configuration example when one controller is stopped in the control system. [Figure 6] FIG. 13 is a diagram showing grouping of coupling information corresponding to inter-station coupling in a controller according to a comparative example. [Figure 7]FIG. 6 is a diagram showing that in the first group of FIG. 5, coupling information corresponding to inter-station couplings destined for a plurality of other controllers is mixed. [Figure 8] FIG. 13 is a diagram illustrating an example of grouping of coupling information corresponding to inter-station coupling in a controller according to an embodiment of the present disclosure. [Figure 9] 10 is a flowchart illustrating an example of a procedure of a control method according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] (Example of configuration of control system 1) 1, a control system 1 according to an embodiment of the present disclosure includes a controller 10, an operation monitoring device 30, an engineering device 40, and a control network 80. The controller 10 is also called a control station or a Field Control Station (FCS). The operation monitoring device 30 is also called a Human Interface Station (HIS).

[0018] The controller 10 includes a processor 11 and a communication unit 12 .

[0019] The processor 11 may be configured to include, for example, a CPU (Central Processing Unit) or a dedicated circuit. The processor 11 may be configured to include a storage unit such as a semiconductor memory or an electromagnetic storage medium. The storage unit may be configured integrally with the processor 11 or may be configured separately from the processor 11.

[0020] The communication unit 12 may include a wired or wireless communication device that connects to the control network 80. The communication device may include a communication interface such as a LAN (Local Area Network) or Ethernet (registered trademark), or RS-232C or RS-485. The communication device is not limited to these and may include various other communication interfaces. The communication unit 12 communicates with the communication units 12 of other controllers 10 via the control network 80. The communication unit 12 may include a communication driver. The communication unit 12 may include multiple communication channels.

[0021] The operation monitoring device 30 includes a storage area from which other devices such as the controller 10 or the engineering device 40 can indirectly read data, and a writable storage area. Specifically, the operation monitoring device 30 includes a storage area from which other devices such as the controller 10 or the engineering device 40 can read data via an interface with the operation monitoring device 30, and a storage area from which other devices such as the controller 10 or the engineering device 40 can write data via an interface with the operation monitoring device 30. The operation monitoring device 30 may include a storage area from which other devices can read and write data via an interface.

[0022] The operation monitoring device 30 and the engineering device 40 may be configured to include, for example, a server. The functions of the operation monitoring device 30 and the engineering device 40 may be realized as functions executed by separate devices, or may be realized as functions executed in one device.

[0023] (Example of operation of control system 1) In the control system 1 according to an embodiment of the present disclosure, the engineering device 40 is used to execute an operation of creating an application tailored to a system or a plant that is to be controlled by the control system 1. The application includes a control logic to be executed by the controller 10. The control logic includes an element representing a functional block and an element representing a relationship between the functional blocks. For example, in the case of PID control of the water level in a tank, the functional block includes an input element that inputs a signal from a level gauge, a functional block that executes PID control, and an output element that outputs a signal for opening and closing a valve that adjusts the flow rate to the tank. In this case, the control logic includes, as the relationship between the functional blocks, that the functional block that executes PID control reads an input signal from the functional block that inputs a signal from the level gauge, and that the functional block that executes PID control outputs a result of PID calculation based on the input signal from the level gauge as a signal for opening and closing a valve that adjusts the flow rate to the tank. The functional blocks and their relationships are not limited to the above example.

[0024] A functional block may correspond to an inter-station connection. A functional block corresponding to an inter-station connection is a functional block for which a controller 10 needs to set or refer to data stored in another controller 10 that is a destination of the inter-station connection. The destination of the inter-station connection is another controller 10 that stores data to be set or referred to by the controller 10. Hereinafter, the control logic will be described as including only functional blocks corresponding to inter-station connections as elements, but the control logic may include functional blocks that do not correspond to inter-station connections.

[0025] As illustrated in Fig. 2, the function blocks included in the control logic and corresponding to the inter-station connections are represented as connection information for the sake of convenience. The connection information includes information indicating the inter-station connection to which the function block corresponds (e.g., a character string such as "TAG001_102" or "TAGmmm_102") and information indicating data set or referenced by the inter-station connection (e.g., ".PV"). Thus, the connection information is information corresponding to the inter-station connections. The connection information is generated by the engineering device 40. The generated connection information is loaded by the controller in which the connection block exists as detailed information on the connection block, and is stored in a database in the controller.

[0026] The controller 10 acquires the elements of the control logic from the engineering device 40. Specifically, the controller 10 acquires a function block corresponding to the inter-station connection as the connection information corresponding to the inter-station connection.

[0027] The controller 10 stores the acquired connection information corresponding to the inter-station connections in a storage unit within the controller 10. In this embodiment, the controller 10 collectively acquires connection information corresponding to each of a plurality of inter-station connections. The number of pieces of connection information collectively acquired is appropriately determined according to the hardware specifications, etc.

[0028] The controller 10 cannot recognize the destination of the inter-station connection simply by acquiring the connection information corresponding to the inter-station connection. Therefore, the controller 10 inquires of the operation monitoring device 30 about the destination of the inter-station connection corresponding to the acquired connection information. Since the operation monitoring device 30 recognizes the other controller 10 that is the destination of the inter-station connection, it notifies the controller 10 of the destination of the inter-station connection in response to the inquiry from the controller 10. The controller 10 recognizes the other controller 10 that is the destination of the inter-station connection based on the notification from the operation monitoring device 30, and executes the inter-station connection.

[0029] 3, the controller 10 includes two controllers 10 that are distinguished as a controller 110 and a controller 120. Each of the controllers 110 and 120 is configured similarly to the controller 10, and includes a processor 11 and a communication unit 12. The controller 110 includes a function block 111 that stores first data D1. The controller 120 includes a function block 121 that stores second data D2.

[0030] When the element of the control logic acquired from the engineering device 40 is a function block for setting the second data D2, the processor 11 of the controller 110 executes a function block 112 for setting the second data D2. Since the second data D2 is not stored in the controller 110 itself, the function block 112 inquires of the operation monitoring device 30 as to which controller 10 the second data D2 is stored, and acquires information for identifying the other controller 10 in which the second data D2 is stored. In addition, since the function block for setting the second data D2 corresponds to the inter-station connection, a connection block 113 is generated between the function block 112 for setting the second data D2 and the function block 121 for storing the second data D2. The connection block 113 is also referred to as an inter-station connection block or ADL. The connection block 113 transmits data to be set in the data storage block 121 of the controller 120 to the controller 120. The processor 11 of the controller 120 sets the second data D2 received from the controller 110 via the connection block 113 in the data storage block 121.

[0031] When the element of the control logic acquired from the engineering device 40 is a function block that refers to the first data D1, the processor 11 of the controller 120 executes a function block 122 for referring to the first data D1. Since the first data D1 is not stored in the controller 120 itself, the function block 122 inquires of the operation monitoring device 30 as to which controller 10 the first data D1 is stored, and acquires information for identifying the other controller 10 in which the first data D1 is stored. In addition, since the function block that refers to the first data D1 corresponds to inter-station connection, a connection block 123 is generated between the function block 122 that refers to the first data D1 and the function block 111 that stores the first data D1. The connection block 123 is also referred to as an inter-station connection block or ADL. The controller 120 inquires of the controller 110 about the value of the first data D1 stored in the function block 111 via the connection block 123. The processor 11 of the controller 110 reads the value of the first data D1 stored in the function block 111 and transmits it to the controller 120. The functional block 122 of the controller 120 can reference the first data D1 by obtaining it from the controller 110 via the combination block 123.

[0032] When executing inter-station connection, the controller 10 can execute parallel processing for communicating with multiple other controllers 10 using each of the multiple communication channels of the communication unit 12. The processor 11 of the controller 10 distributes the connection information acquired from the engineering device 40 to groups corresponding to each communication channel, and executes inter-station connection with other controllers 10 in parallel through each communication channel. The number of groups is determined according to the number of communication channels. The number of pieces of connection information distributed to each group may be determined appropriately according to the hardware configuration such as memory capacity.

[0033] The processor 11 of the controller 10 operates a first task and a second task. The first task acquires connection information from the engineering device 40 and distributes the acquired connection information to groups. The second task executes the inter-station connections corresponding to the connection information distributed to each group by the first task in parallel using the communication channel corresponding to each group. The second task outputs the execution result of the inter-station connection to the first task. For example, if the inter-station connection is a function block that refers to data, the second task outputs the value of the reference data to the first task. For example, if the inter-station connection is a function block that sets data, the second task outputs information reporting whether the setting of the data has been completed to the first task. After acquiring the execution result of the inter-station connection corresponding to all the connection information distributed to the groups from the second task, if there is any unacquired connection information, the first task acquires new connection information from the engineering device 40 and executes the inter-station connection. Note that the connection information does not have to be acquired from the engineering device 40 every time. Specifically, for example, instead of acquiring the connection information from the engineering device 40 each time, the connection information that is loaded from the engineering device 40 and stored in a database in each controller may be used.

[0034] When the first task acquires the connection information from the engineering device 40 and distributes the connections to groups, the first task does not recognize the destination of the inter-station connection corresponding to the connection information. The second task acquires the destination of the inter-station connection from the operation monitoring device 30 and executes the inter-station connection. In other words, the first task cannot recognize the destination of the inter-station connection corresponding to the newly acquired connection information, but can recognize the destination of the inter-station connection corresponding to the already acquired connection information. Specifically, the first task associates the destination recognized when the second task executes the inter-station connection with the already acquired connection information corresponding to the inter-station connection. The first task can recognize the destination of the inter-station connection corresponding to the already acquired connection information because the destination is associated with the already acquired connection information.

[0035] The operation of the function block 122 in which the controller 120 refers to the first data D1 stored in the controller 110 will be described based on the block diagram illustrated in FIG. 4. The second task of the controller 120 inquires of the operation monitoring device 30 about the location where the first data D1 is stored, as indicated by the dashed line in (1). The operation monitoring device 30 transmits information specifying that the first data D1 is stored in the controller 110, to the second task of the controller 120, as indicated by the dashed line in (2). The function block 122 of the controller 120 inquires of the controller 110 about information such as a value or a character string of the first data D1, as indicated by the dashed line in (3). The processor 11 of the controller 110 replies to the controller 120 with information such as a value or a character string of the first data D1 stored in the function block 111 of the controller 110, as indicated by the dashed line in (4). Through the above operations, the controller 120 can refer to information such as the value or character string of the first data D1 stored in the controller 110 by executing inter-station connection between the controller 110 and the controller 120.

[0036] <If there is a controller 10 that cannot communicate> As described above, the controllers 10 can refer to or set data stored in the other controllers 10 by executing station-to-station connections with each other. Here, the controller 10 that is the destination of the station-to-station connection may become unable to communicate due to a malfunction or the like. The processor 11 of the controller 10 may determine that there is no response from the controller 10 that is the destination of the station-to-station connection when a response is not received even after a predetermined time has elapsed after sending a request for setting or referencing data to the other controller 10 that is the destination of the station-to-station connection. The predetermined time may be set appropriately according to the configuration of the control system 1. The predetermined time may be set to, for example, 20 seconds. The processor 11 of the controller 10 may determine that the controller 10 is unable to communicate when there is no response from the other controller 10. When the processor 11 of the controller 10 determines that the controller 10 is unable to communicate with the other controller 10 that is the destination of the station-to-station connection, the processor 11 of the controller 10 may output a report that the station-to-station connection could not be executed as a result of the execution of the station-to-station connection.

[0037] For example, as shown in FIG. 5, the control system 1 is divided into a first domain 61 and a second domain 62, which are connected by a control network 80 via a gateway 70. The gateway 70 controls communication of the control network 80 between the first domain 61 and the second domain 62. The first domain 61 includes a controller 101, a controller 102, a controller 103, and an operation monitoring device 301. The second domain 62 includes a controller 201, a controller 202, and an operation monitoring device 302. Each of the controllers 101, 102, 103, 201, and 202 includes a processor 11 and a communication unit 12, and is configured similarly to the controller 10. Each of the operation monitoring devices 301 and 302 is configured similarly to the operation monitoring device 30. In the example of FIG. 4, the processor 11 of the controller 101 executes inter-station coupling with each of the other controllers 102, 103, 201, and 202.

[0038] If the controller 201 is in a state where it cannot communicate, the inter-station coupling between the controller 101 and each of the controllers 102, 103, and 202 is normally performed, but the inter-station coupling between the controller 101 and the controller 201 is not performed. The controller 101 needs to wait for a predetermined time to confirm that there is no response from the controller 201.

[0039] Here, the first task of the processor 11 of the controller 101 acquires the coupling information of the control logic illustrated in Fig. 2 and distributes it to groups. The first task distributes the coupling information corresponding to the coupling between stations having the same destination to the same group. In other words, the first task does not distribute the coupling information corresponding to the coupling between stations having different destinations to the same group.

[0040] The second task of the controller 101 is to communicate between the controller 101 and any of the other controllers 102, 103, 201 or 202 using the communication unit 12 of the controller 101 in order to execute inter-station connections corresponding to the connection information assigned to each group between the controller 101 and each of the other controllers 102, 103, 201 and 202.

[0041] Here, as described above, the coupling information corresponding to the inter-station coupling having the same destination is assigned to the same group. In this case, the second task only needs to communicate with one destination when executing the inter-station coupling corresponding to the coupling information assigned to one group. For example, when the destinations of the inter-station couplings corresponding to the coupling information assigned to a certain group are unified to the controller 102, the second task may maintain a connection with the controller 102 using one communication channel. This allows the second task to continue executing the inter-station coupling having the controller 102 as the destination.

[0042] As a comparative example, a case may be considered in which the destinations of inter-station connections corresponding to the connection information allocated to each group are mixed, as shown in Fig. 6. For example, "TAG001_102.PV" is connection information corresponding to the inter-station connection whose destination is the controller 102. Also, "TAG002_103.PV" is connection information corresponding to the inter-station connection whose destination is the controller 103. If the connection information is allocated to groups in the order acquired from the engineering device 40, the destinations of the inter-station connections corresponding to the connection information will be mixed within one group.

[0043] 6, the rectangles representing the coupling information are differentiated by hatching according to the destination of the inter-station coupling corresponding to the coupling information. In the first group, coupling information corresponding to the inter-station couplings destined for the controllers 102, 103, 201, and 202 is mixed. In the second group, coupling information corresponding to the inter-station couplings destined for the controllers 102 and 202 is mixed. In the Nth group, coupling information corresponding to the inter-station couplings destined for the controllers 201 and 202 is mixed.

[0044] In the comparative example, the second task of the processor 11 of the controller 101 executes inter-station connections corresponding to the connection information assigned to the first group, and executes inter-station connections in turn with each of the other controllers 102, 103, 201, and 202 by using one communication channel of the communication unit 12 as a communication channel corresponding to the first group. As shown in Fig. 7, the second task organizes the inter-station connections corresponding to the connection information assigned to the first group by destination, and executes inter-station connections in turn with each of the controllers 102, 103, 201, and 202.

[0045] Here, it is assumed that the controller 201 is in a state where communication is not possible. The second task needs to wait for a predetermined time to elapse in order to confirm that there is no response from the controller 201 in the station-to-station connection with the controller 201, that is, to confirm that the controller 201 is in a state where communication is not possible. The second task can complete the execution of the station-to-station connection corresponding to the connection information assigned to the first group by acquiring the execution results of the station-to-station connection corresponding to all the connection information assigned to the first group.

[0046] Here, the communication channel corresponding to the first group continues to be used by the second task until the execution of the inter-station connections corresponding to all the connection information allocated to the first group is completed. Furthermore, the next connection information is not allocated to the first group. Therefore, while the second task is waiting for a response from the controller 201 that is the destination of the inter-station connections corresponding to all the connection information allocated to the first group, the inter-station connections using the communication channel corresponding to the first group are stopped. Furthermore, if there remain inter-station connections whose destinations are the controllers 102, 103, and 202 that are in a communicable state, the execution of the inter-station connections is delayed due to the controller 201 that is in a communicable state.

[0047] Meanwhile, in the control system 1 according to the present embodiment, the processor 11 of the controller 10 distributes the coupling information to groups so that the destinations of the inter-station couplings corresponding to the coupling information distributed to the groups are aligned to one controller 10. By aligning the destinations of the inter-station couplings corresponding to the coupling information distributed to the groups to one controller 10, it is possible to avoid a situation in which the execution of a process addressed to a controller 10 in a communicable state is delayed due to another controller 10 being unable to communicate.

[0048] As described above, the groups to which the coupling information is allocated correspond to the communication channels. In this embodiment, it is assumed that the number of communication channels of the communication unit 12 of the controller 101 is N. In this case, the processor 11 of the controller 101 allocates the coupling information to N groups from the first group to the Nth group, thereby associating each group with one communication channel, and can execute inter-station coupling corresponding to the coupling information allocated to each group in parallel.

[0049] An example of the operation of the control system 1 according to this embodiment will be described below.

[0050] The processor 11 of the controller 10 acquires a plurality of pieces of connection information from the engineering device 40. At the stage of acquiring the connection information from the engineering device 40, the processor 11 cannot determine the destination of the inter-station connection corresponding to the connection information.

[0051] The processor 11 inquires of the operation monitoring device 30 about the destination of the inter-station connection for which the destination cannot be determined. The operation monitoring device 30 transmits information specifying another controller 10 that is the destination of the inquired inter-station connection to the controller 10. The processor 11 determines the destination of the inter-station connection for which the destination cannot be determined based on the information received from the operation monitoring device 30, and executes the inter-station connection with the controller 10 of that destination.

[0052] The processor 11 generates destination information so that the destination can be determined the next time the inter-station connection corresponding to the connection information is executed. The destination information is information that associates the connection information corresponding to the inter-station connection for which the destination could not be determined with another controller 10 that has been determined as the destination of the inter-station connection for which the destination could not be determined. The connection information acquired by the processor 11 from the engineering device 40 is associated with the controller 10 that is the destination of the inter-station connection corresponding to the connection information in the destination information by executing the inter-station connection corresponding to the connection information once. The processor 11 can determine the destination of the inter-station connection by referring to the destination information in the second or subsequent execution of the inter-station connection.

[0053] When processor 11 acquires the coupling information, processor 11 checks whether the coupling information is associated with a destination in the destination information. When the coupling information is associated with a destination, processor 11 assigns the coupling information corresponding to the inter-station coupling whose destination is the same controller 10 to one of the first to Nth groups as a destination group. The destination group is a group set for assigning the coupling information corresponding to the inter-station coupling whose destination is the same controller 10. Processor 11 may set any group of the first to Nth groups as the destination group.

[0054] The processor 11 collectively executes the inter-station connections corresponding to the connection information assigned to the destination group, with the controller 10 corresponding to the destination group as the destination.

[0055] When a destination is not associated with the combined information, the processor 11 may assign the combined information to one of the first to Nth groups as an undetermined group. The undetermined group is a group set for assigning combined information not associated with a destination. The processor 11 may set any of the first to Nth groups as an undetermined group. Although there is no possibility that combined information corresponding to station-to-station combinations with different destinations is mixed in the destination group, there is a possibility that combined information corresponding to station-to-station combinations with different destinations is mixed in the undetermined group.

[0056] The processor 11 inquires of the operation monitoring device 30 about the destination for each piece of connection information sorted into the undetermined group, and sequentially executes inter-station connection with the controller 10 that is the destination of the inter-station connection corresponding to each piece of connection information. The processor 11 can recognize the destination of the inter-station connection that was not determined by inquiring of the operation monitoring device 30 about the destination of the inter-station connection that was not determined. The processor 11 may generate destination information that associates the controller 10 recognized as the destination of the inter-station connection with the connection information corresponding to the inter-station connection that was not determined. In other words, when the processor 11 newly acquires information that identifies the other controller 10 that is the destination of the inter-station connection corresponding to the connection information that is not associated with the other controller 10 in the destination information, the processor 11 may associate the connection information that was not associated with the other controller 10 with the newly acquired information that identifies the other controller 10. By associating information that has not been associated with another controller 10 with information that specifies the controller 10 that is to be the destination of the station-to-station connection corresponding to the coupling information, the coupling information is assigned to the destination group the next time the station-to-station connection corresponding to the coupling information is executed.

[0057] After completing the execution of the inter-station bindings corresponding to all the binding information assigned to a destination group, the processor 11 may assign new binding information to the group. The processor 11 may assign new binding information corresponding to the inter-station bindings having the same controller 10 as the destination group to a group that was previously set as a destination group, and continue to use the group as the destination group corresponding to the same controller 10. The processor 11 may set a group that was previously set as a destination group as a destination group corresponding to a different controller 10, and assign new binding information corresponding to the inter-station bindings having the different controller 10 as the destination group to the group. The processor 11 may set a group that was previously set as a destination group as an undetermined group, and assign new binding information that is not associated with another controller 10 to the group.

[0058] For example, the processor 11 may distribute the coupling information acquired from the engineering device 40 to a plurality of destination groups including a first to an N-th group, as shown in FIG. 8. In the example of FIG. 8, the processor 11 sets the first group as a destination group corresponding to the controller 102, and distributes the coupling information corresponding to the inter-station coupling having the controller 102 as a destination to the first group. The processor 11 sets the second group as a destination group corresponding to the controller 103, and distributes the coupling information corresponding to the inter-station coupling having the controller 103 as a destination to the second group. The processor 11 sets the third group as a destination group corresponding to the controller 201, and distributes the coupling information corresponding to the inter-station coupling having the controller 201 as a destination to the third group. The processor 11 sets the N-th group as a destination group corresponding to the controller 202, and distributes the coupling information corresponding to the inter-station coupling having the controller 202 as a destination to the N-th group.

[0059] Here, it is assumed that the controller 201 is in a state where it cannot communicate. The processor 11 attempts to communicate with the controller 201 in order to execute station-to-station binding corresponding to the binding information allocated to the third group. However, the processor 11 does not receive a response from the controller 201 in a state where it cannot communicate, and is therefore unable to execute station-to-station binding with the controller 201. Meanwhile, it is assumed that each of the controllers 102, 103, and 202 is in a state where it can communicate. The processor 11 can normally execute communication with each of the controllers 102, 103, and 202 in a state where it can communicate, in order to execute station-to-station binding corresponding to the binding information allocated to the first group, the second group, and the N group. Therefore, it is possible to avoid delays in station-to-station binding with each of the controllers 102, 103, and 202 in a state where it can communicate, due to the controller 201 in a state where it cannot communicate.

[0060] The processor 11 may execute the inter-station coupling corresponding to the coupling information allocated to each group as a parallel process of communicating with a plurality of other controllers using a communication channel corresponding to each group. For example, when the processor 11 acquires coupling information corresponding to the inter-station coupling addressed to the first controller and coupling information corresponding to the inter-station coupling addressed to the second controller, the processor 11 may allocate the coupling information corresponding to the inter-station coupling addressed to the first controller to a first destination group and allocate the coupling information corresponding to the inter-station coupling addressed to the second controller to a second destination group. The first controller and the second controller are names given for convenience to distinguish the controllers 10. The first destination group and the second destination group are names given for convenience to distinguish the destination groups. The processor 11 may communicate with the first controller through a first communication channel to execute the inter-station coupling corresponding to the coupling information allocated to the first destination group. The processor 11 may communicate with the second controller through a second communication channel to execute the inter-station coupling corresponding to the coupling information allocated to the second destination group. That is, the processor 11 can perform inter-station coupling in parallel by communicating in parallel with the first controller and the second controller, respectively, over the first communication channel and the second communication channel, respectively.

[0061] By separating the communication channel for communicating with the first controller from the communication channel for communicating with the second controller, it is possible to prevent the influence of an inability to communicate with either the first controller or the second controller from affecting the communication of the other controller.

[0062] <Flowchart example> An example of an operation in which the processor 11 of the controller 10 distributes the coupling information for each destination of the inter-station coupling corresponding to the coupling information and executes the inter-station coupling with the controller of each destination will be described below. The processor 11 of the controller 10 may execute a control method including, for example, an example procedure of the flowchart shown in Fig. 9. The control method may be realized as a control program executed by the processor 11 of the controller 10. The control program may be stored in a non-transitory computer-readable medium.

[0063] The processor 11 determines whether the connection information is associated with the controller 10 that is the destination of the inter-station connection corresponding to the connection information, based on the destination information (step S1). In other words, the processor 11 determines whether the destination of the connection information is known. If the connection information is not associated with the controller 10 (step S1: NO), the processor 11 assigns the connection information to an undetermined group (step S2). If the connection information is associated with the controller 10 (step S1: YES), the processor 11 assigns the connection information to a destination group corresponding to the controller 10 that is the destination of the inter-station connection corresponding to the connection information (step S3).

[0064] The processor 11 executes the station-to-station binding corresponding to the binding information assigned to the undetermined group or the destination group (step S4). The processor 11 determines whether the execution of the station-to-station binding has been successful (step S5). Specifically, the processor 11 may determine that the execution of the station-to-station binding has been successful when it is able to properly communicate with the controller that is the destination of the station-to-station binding. For example, the processor 11 may determine that the execution of the station-to-station binding has been successful when the return code of the communication driver is SUCCEED. Conversely, the processor 11 may determine that the execution of the station-to-station binding has failed when the return code of the communication driver indicates that communication has timed out.

[0065] When the execution of the station-to-station connection is successful (step S5: YES), the processor 11 determines whether the connection information corresponding to the executed station-to-station connection is associated with the controller 10 in the destination information (step S6). When the connection information corresponding to the executed station-to-station connection is not associated with the controller 10 in the destination information (step S6: NO), the processor 11 acquires the destination obtained by inquiring of the operation monitoring device 30 when the station-to-station connection is executed as the destination of the executed station-to-station connection (step S7). The processor 11 associates the connection information corresponding to the executed station-to-station connection with the controller 10 that is the destination of the station-to-station connection corresponding to the connection information in the destination information (step S8). After executing the procedure of step S8, the processor 11 ends the execution of the procedure of the flowchart in FIG. 9. When the connection information corresponding to the executed station-to-station connection is associated with the controller 10 in the destination information (step S6: YES), the processor 11 ends the execution of the procedure of the flowchart in FIG. 9 without executing the procedure of associating the controller 10 with the connection information corresponding to the executed station-to-station connection.

[0066] If the execution of the station-to-station connection is not successful (step S5: NO), the processor 11 cancels the association between the connection information corresponding to the executed station-to-station connection and the controller 10 that is the destination of the station-to-station connection (step S9). After executing the procedure of step S9, the processor 11 ends the execution of the procedure of the flowchart in FIG.

[0067] <Summary> As described above, the control system 1 according to this embodiment distributes the coupling information corresponding to each inter-station coupling to a destination group corresponding to each destination for each inter-station coupling, so that even if there is a controller 10 in an incommunicable state, the communication of the inter-station coupling of the controller 10 in an incommunicable state is less likely to be delayed than in the comparative example in which the coupling information is not distributed for each inter-station coupling destination. In other words, the influence of the controller 10 in an incommunicable state on the communication of the controller 10 in an incommunicable state is reduced.

[0068] (Other embodiments) An example of the configuration of the control system 1 according to another embodiment will be described below.

[0069] <Operation when inter-station connections are updated by the engineering device 40> In the control system 1, the engineering device 40 may receive an operation input from a user and update a station-to-station connection based on the user input. The update of a station-to-station connection may change the destination of the station-to-station connection. When the engineering device 40 updates a station-to-station connection, the engineering device 40 may notify the controller 10 of which station-to-station connection has been updated. Based on the notification of the update of the station-to-station connection, the processor 11 of the controller 10 determines whether the connection information corresponding to the updated station-to-station connection is associated with the controller 10 in the destination information.

[0070] When a station-to-station coupling corresponding to coupling information associated with another controller 10 in the destination information is updated, the processor 11 may cancel the association of the other controller 10 with the coupling information corresponding to the updated station-to-station coupling in the destination information.

[0071] When a station-to-station connection is updated, the destination of the station-to-station connection may be changed to a different controller 10. If the controller 10 that is the destination of the station-to-station connection before the update is associated with the connection information corresponding to the updated station-to-station connection, when the connection information corresponding to the updated station-to-station connection is sorted into destination groups, there is a possibility that the connection information corresponding to the station-to-station connections that are addressed to different controllers 10 may be mixed. Therefore, by canceling the association between the connection information corresponding to the updated station-to-station connection and the controller 10, it is possible to prevent the connection information corresponding to the station-to-station connections that are addressed to different controllers 10 from being mixed in the destination group. In addition, by the engineering device 40 notifying the controller 10 of the update of the station-to-station connection, the processor 11 of the controller 10 is less likely to overlook the possibility of a change in the destination of the station-to-station connection. As a result, it is possible to prevent the connection information corresponding to the station-to-station connections that are addressed to different controllers 10 from being mixed in the destination group.

[0072] <Behavior when only the destination of a station-to-station connection is changed even though the station-to-station connection has not been updated> As described above, when the engineering device 40 updates the station-to-station connections, the engineering device 40 notifies the controller 10 of the update of the station-to-station connections. However, there are cases where only the destination of the station-to-station connections is changed even though the engineering device 40 has not updated the station-to-station connections. For example, when the controller 101 executes station-to-station connections corresponding to the connection information represented as "TAG001_102.PV", if the location of "TAG001_102" moves from the controller 102 to the controller 103, only the destination of the station-to-station connections is changed even though the station-to-station connections have not been updated. In this case, when the controller 101 executes station-to-station connections corresponding to the connection information represented as "TAG001_102.PV", it is possible to distribute "TAG001_102.PV" to a group addressed to the controller 103 rather than to a group addressed to the controller 102.

[0073] First, when the location of "TAG001_102" was controller 102, controller 101 successfully executes the inter-station connection corresponding to the connection information represented as "TAG001_102.PV", and associates the connection information represented as "TAG001_102.PV" with controller 102, which is the destination of the inter-station connection corresponding to the connection information, in the destination information. Here, even if the location of "TAG001_102" moves from controller 102 to controller 103, the move in the location of "TAG001_102" is not notified to controller 101. Since controller 101 does not recognize the move in the location of "TAG001_102", the inter-station connection corresponding to the connection information represented as "TAG001_102.PV" is processed with controller 102 as the destination. However, since the actual location of "TAG001_102" has moved to the controller 103, execution of this inter-station binding fails.

[0074] If the execution of the station-to-station binding fails, the controller 101 releases the association between the binding information represented as "TAG001_102.PV" and the controller 102. This operation corresponds to the case where NO is determined in step S5 of the flowchart in FIG. 9 and the procedure of step S9 is executed.

[0075] When the controller 101 next executes inter-station connection corresponding to the connection information represented as "TAG001_102.PV", it executes the inter-station connection in a state in which no destination is associated with the connection information, and inquires about the location of "TAG001_102" to the operation monitoring device 30. The controller 101 recognizes from information from the operation monitoring device 30 that the location of "TAG001_102" is the controller 103, and newly associates the connection information represented as "TAG001_102.PV" with the controller 103, which is the destination of the inter-station connection corresponding to the connection information, in the destination information.

[0076] <Determining destination by link> In the embodiment described above, the processor 11 generates destination information that associates each piece of coupling information with the controller 10 that is the destination of the inter-station coupling corresponding to each piece of coupling information. As another embodiment, the processor 11 may generate a link that sequentially connects pieces of coupling information corresponding to inter-station couplings that are destinations for a certain controller 10. The link indicates that two pieces of information are connected to each other.

[0077] For example, the processor 11 may generate a link connecting "TAG001_102.PV", which is the coupling information corresponding to the inter-station coupling addressed to the controller 102, to "TAG004_102.PV", which is the coupling information corresponding to the inter-station coupling addressed to the controller 102, among the coupling information before being sorted into groups as illustrated in Fig. 8. The processor 11 can obtain the coupling information corresponding to the inter-station coupling of the same destination by following the link.

[0078] In destination information in which each piece of coupling information is associated with the controller 10 of the destination of the station-to-station coupling corresponding to that coupling information, the processor 11 needs to sequentially determine destinations associated with the coupling information in the destination information in order to obtain coupling information corresponding to the station-to-station coupling of the same destination. By following the links, the processor 11 can omit determining the coupling information associated with different destinations. Therefore, the processor 11 can reduce the operational load for obtaining the coupling information corresponding to the station-to-station coupling of the same destination by generating links that sequentially connect the coupling information.

[0079] When a station-to-station connection corresponding to one of the connection information items connected to the link is updated, the processor 11 may remove the connection information item corresponding to the updated station-to-station connection from the link by connecting the connection information item connected by a link before the connection information item corresponding to the updated station-to-station connection with the connection information item connected by a link after the connection information item corresponding to the updated station-to-station connection with a new link. In other words, the link is reconnected by changing only the link before the connection information item corresponding to the updated station-to-station connection. Therefore, the processor 11 can easily handle the update of the station-to-station connection even when the links are generated in order for the connection information items.

[0080] Although an embodiment of the present disclosure has been described above with reference to the drawings, the specific configuration is not limited to this embodiment, and various modifications are also included within the scope that does not deviate from the spirit of the present disclosure. [Explanation of symbols]

[0081] 1. Control System 10, 101, 102, 103, 110, 120, 201, 202 Controller 11 Processors 12 Communications Department 30, 301, 302 Operation and monitoring equipment 40 Engineering Equipment 61 First Domain 62 Second Domain 70 Gateway 80 Control Network 111, 121 function block (D1: 1st data, D2: 2nd data) 112 Function Blocks 113, 123 Combined Blocks 122 Function Blocks

Claims

1. A controller comprising a processor, The processor, generating destination information that associates coupling information, generated by an engineering device, corresponding to inter-station couplings to be executed with each of a plurality of other controllers as a destination, with each of the plurality of other controllers that are destinations of the inter-station couplings; Obtaining a plurality of pieces of said binding information; Among the plurality of pieces of coupling information, the coupling information corresponding to the inter-station couplings having the same destination is sorted based on the destination information to destination groups corresponding to the plurality of other controllers that are destinations of the inter-station couplings; Execute the inter-station connections corresponding to the connection information assigned to the destination group collectively with each of the controllers corresponding to the destination group as a destination. controller.

2. When the processor newly acquires information specifying another controller that is a destination of a station-to-station connection corresponding to the coupling information not associated with another controller in the destination information, the processor associates the coupling information not associated with the other controller with the newly acquired information specifying the other controller. The controller of claim 1 .

3. When the inter-station coupling corresponding to the coupling information associated with the other controller is updated, the processor cancels the association of the other controller with the coupling information corresponding to the updated inter-station coupling in the destination information. The controller of claim 2 .

4. The controller according to claim 1 , wherein the processor generates a link that sequentially connects, among the plurality of pieces of binding information, binding information associated with one other controller.

5. 5. The controller according to claim 4, wherein when the inter-station coupling corresponding to the coupling information connected to the link is updated, the processor removes the coupling information corresponding to the updated inter-station coupling from the link by connecting the coupling information connected before the coupling information corresponding to the updated inter-station coupling to the coupling information connected next to the coupling information corresponding to the updated inter-station coupling.

6. The processor, Distributing the connection information corresponding to the station-to-station connection addressed to the first controller to the first destination group; Distributing the connection information that identifies the station-to-station connection destined for the second controller to a second destination group; performing, in parallel, the inter-station coupling corresponding to the coupling information allocated to the first destination group and the inter-station coupling corresponding to the coupling information allocated to the second destination group, thereby communicating in parallel with each of the first controller and the second controller; A controller according to any one of claims 1 to 3.

7. 4. A control system comprising: a controller according to claim 1; and an operation monitoring device that stores coupling information corresponding to inter-station couplings to be executed with each of a plurality of other controllers as destinations, and transmits to the controller information identifying the other controllers that are destinations of the inter-station couplings corresponding to the coupling information.

8. Further comprising an engineering device; The control system according to claim 7 , wherein the engineering device notifies the controller when a function block corresponding to the inter-station connection is updated.

9. A processor-executed control method, comprising: generating destination information that associates coupling information, generated by an engineering device, corresponding to inter-station couplings to be executed with each of a plurality of other controllers as destinations of the inter-station couplings with each of the plurality of other controllers that are destinations of the inter-station couplings; acquiring a plurality of said combined information; A step of allocating, based on the destination information, among the plurality of pieces of coupling information, the coupling information corresponding to the inter-station couplings having the same destination, to destination groups corresponding to the plurality of other controllers that are destinations of the inter-station couplings; Executing the inter-station connections corresponding to the connection information distributed to the destination group collectively with each of the controllers corresponding to the destination group as a destination; A control method comprising:

Citation Information

Patent Citations

  • Programmable controller system

    JP2001325010A

  • Control system for controlling conversion into component

    JP2005196427A

  • Network system

    JP2009009607A

  • Data transmission method and control system

    JP2012088953A

  • Program creation support device

    WO2010103700A1