Relay device, method and program for controlling relay device
The relay device autonomously detects and resolves alarm states using an acquisition, storage, and processing unit, addressing delays in conventional systems by promptly addressing machine events.
Patent Information
- Application Number
- JP2021083650
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-18
- Publication Date
- 2024-10-24
- Estimated Expiration
- 2041-05-18
AI Technical Summary
Conventional relay devices experience delays in responding to alarm states due to user unawareness, leading to inefficient resolution of machine events.
A relay device equipped with an acquisition unit, storage section, determination unit, and processing unit that autonomously detects and resolves alarm states based on predefined information tables, notifying the terminal device of the status change.
Enables quick resolution of alarm states without user intervention, ensuring timely response to machine events.
Smart Images

Figure 0007572726000001 
Figure 0007572726000002 
Figure 0007572726000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a relay device, a control method for a relay device, and a program. [Background technology]
[0002] Relay devices that communicate with machines and terminal devices based on the OPCUA (OPC Unified Architecture) standard are known (see, for example, Non-Patent Document 1). The OPCUA standard is an international standard established for safe and reliable data exchange in the field of industrial automation, for example.
[0003] The event flow in the above-mentioned OPCUA standard specifies multiple steps, namely, (a) occurrence of an event → (b) acknowledgment of the event → (c) resolution of the event → (d) confirmation of the resolution of the event. For example, when an event occurs that causes an alarm to occur in a machine, the user operates a terminal device to acknowledge the event and then takes action to resolve the event. When the event is resolved by the user, the user operates the terminal device to confirm the resolution of the event in the relay device. [Prior art documents] [Non-patent literature]
[0004] [Non-Patent Document 1] Japan OPC Council website, [Searched on April 21, 2021], Internet<URL:https: / / jp.opcfoundation.org / about / opc-technologies / opc-ua / > Summary of the Invention [Problem to be solved by the invention]
[0005] However, in conventional relay devices, the user must take action to resolve the event, and if the user does not notice the occurrence of the event, for example because the user is in a location away from the terminal device, there is a problem that the action to resolve the event will be delayed.
[0006] The present invention has been made in consideration of the above problems, and an object of the present invention is to provide a relay device, a control method for a relay device, and a program that can quickly resolve an alarm state of a machine. [Means for solving the problem]
[0007] In order to achieve the above-mentioned object, a relay device according to one embodiment of the present invention is a relay device that communicates with each of a machine and a terminal device, and includes an acquisition unit that acquires information indicating the state of the machine from the machine, a memory unit that stores an information table indicating, for each alarm state of the machine, whether or not the alarm state is one that can be resolved by the relay device, a determination unit that, when the state of the machine indicated by the information acquired by the acquisition unit is an alarm state, determines based on the information table whether or not the alarm state can be resolved by the relay device, and a processing unit that, when the determination unit determines that the alarm state of the machine can be resolved by the relay device, executes processing to resolve the alarm state.
[0008] According to this aspect, when the determination unit determines that the alarm state of the machine can be resolved by the relay device, the processing unit executes a process for resolving the alarm state. In this way, the relay device, not the user, is made to resolve the alarm state of the machine according to the type of the alarm state of the machine, so that the alarm state of the machine can be resolved quickly without waiting for a response from the user.
[0009] For example, the relay device may be further configured to include a communication unit that (i) notifies the terminal device that the machine is in an alarm state when the state of the machine indicated by the information acquired by the acquisition unit is in an alarm state, and (ii) notifies the terminal device that the alarm state of the machine has been resolved when the alarm state of the machine has been resolved.
[0010] According to this aspect, it is possible to notify the terminal device that the machine is in an alarm state and that the alarm state of the machine has been resolved.
[0011] For example, when the judgment unit determines that the alarm state of the machine can be resolved by the relay device, after the processing unit executes processing to resolve the alarm state, the judgment unit may autonomously confirm whether or not the alarm state of the machine has been resolved based on the information acquired by the acquisition unit, and when the judgment unit confirms that the alarm state of the machine has been resolved, the communication unit may be configured to notify the terminal device that the alarm state of the machine has been resolved.
[0012] According to this aspect, the determination unit can quickly check whether the alarm state of the machine has been resolved without waiting for the user to operate the terminal device.
[0013] For example, when the judgment unit judges that the alarm state of the machine cannot be resolved by the relay device, the communication unit receives a confirmation request signal from the terminal device requesting confirmation of whether the alarm state of the machine has been resolved, and the judgment unit, triggered by the communication unit's reception of the confirmation request signal, checks whether the alarm state of the machine has been resolved based on the information acquired by the acquisition unit, and when the judgment unit confirms that the alarm state of the machine has been resolved, the communication unit may be configured to notify the terminal device that the alarm state of the machine has been resolved.
[0014] According to this aspect, if the alarm state of the machine cannot be resolved by the relay device, for example, in response to an inquiry (confirmation request signal) from a user, the terminal device can be notified that the alarm state of the machine has been resolved.
[0015] For example, the relay device may be configured to communicate with each of the machine and the terminal device based on the OPC Unified Architecture (OPCUA) standard.
[0016] According to this aspect, when the alarm state of the machine can be resolved by the relay device, the step of "resolving the event" in the OPCUA standard can be performed by the relay device.
[0017] Furthermore, a control method for a relay device according to one embodiment of the present invention is a control method for a relay device that communicates with each of a machine and a terminal device, and includes the steps of: (a) acquiring information indicating a state of the machine from the machine; (b) when the state of the machine indicated by the information acquired in (a) is an alarm state, determining whether the alarm state can be resolved by the relay device based on an information table indicating whether or not the alarm state can be resolved by the relay device for each alarm state of the machine; and (c) when it is determined in (b) that the alarm state of the machine can be resolved by the relay device, executing a process to resolve the alarm state by the relay device.
[0018] According to this aspect, when it is determined that the alarm state of the machine can be cleared by the relay device, the relay device executes a process for clearing the alarm state. As a result, the subject of clearing the alarm state of the machine is the relay device, not the user, depending on the type of the alarm state of the machine, so that the alarm state of the machine can be cleared quickly without waiting for a response from the user.
[0019] A program according to an aspect of the present invention is a program for causing a computer to execute the relay device control method described above. Effect of the Invention
[0020] According to the relay device and the like according to one aspect of the present invention, an alarm state of a machine can be quickly resolved. [Brief description of the drawings]
[0021] [Figure 1] 1 is a block diagram showing an overview of a communication system according to an embodiment. [Diagram 2] 2 is a block diagram showing a functional configuration of a relay device according to an embodiment; [Diagram 3] FIG. 11 is a diagram showing an example of an information table according to the embodiment; [Figure 4] 4 is a flowchart showing an outline of an operation of the relay device according to the embodiment. [Diagram 5] 11 is a sequence diagram showing the flow of operations of the communication system according to the embodiment in a case where an alarm state of a machine can be resolved by a relay device. FIG. [Figure 6] 11 is a sequence diagram showing the flow of operations of the communication system according to the embodiment when an alarm state of a machine cannot be resolved by a relay device. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0022] Hereinafter, the embodiments of the present invention will be described in detail with reference to the drawings. Note that the embodiments described below are all comprehensive or specific examples. The numerical values, shapes, materials, components, component arrangement and connection forms, steps, order of steps, and the like shown in the following embodiments are merely examples and are not intended to limit the present invention. Furthermore, among the components in the following embodiments, components that are not described in the independent claims will be described as optional components.
[0023] (Embodiment) [1. Overview of the communication system] First, an overview of a communication system 2 according to an embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing an overview of a communication system 2 according to an embodiment.
[0024] 1, the communication system 2 includes a relay device 4, a machine 6, and a client device 8. In this embodiment, the communication system 2 is a communication system established in, for example, a factory.
[0025] In this embodiment, the communication system 2 includes one machine 6, but is not limited to this and may include a plurality of machines 6. In this embodiment, the communication system 2 includes one client device 8, but is not limited to this and may include a plurality of client devices 8.
[0026] The relay device 4 and the machine 6 are connected via a communication line 10. The communication line 10 is a communication line capable of communicating using a communication protocol such as Ethernet (registered trademark), IP (Internet Protocol), or RS-232C (serial communication). The communication realized by the communication line 10 may be wired communication or wireless communication. Specifically, the communication line 10 is constructed of a wired network constituted by, for example, a wired LAN (Local Area Network), or a wireless network conforming to the IEEE802.11 standard.
[0027] The relay device 4 and the client device 8 are connected via a network 12. The communication realized in the network 12 may be wired communication or wireless communication. Specifically, the network 12 is, for example, a wired network constructed using a wired LAN, or a wireless network conforming to the IEEE802.11 standard.
[0028] The relay device 4 is an OPCUA server for communicating with each of the machine 6 and the client device 8 based on the OPCUA standard. The relay device 4 relays various data between the machine 6 and the client device 8.
[0029] The machine 6 is, for example, a lathe, a drill press, a milling machine, a laser processing machine, a welding machine, or any other type of machine tool for performing a predetermined processing on a workpiece. Note that the machine 6 is not limited to a machine tool, and may be, for example, an industrial robot, a measuring machine, or any other type of industrial machine.
[0030] The machine 6 has a sensor (not shown) for detecting the state of the machine 6. The sensor includes, for example, a temperature sensor for detecting the temperature of the machine 6, and a camera sensor for detecting damage to parts of the machine 6. The machine 6 transmits information indicating the state of the machine 6 detected by the sensor to the relay device 4.
[0031] The client device 8 is an example of a terminal device operated by the user 14, such as a personal computer. In response to the operation of the user 14, the client device 8 acquires information indicating the status of the machine 6 from the machine 6 via the relay device 4, and presents the acquired information to the user 14. The client device 8 may periodically transmit an acquisition request signal to the relay device 4 to acquire information indicating the status of the machine 6, or may transmit the acquisition request signal based on an instruction from the user 14. The client device 8 is not limited to being operated by the user 14, and may be operated by, for example, a system administrator or the like.
[0032] [2. Functional configuration of relay device] A functional configuration of the relay device 4 according to the embodiment will be described with reference to Fig. 2 and Fig. 3. Fig. 2 is a block diagram showing a functional configuration of the relay device 4 according to the embodiment. Fig. 3 is a diagram showing an example of an information table 26 according to the embodiment.
[0033] As shown in FIG. 2, the relay device 4 includes an acquisition unit 16, a storage unit 18, a determination unit 20, a processing unit 22, and a communication unit 24.
[0034] The acquisition unit 16 acquires information indicating the status of the machine 6 from the machine 6 via the communication line 10 (see FIG. 1). The acquisition unit 16 acquires the information by transmitting to the machine 6 an acquisition request signal for acquiring information indicating the status of the machine 6, or a confirmation request signal for requesting confirmation as to whether the alarm state of the machine 6 has been resolved. The acquisition unit 16 may also acquire from the machine 6 an alarm signal indicating that the machine 6 is in an alarm state.
[0035] The storage unit 18 is a memory for storing various data. Specifically, the storage unit 18 stores an information table 26 indicating whether or not the alarm state of the machine 6 can be resolved by the relay device 4 for each alarm state of the machine 6. Here, the machine 6 being in an alarm state is a concept including not only a state in which the state of the machine 6 deviates from a normal state and may pose a danger to the machine 6 or its surroundings, but also a state (event) that should be notified to the user 14 who uses the client device 8, among various states (events) occurring in the machine 6.
[0036] The storage unit 18 also stores a procedure of a process that the processing unit 22 performs to resolve the alarm state of the machine 6. More specifically, for example, the procedure is included in a control program for controlling the relay device 4 stored in the storage unit 18.
[0037] The procedure of the process performed by the processing unit 22 to resolve the alarm state of the machine 6 may be preset at the time of shipment from the factory, or may be updated as appropriate by the user 14. For example, the procedure may be updated by the user 14 or the like from the client device 8 via the network 12, or may be updated by locally connecting to a communication interface (not shown) provided in the relay device 4.
[0038] The information table 26 is, for example, a data table as shown in Fig. 3. In the example shown in Fig. 3, the first row of the information table 26 stores "temperature rise" as the alarm state of the machine 6, and "yes" as whether the alarm state can be resolved by the relay device 4. The second row of the information table 26 stores "damage to parts" as the alarm state of the machine 6, and "no" as whether the alarm state can be resolved by the relay device 4. The information table 26 may be preset at the time of shipment from the factory, or may be updated as appropriate by the user 14, etc.
[0039] The determination unit 20 confirms whether or not the machine 6 is in an alarm state based on the information acquired by the acquisition unit 16. For example, when the temperature sensor of the machine 6 detects a temperature higher than a predetermined temperature, the determination unit 20 confirms that the machine 6 is in an alarm state based on the information acquired by the acquisition unit 16. Also, for example, when the camera sensor of the machine 6 detects damage to a part of the machine 6, the determination unit 20 confirms that the machine 6 is in an alarm state based on the information acquired by the acquisition unit 16.
[0040] When the machine 6 is in an alarm state (i.e., when the state of the machine 6 indicated by the information acquired by the acquisition unit 16 is an alarm state), the determination unit 20 determines whether or not the alarm state can be cleared by the relay device 4, based on the information table 26. For example, when the alarm state of the machine 6 is "temperature rise", the determination unit 20 determines that the alarm state can be cleared by the relay device 4 by referring to the information table 26. Also, for example, when the alarm state of the machine 6 is "parts damage", the determination unit 20 determines that the alarm state cannot be cleared by the relay device 4 by referring to the information table 26.
[0041] In the present embodiment, the determination unit 20 of the relay device 4 is configured to check whether the machine 6 is in an alarm state, but the present invention is not limited to this. For example, the machine 6 itself may determine whether the machine 6 is in an alarm state based on the detection result of the sensor. Specifically, the machine 6 determines that the machine 6 is in an alarm state when, for example, a temperature sensor detects a temperature higher than a predetermined temperature. Also, the machine 6 determines that the machine 6 is in an alarm state when, for example, a camera sensor detects damage to a part of the machine 6. In this case, the machine 6 may transmit an alarm signal indicating that the machine 6 is in an alarm state to the relay device 4 as information indicating the state of the machine 6. This allows the determination unit 20 of the relay device 4 to confirm that the machine 6 is in an alarm state based on the alarm signal from the machine 6.
[0042] When the determination unit 20 determines that the alarm state of the machine 6 can be cleared by the relay device 4, the processing unit 22 executes processing for clearing the alarm state. For example, when the alarm state of the machine 6 is "temperature rise" and the determination unit 20 determines that the alarm state can be cleared by the relay device 4, the processing unit 22 transmits a drive signal for driving an air-cooling fan (not shown) of the machine 6 to the machine 6 via the communication line 10 by using a REST API (Representative State Transfer Application Protocol Interface) or the like. The procedure of the processing performed by the processing unit 22 for clearing these alarm states is stored in the storage unit 18.
[0043] The communication unit 24 transmits and receives various data to and from the client device 8 via the network 12 (see FIG. 1). Specifically, when the machine 6 is in an alarm state, the communication unit 24 notifies the client device 8 that the machine 6 is in an alarm state. In addition, when the alarm state of the machine 6 is resolved, the communication unit 24 notifies the client device 8 that the alarm state of the machine 6 has been resolved.
[0044] [3. Operation of communication system] An overview of the operation of the relay device 4 according to the embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart showing an overview of the operation of the relay device 4 according to the embodiment. In this embodiment, a configuration will be described in which the acquisition unit 16 of the relay device 4 acquires information indicating the state of the machine 6 from the machine 6 via the communication line 10.
[0045] 4, the acquisition unit 16 of the relay device 4 acquires information indicating the state of the machine 6 from the machine 6 (S101). The judgment unit 20 of the relay device 4 checks whether the machine 6 is in an alarm state or not based on the information acquired by the acquisition unit 16 (S102). If the machine 6 is not in an alarm state (NO in S102), the process returns to step S101 described above.
[0046] On the other hand, if the machine 6 is in an alarm state (YES in S102), the judgment unit 20 judges whether or not the alarm state can be resolved by the relay device 4 based on the information table 26 (S103).
[0047] If the alarm state of the machine 6 can be resolved by the relay device 4 (YES in S103), the processing unit 22 of the relay device 4 executes processing to resolve the alarm state (S104). A specific example of step S104 will be described in detail in the explanation of Fig. 5. After step S104, the flowchart of Fig. 4 ends.
[0048] On the other hand, if the alarm state of the machine 6 cannot be resolved by the relay device 4 (NO in S103), the user takes action to resolve the alarm state (S105). A specific example of step S105 will be described in detail in the description of Fig. 6. After step S105, the flowchart in Fig. 4 ends.
[0049] Next, the operation of the communication system 2 according to the embodiment in a case where the alarm state of the machine 6 can be cleared by the relay device 4 will be described with reference to Fig. 5. Fig. 5 is a sequence diagram showing the flow of the operation of the communication system 2 according to the embodiment in a case where the alarm state of the machine 6 can be cleared by the relay device 4.
[0050] In addition, the event flow in the OPCUA standard specifies multiple steps, namely, (a) occurrence of an event → (b) acknowledgement of the event → (c) resolution of the event → (d) confirmation of resolution of the event. The above steps (a), (b), (c), and (d) are also executed in the operation of the communication system 2 shown in Fig. 5. Here, the event means an event that occurs in the machine 6, such as when the temperature of the machine 6 rises above a predetermined temperature, or when a part of the machine 6 is damaged.
[0051] As shown in Fig. 5, an event occurs in the machine 6 in which the temperature of the machine 6 rises above a predetermined temperature (i.e., the machine 6 goes into an alarm state) (S201). Note that step S201 corresponds to the above-mentioned "(a) Occurrence of an event". The acquisition unit 16 of the relay device 4 acquires information indicating the state of the machine 6 (the temperature of the machine 6) from the machine 6 (S202). The determination unit 20 of the relay device 4 confirms that the machine 6 is in an alarm state based on the information acquired by the acquisition unit 16 (S203).
[0052] The determination unit 20 of the relay device 4 determines that the alarm state of the machine 6 can be cleared by the relay device 4 based on the information table 26. Specifically, based on the information stored in the information table 26 that the alarm state of the machine 6 is "temperature rise" and that the alarm state can be cleared by the relay device 4 is "yes", the determination unit 20 determines that the alarm state of the machine 6 can be cleared by the relay device 4. Note that this determination result (clearability) corresponds to the above "(b) Approval of the event". The processing unit 22 of the relay device 4 executes a process for clearing the alarm state of the machine 6 (S204). Specifically, the processing unit 22 transmits a drive signal for driving the cooling fan of the machine 6 to the machine 6 as a process for lowering the temperature of the machine 6 to a predetermined temperature or lower (i.e., a process for clearing the alarm state of the machine 6) by using a REST API or the like. As a result, the controller (not shown) of the machine 6 starts driving the cooling fan based on the drive signal from the relay device 4.
[0053] The client device 8 transmits an acquisition request signal to the relay device 4 to request acquisition of an event (S205). The client device 8 periodically transmits the acquisition request signal to the relay device 4. The communication unit 24 of the relay device 4 notifies the client device 8 of the event based on the acquisition request signal from the client device 8 (S206). At this time, the event notified by the communication unit 24 is that the temperature of the machine 6 has risen above a predetermined temperature (i.e., the machine 6 is in an alarm state).
[0054] Based on the event notified from the relay device 4, the client device 8 notifies (presents) the user 14 that the temperature of the machine 6 has risen above the predetermined temperature (S207). Specifically, a notification that the temperature of the machine 6 has risen above the predetermined temperature is displayed on a display unit (not shown) of the client device 8. By seeing the notification from the client device 8, the user 14 can know that the temperature of the machine 6 has risen above the predetermined temperature.
[0055] The temperature of the machine 6 drops below a predetermined temperature as the machine 6 is cooled by the cooling fan (S208). The acquisition unit 16 of the relay device 4 acquires information indicating the state of the machine 6 (the temperature of the machine 6) from the machine 6, and the judgment unit 20 of the relay device 4 autonomously confirms that the temperature of the machine 6 has dropped below the predetermined temperature (i.e., the alarm state of the machine 6 has been resolved) based on the information acquired by the acquisition unit 16 (S209). That is, the judgment unit 20 autonomously confirms whether the alarm state of the machine 6 has been resolved based on the information acquired by the acquisition unit 16. Note that step S209 corresponds to the above-mentioned "(c) Resolution of event". Then, the judgment unit 20 of the relay device 4 changes the status to "Resolution of event confirmed" (S210). Note that step S210 corresponds to the above-mentioned "(d) Confirmation of resolution of event".
[0056] The client device 8 transmits an acquisition request signal to the relay device 4 to request acquisition of an event (S211). The communication unit 24 of the relay device 4 notifies the client device 8 of the event based on the acquisition request signal from the client device 8 (S212). At this time, the event notified by the communication unit 24 is that the temperature of the machine 6 has dropped below a predetermined temperature (i.e., the alarm state of the machine 6 has been resolved).
[0057] Based on the event notified from the relay device 4, the client device 8 notifies (presents) the user 14 that the temperature of the machine 6 has dropped below a predetermined temperature (S213). Specifically, a notification that the temperature of the machine 6 has dropped below a predetermined temperature is displayed on the display unit of the client device 8. By seeing the notification from the client device 8, the user 14 can know that the temperature of the machine 6 has dropped below the predetermined temperature.
[0058] Next, an operation of the communication system 2 according to the embodiment when the alarm state of the machine 6 cannot be cleared by the relay device 4 will be described with reference to Fig. 6. Fig. 6 is a sequence diagram showing the flow of the operation of the communication system 2 according to the embodiment when the alarm state of the machine 6 cannot be cleared by the relay device 4.
[0059] In the operation of the communication system 2 shown in FIG. 6, the above-mentioned multiple steps of (a) occurrence of an event→(b) acknowledgement of the event→(c) resolution of the event→(d) confirmation of resolution of the event are also executed.
[0060] As shown in Fig. 6, an event occurs in the machine 6 in which a part of the machine 6 is damaged (i.e., the machine 6 goes into an alarm state) (S301). Note that step S301 corresponds to the above-mentioned "(a) Occurrence of an event". The acquisition unit 16 of the relay device 4 acquires information indicating the state of the machine 6 (damage to a part of the machine 6) from the machine 6 (S302). The judgment unit 20 of the relay device 4 confirms that the machine 6 is in an alarm state based on the information acquired by the acquisition unit 16 (S303).
[0061] The determination unit 20 of the relay device 4 determines that the alarm state of the machine 6 cannot be resolved by the relay device 4 based on the information table 26. Specifically, based on the information stored in the information table 26 that the alarm state of the machine 6 is "damaged parts" and that the possibility of the relay device 4 resolving the alarm state is "no", the determination unit 20 determines that the alarm state of the machine 6 cannot be resolved by the relay device 4. The client device 8 transmits an acquisition request signal to the relay device 4 to request acquisition of an event (S304). The client device 8 periodically transmits an acquisition request signal to the relay device 4. The communication unit 24 of the relay device 4 notifies the client device 8 of the event based on the acquisition request signal from the client device 8 (S305). At this time, the event notified by the communication unit 24 is that a part of the machine 6 has been damaged (i.e., the machine 6 is in an alarm state).
[0062] Based on the event notified from the relay device 4, the client device 8 notifies (presents) the user 14 that a part of the machine 6 has been damaged (S306). Specifically, a notification that a part of the machine 6 has been damaged is displayed on the display unit of the client device 8. By seeing the notification from the client device 8, the user 14 can know that a part of the machine 6 has been damaged.
[0063] The user 14 uses the client device 8 to perform an operation to approve the event (S307). As a result, the client device 8 notifies the relay device 4 that the event is approved (S308). Note that step S308 corresponds to the above-mentioned "(b) Approval of event." Based on the notification from the client device 8, the determination unit 20 of the relay device 4 changes the status to "Event approved" (S309).
[0064] The user 14 replaces the damaged part of the machine 6 with a new part (S310), thereby taking measures to resolve the alarm state of the machine 6. It should be noted that step S310 corresponds to "(c) Resolving the event" above. The user 14 performs an operation using the client device 8 to request confirmation as to whether the alarm state of the machine 6 has been resolved (S311). As a result, the client device 8 transmits a confirmation request signal to the relay device 4, requesting confirmation as to whether the alarm state of the machine 6 has been resolved (S312).
[0065] The acquisition unit 16 of the relay device 4 acquires information indicating the state of the machine 6 (that a part of the machine 6 has been replaced) from the machine 6 based on the confirmation request signal from the client device 8 (S313). As a result, the judgment unit 20 of the relay device 4 confirms that the part of the machine 6 has been replaced (i.e., that the alarm state of the machine 6 has been resolved) based on the information acquired by the acquisition unit 16, and changes the status to "Event resolution confirmed" (S314). That is, the judgment unit 20, triggered by receiving the confirmation request signal from the client device 8, confirms whether the alarm state of the machine 6 has been resolved based on the information acquired by the acquisition unit 16. Note that step S314 corresponds to the above "(d) Confirmation of event resolution".
[0066] The client device 8 transmits an acquisition request signal to the relay device 4 to request acquisition of the event (S315). The communication unit 24 of the relay device 4 notifies the client device 8 of the event based on the acquisition request signal from the client device 8 (S316). At this time, the event notified by the communication unit 24 is that a part of the machine 6 has been replaced (i.e., the alarm state of the machine 6 has been resolved).
[0067] Based on the event notified from the relay device 4, the client device 8 notifies the user 14 that the part of the machine 6 has been replaced (S317). Specifically, a notification that the part of the machine 6 has been replaced is displayed on the display unit of the client device 8.
[0068] [4. Effects] In this embodiment, when the determination unit 20 determines based on the information table 26 that the alarm state of the machine 6 can be resolved by the relay device 4, the processing unit 22 of the relay device 4 executes processing for resolving the alarm state. In this case, as shown in the sequence diagram of Fig. 5, the processing unit 22 of the relay device 4 executes processing for resolving the alarm state of the machine 6 without the user 14 performing any operation on the machine 6 and the client device 8.
[0069] As a result, even if the user 14 does not notice the occurrence of an event, for example because the user 14 is in a location far away from the client device 8, if the alarm state resolution as predefined in the information table 26 is "yes," the alarm state of the machine 6 can be resolved quickly without waiting for the user 14 to respond.
[0070] (Other variations, etc.) Although the relay device and the control method for the relay device of the present invention have been described based on the above embodiment, the present invention is not limited to the above embodiment. The present invention also includes modifications that a person skilled in the art can conceive of to the above embodiment, and other embodiments realized by arbitrarily combining the components in the above embodiment.
[0071] In the above embodiment, each component may be realized by a dedicated hardware or by executing a software program suitable for each component. Each component may be realized by a program execution unit such as a CPU or a processor reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.
[0072] The present invention can be realized not only as an apparatus, but also as a method in which the processing means constituting the apparatus are steps, as a program for causing a computer to execute those steps, as a non-transitory recording medium such as a computer-readable CD-ROM on which the program is recorded, or as information, data or signals indicating the program.These programs, information, data and signals may be distributed via a communication network such as the Internet. [Industrial Applicability]
[0073] The relay device according to the present invention can be applied to, for example, an OPC UA server that communicates with each of a machine and a client device. [Explanation of symbols]
[0074] 2. Communication Systems 4. Relay Device 6 machines 8 Client Device 10. Communication Lines 12 Network 14 Users 16 Acquisition Department 18 Storage section 20 Judgment section 22 Processing section 24 Communications Department 26 Information Table
Claims
1. A relay device that communicates with each of the machine and the terminal device, an acquisition unit that acquires information indicating a state of the machine from the machine; a storage unit that stores an information table indicating whether or not an alarm state of the machine can be resolved by the relay device, for each alarm state of the machine; a determination unit that, when the state of the machine indicated by the information acquired by the acquisition unit is an alarm state, determines whether or not the alarm state can be resolved by the relay device based on the information table; a processing unit that executes a process for eliminating the alarm state when the determination unit determines that the alarm state of the machine can be eliminated by the relay device; (i) a communication unit that, when the state of the machine indicated by the information acquired by the acquisition unit is an alarm state, notifies the terminal device that the machine is in an alarm state, and (ii) a communication unit that, when the alarm state of the machine is resolved, notifies the terminal device that the alarm state of the machine has been resolved, When the determination unit determines that the alarm state of the machine can be resolved by the relay device, after the processing unit executes a process for resolving the alarm state, the determination unit autonomously checks whether the alarm state of the machine has been resolved based on the information acquired by the acquisition unit; Furthermore, when the determination unit determines that the alarm state of the machine cannot be resolved by the relay device, after a user or manager who operates the terminal device takes action to resolve the alarm state, the communication unit receives a confirmation request signal from the terminal device requesting confirmation of whether the alarm state of the machine has been resolved, the determination unit, when triggered by the communication unit receiving the confirmation request signal, determines whether or not the alarm state of the machine has been resolved based on the information acquired by the acquisition unit; The communication unit notifies the terminal device that the alarm state of the machine has been resolved when the determination unit confirms that the alarm state of the machine has been resolved. Relay device.
2. The relay device communicates with each of the machine and the terminal device based on the OPCUA (OPC Unified Architecture) standard. The relay device according to claim 1 .
3. A method for controlling a relay device that communicates with a machine and a terminal device, comprising the steps of: (a) acquiring information indicative of a state of the machine from the machine; (b) a determination step in which, when the state of the machine indicated by the information acquired in (a) is an alarm state, a determination step is performed as to whether or not the alarm state can be resolved by the relay device based on an information table indicating whether or not the alarm state can be resolved by the relay device for each alarm state of the machine; (c) when it is determined in (b) that the alarm state of the machine can be cleared by the relay device, executing a process for clearing the alarm state by the relay device; (d) (i) when the state of the machine indicated by the information acquired in (a) is an alarm state, notifying the terminal device that the machine is in an alarm state, and (ii) when the alarm state of the machine is resolved, notifying the terminal device that the alarm state of the machine has been resolved, In the step (b), if it is determined that the alarm state of the machine can be resolved by the relay device, after executing a process for resolving the alarm state in the step (c), the relay device autonomously checks whether the alarm state of the machine has been resolved based on the information acquired in the step (a); Furthermore, when it is determined in the determination step that the alarm state of the machine cannot be resolved by the relay device, after a user or manager who operates the terminal device has taken action to resolve the alarm state, a confirmation request signal is received from the terminal device requesting confirmation of whether or not the alarm state of the machine has been resolved; In the determination step, when the confirmation request signal is received, it is determined whether or not the alarm state of the machine has been resolved based on the information acquired in the acquisition step. In the step (d), when it is confirmed in the step (b) that the alarm state of the machine has been eliminated, the terminal device is notified that the alarm state of the machine has been eliminated. A method for controlling a relay device.
4. A program for causing a computer to execute the method for controlling a relay device according to claim 3.
Citation Information
Patent Citations
Processing of liquidized return gas upon shipment
JP1986052499A
Management system, management apparatus, management method and program
JP2019096232A
Display device, screen generation method, and screen generation program
JP2019152949A
