JP7442751B1 - Control program, supervisory control system, gateway device and control method - Google Patents

Control program, supervisory control system, gateway device and control method Download PDF

Info

Publication number
JP7442751B1
JP7442751B1 JP2023564131A JP2023564131A JP7442751B1 JP 7442751 B1 JP7442751 B1 JP 7442751B1 JP 2023564131 A JP2023564131 A JP 2023564131A JP 2023564131 A JP2023564131 A JP 2023564131A JP 7442751 B1 JP7442751 B1 JP 7442751B1
Authority
JP
Japan
Prior art keywords
message
signal data
data
priority
abnormality determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023564131A
Other languages
Japanese (ja)
Inventor
龍二 澤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP7442751B1 publication Critical patent/JP7442751B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

制御プログラムがインストールされたゲートウェイ装置(100)のメッセージ取得部(110)は、機器(211~214)から信号データを含むメッセージを取得する。優先度決定部(130)は、監視制御サーバ(300)において設備(201、202)の異常判定に用いられる信号データの種類に関するデータである異常判定関連データに基づいて取得したメッセージに含まれる信号データの優先度を決定する。メッセージ送信部(140)は、取得したメッセージを監視制御サーバ(300)に送信し、ネットワーク(400)に異常が発生した後に当該異常が解消した場合、決定した優先度が高い信号データを含むメッセージを優先度が低いメッセージよりも優先して監視制御サーバ(300)に送信する。The message acquisition unit (110) of the gateway device (100) in which the control program is installed acquires messages including signal data from the devices (211 to 214). The priority determination unit (130) selects signals included in messages acquired based on abnormality determination related data, which is data regarding the type of signal data used in abnormality determination of the equipment (201, 202) in the monitoring control server (300). Determine data priorities. The message transmitting unit (140) transmits the acquired message to the monitoring control server (300), and when the abnormality occurs in the network (400) and is resolved, the message transmitting unit (140) sends a message containing the signal data with the determined high priority. is sent to the supervisory control server (300) with priority over messages with lower priority.

Description

本開示は、制御プログラム、監視制御システム、ゲートウェイ装置及び制御方法に関する。 The present disclosure relates to a control program, a supervisory control system, a gateway device, and a control method.

従来、工場といった生産現場に配置されたゲートウェイ装置が監視対象となる設備に配置された機器から収集したデータを監視制御サーバに公衆通信網を介して送信し、当該監視制御サーバが収集したデータを一元的に管理して設備の異常判定といった監視、当該設備の制御を行う監視制御システムが知られている。このような監視システムでは、監視制御サーバが設備の異常判定を確実に行いつつ異常判定の遅延を低減する技術が求められている。 Conventionally, a gateway device placed at a production site such as a factory transmits data collected from equipment placed in the equipment to be monitored to a monitoring control server via a public communication network, and the data collected by the monitoring control server is transmitted. 2. Description of the Related Art There are known monitoring and control systems that centrally manage equipment to perform monitoring such as abnormality determination and control of the equipment. In such a monitoring system, there is a need for a technique that allows the monitoring control server to reliably determine an abnormality in equipment while reducing delays in abnormality determination.

特許文献1には、各施設に配置したゲートウェイ装置が収集したデータを監視制御装置に通信ネットワークを介して送信する時系列データの収集システムが開示されている。特許文献1では、ゲートウェイ装置は、収集したデータをデータ蓄積エリアに蓄積するとともに監視制御装置に送信しており、監視制御装置からデータ再収集要求を受信したときにはデータ蓄積エリアに蓄積されているデータを再送している。すなわち、特許文献1に記載されたシステムは、通信ネットワークの品質が悪化したときに監視制御装置への送信に失敗したデータをゲートウェイ装置に保存して再送させることでデータの欠落を防止して通信異常時のデータ管理を簡素化できるデータバッファリングシステムである。 Patent Document 1 discloses a time-series data collection system that transmits data collected by a gateway device placed in each facility to a monitoring and control device via a communication network. In Patent Document 1, the gateway device stores the collected data in a data storage area and transmits it to the monitoring and control device, and when receiving a data re-collection request from the monitoring and control device, the gateway device stores the data accumulated in the data storage area. is being resent. In other words, the system described in Patent Document 1 prevents data loss and improves communication by storing and retransmitting data that has failed to be sent to a supervisory control device in a gateway device when the quality of the communication network deteriorates. This is a data buffering system that can simplify data management in the event of an abnormality.

特許文献2には、監視制御装置によって監視及び制御される複数の機器から各機器の信号データを含むメッセージを受信し、受信したメッセージを監視制御装置にネットワークを介して送信するゲートウェイ装置を含む監視制御システムが開示されている。特許文献2では、ゲートウェイ装置は、複数の機器を含む設備が設けられたプラントの図面情報を解析して得られた各信号データの関係データが示す状態に基づいてメッセージの優先度を決定し、決定された優先度が高いメッセージを優先して監視制御装置に送信している。 Patent Document 2 describes a monitoring device that includes a gateway device that receives messages including signal data of each device from a plurality of devices monitored and controlled by a monitoring and control device, and transmits the received message to the monitoring and control device via a network. A control system is disclosed. In Patent Document 2, a gateway device determines the priority of a message based on a state indicated by relationship data of each signal data obtained by analyzing drawing information of a plant in which equipment including a plurality of devices is installed, A message with a determined high priority is given priority and sent to the supervisory control device.

特開2004-246438号公報Japanese Patent Application Publication No. 2004-246438 特開2020-162063号公報JP 2020-162063 Publication

特許文献1に開示された収集システムでは、監視制御装置は、ゲートウェイ装置が受信したデータ再収集要求に応じて順番に再送した再送データを順番に受信してから各施設の異常判定が可能となる。この結果、特許文献1に開示された収集システムでは、通信ネットワークの異常の解消時には当該異常判定が遅延する問題がある。 In the collection system disclosed in Patent Document 1, the monitoring and control device is able to determine abnormalities in each facility after sequentially receiving retransmitted data in response to data recollection requests received by the gateway device. . As a result, the collection system disclosed in Patent Document 1 has a problem in that when an abnormality in a communication network is resolved, determination of the abnormality is delayed.

一方、特許文献2に開示された監視制御システムでは、ゲートウェイ装置は、プラントの図面情報から当該プラントの構成を解析して重要度が高い機器の信号データを含むメッセージを優先して監視制御装置に送信している。しかしながら、特許文献2に開示された監視制御システムでは、ゲートウェイ装置がプラントの図面情報に基づいて優先度を自動的に決定しており、監視制御装置が実際に異常判定に用いるメッセージであるか否かを考慮していない。このため、例えば、ゲートウェイ装置が高い優先度であると決定したメッセージが異常判定に用いられず、当該ゲートウェイ装置が低い優先度であると決定したメッセージが異常判定に用いられる場合がある。この場合、特許文献2に開示された監視制御システムも特許文献1に開示された収集システムと同様に、ネットワークの異常の解消時には異常判定が遅延する問題がある。 On the other hand, in the supervisory control system disclosed in Patent Document 2, the gateway device analyzes the configuration of the plant from drawing information of the plant and gives priority to messages containing signal data of devices with high importance to the supervisory control device. Sending. However, in the supervisory control system disclosed in Patent Document 2, the gateway device automatically determines the priority based on plant drawing information, and the supervisory control device determines whether the message is actually used for abnormality determination. It does not take into account. Therefore, for example, a message determined by the gateway device to have a high priority may not be used for abnormality determination, and a message determined by the gateway device to have low priority may be used for abnormality determination. In this case, similarly to the collection system disclosed in Patent Document 1, the monitoring control system disclosed in Patent Document 2 has a problem in that abnormality determination is delayed when a network abnormality is resolved.

本開示は、上記実情に鑑みてなされたものであり、ネットワークの異常の解消時における設備の異常判定の遅延を低減することを目的とする。 The present disclosure has been made in view of the above circumstances, and aims to reduce the delay in determining equipment abnormality when a network abnormality is resolved.

上記目的を達成するため、本開示に係る制御プログラムは、監視制御システムにおいて監視対象となる設備に配置された機器から取得した信号データを当該設備の監視を行う監視制御サーバにネットワークを介して送信するゲートウェイ装置を、機器から信号データを含むメッセージを取得するメッセージ取得部、監視制御サーバにおいて設備の異常判定に用いられる信号データの種類に関するデータである異常判定関連データに基づいて、メッセージ取得部が取得したメッセージに含まれる信号データの優先度を決定する優先度決定部、メッセージ取得部が取得したメッセージを監視制御サーバに送信するメッセージ送信部であって、ネットワークに異常が発生した後に当該異常が解消した場合、優先度決定部が決定した優先度が高い信号データを含むメッセージを優先度が低い信号データを含むメッセージよりも優先して監視制御サーバに送信するメッセージ送信部、として機能させ、異常判定関連データは、監視制御サーバにおいて設備の異常判定に用いられる異常判定条件における信号データの種類毎の使用回数を示すデータであり、優先度決定部は、信号データについて、異常判定関連データが示す使用回数が多くなるに連れて決定する優先度を高くする In order to achieve the above object, a control program according to the present disclosure transmits signal data acquired from equipment placed in equipment to be monitored in a supervisory control system to a supervisory control server that monitors the equipment via a network. A message acquisition unit acquires a message including signal data from equipment, and a message acquisition unit acquires a message including signal data from equipment based on abnormality determination related data, which is data related to the type of signal data used in equipment abnormality determination in the monitoring control server. A priority determination unit that determines the priority of signal data included in an acquired message, and a message transmission unit that transmits the message acquired by the message acquisition unit to the monitoring control server. If the problem is resolved, the system functions as a message transmitting unit that sends messages containing high priority signal data determined by the priority determining unit to the supervisory control server with priority over messages containing low priority signal data, and detects the abnormality. The determination-related data is data that indicates the number of times each type of signal data is used in the abnormality determination conditions used in the abnormality determination of equipment in the monitoring control server, and the priority determining unit determines the number of times each type of signal data is used in the abnormality determination conditions indicated by the abnormality determination-related data for the signal data. The priority to be determined increases as the number of times of use increases .

本開示によれば、ネットワークの異常が解消した場合においてゲートウェイ装置から監視制御サーバに送信される新たなメッセージに含まれる信号データの優先度は、監視制御サーバにおいて設備の異常判定に用いられる信号データの種類に関するデータである異常判定関連データに基づいて決定されている。この結果、本開示に係る制御プログラムは、上述した異常判定関連データに基づいて信号データの優先度が決定されない制御プログラムよりもネットワークの異常の解消時における設備の異常判定の遅延を低減できる。 According to the present disclosure, when a network abnormality is resolved, the priority of signal data included in a new message sent from the gateway device to the supervisory control server is determined by the signal data used in the supervisory control server to determine an equipment abnormality. It is determined based on abnormality determination related data, which is data related to the type of. As a result, the control program according to the present disclosure can reduce the delay in equipment abnormality determination when a network abnormality is resolved, compared to a control program in which the priority of signal data is not determined based on the abnormality determination related data described above.

実施の形態に係る監視制御システムの全体説明図Overall explanatory diagram of a supervisory control system according to an embodiment 実施の形態に係る各装置のハードウェア構成を示すブロック図Block diagram showing the hardware configuration of each device according to the embodiment 実施の形態に係る信号データの表示例を示す図A diagram showing an example of displaying signal data according to an embodiment. 実施の形態に係る異常判定条件データの表示例を示す図A diagram showing a display example of abnormality determination condition data according to an embodiment 実施の形態に係る異常判定関連データの表示例を示す図A diagram illustrating a display example of abnormality determination related data according to an embodiment 実施の形態に係るメッセージ送信処理のフローチャートFlowchart of message sending process according to embodiment 実施の形態に係る監視制御システムの監視制御サーバがネットワーク障害非発生時に受信した各機器の信号データの値を示すタイミングチャートTiming chart showing values of signal data of each device received by the supervisory control server of the supervisory control system according to the embodiment when no network failure occurs 従来の監視システムの監視制御サーバがネットワーク障害発生時に受信した各機器の信号データの値を示すタイミングチャートTiming chart showing the values of signal data from each device received by the monitoring control server of a conventional monitoring system when a network failure occurs 実施の形態に係る監視制御システムの監視制御サーバがネットワーク障害発生時に受信した各機器の信号データの値を示すタイミングチャートTiming chart showing values of signal data of each device received by the supervisory control server of the supervisory control system according to the embodiment when a network failure occurs 実施の形態の変更例に係る監視制御システムの全体説明図Overall explanatory diagram of a supervisory control system according to a modified example of the embodiment

以下、本開示を実施するための形態に係る制御プログラム、監視制御システム、ゲートウェイ装置及び制御方法について図面を参照して詳細に説明する。なお、図中同一又は相当する部分には同じ符号を付す。 Hereinafter, a control program, a supervisory control system, a gateway device, and a control method according to embodiments of the present disclosure will be described in detail with reference to the drawings. In addition, the same reference numerals are given to the same or corresponding parts in the figures.

(実施の形態に係る監視制御システム1について)
本開示の実施の形態に係る監視制御システム1は、例えば、工場、プラントといった生産現場の設備200から収集したデータに基づいて当該設備200を遠隔地から監視及び制御する遠隔監視制御システムである。図1に示すように、監視制御システム1は、生産現場に設けられたゲートウェイ装置100及び設備200、遠隔地に設けられて設備200の監視及び制御を行う監視制御サーバ300を備える。ゲートウェイ装置100と監視制御サーバ300とは、例えば、インターネット、広域回線といったWAN(Wide Area Network)によって構成されたネットワーク400によってデータの送受信が可能となっている。よって、監視制御システム1では、監視制御サーバ300は、ゲートウェイ装置100及びネットワーク400を介して設備200に関するデータを送受信することで遠隔地から当該設備200の監視及び制御を行うことが可能となっている。
(About the supervisory control system 1 according to the embodiment)
The monitoring and control system 1 according to the embodiment of the present disclosure is a remote monitoring and control system that monitors and controls equipment 200 at a production site such as a factory or a plant from a remote location based on data collected from the equipment 200, for example. As shown in FIG. 1, the supervisory control system 1 includes a gateway device 100 and equipment 200 that are provided at a production site, and a supervisory control server 300 that is located at a remote location and monitors and controls the equipment 200. The gateway device 100 and the monitoring control server 300 are capable of transmitting and receiving data through a network 400 configured by a WAN (Wide Area Network) such as the Internet or a wide area line, for example. Therefore, in the supervisory control system 1, the supervisory control server 300 can monitor and control the equipment 200 from a remote location by transmitting and receiving data regarding the equipment 200 via the gateway device 100 and the network 400. There is.

(実施の形態に係る設備200について)
設備200は、例えば、監視制御サーバ300による監視及び制御の対象となる生産ラインに含まれる加工機といった1以上の設備である。例えば、設備200は、第1設備201、第2設備202を含む。各設備201、202には、複数の機器が配置されている。例えば、第1設備201は、第1機器211、第2機器212を含み、第2設備202は、第3機器213、第4機器214を含む。
(About the equipment 200 according to the embodiment)
The equipment 200 is, for example, one or more equipment such as a processing machine included in a production line that is monitored and controlled by the supervisory control server 300. For example, the equipment 200 includes a first equipment 201 and a second equipment 202. A plurality of devices are arranged in each of the facilities 201 and 202. For example, the first equipment 201 includes a first equipment 211 and a second equipment 212, and the second equipment 202 includes a third equipment 213 and a fourth equipment 214.

各機器211~214は、例えば、プログラマブルロジックコントローラ(PLC:Programmable Logic Controller、以下「PLC」と記載)といった所謂FA(Factory Automation)機器であって、コントローラ及びメモリといったコンピュータ装置としての構成を有する。また、各機器211~214は、無線又は有線のLAN(Local Area Network)500を介してゲートウェイ装置100とのデータの送受信が可能となっている。各機器211~214は、後述する信号データを生成する信号データ生成部221、信号データを生成した日時を示す日時データを付与する日時データ付与部222、信号データを記憶する信号データ記憶部223、メッセージを出力するメッセージ出力部224を含む。 Each of the devices 211 to 214 is, for example, a so-called FA (Factory Automation) device such as a programmable logic controller (PLC), and has a configuration as a computer device such as a controller and a memory. Furthermore, each of the devices 211 to 214 is capable of transmitting and receiving data to and from the gateway device 100 via a wireless or wired LAN (Local Area Network) 500. Each of the devices 211 to 214 includes a signal data generation section 221 that generates signal data to be described later, a date and time data addition section 222 that adds date and time data indicating the date and time when signal data was generated, a signal data storage section 223 that stores signal data, It includes a message output unit 224 that outputs messages.

(実施の形態に係るゲートウェイ装置100について)
ゲートウェイ装置100は、設備200の各機器211~214からデータを取得、記憶し、取得したデータを監視制御サーバ300に送信するコンピュータ装置である。ゲートウェイ装置100は、メッセージを取得するメッセージ取得部110、後述する異常判定関連データを記憶する異常判定関連データ記憶部120、後述する信号データの優先度を決定する優先度決定部130を含む。また、ゲートウェイ装置100は、メッセージを送信するメッセージ送信部140、再送するメッセージを記憶する再送メッセージ記憶部150を含む。
(About gateway device 100 according to embodiment)
The gateway device 100 is a computer device that acquires and stores data from each device 211 to 214 of the facility 200, and transmits the acquired data to the monitoring control server 300. The gateway device 100 includes a message acquisition unit 110 that acquires messages, an abnormality determination related data storage unit 120 that stores abnormality determination related data (described later), and a priority determination unit 130 that determines the priority of signal data (described later). Further, the gateway device 100 includes a message transmitting section 140 that transmits a message, and a retransmission message storage section 150 that stores a message to be retransmitted.

(実施の形態に係る監視制御サーバ300について)
監視制御サーバ300は、例えば、所謂クラウドサーバとして機能するサーバコンピュータである。監視制御サーバ300は、設備200の各機器211~214から収集したデータを一元的に管理し、各設備201、202の監視及び制御を行う。監視制御サーバ300は、メッセージを受信するメッセージ受信部310、後述する異常判定条件データを記憶する異常判定条件データ記憶部320、各設備201、202の異常判定を行う異常判定部330を含む。
(About the monitoring control server 300 according to the embodiment)
The monitoring control server 300 is, for example, a server computer that functions as a so-called cloud server. The monitoring control server 300 centrally manages data collected from each device 211 to 214 of the equipment 200, and monitors and controls each equipment 201 and 202. The monitoring control server 300 includes a message receiving section 310 that receives messages, an abnormality determination condition data storage section 320 that stores abnormality determination condition data to be described later, and an abnormality determination section 330 that determines an abnormality of each of the equipment 201 and 202.

(実施の形態に係るゲートウェイ装置100のハードウェア構成について)
図2に示すように、ゲートウェイ装置100は、例えば、制御プログラム59に従って処理を実行する制御部51を備える。制御部51は、CPU(Central Processing Unit)を備える。制御部51は、制御プログラム59に従って、図1に示す優先度決定部130として機能する。
(About the hardware configuration of gateway device 100 according to the embodiment)
As shown in FIG. 2, the gateway device 100 includes a control unit 51 that executes processing according to a control program 59, for example. The control unit 51 includes a CPU (Central Processing Unit). The control unit 51 functions as the priority determination unit 130 shown in FIG. 1 according to the control program 59.

図2に戻り、ゲートウェイ装置100は、制御プログラム59をロードし、制御部51の作業領域として用いられる主記憶部52を備える。主記憶部52は、RAM(Random Access Memory)を備える。 Returning to FIG. 2, the gateway device 100 includes a main storage section 52 that loads a control program 59 and is used as a work area for the control section 51. The main storage unit 52 includes a RAM (Random Access Memory).

また、ゲートウェイ装置100は、制御プログラム59を予め記憶する外部記憶部53を備える。外部記憶部53は、制御部51の指示に従って、このプログラムが記憶するデータを制御部51に供給し、制御部51から供給されたデータを記憶する。外部記憶部53は、フラッシュメモリ、HDD(Hard Disk Drive)、SSD(Solid State Drive)といった記録媒体を備える。外部記憶部53は、図1に示す異常判定関連データ記憶部120及び再送メッセージ記憶部150として機能する。 The gateway device 100 also includes an external storage unit 53 that stores a control program 59 in advance. The external storage section 53 supplies the data stored by this program to the control section 51 according to instructions from the control section 51, and stores the data supplied from the control section 51. The external storage unit 53 includes a recording medium such as a flash memory, an HDD (Hard Disk Drive), and an SSD (Solid State Drive). The external storage section 53 functions as the abnormality determination related data storage section 120 and the retransmission message storage section 150 shown in FIG.

また、ゲートウェイ装置100は、情報を送受信する送受信部56を備える。送受信部56は、ネットワーク400又はLAN500に接続する通信網終端装置、無線通信装置等の情報通信部品を備える。送受信部56は、図1に示すメッセージ取得部110、メッセージ送信部140として機能する。 The gateway device 100 also includes a transmitting/receiving section 56 that transmits and receives information. The transmitting/receiving unit 56 includes information communication components such as a communication network termination device and a wireless communication device connected to the network 400 or the LAN 500. The transmitting/receiving section 56 functions as the message acquiring section 110 and the message transmitting section 140 shown in FIG.

図2に戻り、ゲートウェイ装置100では、主記憶部52、外部記憶部53及び送受信部56はいずれも内部バス50を介して制御部51に接続されている。 Returning to FIG. 2, in the gateway device 100, the main storage section 52, the external storage section 53, and the transmitting/receiving section 56 are all connected to the control section 51 via the internal bus 50.

ゲートウェイ装置100は、制御部51が主記憶部52、外部記憶部53及び送受信部56を資源として用いることによって、図1に示す上記の各部110~150の機能を実現する。例えば、ゲートウェイ装置100は、メッセージ取得部110が行うメッセージ取得ステップ、異常判定関連データ記憶部120が行う異常判定関連データ記憶ステップ、優先度決定部130が行う優先度決定ステップを実行する。また、ゲートウェイ装置100は、メッセージ送信部140が行うメッセージ送信ステップ、再送メッセージ記憶部150が行う再送メッセージ記憶ステップを実行する。 In the gateway device 100, the control section 51 uses the main storage section 52, the external storage section 53, and the transmitting/receiving section 56 as resources, thereby realizing the functions of the above-mentioned sections 110 to 150 shown in FIG. For example, the gateway device 100 executes a message acquisition step performed by the message acquisition unit 110, an abnormality determination related data storage step performed by the abnormality determination related data storage unit 120, and a priority determination step performed by the priority determination unit 130. Further, the gateway device 100 executes a message sending step performed by the message sending section 140 and a retransmission message storage step performed by the retransmission message storage section 150.

(実施の形態に係る各機器211~214のハードウェア構成について)
また、各機器211~214もゲートウェイ装置100と同様に、制御部51、ならびに、内部バス50を介して制御部51に接続された主記憶部52、外部記憶部53及び送受信部56を備える。制御部51は、図1に示す信号データ生成部221及び日時データ付与部222として機能し、外部記憶部53は、図1に示す異常判定条件データ記憶部320として機能し、送受信部56は、図1に示すメッセージ出力部224として機能する。また、各機器211~214もゲートウェイ装置100と同様に、制御部51が主記憶部52、外部記憶部53及び送受信部56を資源として用いることによって、図1に示す上記の各部221~224の機能を実現する。例えば、各機器211~214は、信号データ生成部221が行う信号データ生成ステップ、日時データ付与部222が行う日時データ付与ステップ、信号データ記憶部223が行う信号データ記憶ステップ、メッセージ出力部224が行うメッセージ出力ステップを実行する。
(About the hardware configuration of each device 211 to 214 according to the embodiment)
Further, like the gateway device 100, each of the devices 211 to 214 includes a control section 51, a main storage section 52 connected to the control section 51 via an internal bus 50, an external storage section 53, and a transmitting/receiving section 56. The control unit 51 functions as the signal data generation unit 221 and the date and time data provision unit 222 shown in FIG. 1, the external storage unit 53 functions as the abnormality determination condition data storage unit 320 shown in FIG. It functions as the message output unit 224 shown in FIG. Furthermore, in the same way as the gateway device 100, the control section 51 uses the main storage section 52, the external storage section 53, and the transmitting/receiving section 56 as resources, so that each of the devices 211 to 214 can control the functions of the above-mentioned sections 221 to 224 shown in FIG. Achieve functionality. For example, each of the devices 211 to 214 performs a signal data generation step performed by the signal data generation section 221, a date and time data provision step performed by the date and time data provision section 222, a signal data storage step performed by the signal data storage section 223, and a message output section 224. Execute the message output step to be performed.

(実施の形態に係る監視制御サーバ300のハードウェア構成について)
また、監視制御サーバ300もゲートウェイ装置100及び各機器211~214と同様に、制御部51、ならびに、内部バス50を介して制御部51に接続された主記憶部52、外部記憶部53及び送受信部56を備える。制御部51は、図1に示す異常判定部330として機能し、外部記憶部53は、図1に示す異常判定条件データ記憶部320として機能し、送受信部56は、図1に示すメッセージ受信部310として機能する。また、監視制御サーバ300もゲートウェイ装置100及び各機器211~214と同様に、制御部51が主記憶部52、外部記憶部53及び送受信部56を資源として用いることによって、図1に示す上記の各部210~230の機能を実現する。例えば、監視制御サーバ300は、メッセージ受信部310が行うメッセージ受信ステップ、異常判定条件データ記憶部320が行う異常判定条件データ記憶ステップ、異常判定部330が行う異常判定ステップを実行する。
(About the hardware configuration of the monitoring control server 300 according to the embodiment)
Also, like the gateway device 100 and each device 211 to 214, the supervisory control server 300 also includes a control section 51, a main storage section 52 connected to the control section 51 via an internal bus 50, an external storage section 53, and a transmitting/receiving section. A section 56 is provided. The control unit 51 functions as the abnormality determination unit 330 shown in FIG. 1, the external storage unit 53 functions as the abnormality determination condition data storage unit 320 shown in FIG. 1, and the transmission/reception unit 56 functions as the message reception unit shown in FIG. 310. Also, in the supervisory control server 300, the control section 51 uses the main storage section 52, the external storage section 53, and the transmitting/receiving section 56 as resources, in the same way as the gateway device 100 and each device 211 to 214. The functions of each part 210 to 230 are realized. For example, the monitoring control server 300 executes a message receiving step performed by the message receiving unit 310, an abnormality determination condition data storage step performed by the abnormality determination condition data storage unit 320, and an abnormality determination step performed by the abnormality determination unit 330.

(実施の形態に係る各機器211~214の機能構成の詳細について)
信号データ生成部221は、各機器211~214の信号データを生成する。ここで、信号データは、例えば、各機器211~214がPLCであれば、各機器211~214の内部の信号データである信号データ、各機器211~214に接続された図示しないセンサから入力された信号データである入力信号データといった各種の信号データを含む。なお、内部信号データは、例えば、各機器211~214の状態が「正常動作中」、「異常動作中」、「停止中」のうちの何れであるかを示す値を含むデータである。また、入力信号データは、例えば、センサの測定対象である機械の状態が「正常動作中」、「異常動作中」、「停止中」のうちの何れであるかを示すデータである。
(Details of the functional configuration of each device 211 to 214 according to the embodiment)
The signal data generation unit 221 generates signal data for each device 211-214. Here, the signal data is, for example, if each device 211 to 214 is a PLC, signal data that is internal signal data of each device 211 to 214, or input from a sensor (not shown) connected to each device 211 to 214. It includes various types of signal data such as input signal data, which is signal data that has been input. Note that the internal signal data is, for example, data that includes a value indicating whether the state of each device 211 to 214 is "normally operating,""abnormallyoperating," or "stopped." In addition, the input signal data is, for example, data indicating whether the state of the machine to be measured by the sensor is "normally operating,""abnormallyoperating," or "stopped."

日時データ付与部222は、信号データを生成した日時を示す日時データの一例としてのタイムスタンプを当該信号データに付与し、信号データ記憶部223は、タイムスタンプが付与された信号データを記憶する。よって、信号データ記憶部223が記憶している信号データは、例えば、時刻毎の各機器211~214の状態を示すデータであり、図3に示すように、テーブルの形式で一覧表示可能である。 The date and time data adding unit 222 adds a timestamp, which is an example of date and time data indicating the date and time when the signal data was generated, to the signal data, and the signal data storage unit 223 stores the signal data to which the timestamp has been added. Therefore, the signal data stored in the signal data storage unit 223 is, for example, data indicating the status of each device 211 to 214 at each time, and can be displayed as a list in a table format as shown in FIG. .

図3に示すように、信号データは、信号データを生成した時刻を示す「時刻」、当該信号データの値を示す「値」の項目に対応するデータを含む。例えば、第1機器211の信号データ記憶部223が記憶している信号データは、「時刻」が「10:10:20.12」のときの「値」が「0」である旨を特定可能なデータである。 As shown in FIG. 3, the signal data includes data corresponding to the items "time" indicating the time when the signal data was generated and "value" indicating the value of the signal data. For example, the signal data stored in the signal data storage unit 223 of the first device 211 can specify that the "value" is "0" when the "time" is "10:10:20.12". This is data.

メッセージ出力部224は、ゲートウェイ装置100からの取得要求に基づいて、信号データ記憶部223が記憶している信号データを含むメッセージをゲートウェイ装置100に出力する。メッセージ出力部224は、ゲートウェイ装置100から特定の時刻を示すタイムスタンプが付与された信号データである特定信号データについて取得要求があった場合、信号データ記憶部223が記憶している信号データのうちから特定の時刻に最も近い時刻のタイムスタンプが付与された信号データを含むメッセージを出力する。例えば、例えば、第1機器211のメッセージ出力部224は、ゲートウェイ装置100から「時刻」が「10:10:20.12」の特定信号データの取得要求があった場合、第1機器211の信号データ記憶部223が記憶している「時刻」が「10:10:20.12」であり「値」が「0」である特定信号データを含むメッセージをゲートウェイ装置100に出力する。 The message output unit 224 outputs a message including the signal data stored in the signal data storage unit 223 to the gateway device 100 based on an acquisition request from the gateway device 100. When there is an acquisition request from the gateway device 100 for specific signal data that is signal data to which a timestamp indicating a specific time has been added, the message output unit 224 outputs a message from among the signal data stored in the signal data storage unit 223. outputs a message containing signal data with a timestamp closest to the specified time. For example, when there is a request from the gateway device 100 to acquire specific signal data whose "time" is "10:10:20.12", the message output unit 224 of the first device 211 outputs a signal from the first device 211. A message containing specific signal data stored in the data storage unit 223 whose “time” is “10:10:20.12” and whose “value” is “0” is output to the gateway device 100.

(実施の形態に係る監視制御サーバ300の機能構成の詳細について)
メッセージ受信部310は、ゲートウェイ装置100が送信したメッセージを受信する。また、メッセージ受信部310は、ネットワーク400に障害といった異常が発生してゲートウェイ装置100がメッセージの送信に失敗した後で当該異常が解消した場合、ゲートウェイ装置100が再送したメッセージを受信する。
(Details of the functional configuration of the monitoring control server 300 according to the embodiment)
The message receiving unit 310 receives the message sent by the gateway device 100. Furthermore, if an abnormality such as a failure occurs in the network 400 and the gateway device 100 fails to send a message, and then the abnormality is resolved, the message receiving unit 310 receives the message retransmitted by the gateway device 100.

異常判定条件データ記憶部320は、複数種類の異常判定条件データを記憶する。ここで、異常判定条件データは、各設備201、202が異常であるか否かを判定する条件を示すデータである。本実施の形態では、異常判定条件データは、各設備201、202が異常であるか否かを判定する条件式を示すデータであり、図4に示すように、テーブルの形式で一覧表示可能である。 The abnormality determination condition data storage unit 320 stores a plurality of types of abnormality determination condition data. Here, the abnormality determination condition data is data indicating conditions for determining whether each of the equipment 201, 202 is abnormal. In this embodiment, the abnormality determination condition data is data indicating a conditional expression for determining whether or not each of the equipment 201 and 202 is abnormal, and can be displayed as a list in a table format as shown in FIG. be.

図4に示すように、異常判定条件データは、生産現場の名称を示す「施設名」、ゲートウェイ装置100の名称を示す「ゲートウェイ」、各設備201、202の名称を示す「設備名」の項目に対応するデータを含む。また、例えば、異常判定条件データは、異常の識別番号を示す「エラーID」、異常の原因となる各機器211~214の名称を示す「機器名」、信号データの識別番号を示す「信号ID」の項目に対応するデータを含む。また、例えば、異常判定条件データは、異常判定条件式について、演算子の符号を示す「符号」、判定先が固定値であるか他の信号データの値であるかを示す「判定先」、他の信号データを生成した機器211~214の名称を示す「機器名」、固定値又は他の信号データの識別番号を示す「固定値/信号ID」の項目に対応するデータを含む。 As shown in FIG. 4, the abnormality determination condition data includes items such as "facility name" indicating the name of the production site, "gateway" indicating the name of the gateway device 100, and "equipment name" indicating the name of each facility 201, 202. Contains data corresponding to. For example, the abnormality determination condition data includes an "error ID" indicating the identification number of the abnormality, a "device name" indicating the name of each device 211 to 214 that causes the abnormality, and a "signal ID" indicating the identification number of the signal data. ” Contains data corresponding to the items. For example, the abnormality judgment condition data includes, for the abnormality judgment condition expression, a "sign" indicating the sign of the operator, a "judgment destination" indicating whether the judgment destination is a fixed value or a value of other signal data, It includes data corresponding to the items "equipment name" indicating the names of the devices 211 to 214 that generated other signal data, and "fixed value/signal ID" indicating the fixed value or identification number of other signal data.

例えば、異常判定条件データは、「施設名」が「工場XラインY」、「ゲートウェイ」が「ゲートウェイ1」、「設備名」が「加工機A」、「エラーID」が「E001」、「機器名」が「PLC1」、「信号ID」が「0001」、異常判定条件式について、「符号」が「<」、「判定先」が「固定値」、「機器名」が「-」すなわち「無し」、「固定値/信号ID」が「10」である旨を特定可能なデータである。 For example, in the abnormality judgment condition data, "facility name" is "factory X line Y", "gateway" is "gateway 1", "equipment name" is "processing machine A", "error ID" is "E001", " "Device name" is "PLC1", "Signal ID" is "0001", "sign" is "<" for the abnormality judgment condition expression, "judgment destination" is "fixed value", "device name" is "-", i.e. This is data that can specify that "absence" and "fixed value/signal ID" are "10".

異常判定部330は、メッセージ受信部310が受信したメッセージに含まれる各機器211~214の信号データと異常判定条件データ記憶部320が記憶している異常判定条件データとに基づいて、各設備201、202の異常判定を行う。例えば、異常判定部330は、「ゲートウェイ1」のゲートウェイ装置100から「PLC1」の機器211の識別番号が「0001」の信号データを含むメッセージを受信した場合、当該信号データの値が「10」よりも小さければ、識別番号「E001」の異常が発生したと判定する。 The abnormality determination unit 330 determines whether each equipment 201 , 202 is performed. For example, when the abnormality determination unit 330 receives a message including signal data in which the identification number of the device 211 in “PLC1” is “0001” from the gateway device 100 in “Gateway 1”, the abnormality determination unit 330 determines that the value of the signal data is “10”. If it is smaller than , it is determined that an abnormality with identification number "E001" has occurred.

(実施の形態に係るゲートウェイ装置100の機能構成の詳細について)
メッセージ取得部110は、各機器211~214から出力された信号データを含むメッセージを取得する。メッセージ取得部110は、各機器211~214から特定信号データを含むメッセージを取得可能である。例えば、メッセージ取得部110は、第1機器211に「時刻」が「10:10:20.12」である特定信号データの取得要求をした場合、第1機器211から「時刻」が「10:10:20.12」である特定信号データを含むメッセージを取得可能である。
(Details of functional configuration of gateway device 100 according to embodiment)
The message acquisition unit 110 acquires messages including signal data output from each device 211-214. The message acquisition unit 110 can acquire messages including specific signal data from each of the devices 211 to 214. For example, when the message acquisition unit 110 requests the first device 211 to acquire specific signal data whose “time” is “10:10:20.12,” the message acquisition unit 110 requests the first device 211 to acquire specific signal data whose “time” is “10:10:20.12.” 10:20.12'' can be obtained.

異常判定関連データ記憶部120は、監視制御サーバ300において各設備201、202の異常判定に用いられる信号データの種類に関するデータである異常判定関連データを記憶する。ここで、異常判定関連データは、監視制御サーバ300において各設備201、202の異常判定に用いられる異常判定条件式における信号データの種類毎の使用回数を示すデータである。具体的には、異常判定関連データは、監視制御サーバ300の異常判定条件データ記憶部320に記憶されている全ての異常判定条件データを解析し、各異常判定条件式で使用されている信号データの識別番号毎の使用回数を示すデータであり、図5に示すように、テーブルの形式で一覧表示可能である。 The abnormality determination related data storage unit 120 stores abnormality determination related data, which is data regarding the type of signal data used for abnormality determination of each of the equipment 201 and 202 in the monitoring control server 300. Here, the abnormality determination related data is data indicating the number of times each type of signal data is used in the abnormality determination conditional expression used in the abnormality determination of each of the facilities 201 and 202 in the monitoring control server 300. Specifically, the abnormality determination related data is obtained by analyzing all the abnormality determination condition data stored in the abnormality determination condition data storage unit 320 of the supervisory control server 300, and by analyzing the signal data used in each abnormality determination condition expression. This data indicates the number of times each identification number has been used, and can be displayed as a list in a table format as shown in FIG.

図5に示すように、異常判定関連データは、各機器211~214の名称を示す「機器名」、信号データの識別番号を示す「信号ID」、異常判定条件式の使用回数を示す「使用回数」の項目に対応するデータを含む。例えば、異常判定関連データは、「機器名」が「PLC1」、「信号ID」が「0002」、「使用回数」が「3」である旨を特定可能なデータである。なお、このように制御するために、ゲートウェイ装置100は、監視制御サーバ300から予め異常判定条件データ記憶部320に記憶されている全ての異常判定条件データを取得、解析し、異常判定関連データを生成、記憶する必要がある。 As shown in FIG. 5, the abnormality determination related data includes "equipment name" indicating the name of each device 211 to 214, "signal ID" indicating the identification number of the signal data, and "use Contains data corresponding to the item "Number of times". For example, the abnormality determination related data is data that can specify that the "equipment name" is "PLC1", the "signal ID" is "0002", and the "number of times of use" is "3". Note that in order to control in this way, the gateway device 100 acquires and analyzes all the abnormality determination condition data stored in advance in the abnormality determination condition data storage unit 320 from the monitoring control server 300, and analyzes the abnormality determination related data. It needs to be generated and memorized.

優先度決定部130は、異常判定関連データ記憶部120が記憶している異常判定関連データに基づいて、メッセージ取得部110が取得したメッセージに含まれる信号データの優先度を決定する。優先度決定部130は、メッセージ取得部110が取得したメッセージに含まれる信号データについて、異常判定関連データが示す「使用回数」が多くなるに連れて決定する優先度を高くする。例えば、優先度決定部130は、図5に示す例であれば、「機器名」が「PLC1」、「信号ID」が「0002」、「使用回数」が「3」の信号データの優先度を、「機器名」が「PLC1」、「信号ID」が「0001」、「使用回数」が「2」の信号データの優先度よりも高くする。 The priority determination unit 130 determines the priority of the signal data included in the message acquired by the message acquisition unit 110 based on the abnormality determination related data stored in the abnormality determination related data storage unit 120. The priority determination unit 130 increases the priority determined for the signal data included in the message acquired by the message acquisition unit 110 as the “number of uses” indicated by the abnormality determination related data increases. For example, in the example shown in FIG. 5, the priority determining unit 130 determines the priority of signal data in which the "device name" is "PLC1", the "signal ID" is "0002", and the "number of times of use" is "3". is set higher than the priority of the signal data whose "device name" is "PLC1", "signal ID" is "0001", and "number of times of use" is "2".

メッセージ送信部140は、メッセージ取得部110が取得したメッセージを監視制御サーバ300に送信する。 The message transmitting unit 140 transmits the message acquired by the message acquiring unit 110 to the monitoring control server 300.

再送メッセージ記憶部150は、ネットワーク400に異常が発生して監視制御サーバ300へのメッセージの送信に失敗した場合、再送するメッセージとして、送信に失敗したメッセージとネットワーク400に異常が発生した後にメッセージ取得部110が取得した未送信のメッセージとを記憶する。なお、ゲートウェイ装置100は、ネットワーク400に異常が発生してメッセージの送信に失敗した場合、再送するメッセージを再送メッセージ記憶部150に記憶させ、その後に当該異常が解消すると、再送メッセージ記憶部150が記憶しているメッセージを送信する。 When an abnormality occurs in the network 400 and transmission of a message to the monitoring control server 300 fails, the retransmission message storage unit 150 stores, as messages to be retransmitted, the message that failed to be transmitted and the message obtained after the abnormality occurs in the network 400. The unsent messages acquired by the unit 110 are stored. Note that when an abnormality occurs in the network 400 and message transmission fails, the gateway device 100 stores the message to be retransmitted in the retransmitted message storage unit 150, and when the abnormality is resolved thereafter, the retransmitted message storage unit 150 stores the message to be retransmitted. Send a remembered message.

このとき、メッセージ送信部140は、優先度決定部130が決定した優先度が高い信号データを含むメッセージを優先度が低いメッセージよりも優先して監視制御サーバ300に送信する。具体的には、メッセージ送信部140は、優先度が高い順番、すなわち、異常判定関連データが示す「使用回数」が多い信号データを含むメッセージから順番にメッセージを送信する。例えば、メッセージ送信部140は、図5に示す例であれば、「使用回数」が「3」である「信号ID」が「0002」の信号データを含むメッセージを最も優先して送信する。また、メッセージ送信部140は、「使用回数」が「2」である「信号ID」が「0001」の信号データを含むメッセージを2番目に優先して送信する。また、メッセージ送信部140は、「使用回数」が「1」である「信号ID」が「0011」又は「0012」の信号データを3番目に優先して送信する。 At this time, the message transmitting section 140 transmits a message including signal data having a high priority determined by the priority determining section 130 to the supervisory control server 300, giving priority to a message having a low priority. Specifically, the message transmitting unit 140 transmits messages in order of priority, that is, messages including signal data with the highest "number of uses" indicated by the abnormality determination related data. For example, in the example shown in FIG. 5, the message transmitting unit 140 transmits a message containing signal data having a "number of uses" of "3" and a "signal ID" of "0002" with the highest priority. Furthermore, the message transmitting unit 140 transmits a message containing signal data having a "number of uses" of "2" and a "signal ID" of "0001" with second priority. Furthermore, the message transmitting unit 140 transmits signal data having a "number of uses" of "1" and a "signal ID" of "0011" or "0012" with third priority.

(実施の形態に係るメッセージ送信処理について)
次に、フローチャートを用いてゲートウェイ装置100が各機器211~214から取得したメッセージを監視制御サーバ300に送信する動作について説明する。ゲートウェイ装置100は、制御プログラム59を起動すると、図6に示すメッセージ送信処理の実行を開始する。先ず、ゲートウェイ装置100は、メッセージ取得部110に各機器211~214から出力された信号データを含むメッセージを取得させ(ステップS101)、メッセージ送信部140に取得したメッセージを監視制御サーバ300に送信させる(ステップS102)。メッセージの送信後、ゲートウェイ装置100は、ネットワークに異常が発生してメッセージの送信に失敗したか否かを判定する(ステップS103)。
(About message sending process according to embodiment)
Next, an operation in which the gateway device 100 transmits messages acquired from each of the devices 211 to 214 to the monitoring control server 300 will be described using a flowchart. When the gateway device 100 starts the control program 59, it starts executing the message sending process shown in FIG. First, the gateway device 100 causes the message acquisition unit 110 to acquire a message including signal data output from each device 211 to 214 (step S101), and causes the message transmission unit 140 to transmit the acquired message to the monitoring control server 300. (Step S102). After transmitting the message, the gateway device 100 determines whether an abnormality has occurred in the network and the message transmission has failed (step S103).

ゲートウェイ装置100は、ネットワークに異常が発生しておらずメッセージの送信に成功した場合(ステップS103;N)、ステップS101に戻り、ネットワークに異常が発生してメッセージの送信に失敗するまでステップS101~S103の処理を繰り返す。一方、ゲートウェイ装置100は、ネットワークに異常が発生してメッセージの送信に失敗した場合(ステップS103;Y)、再送メッセージ記憶部150に送信に失敗したメッセージを記憶させ(ステップS104)、ネットワークの異常が解消したか否かを判定する(ステップS105)。ゲートウェイ装置100は、ネットワークの異常が解消していない場合(ステップS105;N)、メッセージ取得部110にメッセージを取得させ(ステップS106)、再送メッセージ記憶部150に取得したメッセージを記憶させる(ステップS107)。 If the gateway device 100 succeeds in sending the message without any abnormality occurring in the network (step S103; N), the gateway device 100 returns to step S101, and continues from step S101 until an abnormality occurs in the network and sending the message fails. The process of S103 is repeated. On the other hand, if the gateway device 100 fails to send the message due to an abnormality in the network (step S103; Y), the gateway device 100 stores the message that failed to be sent in the retransmission message storage unit 150 (step S104), and It is determined whether or not the problem has been resolved (step S105). If the network abnormality has not been resolved (step S105; N), the gateway device 100 causes the message acquisition unit 110 to acquire the message (step S106), and stores the acquired message in the retransmission message storage unit 150 (step S107). ).

メッセージの記憶後、ゲートウェイ装置100は、ステップS105に戻り、ネットワークの異常が解消するまでステップS105~107の処理を繰り返す。一方、ゲートウェイ装置100は、ネットワークの異常が解消した場合(ステップS105;Y)、
メッセージ取得部110に優先度決定部130が決定した優先度が高い順番、すなわち、異常判定関連データ記憶部120が記憶している異常判定関連データが示す「使用回数」が多い信号データを含むメッセージから順番にメッセージを送信させ(ステップS108)、ステップS101に戻る。
After storing the message, the gateway device 100 returns to step S105 and repeats the processing of steps S105 to S107 until the network abnormality is resolved. On the other hand, if the network abnormality is resolved (step S105; Y), the gateway device 100
Messages containing signal data with a high priority determined by the priority determination unit 130, that is, signal data with a high number of uses indicated by the abnormality determination related data stored in the abnormality determination related data storage unit 120, are sent to the message acquisition unit 110 The messages are transmitted in order from the beginning (step S108), and the process returns to step S101.

以上説明したように、本実施の形態に係る監視制御システム1によれば、ゲートウェイ装置100は、監視対象となる各設備201、202に配置された各機器211~214から取得した信号データを含むメッセージを各設備201、202の監視及び制御を行う監視制御サーバ300にネットワーク400を介して送信する。 As explained above, according to the supervisory control system 1 according to the present embodiment, the gateway device 100 includes signal data acquired from each device 211 to 214 arranged in each facility 201 and 202 to be monitored. The message is sent via the network 400 to the monitoring and control server 300 that monitors and controls each of the facilities 201 and 202.

よって、監視制御サーバ300は、ゲートウェイ装置100から受信したメッセージに含まれる各機器211~214の信号データと異常判定条件データ記憶部320が記憶している異常判定条件データとに基づいて、各設備201、202の異常判定を行うことができる。 Therefore, the supervisory control server 300 controls each equipment based on the signal data of each of the devices 211 to 214 included in the message received from the gateway device 100 and the abnormality determination condition data stored in the abnormality determination condition data storage section 320. Abnormality determinations 201 and 202 can be performed.

ここで、例えば、監視制御サーバ300が信号データの一例として、第1機器211の2種類の信号データである第1信号データ及び第2信号データ、ならびに、第2機器212の1種類の信号データである第3信号データを用いて第1設備201の監視を行っている場合について考える。また、この場合において、異常判定条件データが示す異常判定条件式に基づく異常判定の条件が「第1信号データの値が10以上且つ第3データの値が5以下」であり、図7に示すように、監視制御サーバ300が各信号データを含むメッセージを「9:00」から「9:18」まで1秒毎に受信したとする。 Here, for example, the supervisory control server 300 uses first signal data and second signal data, which are two types of signal data of the first device 211, and one type of signal data of the second device 212, as examples of signal data. Consider a case where the first equipment 201 is monitored using the third signal data. In addition, in this case, the condition for abnormality determination based on the abnormality determination condition expression indicated by the abnormality determination condition data is "the value of the first signal data is 10 or more and the value of the third data is 5 or less", as shown in FIG. Assume that the supervisory control server 300 receives a message including each signal data every second from "9:00" to "9:18".

例えば、図7に示すように、監視制御サーバ300が第1設備201の異常判定に用いる第1信号データ及び第3信号データの各値は、「9:08」では「9」と「14」であり、「9:09」では「10」と「5」である。このため、監視制御サーバ300は、「9:09」に「第1信号データの値が10以上且つ第3データの値が5以下」との条件が成立したと判定し、第1設備201に異常が発生したと判定することができる。 For example, as shown in FIG. 7, the values of the first signal data and the third signal data used by the supervisory control server 300 to determine the abnormality of the first equipment 201 are "9" and "14" at "9:08". At "9:09", they are "10" and "5". Therefore, the supervisory control server 300 determines that the condition that "the value of the first signal data is 10 or more and the value of the third data is 5 or less" is satisfied at "9:09", and the It can be determined that an abnormality has occurred.

また、本実施の形態に係る監視制御システム1によれば、ゲートウェイ装置100では、メッセージ取得部110は、各機器211~214から信号データを含むメッセージを取得する。また、優先度決定部130は、異常判定関連データ記憶部120が記憶している異常判定関連データ、すなわち、監視制御サーバ300において各設備201、202の異常判定に用いられる信号データの種類に関するデータに基づいて、メッセージ取得部110が取得したメッセージに含まれる信号データの優先度を決定する。また、メッセージ送信部140は、メッセージ取得部110が取得したメッセージを監視制御サーバ300に送信する。そして、メッセージ送信部は、ネットワーク400に異常が発生した後に当該異常が解消した場合、優先度決定部130が決定した優先度が高い信号データを含むメッセージを優先度が低いメッセージよりも優先して監視制御サーバ300に送信する。 Further, according to the supervisory control system 1 according to the present embodiment, in the gateway device 100, the message acquisition unit 110 acquires messages including signal data from each of the devices 211 to 214. The priority determination unit 130 also stores abnormality determination-related data stored in the abnormality determination-related data storage unit 120, that is, data regarding the type of signal data used in the abnormality determination of each equipment 201, 202 in the monitoring control server 300. Based on this, the priority of the signal data included in the message acquired by the message acquisition unit 110 is determined. Additionally, the message transmitting unit 140 transmits the message acquired by the message acquiring unit 110 to the monitoring control server 300. If the abnormality is resolved after an abnormality occurs in the network 400, the message transmitting unit gives priority to a message containing signal data with a high priority determined by the priority determination unit 130 over a message with a low priority. The information is sent to the monitoring control server 300.

このようにすることで、本実施の形態に係る監視制御システム1は、監視制御サーバ300において各設備201、202の異常判定に用いられる信号データの種類に関するデータに基づいて信号データの優先度が決定されない特許文献1、2といった従来の監視制御システムよりもネットワークの異常の解消時における各設備201、202の異常判定の遅延を低減できる。 By doing so, the supervisory control system 1 according to the present embodiment sets the priority of signal data based on the data regarding the type of signal data used for abnormality determination of each equipment 201 and 202 in the supervisory control server 300. It is possible to reduce the delay in abnormality determination for each of the facilities 201 and 202 when a network abnormality is resolved, compared to conventional monitoring and control systems such as Patent Documents 1 and 2 in which the determination is not made.

ここで、例えば、従来の監視制御システムでは、監視制御サーバが上述した第1信号データ、第2信号データ及び第3信号データを用いて第1設備の監視を行っており、異常判定の条件が「第1信号データの値が10以上且つ第3データの値が5以下」である場合について考える。この場合において、図8に示すように、監視制御サーバがメッセージを「9:00」から「9:05」まで1秒毎に受信した後、「9:06」になる前から「9:11」になる前までの5秒以上に亘るネットワークの障害によってメッセージを受信不能となった後、当該障害から復旧して「9:11」から「9:18」までメッセージを1秒毎に受信したとする。また、この場合において、ゲートウェイ装置がネットワークの障害から復旧した後、送信に失敗した順番にメッセージの送信を再開するものとする。 Here, for example, in a conventional supervisory control system, the supervisory control server monitors the first equipment using the above-mentioned first signal data, second signal data, and third signal data, and the conditions for abnormality determination are Consider a case where "the value of the first signal data is 10 or more and the value of the third data is 5 or less". In this case, as shown in FIG. 8, after the supervisory control server receives the message every second from "9:00" to "9:05", it receives the message "9:11" from before "9:06". After being unable to receive messages due to a network failure for more than 5 seconds before ``9:11'' to ``9:18'' after recovering from the failure, messages were received every second from 9:11 to 9:18. shall be. Furthermore, in this case, after the gateway device recovers from the network failure, it is assumed that message transmission is resumed in the order in which transmission failed.

この場合、監視制御サーバが「9:11」から受信したメッセージには、図7に示すネットワーク障害が発生しなかった場合と比べて5秒遅れの信号データが含まれている。例えば、図8に示すように、監視制御サーバが第1設備の異常判定に用いる第1信号データ及び第3信号データの各値は、「9:13」では「9」と「14」であり、「9:14」では「10」と「5」である。このため、監視制御サーバは、ネットワークの障害によってメッセージが受信できなかった期間が5秒間であった場合、5秒遅れの「9:14」に「第1信号データの値が10以上且つ第3データの値が5以下」との条件が成立したと判定し、第1設備に異常が発生したと判定することになる。この結果、従来の監視制御システムでは、ネットワークの障害によってメッセージが受信できなかった期間がそのまま第1設備の異常判定が遅延した期間となっている。 In this case, the message received by the supervisory control server from "9:11" includes signal data that is delayed by 5 seconds compared to the case where the network failure shown in FIG. 7 did not occur. For example, as shown in FIG. 8, the values of the first signal data and the third signal data used by the supervisory control server to determine the abnormality of the first equipment are "9" and "14" at "9:13". , "10" and "5" at "9:14". For this reason, if the period during which a message could not be received due to a network failure is 5 seconds, the supervisory control server will issue a message at 9:14, 5 seconds later, with the message ``The first signal data value is 10 or more and the third signal data value is 10 or more, It is determined that the condition "data value is 5 or less" is satisfied, and it is determined that an abnormality has occurred in the first equipment. As a result, in the conventional supervisory control system, the period during which messages could not be received due to a network failure becomes the period during which abnormality determination of the first equipment is delayed.

これに対して、本実施の形態に係る監視制御システム1では、ゲートウェイ装置100がネットワーク400の障害から復旧した後、送信に失敗した各信号データのうち、第1設備201の異常判定に用いられる第1信号データを含むメッセージ及び第3信号データを含むメッセージを優先して送信を再開する。よって、監視制御サーバ300は、ネットワークの障害から復旧した「9:11」から「9:18」まで第2信号データを含むメッセージを受信しない分だけ当該障害によって受信不能であった第1信号データを含むメッセージ及び第3信号データを含むメッセージを速やかに受信することができる。 On the other hand, in the supervisory control system 1 according to the present embodiment, after the gateway device 100 recovers from the failure in the network 400, among the signal data that failed to be transmitted, the data is used to determine the abnormality of the first equipment 201. Transmission is restarted with priority given to the message containing the first signal data and the message containing the third signal data. Therefore, the supervisory control server 300 receives the first signal data that could not be received due to the failure by not receiving the message including the second signal data from "9:11" to "9:18" when the network was recovered from the failure. and the message including the third signal data can be promptly received.

例えば、図9に示すように、監視制御サーバ300が設備の異常判定に用いる第1信号データ及び第3信号データの各値は、「9:12」では「10」と「5」である。このため、監視制御サーバ300は、ネットワークの障害が5秒間であった場合、3秒遅れの「9:12」に「第1信号データの値が10以上且つ第3データの値が5以下」との条件が成立したと判定し、第1設備201に異常が発生したと判定することになる。よって、本実施の形態に係る監視制御システム1は、従来の監視制御システムよりも第1設備201の異常判定までの期間が2秒間短縮されている。この結果、本実施の形態に係る監視制御システム1は、従来の監視制御システムよりも各設備201、202の異常判定の遅延を低減できる。 For example, as shown in FIG. 9, the values of the first signal data and the third signal data used by the supervisory control server 300 to determine abnormality of the equipment are "10" and "5" at "9:12". Therefore, if the network failure lasts for 5 seconds, the supervisory control server 300 detects that "the value of the first signal data is 10 or more and the value of the third data is 5 or less" at 9:12, 3 seconds later. It is determined that the following conditions are satisfied, and it is determined that an abnormality has occurred in the first equipment 201. Therefore, in the supervisory control system 1 according to the present embodiment, the period until abnormality determination of the first equipment 201 is determined is shorter by 2 seconds than in the conventional supervisory control system. As a result, the supervisory control system 1 according to the present embodiment can reduce the delay in abnormality determination of each of the facilities 201 and 202 more than the conventional supervisory control system.

また、本実施の形態に係る監視制御システム1によれば、異常判定関連データは、監視制御サーバ300において各設備201、202の異常判定に用いられる異常判定条件式における信号データの種類毎の使用回数を示すデータである。そして、優先度決定部130は、メッセージ取得部110が取得したメッセージに含まれる信号データについて、異常判定関連データが示す使用回数が多くなるに連れて決定する前記優先度を高くする。 Further, according to the supervisory control system 1 according to the present embodiment, the abnormality determination related data is used for each type of signal data in the abnormality determination conditional expression used in the abnormality determination of each equipment 201 and 202 in the supervisory control server 300. This is data indicating the number of times. Then, the priority determination unit 130 increases the determined priority of the signal data included in the message acquired by the message acquisition unit 110 as the number of uses indicated by the abnormality determination related data increases.

このようにすることで、本実施の形態に係る監視制御システム1は、信号データの優先度が上述した使用回数が多くなるに連れて高くならない監視制御システムよりもネットワークの異常の解消時における設備の異常判定の遅延を低減できる。 By doing so, the supervisory control system 1 according to the present embodiment is able to improve the priority of the signal data at the time of resolving a network abnormality, compared to the supervisory control system in which the priority of signal data does not increase as the number of times of use increases. Delays in abnormality determination can be reduced.

ここで、特許文献1に開示された収集システムでは、ゲートウェイ装置は、データを取得したタイミングで自らが収集したデータにタイムスタンプを付与している。このため、特許文献1に開示された収集システムでは、例えば、本実施の形態のようにデータを収集する機器が複数存在する場合、各機器からデータを収集する度に当該データにタイムスタンプを付与すると、各機器が同一のタイミングで生成したデータに異なるタイムスタンプが付与される問題がある。この結果、特許文献1に開示されたシステムでは、データを収集する機器が複数存在する場合、各機器から収集したデータの時刻同期の精度が低くなり、監視制御装置が各機器の異常を検出しなかったり、誤って異常を検出したりする問題がある。 Here, in the collection system disclosed in Patent Document 1, the gateway device attaches a time stamp to the data it has collected at the timing when the data is acquired. Therefore, in the collection system disclosed in Patent Document 1, for example, when there are multiple devices that collect data as in this embodiment, a time stamp is added to the data each time data is collected from each device. Then, there is a problem that different timestamps are given to data generated by each device at the same timing. As a result, in the system disclosed in Patent Document 1, when there are multiple devices collecting data, the accuracy of time synchronization of the data collected from each device becomes low, and the monitoring and control device detects abnormalities in each device. There is a problem that there may be errors or errors may be detected incorrectly.

特に、特許文献1に開示された収集システムでは、本実施の形態のようにゲートウェイ装置がLANといったネットワークを介して各機器からデータを取得する場合、当該ネットワークのタイムラグによって各機器が同一のタイミングで生成したデータに付与されるタイムスタンプの時刻の誤差が大きくなる問題がある。この結果、特許文献1に開示されたシステムでは、ゲートウェイ装置がネットワークを介して各機器からデータを取得する場合、各機器から収集したデータの時刻同期の精度が更に低くなり、監視制御装置が各機器の異常の未検出、誤検出が増加する問題がある。 In particular, in the collection system disclosed in Patent Document 1, when the gateway device acquires data from each device via a network such as a LAN as in this embodiment, each device receives data at the same timing due to the time lag of the network. There is a problem in that the time error in the time stamp added to the generated data becomes large. As a result, in the system disclosed in Patent Document 1, when the gateway device acquires data from each device via the network, the accuracy of time synchronization of the data collected from each device becomes even lower, and the monitoring and control device There is a problem that the number of undetected and false detections of device abnormalities increases.

これに対して、本実施の形態に係る監視制御システムによれば、各機器211~214は、生成した信号データに日時データとしてのタイムスタンプを付与している。そして、ゲートウェイ装置100では、メッセージ取得部110は、各機器211~214からLAN500を介して特定の時刻を示すタイムスタンプが付与された特定信号データを含むメッセージを取得し、メッセージ送信部140は、特定信号データを含むメッセージを監視制御サーバ300に送信する。 In contrast, according to the supervisory control system according to the present embodiment, each of the devices 211 to 214 adds a time stamp as date and time data to the generated signal data. In the gateway device 100, the message acquisition unit 110 acquires a message including specific signal data to which a timestamp indicating a specific time is added from each device 211 to 214 via the LAN 500, and the message transmission unit 140 A message including specific signal data is sent to the supervisory control server 300.

このようにすることで、本実施の形態に係る監視制御システム1は、信号データを収集する機器211~214が複数存在する場合、各機器が生成した信号データに日時データを付与しない監視制御システムよりも各機器211~214から収集した信号データの時刻同期の精度が高くなり、監視制御サーバが各機器211~214の異常の未検出、誤検出を低減できる。 By doing so, the supervisory control system 1 according to the present embodiment is a supervisory control system that does not add date and time data to the signal data generated by each device when there are multiple devices 211 to 214 that collect signal data. The precision of time synchronization of the signal data collected from each device 211 to 214 is higher than that, and the monitoring control server can reduce undetected or false detection of abnormalities in each device 211 to 214.

(変更例)
なお、上記の実施の形態では、監視制御システム1は、監視制御サーバ300が生産拠点の遠隔地に設けられた遠隔監視制御システムとしたが、監視制御サーバ300が遠隔地に設けられていなくてもよく、例えば、生産現場に設けられていてもよい。この場合、例えば、生産現場の遠隔地に設けられた管理者のコンピュータ装置である管理装置がネットワーク400を介して監視制御サーバ300から各設備201、202の監視結果を示すデータを受信したり、監視制御サーバに各設備201、202を制御する旨の命令を示すデータを送信したりしてもよい。
(Example of change)
In the above embodiment, the supervisory control system 1 is a remote supervisory control system in which the supervisory control server 300 is provided at a remote location of the production base, but it is possible that the supervisory control server 300 is not located at a remote location. For example, it may be installed at a production site. In this case, for example, a management device, which is a computer device of a manager installed at a remote location of the production site, receives data indicating the monitoring results of each equipment 201 and 202 from the monitoring control server 300 via the network 400, Data indicating a command to control each of the facilities 201 and 202 may be transmitted to the monitoring control server.

なお、上記の実施の形態では、監視制御サーバ300は、各設備201、202の監視及び制御を行っているが、各設備201、202の異常判定を行う限りにおいてこれに限定されず、例えば、各設備201、202の監視のみを行ってもよい。 In the above embodiment, the monitoring control server 300 monitors and controls each of the equipment 201 and 202, but is not limited to this as long as it determines the abnormality of each equipment 201 and 202. For example, Only the respective facilities 201 and 202 may be monitored.

なお、上記の実施の形態では、ゲートウェイ装置100は、各機器211~214と別体としたが、各機器211~214から信号データを含むメッセージを取得可能である限りにおいてこれに限定されない。例えば、ゲートウェイ装置100は、第1機器211と一体であってもよい。具体的には、図10に示すように、第1機器211は、ゲートウェイ装置100の各部110~150を含み、第2機器212、第3機器213及び第4機器214から信号データを含むメッセージを取得可能としてもよい。 Note that in the above embodiment, the gateway device 100 is separate from each of the devices 211 to 214, but the gateway device 100 is not limited to this as long as it can acquire messages including signal data from each of the devices 211 to 214. For example, the gateway device 100 may be integrated with the first device 211. Specifically, as shown in FIG. 10, the first device 211 includes each section 110 to 150 of the gateway device 100, and receives messages including signal data from the second device 212, third device 213, and fourth device 214. It may be possible to obtain it.

なお、上記の実施の形態では、異常判定条件データは、各設備201、202が異常であるか否かを判定する条件式を示すデータとしたが、各設備201、202が異常であるか否かを判定可能な条件を示すデータである限りにおいて条件式を示すデータでなくてもよい。例えば、異常判定条件データは、各設備201、202が異常であるか否かを判定可能な条件の文章である条件文を示すデータであってもよい。 In the above embodiment, the abnormality determination condition data is data indicating a conditional expression for determining whether or not each of the equipment 201 and 202 is abnormal; The data does not have to be a conditional expression, as long as it is data that indicates a condition that allows determination of whether or not the condition is true. For example, the abnormality determination condition data may be data indicating a condition sentence that is a condition sentence that can determine whether or not each of the equipment 201 and 202 is abnormal.

なお、上記の実施の形態では、ゲートウェイ装置100は、ネットワーク400に異常が発生した場合、送信に失敗したメッセージと異常が発生した後に取得した未送信のメッセージとを再送メッセージ記憶部150に記憶したが、これに限定されない。例えば、ゲートウェイ装置100は、ネットワーク400の異常の発生の有無に関わらず、各機器211~214から取得した全てのメッセージを記憶してもよい。この場合、ゲートウェイ装置100は、ネットワーク400に異常が発生した場合、ネットワーク400に異常が発生した後に送信する目的で取得した全てのメッセージを特定し、当該異常が解消した後に、特定した全てのメッセージを監視制御サーバ300に送信する必要がある。 Note that in the above embodiment, when an abnormality occurs in the network 400, the gateway device 100 stores the message whose transmission failed and the unsent message acquired after the abnormality occurred in the retransmission message storage unit 150. However, it is not limited to this. For example, the gateway device 100 may store all messages obtained from each of the devices 211 to 214, regardless of whether an abnormality has occurred in the network 400. In this case, when an abnormality occurs in the network 400, the gateway device 100 identifies all messages acquired for the purpose of sending after the abnormality occurs in the network 400, and after the abnormality is resolved, all the identified messages needs to be sent to the monitoring control server 300.

なお、制御部51、主記憶部52、外部記憶部53、送受信部56、内部バス50を備えるゲートウェイ装置100が処理を行う中心となる部分は、例えば、前記の動作を実行するための制御プログラム59を、ゲートウェイ装置100が読み取り可能な記録媒体、例えば、フラッシュメモリに格納して配布し、制御プログラム59をインストールすることにより、上記の処理を実行するゲートウェイ装置100を構成してもよい。また、LAN500、インターネットといった通信ネットワーク上のサーバ装置が有する記憶装置に制御プログラム59を格納しておき、ゲートウェイ装置100が制御プログラム59をダウンロードすることでゲートウェイ装置100を構成してもよい。 Note that the main part that the gateway device 100, which includes the control section 51, the main storage section 52, the external storage section 53, the transmitting/receiving section 56, and the internal bus 50 performs processing, is, for example, a control program for executing the above operations. 59 may be stored and distributed in a recording medium readable by the gateway device 100, for example, a flash memory, and the gateway device 100 that executes the above processing may be configured by installing the control program 59. Alternatively, the control program 59 may be stored in a storage device of a server device on a communication network such as the LAN 500 or the Internet, and the gateway device 100 may configure the gateway device 100 by downloading the control program 59.

また、ゲートウェイ装置100の機能は、OS(Operating System)とアプリケーションプログラムの分担、又はOSとアプリケーションプログラムとの協働により実現する場合には、アプリケーションプログラム部分のみを記録媒体又は記憶装置に格納してもよい。 In addition, when the functions of the gateway device 100 are realized by sharing the OS (Operating System) and application programs, or by cooperating with the OS and application programs, only the application program portion is stored in a recording medium or storage device. Good too.

また、搬送波に制御プログラム59を重畳し、通信ネットワークを介して提供することも可能である。例えば、通信ネットワーク上の掲示板(BBS、Bulletin Board System)に制御プログラム59を掲示し、通信ネットワークを介して制御プログラム59を提供してもよい。そして、制御プログラム59を起動し、OSの制御下で、他のアプリケーションプログラムと同様に実行することにより、前記の処理を実行してもよい。 It is also possible to superimpose the control program 59 on a carrier wave and provide it via a communication network. For example, the control program 59 may be posted on a bulletin board system (BBS) on a communication network, and the control program 59 may be provided via the communication network. Then, the above processing may be executed by starting the control program 59 and executing it under the control of the OS in the same manner as other application programs.

本開示は、本開示の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本開示を説明するためのものであり、本開示の範囲を限定するものではない。つまり、本開示の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の開示の意義の範囲内で施される様々な変形が、本開示の範囲内とみなされる。 The present disclosure is capable of various embodiments and modifications without departing from the broad spirit and scope of the present disclosure. Further, the embodiments described above are for explaining the present disclosure, and do not limit the scope of the present disclosure. In other words, the scope of the present disclosure is indicated by the claims rather than the embodiments. Various modifications made within the scope of the claims and the meaning of the disclosure equivalent thereto are considered to be within the scope of the present disclosure.

1…監視制御システム、50…内部バス、51…制御部、52…主記憶部、53…外部記憶部、56…送受信部、59…制御プログラム、100…ゲートウェイ装置、110…メッセージ取得部、120…異常判定関連データ記憶部、130…優先度決定部、140…メッセージ送信部、150…再送メッセージ記憶部、200…設備、201…第1設備、202…第2設備、211…第1機器、212…第2機器、213…第3機器、214…第4機器、221…信号データ生成部、222…日時データ付与部、223…信号データ記憶部、224…メッセージ出力部、300…監視制御サーバ、310…メッセージ受信部、320…異常判定条件データ記憶部、330…異常判定部、400…ネットワーク、500…LAN。 DESCRIPTION OF SYMBOLS 1... Supervisory control system, 50... Internal bus, 51... Control section, 52... Main storage section, 53... External storage section, 56... Transmission/reception section, 59... Control program, 100... Gateway device, 110... Message acquisition section, 120 ...Abnormality determination related data storage unit, 130...Priority determination unit, 140...Message transmission unit, 150...Retransmission message storage unit, 200...Equipment, 201...First equipment, 202...Second equipment, 211...First equipment, 212...Second device, 213...Third device, 214...Fourth device, 221...Signal data generation section, 222...Date and time data adding section, 223...Signal data storage section, 224...Message output section, 300...Monitoring control server , 310...Message receiving unit, 320...Abnormality determination condition data storage unit, 330...Abnormality determination unit, 400...Network, 500...LAN.

Claims (7)

監視制御システムにおいて監視対象となる設備に配置された機器から取得した信号データを当該設備の監視を行う監視制御サーバにネットワークを介して送信するゲートウェイ装置を、
前記機器から前記信号データを含むメッセージを取得するメッセージ取得部、
前記監視制御サーバにおいて前記設備の異常判定に用いられる前記信号データの種類に関するデータである異常判定関連データに基づいて、前記メッセージ取得部が取得した前記メッセージに含まれる前記信号データの優先度を決定する優先度決定部、
前記メッセージ取得部が取得した前記メッセージを前記監視制御サーバに送信するメッセージ送信部であって、前記ネットワークに異常が発生した後に当該異常が解消した場合、前記優先度決定部が決定した前記優先度が高い前記信号データを含む前記メッセージを前記優先度が低い前記信号データを含む前記メッセージよりも優先して前記監視制御サーバに送信する前記メッセージ送信部、
として機能させ
前記異常判定関連データは、前記監視制御サーバにおいて前記設備の異常判定に用いられる異常判定条件における前記信号データの種類毎の使用回数を示すデータであり、
前記優先度決定部は、前記信号データについて、前記異常判定関連データが示す前記使用回数が多くなるに連れて決定する前記優先度を高くする、
制御プログラム。
A gateway device that transmits signal data acquired from equipment placed in equipment to be monitored in a supervisory control system to a supervisory control server that monitors the equipment via a network.
a message acquisition unit that acquires a message including the signal data from the device;
Determining the priority of the signal data included in the message acquired by the message acquisition unit based on abnormality determination related data that is data related to the type of signal data used for abnormality determination of the equipment in the monitoring control server. a priority determining unit to
a message transmitting unit that transmits the message acquired by the message acquiring unit to the monitoring control server, and when the abnormality is resolved after an abnormality occurs in the network, the priority determined by the priority determining unit; the message transmitting unit that transmits the message containing the signal data with a high priority to the supervisory control server with priority over the message containing the signal data with a low priority;
function as
The abnormality determination related data is data indicating the number of times each type of signal data is used under abnormality determination conditions used for abnormality determination of the equipment in the monitoring and control server,
The priority determining unit increases the determined priority of the signal data as the number of uses indicated by the abnormality determination related data increases.
control program.
前記使用回数は、前記異常判定条件が複数種類設定されている場合、使用されている前記異常判定条件の種類の数である、
請求項1に記載の制御プログラム。
The number of times of use is the number of types of the abnormality determination condition that are used when multiple types of the abnormality determination condition are set.
The control program according to claim 1.
前記機器は、前記信号データを生成した日時を示すデータである日時データを前記信号データに付与しており、
前記メッセージ取得部は、前記機器から特定の日時を示す日時データが付与された前記信号データである特定信号データを含む前記メッセージを取得可能であり、
前記メッセージ送信部は、前記特定信号データを含む前記メッセージを送信可能である、
請求項1又は2に記載の制御プログラム。
The device adds date and time data to the signal data, which is data indicating the date and time when the signal data was generated;
The message acquisition unit is capable of acquiring the message including specific signal data, which is the signal data to which date and time data indicating a specific date and time is attached, from the device;
The message transmitter is capable of transmitting the message including the specific signal data,
The control program according to claim 1 or 2.
前記ゲートウェイ装置と前記機器とが一体である。
請求項1に記載の制御プログラム。
The gateway device and the device are integrated.
The control program according to claim 1 .
ネットワークを介して監視対象となる設備の監視制御を行う監視制御サーバと、前記設備に配置された機器と、前記機器から信号データを取得して前記監視制御サーバに送信するゲートウェイ装置とを備える監視制御システムであって、
前記ゲートウェイ装置は、
前記機器から前記信号データを含むメッセージを取得するメッセージ取得部と、
前記監視制御サーバにおいて前記設備の異常判定に用いられる前記信号データの種類に関するデータである異常判定関連データを記憶する異常判定関連データ記憶部と、
前記異常判定関連データ記憶部が記憶している前記異常判定関連データに基づいて、前記メッセージ取得部が取得した前記メッセージに含まれる前記信号データの優先度を決定する優先度決定部と、
前記メッセージ取得部が取得した前記メッセージを前記監視制御サーバに送信するメッセージ送信部であって、前記ネットワークに異常が発生した後に当該異常が解消した場合、前記優先度決定部が決定した前記優先度が高い前記信号データを含む前記メッセージを前記優先度が低い前記信号データを含む前記メッセージよりも優先して前記監視制御サーバに送信する前記メッセージ送信部と、
を含
前記異常判定関連データは、前記監視制御サーバにおいて前記設備の異常判定に用いられる異常判定条件における前記信号データの種類毎の使用回数を示すデータであり、
前記優先度決定部は、前記信号データについて、前記異常判定関連データが示す前記使用回数が多くなるに連れて決定する前記優先度を高くする、
監視制御システム。
Monitoring comprising a supervisory control server that monitors and controls equipment to be monitored via a network, equipment placed in the equipment, and a gateway device that acquires signal data from the equipment and sends it to the supervisory control server. A control system,
The gateway device includes:
a message acquisition unit that acquires a message including the signal data from the device;
an abnormality determination related data storage unit that stores abnormality determination related data that is data regarding the type of the signal data used in the abnormality determination of the equipment in the monitoring control server;
a priority determination unit that determines the priority of the signal data included in the message acquired by the message acquisition unit based on the abnormality determination related data stored in the abnormality determination related data storage unit;
a message transmitting unit that transmits the message acquired by the message acquiring unit to the monitoring control server, and when the abnormality is resolved after an abnormality occurs in the network, the priority determined by the priority determining unit; the message transmitting unit that transmits the message including the signal data with a high priority to the supervisory control server with priority over the message including the signal data with a low priority;
including ;
The abnormality determination related data is data indicating the number of times each type of signal data is used under abnormality determination conditions used for abnormality determination of the equipment in the monitoring and control server,
The priority determining unit increases the determined priority of the signal data as the number of uses indicated by the abnormality determination related data increases.
Supervisory control system.
監視制御システムにおいて監視対象となる設備に配置された機器から取得した信号データを当該設備の監視を行う監視制御サーバにネットワークを介して送信するゲートウェイ装置であって、
前記機器から前記信号データを含むメッセージを取得するメッセージ取得部と、
前記監視制御サーバにおいて前記設備の異常判定に用いられる前記信号データの種類に関するデータである異常判定関連データを記憶する異常判定関連データ記憶部と、
前記異常判定関連データ記憶部が記憶している前記異常判定関連データに基づいて、前記メッセージ取得部が取得した前記メッセージに含まれる前記信号データの優先度を決定する優先度決定部と、
前記メッセージ取得部が取得した前記メッセージを前記監視制御サーバに送信するメッセージ送信部であって、前記ネットワークに異常が発生した後に当該異常が解消した場合、前記優先度決定部が決定した前記優先度が高い前記信号データを含む前記メッセージを前記優先度が低い前記信号データを含む前記メッセージよりも優先して前記監視制御サーバに送信する前記メッセージ送信部と、
を備え
前記異常判定関連データは、前記監視制御サーバにおいて前記設備の異常判定に用いられる異常判定条件における前記信号データの種類毎の使用回数を示すデータであり、
前記優先度決定部は、前記信号データについて、前記異常判定関連データが示す前記使用回数が多くなるに連れて決定する前記優先度を高くする、
ゲートウェイ装置。
A gateway device that transmits signal data acquired from equipment placed in equipment to be monitored in a supervisory control system to a supervisory control server that monitors the equipment via a network,
a message acquisition unit that acquires a message including the signal data from the device;
an abnormality determination related data storage unit that stores abnormality determination related data that is data regarding the type of the signal data used in the abnormality determination of the equipment in the monitoring control server;
a priority determination unit that determines the priority of the signal data included in the message acquired by the message acquisition unit based on the abnormality determination related data stored in the abnormality determination related data storage unit;
a message transmitting unit that transmits the message acquired by the message acquiring unit to the monitoring control server, and when the abnormality is resolved after an abnormality occurs in the network, the priority determined by the priority determining unit; the message transmitting unit that transmits the message including the signal data with a high priority to the supervisory control server with priority over the message including the signal data with a low priority;
Equipped with
The abnormality determination related data is data indicating the number of times each type of signal data is used under abnormality determination conditions used for abnormality determination of the equipment in the monitoring and control server,
The priority determining unit increases the determined priority of the signal data as the number of uses indicated by the abnormality determination related data increases.
Gateway device.
監視制御システムにおいて監視対象となる設備に配置された機器から取得した信号データを当該設備の監視を行う監視制御サーバにネットワークを介して送信するゲートウェイ装置の制御方法であって、
前記ゲートウェイ装置が、前記機器から前記信号データを含むメッセージを取得するメッセージ取得ステップと、
前記ゲートウェイ装置が、前記監視制御サーバにおいて前記設備の異常判定に用いられる前記信号データの種類に関するデータである異常判定関連データに基づいて、前記メッセージ取得ステップにおいて取得した前記メッセージに含まれる前記信号データの優先度を決定する優先度決定ステップと、
前記ゲートウェイ装置が、前記メッセージ取得ステップにおいて取得した前記メッセージを前記監視制御サーバに送信するメッセージ送信ステップと、
を含み、
前記メッセージ送信ステップにおいて、前記ゲートウェイ装置が、前記ネットワークに異常が発生した後に当該異常が解消した場合、前記優先度決定ステップにおいて決定した前記優先度が高い前記信号データを含む前記メッセージを前記優先度が低い前記信号データを含む前記メッセージよりも優先して前記監視制御サーバに送信
前記異常判定関連データは、前記監視制御サーバにおいて前記設備の異常判定に用いられる異常判定条件における前記信号データの種類毎の使用回数を示すデータであり、
前記優先度決定ステップにおいて、前記ゲートウェイ装置が、前記信号データについて、前記異常判定関連データが示す前記使用回数が多くなるに連れて決定する前記優先度を高くする、
制御方法。
A method for controlling a gateway device, the method comprising: transmitting signal data acquired from equipment placed in equipment to be monitored in a supervisory control system to a supervisory control server that monitors the equipment via a network;
a message acquisition step in which the gateway device acquires a message including the signal data from the device;
The signal data included in the message acquired in the message acquisition step by the gateway device based on abnormality determination related data that is data regarding the type of signal data used in the monitoring and control server to determine an abnormality of the equipment. a priority determination step for determining the priority of the
a message sending step in which the gateway device sends the message obtained in the message obtaining step to the monitoring control server;
including;
In the message sending step, if the abnormality is resolved after an abnormality occurs in the network, the gateway device assigns the message containing the signal data having the high priority determined in the priority determining step to the priority. transmitting the message to the supervisory control server with priority over the message containing the signal data with a low
The abnormality determination related data is data indicating the number of times each type of signal data is used under abnormality determination conditions used for abnormality determination of the equipment in the monitoring control server,
In the priority determining step, the gateway device increases the determined priority for the signal data as the number of uses indicated by the abnormality determination related data increases.
Control method.
JP2023564131A 2023-04-24 2023-04-24 Control program, supervisory control system, gateway device and control method Active JP7442751B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023016037 2023-04-24

Publications (1)

Publication Number Publication Date
JP7442751B1 true JP7442751B1 (en) 2024-03-04

Family

ID=90096846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023564131A Active JP7442751B1 (en) 2023-04-24 2023-04-24 Control program, supervisory control system, gateway device and control method

Country Status (1)

Country Link
JP (1) JP7442751B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018110286A (en) 2016-12-28 2018-07-12 富士ゼロックス株式会社 Information processing device and program
JP2020162063A (en) 2019-03-27 2020-10-01 三菱電機株式会社 Gateway device and message transmission processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018110286A (en) 2016-12-28 2018-07-12 富士ゼロックス株式会社 Information processing device and program
JP2020162063A (en) 2019-03-27 2020-10-01 三菱電機株式会社 Gateway device and message transmission processing method

Similar Documents

Publication Publication Date Title
CN113238913B (en) Intelligent pushing method, device, equipment and storage medium for server faults
US10972313B2 (en) Relay device
CN107451268B (en) Real-time database-oriented method for continuous transmission in disconnected network
WO2016183967A1 (en) Failure alarm method and apparatus for key component, and big data management system
WO2008137127A1 (en) Diagnostic and trouble-shooting methods in a wireless control and sensor network
JP5420112B2 (en) Network analysis support device, network test device, network analysis support method, network test method, network analysis support program, and network test program
CN106233666B (en) Method and device for diagnosing transmission faults in a network according to the OPC UA standard
US8307120B2 (en) Resource information managing device, system, method, and program
CN106487852B (en) Method, device, terminal equipment and system for realizing client file synchronization
JP6836692B1 (en) Data collection management device and data collection system
JP7442751B1 (en) Control program, supervisory control system, gateway device and control method
CN113055203B (en) Method and device for recovering exception of SDN control plane
EP2495660A1 (en) Information processing device and method for controlling information processing device
KR101207944B1 (en) Lossless method of sequence of event for plant
JP4888465B2 (en) Message management system, monitoring target device, monitoring device, message management method and program thereof
JP2009025971A (en) Information processor and log data collection system
JP5136200B2 (en) Logging system
CN108243070B (en) test methods, control node and pressure node
JP2011192201A (en) Remote maintenance system and remote maintenance method
JP2005141466A (en) Computer monitoring device and message processing method for processing message about computer to be monitored
JP2007272328A (en) Computer system
JP2005018152A (en) Control/monitoring system
CN115934428B (en) Main disaster recovery and backup switching method and device of MYSQL database and electronic equipment
JP2007299270A (en) Information management system, method and program
WO2022168196A1 (en) Maintenance system, information processing device, maintenance method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231019

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231019

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20231019

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240123

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240220

R150 Certificate of patent or registration of utility model

Ref document number: 7442751

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150