JP2021022071A - SCADA web HMI server device - Google Patents
SCADA web HMI server device Download PDFInfo
- Publication number
- JP2021022071A JP2021022071A JP2019137202A JP2019137202A JP2021022071A JP 2021022071 A JP2021022071 A JP 2021022071A JP 2019137202 A JP2019137202 A JP 2019137202A JP 2019137202 A JP2019137202 A JP 2019137202A JP 2021022071 A JP2021022071 A JP 2021022071A
- Authority
- JP
- Japan
- Prior art keywords
- name
- screen
- hmi
- plc signal
- browser
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 claims abstract description 60
- 230000008569 process Effects 0.000 claims abstract description 59
- 239000000284 extract Substances 0.000 claims abstract description 17
- 238000000605 extraction Methods 0.000 claims abstract description 16
- 230000008859 change Effects 0.000 claims description 65
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 abstract description 32
- 101100190617 Arabidopsis thaliana PLC2 gene Proteins 0.000 abstract description 7
- 101100408456 Arabidopsis thaliana PLC8 gene Proteins 0.000 abstract description 7
- 101100464304 Caenorhabditis elegans plk-3 gene Proteins 0.000 abstract description 7
- 101100093534 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RPS1B gene Proteins 0.000 abstract description 7
- 238000012544 monitoring process Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 101100285426 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) HMI1 gene Proteins 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 101100520231 Caenorhabditis elegans plc-3 gene Proteins 0.000 description 1
- 229910000831 Steel Inorganic materials 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000004043 responsiveness Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 239000010865 sewage Substances 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33139—Design of industrial communication system with expert system
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Programmable Controllers (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
この発明は、ウェブブラウザ上でSCADA HMIを動作させるためのSCADAウェブHMIサーバ装置に関する。 The present invention relates to a SCADA web HMI server device for operating a SCADA HMI on a web browser.
SCADA(Supervisory Control And Data Acquisition)は、社会インフラシステムを監視制御する仕組みとして知られている。社会インフラシステムは、鉄鋼圧延システム、電力送変電システム、上下水道処理システム、ビル管理システム、道路システムなどである。 SCADA (Supervision Control And Data Acquisition) is known as a mechanism for monitoring and controlling a social infrastructure system. Social infrastructure systems include steel rolling systems, power transmission and transformation systems, water and sewage treatment systems, building management systems, and road systems.
SCADAは、産業制御システムの一種であり、コンピュータによるシステム監視とプロセス制御を行う。SCADAでは、システムの処理性能に合わせた即応性(リアルタイム性)が必要である。 SCADA is a type of industrial control system that performs system monitoring and process control by computer. In SCADA, responsiveness (real-time property) that matches the processing performance of the system is required.
SCADAは一般に次のようなサブシステムから構成される。
(1)HMI(Human Machine Interface)
HMIは、対象プロセス(監視対象装置)のデータをオペレータに提示し、オペレータがプロセスを監視し制御できるようにする機構である。例えば特許文献1には、SCADAクライアント上で動作するHMI画面を備えるSCADA HMIが開示されている。
(2)監視制御システム
監視制御システムは、プロセス上の信号データを収集し、プロセスに対して制御コマンドを送る。PLC(Programable Logic Controller)などによって構成される。
(3)遠方入出力装置(Remote Input Output:RIO)
遠方入出力装置は、プロセス内に設置されたセンサと接続し、センサの信号をデジタルのデータに変換し、そのデジタルデータを監視制御システムに送る。
(4)通信基盤
通信基盤は、監視制御システムと遠方入出力装置を接続する。
SCADA is generally composed of the following subsystems.
(1) HMI (Human Machine Interface)
The HMI is a mechanism that presents the data of the target process (monitored device) to the operator so that the operator can monitor and control the process. For example,
(2) Monitoring and control system The monitoring and control system collects signal data on the process and sends control commands to the process. It is composed of PLC (Programmable Logical Controller) and the like.
(3) Remote input / output device (Remote Input Output: RIO)
The remote I / O device connects to a sensor installed in the process, converts the sensor signal into digital data, and sends the digital data to the monitoring and control system.
(4) Communication infrastructure The communication infrastructure connects the monitoring control system and the remote input / output device.
特許文献1におけるSCADAクライアントは、監視制御ロジックを実行可能な高性能なコンピュータで動作する。また、SCADAクライアントを複数設置する場合には、SCADAクライアント数分の高性能なコンピュータを用意する必要があり、かつ、個別に監視制御ロジックを実装する必要がある。また、SCADAクライアントをマルチモニタ構成にする場合にも、モニタに表示されるHMI画面毎に監視制御ロジックを実装する必要がある。そのため、SCADA HMIの低コスト化が望まれている。
The SCADA client in
SCADA HMIの低コスト化を実現するため、本願発明者は、ブラウザベースのHMIサブシステムを開発するに至った。サーバで監視制御ロジックを実行するウェブアプリケーション化により、クライアント端末(ウェブ端末)では、個別の監視制御ロジックを実装する必要がない。クライアント端末は、サーバで処理された監視制御ロジックの結果をウェブブラウザ上で表示するだけで足りる。そのため、クライアント端末は、ウェブブラウザが動作する程度のスペックの低いコンピュータで足りる。例えば、タブレットなどの携帯端末でもシステムの監視と制御が可能になる。これによれば、複数のクライアント端末がサーバに接続する構成を低コストで実現できる。なお、監視制御ロジックを含まないウェブ端末はシンクライアントと称される。 In order to reduce the cost of SCADA HMI, the inventor of the present application has developed a browser-based HMI subsystem. By creating a web application that executes monitoring and control logic on the server, it is not necessary to implement individual monitoring and control logic on the client terminal (web terminal). The client terminal only needs to display the result of the monitoring control logic processed by the server on the web browser. Therefore, the client terminal need only be a computer with low specifications for operating a web browser. For example, mobile terminals such as tablets can also monitor and control the system. According to this, a configuration in which a plurality of client terminals are connected to the server can be realized at low cost. A web terminal that does not include monitoring and control logic is called a thin client.
しかしながら、プラント監視においては数万点におよぶPLC信号を高速に処理し、HMI画面に反映させる必要がある。そのため、ブラウザベースのHMIサブシステムの高速化が望まれる。 However, in plant monitoring, it is necessary to process tens of thousands of PLC signals at high speed and reflect them on the HMI screen. Therefore, it is desired to speed up the browser-based HMI subsystem.
この発明は、上述の課題を解決するためになされた。この発明の目的は、データ処理量を低減して信号処理を高速化したSCADAウェブHMIサーバ装置を提供することである。 The present invention has been made to solve the above-mentioned problems. An object of the present invention is to provide a SCADA web HMI server device that reduces the amount of data processing and speeds up signal processing.
上記目的の達成のため、本発明に係るSCADAウェブHMIサーバ装置は以下のように構成される。 In order to achieve the above object, the SCADA web HMI server device according to the present invention is configured as follows.
SCADAウェブHMIサーバ装置は、ヒューマンマシンインターフェース(HMI)端末と、プログラマブルロジックコントローラ(PLC)とに接続する。HMI端末は、プラントの状態を表示するパーツが配置されたHMI画面を表示するウェブブラウザを少なくとも一つ実行する。前記SCADAウェブHMIサーバ装置は、前記PLCから受信したPLC信号に応じて前記パーツの状態を更新するための更新データを送信する。 The SCADA Web HMI server device connects to a human-machine interface (HMI) terminal and a programmable logic controller (PLC). The HMI terminal executes at least one web browser that displays an HMI screen on which parts that display the state of the plant are arranged. The SCADA web HMI server device transmits update data for updating the state of the part in response to the PLC signal received from the PLC.
前記SCADAウェブHMIサーバ装置は、少なくとも一つのプロセッサと、プログラムを記憶するメモリとを備える。前記プログラムは、前記少なくとも一つのプロセッサにより実行されることで、前記少なくとも一つのプロセッサに、以下の処理を含む処理を実行させる。 The SCADA web HMI server device includes at least one processor and a memory for storing a program. The program is executed by the at least one processor to cause the at least one processor to execute a process including the following processes.
画面情報管理処理は、前記HMI画面の画面名と、前記HMI画面に配置された前記パーツのパーツ名と、前記パーツの状態を変化させる前記PLC信号のPLC信号名と、を関連付けた画面情報を管理する。 The screen information management process obtains screen information in which the screen name of the HMI screen, the part name of the part arranged on the HMI screen, and the PLC signal name of the PLC signal that changes the state of the part are associated with each other. to manage.
ブラウザ情報管理処理は、実行中ウェブブラウザのブラウザ名と、前記実行中ウェブブラウザに表示されている前記HMI画面の前記画面名とを関連付けたブラウザ情報を管理する。 The browser information management process manages browser information associated with the browser name of the running web browser and the screen name of the HMI screen displayed on the running web browser.
変化PLC信号抽出処理は、前記PLCから複数のPLC信号を受信し、前記複数のPLC信号のうち変化があったPLC信号の変化PLC信号名と変化PLC信号値を抽出する。 The change PLC signal extraction process receives a plurality of PLC signals from the PLC, and extracts a change PLC signal name and a change PLC signal value of the changed PLC signal among the plurality of PLC signals.
ブラウザ表示更新処理は、前記画面情報から前記変化PLC信号名と同じPLC信号名に関連付いた前記画面名と前記パーツ名を抽出し、前記ブラウザ情報から前記抽出された画面名に関連付いたブラウザ名を抽出し、前記抽出されたブラウザ名に対応する前記実行中ウェブブラウザへ前記抽出されたパーツ名と前記変化PLC信号値とを含む前記更新データを送信する。 The browser display update process extracts the screen name and the part name associated with the same PLC signal name as the changed PLC signal name from the screen information, and the browser associated with the extracted screen name from the browser information. The name is extracted, and the update data including the extracted part name and the changed PLC signal value is transmitted to the running web browser corresponding to the extracted browser name.
1つの好ましい態様では、前記画面情報管理処理は、第1画面デバイスリストと第2画面デバイスリストと派生デバイスリストとを読み込む。前記第1画面デバイスリストは、第1HMI画面の第1画面名と、前記第1HMI画面に配置される第1パーツの第1パーツ名と、前記第1パーツの状態を変化させるPLC信号の第1PLC信号名とを関連付けた情報である。前記第2画面デバイスリストは、少なくとも第2HMI画面の第2画面名と、前記第2HMI画面に配置される第2パーツの第2パーツ名とを関連付けた情報である。派生デバイスリストは、前記第2パーツ名と、前記第2パーツの状態に影響する前記第1パーツの前記第1パーツ名とを関連付けた情報である。 In one preferred embodiment, the screen information management process reads the first screen device list, the second screen device list, and the derived device list. The first screen device list includes the first screen name of the first HMI screen, the first part name of the first part arranged on the first HMI screen, and the first PLC of the PLC signal that changes the state of the first part. Information associated with the signal name. The second screen device list is information that associates at least the second screen name of the second HMI screen with the second part name of the second part arranged on the second HMI screen. The derived device list is information in which the second part name is associated with the first part name of the first part that affects the state of the second part.
さらに、前記画面情報管理処理は、これらのデバイスリストを読み込んで、前記画面情報に、第1画面情報と第2画面情報と追加画面情報を加える。前記第1画面情報は、前記第1画面名と前記第1パーツ名と前記第1PLC信号名とを関連付けた情報である。前記第2画面情報は、少なくとも前記第2画面名と前記第2パーツ名を関連付けた情報である。追加画面情報は、前記第2画面名と、前記派生デバイスリストを介して前記第2パーツ名にリンクする前記第1パーツ名と、前記第1パーツ名に関連付いた前記第1画面デバイスリストの前記第1PLC信号名と、を関連付けた情報である。 Further, the screen information management process reads these device lists and adds the first screen information, the second screen information, and the additional screen information to the screen information. The first screen information is information in which the first screen name, the first part name, and the first PLC signal name are associated with each other. The second screen information is information in which at least the second screen name and the second part name are associated with each other. The additional screen information includes the second screen name, the first part name linked to the second part name via the derived device list, and the first screen device list associated with the first part name. This is information associated with the first PLC signal name.
さらに、前記ブラウザ表示更新処理は、前記変化PLC信号名が前記第1PLC信号名と同じである場合に、前記第2HMI画面を表示している実行中ウェブブラウザへ前記第1パーツ名と前記変化PLC信号値とを含む前記更新データを送信する。 Further, in the browser display update process, when the change PLC signal name is the same as the first PLC signal name, the first part name and the change PLC are sent to the executing web browser displaying the second HMI screen. The update data including the signal value is transmitted.
さらに、前記第2HMI画面を表示している前記実行中ウェブブラウザは、前記第1パーツの状態を変化させる前記第1PLC信号の前記変化PLC信号値を含む前記更新データを受信する。そして、前記実行中ウェブブラウザは、前記第1PLC信号の前記変化PLC信号値を、前記第2パーツの状態変化について予め定めたスクリプトに入力し、前記スクリプトの演算結果に基づいて、前記第2パーツの状態を変化させる。 Further, the running web browser displaying the second HMI screen receives the update data including the change PLC signal value of the first PLC signal that changes the state of the first part. Then, the executing web browser inputs the change PLC signal value of the first PLC signal into a script predetermined for the state change of the second part, and based on the calculation result of the script, the second part Change the state of.
本発明によれば、SCADAウェブHMIサーバ装置は、変化があったPLC信号に対応するパーツが配置されたHMI画面を表示している実行中ウェブブラウザにのみ更新データを送信する。すなわち、HMIサーバ装置10は、受信したPLC信号のうち変化があったPLC信号のみを対象として信号処理を行えばよい。そのため、データ処理量を大幅に軽減できる。また、更新データは、HMI端末単位ではなく、ウェブブラウザ単位で送信される。そのため、1つのHMI端末上で複数のウェブブラウザが実行される場合に、更新データは、更新データに関係するパーツが配置されたHMI画面を表示している実行中ウェブブラウザへのみ送信される。その結果、更新データと関係のないウェブブラウザでは処理されずHMI端末のデータ処理量を軽減できる。
According to the present invention, the SCADA web HMI server device transmits update data only to the running web browser displaying the HMI screen on which the parts corresponding to the changed PLC signal are arranged. That is, the
本発明によれば、HMIサブシステムのウェブアプリケーション化による低コスト化と共に、データ処理量の軽減による高速化を実現することができる。 According to the present invention, it is possible to realize high speed by reducing the amount of data processing as well as cost reduction by making the HMI subsystem a web application.
以下、図面を参照して本発明の実施の形態について詳細に説明する。但し、以下に示す実施の形態において各要素の個数、数量、量、範囲等の数に言及した場合、特に明示した場合や原理的に明らかにその数に特定される場合を除いて、その言及した数にこの発明が限定されるものではない。また、以下に示す実施の形態において説明する構造等は、特に明示した場合や明らかに原理的にそれに特定される場合を除いて、この発明に必ずしも必須のものではない。尚、各図において共通する要素には、同一の符号を付して重複する説明を省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. However, when the number, quantity, quantity, range, etc. of each element is referred to in the embodiment shown below, the reference is made unless otherwise specified or clearly specified by the number in principle. The present invention is not limited to the number of the inventions. In addition, the structures and the like described in the embodiments shown below are not necessarily essential to the present invention unless otherwise specified or clearly specified in principle. The elements common to each figure are designated by the same reference numerals, and duplicate description will be omitted.
実施の形態1.
<全体構成>
図1は、SCADAのシステム構成を説明するための図である。SCADAは、ヒューマンマシンインターフェース(HMI)1、監視制御システムとしてのプログラマブルロジックコントローラ(PLC)2、通信基盤としての通信装置3、RIO4をサブシステムとして備える。SCADAは、PLC2またはRIO4を介して監視対象装置5に接続する。
<Overall configuration>
FIG. 1 is a diagram for explaining a system configuration of SCADA. SCADA includes a human-machine interface (HMI) 1, a programmable logic controller (PLC) 2 as a monitoring and control system, a
PLC2(監視制御システム)、通信装置3(通信基盤)、RIO4に関する説明は、背景技術で述べた通りであるため省略する。監視対象装置5は、監視制御対象のプラントを構成するセンサ、アクチュエータなどである。
The description of PLC2 (monitoring control system), communication device 3 (communication infrastructure), and RIO4 will be omitted because they are as described in the background technology. The monitored
HMI1(SCADAウェブHMIシステム)は、SCADAウェブHMIサーバ装置10(以下、HMIサーバ装置10と記す。)と、少なくとも一つのHMI端末20とを備える。
The HMI 1 (SCADA Web HMI system) includes a SCADA Web HMI server device 10 (hereinafter referred to as an HMI server device 10) and at least one
HMIサーバ装置10は、コンピュータネットワークを介してPLC2に接続する。HMIサーバ装置10は、コンピュータネットワークを介してHMI端末20に接続する。HMIサーバ装置10は、複数のHMI端末20に接続してもよい。各HMI端末を区別する必要がない場合には単にHMI端末20と記す。
The
HMI端末20は、監視制御ロジックを含まないシンクライアントであり、ウェブブラウザ21を少なくとも一つ実行する。ウェブブラウザ21は、プラントの状態を表示するパーツが配置されたHMI画面を表示する。具体的には、HMI端末20は、少なくとも1つのモニタ(図8のディスプレイ20e)を備える。1つのモニタに1つのウェブブラウザ21がフルスクリーンで表示される。HMI端末20が複数のモニタを有する場合、各モニタにウェブブラウザ21がフルスクリーンで表示される。すなわち、HMI端末20は、複数のウェブブラウザ21を実行する。
The
HMIサーバ装置10は、HMIサーバアプリケーション11を実行する。HMIサーバアプリケーション11は、HMI端末20と通信するウェブサーバ機能およびPLC2と通信するI/Oサーバ機能(アプリケーションサーバ機能)を備える。HMI端末20は、ウェブブラウザ21を実行する。実行環境であるHMI1は、ウェブブラウザ21上で動作するスクリプト(たとえばJavaScript(登録商標))と、HMIサーバアプリケーション11とが協調するウェブアプリケーションとして動作する。
The
HMIサーバ装置10は、PLC2から受信したPLC信号に応じて、パーツの状態を更新するための更新データをウェブブラウザ21へ送信する。HMIサーバ装置10は、ウェブブラウザ21から制御コマンドを受信してPLC2へ送信する。
The
<SCADAウェブHMIサーバ装置>
図2および図3に示す例を参照して、実施の形態1におけるHMIサーバ装置10で動作するHMIサーバアプリケーション11の特徴的処理について説明する。
<SCADA Web HMI server device>
The characteristic processing of the
図2では、HMIサーバ装置10は、HMI端末A(20A)と、HMI端末B(20B)とに接続する。HMI端末Aは、第1モニタと第2モニタを備える。HMI端末Bは、第3モニタを備える。第1モニタには、ブラウザA1(21a1)がフルスクリーンで表示される。第2モニタには、ブラウザA2(21a2)がフルスクリーンで表示される。第3モニタには、ブラウザB1(21b1)がフルスクリーンで表示される。図2では、ブラウザA1はHMI画面G1を表示し、ブラウザA2はHMI画面G2を表示し、ブラウザB1はHMI画面G3を表示しているが、各ウェブブラウザが表示するHMI画面は、オペレータの操作により自由に変更することができる。各ウェブブラウザを区別する必要がない場合には単にウェブブラウザ21と記す。
In FIG. 2, the
HMIサーバ装置10は、後述する図8に示すように、少なくとも一つのプロセッサ10aと、プログラムを記憶する10bと、を備える。プログラムは、プロセッサ10aにより実行されることで、プロセッサ10aに、以下の各処理を含む処理を実行させる。
The
HMIサーバアプリケーション11は、その開始時に、ウェブブラウザ21と通信するための通信オブジェクトと、PLCと通信するための通信オブジェクトとを生成する。
At the start of the
また、HMIサーバアプリケーション11は、その開始時に、パーツが配置されたHMI画面の画面データ31と、デバイスリスト32とを読み込む。
Further, at the start of the
画面データ31は、HMI画面毎に定義されたベクターデータである。一例として、ベクターデータは、Scalable Vector Graphics(SVG)フォーマットのデータである。SVGデータは、SVGエレメントの属性として、HMI画面に配置されたパーツのパーツ名、形、位置、色、大きさを含む。なお、画面データ31のファイル名には画面名が含まれる。
The
デバイスリスト32は、HMI画面毎に定義されたデータである。一例として、このデータは、Comma−Separated Values(CSV)フォーマットのデータである。デバイスリスト32は、フィールドとしてパーツ名(アイテム名)、タイプ、コメント、出力PLCID、PLCアドレス、通信アドレスを含む(図3)。パーツ名は、例えば画面名と画面内のデバイス番号とを組み合わせた名称である。さらにパーツ種別を組み合わせた名称であってもよい。各パーツ名は、HMI1において固有の名称である。なお、デバイスリスト32のファイル名には画面名が含まれる。
The
また、HMIサーバアプリケーション11は、読み込んだ画面データ31とデバイスリスト32とに基づいて、HMI画面毎のコンテンツを生成する。コンテンツは、SVGデータ、画面情報を含む。HMIサーバアプリケーション11は、ウェブブラウザ21から要求されたHMI画面に対応するコンテンツを、ウェブブラウザ21へ送信する。ウェブブラウザ21は、コンテンツを受信してHMI画面を表示する。
Further, the
HMIサーバアプリケーション11は、PLC2から受信したPLC信号をPLC信号状態情報17に記憶する。PLC信号状態情報17には、受信したPLC信号のPLC信号名とPLC信号値とを関連付けた情報が記憶される。PLC信号名は、例えば図3の出力PLCIDとPLCアドレスを組み合わせた名称である。各PLC信号名は、HMI1において固有の名称である。
The
画面情報管理処理12は、HMI画面の画面名と、当該HMI画面に配置されたパーツのパーツ名と、当該パーツの状態を変化させるPLC信号のPLC信号名と、を関連付けた画面情報13を管理する。
The screen
画面情報13は、HMI画面毎に定義されたデバイスリスト32に基づいて生成される。図3には、デバイスリスト32の一例として、HMI画面G1のG1デバイスリスト32a、HMI画面G2のG2デバイスリスト32b、HMI画面G3のG3デバイスリスト32cが記載されている。図3には、これらのデバイスリストに基づいて生成された画面情報13が記載されている。
The
ブラウザ情報管理処理14は、実行中ウェブブラウザ21のブラウザ名と、実行中ウェブブラウザ21に表示されているHMI画面の画面名と、を関連付けたブラウザ情報15を管理する。すなわち、表示されているHMI画面は、HMI端末単位ではなく、ブラウザ単位(モニター単位)で管理される。ブラウザ名は、HMI端末名とモニタ番号(ブラウザ番号)とを組み合わせた名称である。各ブラウザ名は、HMI1において固有の名称である。
The browser
図2では、ブラウザ情報管理処理14は、ブラウザ情報15として、実行中ウェブブラウザ21a1のブラウザ名(A1)と画面名(G1)とを関連付けた情報と、実行中ウェブブラウザ21a2のブラウザ名(A2)と画面名(G2)とを関連付けた情報と、実行中ウェブブラウザ21b1のブラウザ名(B1)と画面名(G3)とを関連付けた情報とを管理する。
In FIG. 2, in the browser
ブラウザ情報15は、例えば、ウェブブラウザ21の起動時、ウェブブラウザ21の終了時、およびウェブブラウザ21に表示されているHMI画面が他HMI画面へ遷移した時に更新される。
The
変化PLC信号抽出処理16は、PLC2から複数のPLC信号を受信し、複数のPLC信号のうち変化があったPLC信号の信号名(変化PLC信号名)と信号値(変化PLC信号値)を抽出する。
The change PLC
具体的には、変化PLC信号抽出処理16は、PLC信号状態情報17に記憶された各PLC信号の値(前回値)と、今回受信した各PLC信号の値(今回値)とを比較して、変化があったかを判定する。変化があった場合には、変化PLC信号抽出処理16は、変化があったPLC信号の信号名(変化PLC信号名)と信号値(変化PLC信号値)を抽出する。
Specifically, the change PLC
ブラウザ表示更新処理18は、画面情報13から、変化PLC信号抽出処理16により抽出された変化PLC信号名と同じPLC信号名に関連付いた画面名とパーツ名を抽出する。
The browser
さらに、ブラウザ表示更新処理18は、ブラウザ情報15から、抽出された画面名に関連付いたブラウザ名を抽出する。
Further, the browser
さらに、ブラウザ表示更新処理18は、抽出されたブラウザ名に対応する実行中ウェブブラウザ21へ、抽出されたパーツ名と抽出された変化PLC信号値とを含む更新データを送信する。
Further, the browser
ブラウザ表示更新処理18によれば、送信される更新データは、変更があったPLC信号ついてのデータのみである。そのため、データ量は極めて小さい。また、更新データは、変更があったPLC信号に対応するパーツが配置されたHMI画面を表示している実行中ウェブブラウザ21に限定して送信される。そのため、更新データは、更新不要なウェブブラウザには送信されない。
According to the browser
<HMI端末>
ブラウザ表示更新処理18により送信先として指定された実行中ウェブブラウザ21は、更新データを受信する。ウェブブラウザ21は、更新データに含まれるパーツ名に対応するパーツの状態(数値、色、形、位置)を、変化PLC信号値に応じて変化させる。
<HMI terminal>
The running
HMI端末20で複数のウェブブラウザが動作している場合に、更新データは、更新データに関係するパーツが配置されたHMI画面を表示しているウェブブラウザ21でのみ処理される。そのため、更新データと関係のないウェブブラウザ21では処理されずHMI端末20のデータ処理量を減らせる。データ処理量の軽減により、HMI端末20は、ウェブブラウザ21が動作する程度のスペックの低いコンピュータで足りる。例えば、タブレットなどの携帯端末でもシステムの監視と制御が可能になる。
When a plurality of web browsers are operating on the
<信号処理の流れ>
図4に示す例を参照して、実施の形態1における信号処理の流れについて説明する。
図4は、PLC2からのPLC信号P1_1に応じて、ブラウザA1の画面G1に配置されているパーツG1_1の状態を更新する処理について説明するための図である。なお、P1_1は、図3のG1デバイスリスト32aにおける出力PLCID(P1)とPLCアドレス(1)とを組み合わせた名称である。
<Flow of signal processing>
The flow of signal processing in the first embodiment will be described with reference to the example shown in FIG.
FIG. 4 is a diagram for explaining a process of updating the state of the parts G1_1 arranged on the screen G1 of the browser A1 in response to the PLC signal P1_1 from the PLC2. Note that P1_1 is a name that combines the output PLCID (P1) and the PLC address (1) in the
ステップS1において、変化PLC信号抽出処理16は、PLC2から複数のPLC信号(P1_1、P2_1、P3_1)を受信する。
In step S1, the change PLC
ステップS2において、変化PLC信号抽出処理16は、PLC信号状態情報17に記憶された各PLC信号の値(前回値)と、今回受信した各PLC信号の値(今回値)とを比較して、変化があったかを判定する。変化があった場合は、変化PLC信号抽出処理16は、変化があったPLC信号の変化PLC信号名と変化PLC信号値を抽出する。図4の例では、変化があったPLC信号はP1_1である。
In step S2, the change PLC
ステップS3において、HMIサーバアプリケーション11は、PLC信号状態情報17に記憶されているPLC信号名(P1_1)に対応するPLC信号値を今回値で更新する。
In step S3, the
ステップS4において、ブラウザ表示更新処理18は、画面情報13から、抽出された変化PLC信号名と同じPLC信号名(P1_1)に関連付いた画面名(G1)とパーツ名(G1_1)を抽出する。
In step S4, the browser
ステップS5において、ブラウザ表示更新処理18は、ブラウザ情報15から、抽出された画面名(G1)に関連付いたブラウザ名(A1)を抽出する。
In step S5, the browser
ステップS6において、ブラウザ表示更新処理18は、抽出されたブラウザ名(A1)に対応する実行中ウェブブラウザと通信する通信オブジェクトへ、抽出されたパーツ名(G1_1)と抽出された変化PLC信号値とを含む更新データを送信する。
In step S6, the browser
ステップS7において、更新データは、通信オブジェクトを介して、ブラウザA1へ送信される。 In step S7, the update data is transmitted to the browser A1 via the communication object.
その後、ブラウザA1は、更新データを受信して、変化PLC信号値に応じてパーツG1_1の状態を変化させる。例えば、パーツG1_1の表示色が変化する。 After that, the browser A1 receives the update data and changes the state of the parts G1_1 according to the change PLC signal value. For example, the display color of the part G1_1 changes.
以上説明したように、実施の形態1におけるHMIサーバ装置10は、変化があったPLC信号に対応するパーツが配置されたHMI画面を表示している実行中ウェブブラウザ21にのみ更新データを送信する。すなわち、HMIサーバ装置10は、受信したPLC信号のうち変化があったPLC信号のみを対象として信号処理を行えばよい。そのため、データ処理量を大幅に軽減できる。また、更新データは、HMI端末単位ではなく、ウェブブラウザ単位で送信される。そのため、1つのHMI端末上で複数のウェブブラウザ21が実行される場合に、更新データは、更新データに関係するパーツが配置されたHMI画面を表示している実行中ウェブブラウザ21へのみ送信される。その結果、更新データと関係のないウェブブラウザ21では処理されずHMI端末20のデータ処理量を軽減できる
As described above, the
ところで、ウェブブラウザ21が起動した時とウェブブラウザ21のHMI画面が遷移した時の処理は、次の通りである。まず、ウェブブラウザ21が起動した時またはウェブブラウザ21のHMI画面が遷移した時、そのブラウザ(例えば21a1)から、HMIサーバアプリケーション11に新たにオープンしたHMI画面の情報が送られ、それに基づき、HMIサーバアプリケーション11はブラウザ情報15を更新する。次に、HMIサーバアプリケーション11は、画面情報13を利用して、そのHMI画面で必要なPLC信号を抽出する。次に、HMIサーバアプリケーション11は、そのHMI画面で必要なPLC信号の値をPLC信号状態情報17から取得して、当該ブラウザに送信する。
By the way, the processing when the
実施の形態2.
次に、図5乃至図7に示す例を参照して、本発明の実施の形態2について説明する。
上述した実施の形態1におけるHMIサーバ装置10は、変化があったPLC信号に関連付いたパーツが表示されているウェブブラウザ21にのみ更新データを送信する処理を実行する。この処理には、上述した画面情報13が必要である。画面情報13は、HMI画面毎に定義されたデバイスリスト32に基づいて生成される。デバイスリスト32は、HMI画面の画面名と、当該HMI画面に配置されたパーツのパーツ名(アイテム名)と、当該パーツの状態を直接的に変化させるPLC信号のPLC信号名と、を関連付けた情報である。原則として、デバイスリスト32に定義される固有のパーツ名には、固有のPLC信号名が関連付けられる。
Next, a second embodiment of the present invention will be described with reference to the examples shown in FIGS. 5 to 7.
The
ところで、あるHMI画面に配置されたパーツの状態が、他のHMI画面に配置されたパーツの状態の影響を受けるケースがある。例えば、第1HMI画面に配置された第1パーツに対応する第1PLC信号の信号値が特定条件を満たす場合に、第2HMI画面に配置された第2パーツの使用状態をdisable(無効)からenable(有効)へ変更するケースがある。このような処理は、パーツ操作の安全性を高める安全処理として重要である。 By the way, there are cases where the state of parts arranged on a certain HMI screen is affected by the state of parts arranged on another HMI screen. For example, when the signal value of the first PLC signal corresponding to the first part arranged on the first HMI screen satisfies a specific condition, the usage state of the second part arranged on the second HMI screen is changed from disable to enable ( There is a case to change to (valid). Such processing is important as a safety processing that enhances the safety of parts operation.
このケースでは、第2HMI画面に第2パーツは配置されているが、第1パーツは配置されていない。そのため、第1パーツが配置されていない第2HMI画面のデバイスリストは、第1パーツ名と第1PLC信号名とを関連付けた情報を含まない。また、第1PLC信号に直接的に関係するのは第1パーツであり、第2パーツは間接的に関係するに過ぎない。そのため、第2HMI画面のデバイスリストは、第2パーツ名と第1PLC信号名とを関連付けた情報を含まない。よって、第2パーツが配置された第2HMI画面が表示されているウェブブラウザには、第1パーツに関する更新データは送信されない。したがって、実施の形態1で説明した高速化のための構成によれば、上述のような安全処理を実現できないという課題があった。 In this case, the second part is arranged on the second HMI screen, but the first part is not arranged. Therefore, the device list on the second HMI screen on which the first part is not arranged does not include the information associated with the first part name and the first PLC signal name. Further, it is the first part that is directly related to the first PLC signal, and the second part is only indirectly related. Therefore, the device list on the second HMI screen does not include the information associated with the second part name and the first PLC signal name. Therefore, the update data related to the first part is not transmitted to the web browser on which the second HMI screen on which the second part is arranged is displayed. Therefore, according to the configuration for speeding up described in the first embodiment, there is a problem that the above-mentioned safety processing cannot be realized.
実施の形態2では、このようなケースにも対応できるように派生デバイスリストを導入することとした。 In the second embodiment, the derivative device list is introduced so as to deal with such a case.
<SCADAウェブHMIサーバ装置>
図5および図6に示す例を参照して、実施の形態2におけるHMIサーバ装置10で動作するHMIサーバアプリケーション11の特徴的処理について説明する。
<SCADA Web HMI server device>
The characteristic processing of the
図5に示す構成は、派生デバイスリスト33が追加されている点、および、画面情報管理処理12に替えて画面情報管理処理12aを備える点を除き、図2の構成と同様である。
The configuration shown in FIG. 5 is the same as the configuration shown in FIG. 2 except that the derived
画面情報管理処理12aは、HMI画面の画面名と、当該HMI画面に配置されたパーツのパーツ名と、当該パーツの状態を変化させるPLC信号のPLC信号名と、を関連付けた画面情報13を管理する。PLC信号名は、例えば図6の出力PLCIDとPLCアドレスを組み合わせた名称である。各PLC信号名は、HMI1において固有の名称である。
The screen information management process 12a manages the
画面情報13は、画面毎に定義されたデバイスリスト32と派生デバイスリスト33とに基づいて生成される。図6には、デバイスリスト32の一例として、HMI画面G1のG1デバイスリスト32a、HMI画面G2のG2デバイスリスト32b、HMI画面G4のG4デバイスリスト32d、および派生デバイスリスト33が記載されている。図6には、これらのデバイスリスト32と派生デバイスリスト33とに基づいて生成された画面情報13が記載されている。
The
図6に示す例を参照して、デバイスリスト32と派生デバイスリスト33とに基づいて画面情報13を生成する方法について説明する。
A method of generating
まず、画面情報管理処理12aは、第1画面デバイスリスト(G1デバイスリスト32a、G2デバイスリスト32b)と第2画面デバイスリスト(G4デバイスリスト32d)と派生デバイスリスト33とを読み込む。
First, the screen information management process 12a reads the first screen device list (
第1画面デバイスリストは、第1HMI画面の第1画面名と、第1HMI画面に配置される第1パーツの第1パーツ名と、第1パーツの状態を変化させる第1PLC信号の第1PLC信号名とを関連付けた情報で構成される。例えば、図6のG1デバイスリスト32aは、第1画面名(G1)と、第1パーツ名(G1_1)と、第1PLC信号名(P1_1)とを関連付けた情報を含む。ここで、第1PLC信号名は、出力PLCIDとPLCアドレスを組み合わせた名称に相当する。
The first screen device list includes the first screen name of the first HMI screen, the first part name of the first part arranged on the first HMI screen, and the first PLC signal name of the first PLC signal that changes the state of the first part. Consists of information associated with. For example, the
第2画面デバイスリストは、少なくとも第2HMI画面の第2画面名と、第2HMI画面に配置される第2パーツの第2パーツ名とを関連付けた情報で構成される。好ましくは、第2画面デバイスリストは、第1画面デバイスリストと同様に、第2HMI画面の第2画面名と、第2HMI画面に配置される第2パーツの第2パーツ名と、第2パーツの状態を変化させる第2PLC信号の第2PLC信号名とを関連付けた情報で構成される。ここで、第2PLC信号名は、出力PLCIDとPLCアドレスを組み合わせた名称に相当する。 The second screen device list is composed of information associating at least the second screen name of the second HMI screen with the second part name of the second part arranged on the second HMI screen. Preferably, the second screen device list includes the second screen name of the second HMI screen, the second part name of the second part arranged on the second HMI screen, and the second part, similarly to the first screen device list. It is composed of information associated with the second PLC signal name of the second PLC signal that changes the state. Here, the second PLC signal name corresponds to a name that is a combination of the output PLCID and the PLC address.
例えば、図6のG4デバイスリスト32dは、第2画面名(G4)と、第2パーツ名(G4_1)と、第2PLC信号名(P4_1)とを関連付けた情報を含む。ここで、第2PLC信号名は、出力PLCIDとPLCアドレスを組み合わせた名称に相当する。
For example, the
派生デバイスリスト33は、1のデバイスリスト32の情報と他のデバイスリスト32の情報とをリンクするリンク情報である。派生デバイスリスト33は、第2パーツ名と、第2パーツの状態に影響する第1パーツの第1パーツ名とを関連付けた情報である。このようなパーツ同士をリンクする情報は、第2画面デバイスリストには含まれない。図6の例では、派生デバイスリスト33は、第2パーツ名(G4_1)と、第1パーツ名(G1_1)とを関連付けた情報を含む。なお、派生デバイスリスト33のファイル名には画面名が含まれる。
The derived
画面情報管理処理12aは、これらのデバイスリスト32と派生デバイスリスト33とを読み込むことにより、画面情報13に、第1画面情報と第2画面情報と追加画面情報を加える。
The screen information management process 12a adds the first screen information, the second screen information, and the additional screen information to the
第1画面情報は、上述した第1画面名と第1パーツ名と第1PLC信号名とを関連付けた情報である。 The first screen information is information in which the above-mentioned first screen name, the first part name, and the first PLC signal name are associated with each other.
第2画面情報は、少なくとも上述した第2画面名と第2パーツ名とを関連付けた情報である。好ましくは、第2画面情報は、第1画面情報と同様に、上述した第2画面名と第2パーツ名と第2PLC信号名とを関連付けた情報である。 The second screen information is information that at least associates the above-mentioned second screen name with the second part name. Preferably, the second screen information is information in which the above-mentioned second screen name, the second part name, and the second PLC signal name are associated with each other, similarly to the first screen information.
追加画面情報は、第2画面デバイスリストに定めた第2画面名と、派生デバイスリスト33を介してこの第2パーツ名にリンクする第1パーツ名と、第1パーツ名に関連付いた第1画面デバイスリストの第1PLC信号名と、を関連付けた情報である。図6では、画面情報13は、G4デバイスリスト32dの第2画面名(G4)と、派生デバイスリスト33を介して第2パーツ名(G4_1)にリンクする第1パーツ名(G1_1)と、第1パーツ名(G1_1)に関連付いたG1デバイスリスト32aの第1PLC信号名(P1_1)と、を関連付けた追加画面情報を含む。
The additional screen information includes the second screen name defined in the second screen device list, the first part name linked to the second part name via the derived
このように、画面情報管理処理12aは、派生デバイスリスト33を用いて、第2HMI画面(G4)の第2パーツ(G4_1)の状態に影響する第1パーツ(G1_1)の情報を第1画面デバイスリスト(G1デバイスリスト32a)からコピーする。
As described above, the screen information management process 12a uses the derived
ブラウザ表示更新処理18は、画面情報13から、変化PLC信号抽出処理16により抽出された変化PLC信号名と同じPLC信号名に関連付いた画面名とパーツ名を抽出する。
The browser
さらに、ブラウザ表示更新処理18は、ブラウザ情報15から、抽出された画面名に関連付いたブラウザ名を抽出する。
Further, the browser
さらに、ブラウザ表示更新処理18は、抽出されたブラウザ名に対応する実行中ウェブブラウザへ、抽出されたパーツ名と抽出された変化PLC信号値とを含む更新データを送信する。
Further, the browser
このような処理によれば、ブラウザ表示更新処理18は、変化PLC信号名が第1PLC信号名(P1_1)と同じである場合に、第2HMI画面(G4)を表示している実行中ウェブブラウザ(B1)へ第1パーツ名(G1_1)と変化PLC信号値とを含む更新データを送信する。
According to such a process, the browser
<HMI端末>
第2HMI画面(G4)を表示している実行中ウェブブラウザ(B1)は、第1パーツ(P1_1)の状態を変化させる第1PLC信号(P1_1)の変化PLC信号値を含む更新データを受信する。そして、実行中ウェブブラウザ(B1)は、第1PLC信号(P1_1)の変化PLC信号値を、第2パーツ(G4_1)の状態変化について予め定めたスクリプトに入力し、このスクリプトの演算結果に基づいて、第2パーツ(G4_1)の状態を変化させる。
<HMI terminal>
The running web browser (B1) displaying the second HMI screen (G4) receives the update data including the change PLC signal value of the first PLC signal (P1_1) that changes the state of the first part (P1_1). Then, the executing web browser (B1) inputs the change PLC signal value of the first PLC signal (P1_1) into a script predetermined for the state change of the second part (G4_1), and based on the calculation result of this script. , Change the state of the second part (G4_1).
例えば、第2パーツ(G4_1)のスクリプトは、第1PLC信号(P1_1)の変化PLC信号値が特定のブラウザ名を示す値であり、その値と実行中ウェブブラウザ(G4)のブラウザ名が一致する場合に、第2パーツ(G4_1)の使用状態をdisable(無効)からenable(有効)へ変化させるプログラムである。 For example, in the script of the second part (G4_1), the change PLC signal value of the first PLC signal (P1-1) is a value indicating a specific browser name, and the value matches the browser name of the running web browser (G4). In this case, it is a program that changes the usage state of the second part (G4_1) from disable (disabled) to enable (enabled).
実行中ウェブブラウザ(A1)については実施の形態1と同様であるため説明は省略する。 Since the running web browser (A1) is the same as that of the first embodiment, the description thereof will be omitted.
<信号処理の流れ>
図7に示す例を参照して、実施の形態2における信号処理の流れについて説明する。
図7は、PLC2からのPLC信号P1_1に応じて、ブラウザA1の画面G1に配置されているパーツG1_1の状態を更新すると共に、ブラウザB1の画面G4に配置されているパーツG4_1の使用状態を更新する処理について説明するための図である。なお、画面G1に配置されたパーツG1_1とパーツG1_2は、いずれか1つのみを選択可能なボタンであり、パーツG1_1が選択された状態であるものとする。
<Flow of signal processing>
The flow of signal processing in the second embodiment will be described with reference to the example shown in FIG.
FIG. 7 updates the state of the parts G1_1 arranged on the screen G1 of the browser A1 and the usage state of the parts G4_1 arranged on the screen G4 of the browser B1 according to the PLC signal P1-11 from the PLC2. It is a figure for demonstrating the process to perform. It is assumed that the parts G1_1 and the parts G1-2 arranged on the screen G1 are buttons on which only one of the parts G1_1 and the parts G1-2 can be selected, and that the parts G1_1 are selected.
ステップS1において、変化PLC信号抽出処理16は、PLC2から複数のPLC信号(P1_1、P2_1、P3_1)を受信する。
In step S1, the change PLC
ステップS2において、変化PLC信号抽出処理16は、PLC信号状態情報17に記憶された各PLC信号の値(前回値)と、今回受信した各PLC信号の値(今回値)とを比較して、変化があったかを判定する。変化があった場合は、変化PLC信号抽出処理16は、変化があったPLC信号の変化PLC信号名と変化PLC信号値を抽出する。図7の例では、変化があったPLC信号はP1_1である。
In step S2, the change PLC
ステップS3において、HMIサーバアプリケーション11は、PLC信号状態情報17に記憶されているPLC信号名(P1_1)に対応するPLC信号値を今回値で更新する。
In step S3, the
ステップS4において、ブラウザ表示更新処理18は、画面情報13から、抽出された変化PLC信号名と同じPLC信号名(P1_1)に関連付いた画面名(G1、G4)とパーツ名(G1_1、G1_1)を抽出する。
In step S4, the browser
ステップS5において、ブラウザ表示更新処理18は、ブラウザ情報15から、抽出された画面名(G1、G4)に関連付いたブラウザ名(A1、B1)を抽出する。
In step S5, the browser
ステップS6において、ブラウザ表示更新処理18は、抽出されたブラウザ名(A1)に対応する実行中ウェブブラウザと通信する通信オブジェクトへ、抽出されたパーツ名(G1_1)と抽出された変化PLC信号値とを含む更新データを送信する。
In step S6, the browser
ステップS7において、更新データは、通信オブジェクトを介して、実行中ウェブブラウザA1へ送信される。 In step S7, the update data is transmitted to the running web browser A1 via the communication object.
その後、ブラウザA1は、更新データを受信して、変化PLC信号値に応じてパーツG1_1の状態を変化させる。例えば、パーツG1_1の表示色が変化する。 After that, the browser A1 receives the update data and changes the state of the parts G1_1 according to the change PLC signal value. For example, the display color of the part G1_1 changes.
また、ステップS5の処理後、ステップS8において、ブラウザ表示更新処理18は、抽出されたブラウザ名(B1)に対応する実行中ウェブブラウザと通信する通信オブジェクトへ、抽出されたパーツ名(G1_1)と抽出された変化PLC信号値とを含む更新データを送信する。
Further, after the processing of step S5, in step S8, the browser
ステップS9において、更新データは、通信オブジェクトを介して、実行中ウェブブラウザ(B1)へ送信される。 In step S9, the update data is transmitted to the running web browser (B1) via the communication object.
その後、第2HMI画面(G4)を表示している実行中ウェブブラウザ(B1)は、第1パーツ(P1_1)の状態を変化させる第1PLC信号(P1_1)の変化PLC信号値を含む更新データを受信する。 After that, the running web browser (B1) displaying the second HMI screen (G4) receives the update data including the change PLC signal value of the first PLC signal (P1_1) that changes the state of the first part (P1_1). To do.
そして、実行中ウェブブラウザ(B1)は、第1PLC信号(P1_1)の変化PLC信号値を、第2パーツ(G4_1)の状態変化について予め定めたスクリプトに入力する。このスクリプトは、第1PLC信号(P1_1)の変化PLC信号値がブラウザ名(B1)を示す値であり、その値と実行中ウェブブラウザ(B1)のブラウザ名が一致する場合に、第2パーツ(G4_1)の使用状態をdisable(無効)からenable(有効)へ変化させるプログラムである。 Then, the executing web browser (B1) inputs the change PLC signal value of the first PLC signal (P1_1) into a script predetermined for the state change of the second part (G4_1). In this script, when the change PLC signal value of the first PLC signal (P1_1) is a value indicating the browser name (B1) and the value matches the browser name of the running web browser (B1), the second part ( It is a program that changes the usage state of G4-1) from disable to enable.
実行中ウェブブラウザ(B1)は、変化PLC信号値を入力値としたスクリプトの演算結果に基づいて、第2パーツ(G4_1)の状態を変化させる。図7の例では、ロック解除条件が成立し、第2パーツ(G4_1)の使用状態はdisable(無効)からenable(有効)へ変化する。 The executing web browser (B1) changes the state of the second part (G4_1) based on the calculation result of the script using the changed PLC signal value as the input value. In the example of FIG. 7, the unlock condition is satisfied, and the usage state of the second part (G4_1) changes from disable to enable.
以上説明したように、実施の形態2におけるHMIサーバ装置10およびHMI端末20によれば、あるHMI画面内のパーツの状態を他の画面内のパーツの状態に応じて変更することができる。そのため、実施の形態2のシステムによれば、実施の形態1で説明した高速化のための構成を採用しつつ、上述のような安全処理を実現することができる。また、派生デバイスリスト33を用いることで、リンクされたデバイスリストの情報をコピーして画面情報に追加できるので、設計作業を効率化できる。
As described above, according to the
<ハードウェア構成例>
図8は、HMIサーバ装置10およびHMI端末20のハードウェア構成例を示すブロック図である。
<Hardware configuration example>
FIG. 8 is a block diagram showing a hardware configuration example of the
上述したHMIサーバ装置10の各処理は、処理回路により実現される。処理回路は、プロセッサ10aと、メモリ10bと、ネットワークインタフェース10cとが接続して構成されている。プロセッサ10aは、メモリ10bに記憶された各種プログラムを実行することにより、HMIサーバ装置10の各機能を実現する。ネットワークインタフェース10cは、コンピュータネットワークを介してPLC2およびHMI端末20と接続し、PLC信号および制御コマンドを送受信可能なデバイスである。
Each process of the
上述したHMI端末20の各処理は、処理回路により実現される。処理回路は、プロセッサ20aと、メモリ20bと、ネットワークインタフェース20cと、入力インタフェース20dと、少なくとも一つのディスプレイ20eとが接続して構成されている。プロセッサ20aは、メモリ20bに記憶された各種プログラムを実行することにより、HMI端末20の各機能を実現する。ネットワークインタフェース20cは、HMIサーバ装置10に接続し、PLC信号および制御コマンドを送受信可能なデバイスである。入力インタフェース20dは、キーボード、マウス、タッチパネル等の入力デバイスである。ディスプレイ20eは複数台設けられてもよい。なお、HMI端末20は、タブレット等の携帯端末であってもよい。
Each process of the
以上、本発明の実施の形態について説明したが、本発明は、上記の実施の形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で種々変形して実施することができる。 Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and can be variously modified and implemented without departing from the spirit of the present invention.
1 HMI
2 PLC
3 通信装置
4 RIO
5 監視対象装置
10 HMIサーバ装置
10a プロセッサ
10b メモリ
10c ネットワークインタフェース
11 HMIサーバアプリケーション
12、12a 画面情報管理処理
13 画面情報
14 ブラウザ情報管理処理
15 ブラウザ情報
16 変化PLC信号抽出処理
17 PLC信号状態情報
18 ブラウザ表示更新処理
20、20A、20B HMI端末
20a プロセッサ
20b メモリ
20c ネットワークインタフェース
20d 入力インタフェース
20e ディスプレイ
21、21a1、21a2、21b1 ウェブブラウザ
31 画面データ
32、32a、32b、32c、32d デバイスリスト
33 派生デバイスリスト
1 HMI
2 PLC
3
5
Claims (3)
少なくとも一つのプロセッサと、
プログラムを記憶するメモリと、を備え、
前記プログラムは、前記少なくとも一つのプロセッサにより実行されることで、前記少なくとも一つのプロセッサに、
前記HMI画面の画面名と、前記HMI画面に配置された前記パーツのパーツ名と、前記パーツの状態を変化させる前記PLC信号のPLC信号名と、を関連付けた画面情報を管理する画面情報管理処理と、
実行中ウェブブラウザのブラウザ名と、前記実行中ウェブブラウザに表示されている前記HMI画面の前記画面名とを関連付けたブラウザ情報を管理するブラウザ情報管理処理と、
前記PLCから複数のPLC信号を受信し、前記複数のPLC信号のうち変化があったPLC信号の変化PLC信号名と変化PLC信号値を抽出する変化PLC信号抽出処理と、
前記画面情報から前記変化PLC信号名と同じPLC信号名に関連付いた前記画面名と前記パーツ名を抽出し、前記ブラウザ情報から前記抽出された画面名に関連付いた前記ブラウザ名を抽出し、前記抽出されたブラウザ名に対応する前記実行中ウェブブラウザへ前記抽出されたパーツ名と前記変化PLC信号値とを含む前記更新データを送信するブラウザ表示更新処理と、を含む処理を実行させる
ことを特徴とするSCADAウェブHMIサーバ装置。 A PLC that connects to a programmable logic controller (PLC) and a PLC that executes at least one web browser that displays a human-machine interface (HMI) screen on which parts that display the plant status are arranged, and receives from the PLC. In the SCADA web HMI server device that transmits update data for updating the state of the part in response to a signal.
With at least one processor
Equipped with a memory to store programs
The program is executed by the at least one processor to the at least one processor.
Screen information management process that manages screen information associated with the screen name of the HMI screen, the part name of the part arranged on the HMI screen, and the PLC signal name of the PLC signal that changes the state of the part. When,
A browser information management process that manages browser information associated with the browser name of the running web browser and the screen name of the HMI screen displayed on the running web browser.
A change PLC signal extraction process that receives a plurality of PLC signals from the PLC and extracts a change PLC signal name and a change PLC signal value of the changed PLC signal among the plurality of PLC signals.
The screen name and the part name associated with the same PLC signal name as the changed PLC signal name are extracted from the screen information, and the browser name associated with the extracted screen name is extracted from the browser information. A process including a browser display update process for transmitting the update data including the extracted part name and the change PLC signal value to the executing web browser corresponding to the extracted browser name is executed. A featured SCADA web HMI server device.
第1HMI画面の第1画面名と、前記第1HMI画面に配置される第1パーツの第1パーツ名と、前記第1パーツの状態を変化させる第1PLC信号の第1PLC信号名とを関連付けた第1画面デバイスリストと、
少なくとも第2HMI画面の第2画面名と、前記第2HMI画面に配置される第2パーツの第2パーツ名とを関連付けた第2画面デバイスリストと、
前記第2パーツ名と、前記第2パーツの状態に影響する前記第1パーツの前記第1パーツ名とを関連付けた派生デバイスリストと、を読み込んで、
前記画面情報に、
前記第2画面名と、前記派生デバイスリストを介して前記第2パーツ名にリンクする前記第1パーツ名と、前記第1パーツ名に関連付いた前記第1画面デバイスリストの前記第1PLC信号名と、を関連付けた追加画面情報と、を加え、
前記ブラウザ表示更新処理は、前記変化PLC信号名が前記第1PLC信号名と同じである場合に、前記第2HMI画面を表示している実行中ウェブブラウザへ前記第1パーツ名と前記変化PLC信号値とを含む前記更新データを送信すること、
を特徴とする請求項1記載のSCADAウェブHMIサーバ装置。 The screen information management process is
The first screen name of the first HMI screen, the first part name of the first part arranged on the first HMI screen, and the first PLC signal name of the first PLC signal that changes the state of the first part are associated with each other. 1-screen device list and
A second screen device list that associates at least the second screen name of the second HMI screen with the second part name of the second part arranged on the second HMI screen.
Read the derived device list associated with the second part name and the first part name of the first part that affects the state of the second part.
In the screen information,
The second screen name, the first part name linked to the second part name via the derived device list, and the first PLC signal name of the first screen device list associated with the first part name. And, with additional screen information associated with,
In the browser display update process, when the change PLC signal name is the same as the first PLC signal name, the first part name and the change PLC signal value are sent to the executing web browser displaying the second HMI screen. Sending the updated data, including
The SCADA web HMI server device according to claim 1.
前記第1パーツの状態を変化させる前記第1PLC信号の前記変化PLC信号値を含む前記更新データを受信し、
前記第1PLC信号の前記変化PLC信号値を、前記第2パーツの状態変化について予め定めたスクリプトに入力し、前記スクリプトの演算結果に基づいて、前記第2パーツの状態を変化させること、
を特徴とする請求項2記載のSCADAウェブHMIサーバ装置。 The running web browser displaying the second HMI screen
The update data including the change PLC signal value of the first PLC signal that changes the state of the first part is received, and the update data is received.
The change PLC signal value of the first PLC signal is input to a script predetermined for the state change of the second part, and the state of the second part is changed based on the calculation result of the script.
2. The SCADA web HMI server device according to claim 2.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019137202A JP7245742B2 (en) | 2019-07-25 | 2019-07-25 | SCADA web HMI server device |
CN202080004662.XA CN112639642A (en) | 2019-07-25 | 2020-07-10 | SCADA network HMI server device |
PCT/JP2020/027141 WO2021015022A1 (en) | 2019-07-25 | 2020-07-10 | Scada web hmi server device |
TW109124429A TWI761886B (en) | 2019-07-25 | 2020-07-20 | Scada web hmi server device |
PH12021550355A PH12021550355A1 (en) | 2019-07-25 | 2021-02-19 | Scada web hmi server apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019137202A JP7245742B2 (en) | 2019-07-25 | 2019-07-25 | SCADA web HMI server device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021022071A true JP2021022071A (en) | 2021-02-18 |
JP7245742B2 JP7245742B2 (en) | 2023-03-24 |
Family
ID=74193951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019137202A Active JP7245742B2 (en) | 2019-07-25 | 2019-07-25 | SCADA web HMI server device |
Country Status (5)
Country | Link |
---|---|
JP (1) | JP7245742B2 (en) |
CN (1) | CN112639642A (en) |
PH (1) | PH12021550355A1 (en) |
TW (1) | TWI761886B (en) |
WO (1) | WO2021015022A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022230483A1 (en) * | 2021-04-27 | 2022-11-03 | Omron Corporation | Method and user device for diagnosing and/or controlling an industrial controller |
WO2023127040A1 (en) * | 2021-12-27 | 2023-07-06 | 東芝三菱電機産業システム株式会社 | Scada web hmi client device and scada web hmi system |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7464196B2 (en) | 2021-06-10 | 2024-04-09 | 東芝三菱電機産業システム株式会社 | SCADA Web HMI System |
US20230259087A1 (en) | 2021-06-10 | 2023-08-17 | Toshiba Mitsubishi-Electric Industrial Systems Corporation | Scada web hmi system |
WO2023281663A1 (en) * | 2021-07-07 | 2023-01-12 | 東芝三菱電機産業システム株式会社 | Scada web hmi client device and scada web hmi system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003280732A (en) * | 2002-03-20 | 2003-10-02 | Digital Electronics Corp | Data transmitter and control system using the same |
JP2006072442A (en) * | 2004-08-31 | 2006-03-16 | Digital Electronics Corp | Control system |
JP2013235320A (en) * | 2012-05-07 | 2013-11-21 | Mitsubishi Electric Corp | Monitoring control system display device and monitoring control system |
WO2018087864A1 (en) * | 2016-11-10 | 2018-05-17 | 三菱電機株式会社 | Information display device, information display system, and display screen control method |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002108600A (en) * | 2000-10-02 | 2002-04-12 | Digital Electronics Corp | Terminal device for control system and recording medium and control system |
US20040260404A1 (en) * | 2003-06-23 | 2004-12-23 | Russell Thomas C. | Method and apparatus for self-configuring supervisory control and data acquisition (SCADA) system for distributed control |
US7904181B2 (en) * | 2004-06-01 | 2011-03-08 | Ils Technology Llc | Model for communication between manufacturing and enterprise levels |
JP4454455B2 (en) * | 2004-09-28 | 2010-04-21 | 株式会社デジタル | Editor device, program for causing computer to function as editor device, recording medium storing the program, control system, and display |
AU2006336826A1 (en) * | 2006-01-24 | 2007-08-02 | Kabushiki Kaisha Toshiba | Plant control system and method of specifying primary-factor for interlock |
US20080168092A1 (en) * | 2007-01-10 | 2008-07-10 | General Electric Company | Systems and methods for turbine control simulation |
EP2866149A4 (en) * | 2012-06-26 | 2016-05-18 | Mitsubishi Electric Corp | Equipment management system and program |
TW201531058A (en) * | 2014-01-28 | 2015-08-01 | Univ Nat Formosa | Equipment room environment monitoring system |
TW201531653A (en) * | 2014-02-12 | 2015-08-16 | Univ Nat Formosa | Cloud monitoring and regulating system of water heater |
JP5716108B2 (en) * | 2014-03-10 | 2015-05-13 | 株式会社三菱東京Ufj銀行 | ONLINE SYSTEM, PROGRAM GENERATION DEVICE, AND SCREEN CONTROL PROGRAM GENERATION DEVICE |
JP6157548B2 (en) * | 2015-09-25 | 2017-07-05 | 株式会社コンテック | Surveillance image creation device, creation program, and creation method |
US20180059921A1 (en) * | 2016-09-01 | 2018-03-01 | Honeywell International Inc. | Custom gui control for visualizing field data |
CN108667861B (en) * | 2017-03-28 | 2020-08-07 | 比亚迪股份有限公司 | Method, system and server for monitoring equipment in real time through browser |
CN109862064B (en) * | 2018-11-22 | 2021-08-13 | 中国铁建重工集团股份有限公司 | Configuration method and device for remote monitoring of equipment |
-
2019
- 2019-07-25 JP JP2019137202A patent/JP7245742B2/en active Active
-
2020
- 2020-07-10 CN CN202080004662.XA patent/CN112639642A/en active Pending
- 2020-07-10 WO PCT/JP2020/027141 patent/WO2021015022A1/en active Application Filing
- 2020-07-20 TW TW109124429A patent/TWI761886B/en active
-
2021
- 2021-02-19 PH PH12021550355A patent/PH12021550355A1/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003280732A (en) * | 2002-03-20 | 2003-10-02 | Digital Electronics Corp | Data transmitter and control system using the same |
JP2006072442A (en) * | 2004-08-31 | 2006-03-16 | Digital Electronics Corp | Control system |
JP2013235320A (en) * | 2012-05-07 | 2013-11-21 | Mitsubishi Electric Corp | Monitoring control system display device and monitoring control system |
WO2018087864A1 (en) * | 2016-11-10 | 2018-05-17 | 三菱電機株式会社 | Information display device, information display system, and display screen control method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022230483A1 (en) * | 2021-04-27 | 2022-11-03 | Omron Corporation | Method and user device for diagnosing and/or controlling an industrial controller |
WO2023127040A1 (en) * | 2021-12-27 | 2023-07-06 | 東芝三菱電機産業システム株式会社 | Scada web hmi client device and scada web hmi system |
Also Published As
Publication number | Publication date |
---|---|
TWI761886B (en) | 2022-04-21 |
WO2021015022A1 (en) | 2021-01-28 |
PH12021550355A1 (en) | 2021-10-04 |
JP7245742B2 (en) | 2023-03-24 |
TW202115552A (en) | 2021-04-16 |
CN112639642A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021015022A1 (en) | Scada web hmi server device | |
EP2592517B1 (en) | Systems and methods for asynchronous searching and filtering of data | |
US11595468B2 (en) | Data capture on a serial device | |
ITMI20071074A1 (en) | "AUTOMATED SYSTEM FOR TEXTILE MACHINE CONTROL" | |
WO2021245752A1 (en) | Scada web hmi system and hmi client | |
JP6552775B1 (en) | Hybrid rendering HMI terminal device | |
US9535413B2 (en) | Automatic device parameter binding method and system | |
US20200150613A1 (en) | Method and device for operating and controlling a machine installation by means of a graphical development interface and generation of a field bus configuration | |
CN110678848B (en) | Universal data access across devices | |
JP2001282326A (en) | Device and method for screen simulation for programmable display unit and recording medium with recorded program for screen simulation | |
JP6956280B2 (en) | SCADA Web HMI system | |
WO2023281663A1 (en) | Scada web hmi client device and scada web hmi system | |
CN113641350A (en) | Software development environment providing system, method, and non-transitory computer-readable medium | |
US20240201646A1 (en) | Scada web hmi client device and scada web hmi system | |
TWI803253B (en) | Scada web hmi system | |
US20230247115A1 (en) | Protocol driver creating device | |
WO2023248339A1 (en) | Scada web hmi system | |
TW202303306A (en) | Scada web hmi system | |
JP2018063594A (en) | Client device, management device, and control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220714 |
|
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: 20230228 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230313 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7245742 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |