[go: up one dir, main page]

TWI761886B - Scada web hmi server device - Google Patents

Scada web hmi server device Download PDF

Info

Publication number
TWI761886B
TWI761886B TW109124429A TW109124429A TWI761886B TW I761886 B TWI761886 B TW I761886B TW 109124429 A TW109124429 A TW 109124429A TW 109124429 A TW109124429 A TW 109124429A TW I761886 B TWI761886 B TW I761886B
Authority
TW
Taiwan
Prior art keywords
name
screen
plc signal
machine interface
browser
Prior art date
Application number
TW109124429A
Other languages
Chinese (zh)
Other versions
TW202115552A (en
Inventor
藤枝宏之
清水伸夫
野島章
Original Assignee
日商東芝三菱電機產業系統股份有限公司
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 日商東芝三菱電機產業系統股份有限公司 filed Critical 日商東芝三菱電機產業系統股份有限公司
Publication of TW202115552A publication Critical patent/TW202115552A/en
Application granted granted Critical
Publication of TWI761886B publication Critical patent/TWI761886B/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total 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/4185Total 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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33139Design of industrial communication system with expert system
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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

An objective of the present invention is accelerating browser-based HMI server devices. A HMI server device (10) of the present invention is connected to a HMI terminal (21) running a web browser (21) and a PLC (2). The HMI server device (10) is equipped with a changed PLC signal extraction process (16) and a browser display update process (18). The changed PLC signal extraction process (16) is to extract a changed PLC signal name and a changed PLC signal value of a changed PLC signal. The browser display update process (18) is to extract a screen name and a part name associated with a PLC signal name that is the same as the changed PLC signal name from the screen information (13), and extract a browser name associated with the aforementioned screen name extracted from browser information (15), and send updated data containing the aforementioned extracted part name and aforementioned changed PLC signal value to a running web browser (21) corresponding to the aforementioned extracted browser name.

Description

SCADA網路人機介面伺服器裝置 SCADA Network HMI Server Device

本發明係關於在網路瀏覽器上用以使SCADA人機介面(HMI)動作之SCADA網路人機介面伺服器裝置。 The present invention relates to a SCADA web HMI server device for operating a SCADA Human Machine Interface (HMI) on a web browser.

SCADA(Supervisory Control And Data Acquisition,監控及資料擷取)已知為一種對社會基礎建設進行監視控制之機制。社會基礎建設如為鋼鐵軋壓系統、電力送變電系統、上下水道處理系統、大樓管理系統、道路系統等。 SCADA (Supervisory Control And Data Acquisition) is known as a mechanism for monitoring and controlling social infrastructure. Social infrastructure such as steel rolling system, power transmission and transformation system, water and sewage treatment system, building management system, road system, etc.

SCADA為一種產業控制系統,以電腦進行系統監視及製程控制。SCADA係需要能夠配合系統的處理性能之臨機應變性(即時性)。 SCADA is an industrial control system that uses computers for system monitoring and process control. SCADA systems require ad hoc (immediacy) that can match the processing capabilities of the system.

SCADA一般由以下副系統構成。 SCADA generally consists of the following sub-systems.

(1)HMI(Human Machine Interface,人機介面) (1) HMI (Human Machine Interface)

人機介面係對作業員提示對象製程(監視對象裝置)之資料,以使作業員能夠監視並控制製程之機構。例如專利文獻1係揭露一種SCADA人機介面,係具備在SCADA客戶端上動作之人機介面畫面。 The human-machine interface is a mechanism that prompts the operator the data of the object process (the monitoring object device), so that the operator can monitor and control the process. For example, Patent Document 1 discloses a SCADA human-machine interface, which is provided with a human-machine interface screen that operates on a SCADA client.

(2)監視控制系統 (2) Monitoring and control system

監視系統係收集製程上的訊號資料,並對製程發送控制命令。由PLC(Programable Logic Controller,可編程邏輯控制器)等所構成。 The monitoring system collects the signal data on the process and sends control commands to the process. It consists of PLC (Programable Logic Controller, programmable logic controller) and the like.

(3)遠端輸入輸出裝置(Remote Input Output:RIO) (3) Remote input and output device (Remote Input Output: RIO)

遠端輸入輸出裝置係與製程內設置之感測器連接,將感測器的訊號轉換成數位之資料,而將該數位資料發送至監視控制系統。 The remote input and output device is connected with the sensor set in the process, converts the sensor signal into digital data, and sends the digital data to the monitoring and control system.

(4)通訊基礎架構 (4) Communication infrastructure

通訊基礎架構係將監視控制系統與遠端輸入輸出裝置連接。 The communication infrastructure connects the supervisory control system with the remote input and output devices.

[先前技術文獻] [Prior Art Literature]

[專利文獻] [Patent Literature]

專利文獻1:日本特開2017-27211號公報 Patent Document 1: Japanese Patent Laid-Open No. 2017-27211

專利文獻1之SCADA客戶端係以能夠執行監視控制邏輯之高性能的電腦來動作。再者,在設置複數個SCADA客戶端時,需要準備與SCADA客戶端的數量相應之高性能的電腦,且需要個別安裝監視控制邏輯。再者,在將SCADA客戶端設成多監視器構成時,需要對每個顯示於監視器之人機介面畫面安裝監視控制邏輯。因此,期望能夠降低SCADA人機介面的成本。 The SCADA client of Patent Document 1 operates as a high-performance computer capable of executing supervisory control logic. Furthermore, when setting up a plurality of SCADA clients, it is necessary to prepare high-performance computers corresponding to the number of SCADA clients, and it is necessary to install monitoring control logic individually. Furthermore, when the SCADA client is configured as a multi-monitor configuration, it is necessary to install monitoring control logic for each HMI screen displayed on the monitor. Therefore, it is desirable to reduce the cost of SCADA human-machine interfaces.

為了實現降低SCADA人機介面的成本,本發明申請人係致力於開發瀏覽器基礎之人機介面副系統。藉由在伺服器執行監視控制邏輯 之網路應用程式化,在用戶終端機(網路終端機)係無須安裝個別的監視控制邏輯。用戶終端機僅需在網路瀏覽器上顯示經伺服器處理過之監視控制邏輯的結果即可。因此,用戶終端機僅需為網路瀏覽器能夠動作之程度的低規格之電腦即可。例如,平板裝置等行動終端機亦能夠進行系統的監視及控制。據此,能夠以低成本實現複數個用戶終端機連接於伺服器之構成。另外,未包含監視控制邏輯之網路終端機被稱為精簡客戶端(thin client)。 In order to reduce the cost of SCADA human-machine interface, the applicant of the present invention is committed to developing a browser-based human-machine interface sub-system. By executing the monitoring control logic on the server The network application programming, in the user terminal (network terminal) system does not need to install individual monitoring and control logic. The user terminal only needs to display the result of the monitoring and control logic processed by the server on the web browser. Therefore, the user terminal only needs to be a low-spec computer capable of operating a web browser. For example, mobile terminals such as tablet devices can also monitor and control the system. Accordingly, a configuration in which a plurality of user terminals are connected to the server can be realized at low cost. In addition, a network terminal that does not include monitoring and control logic is called a thin client.

然而,於工廠監視中,會需要高速處理達數萬個PLC訊號,並反映於人機介面畫面。因此,期望瀏覽器基礎之人機介面副系統之高速化。 However, in factory monitoring, tens of thousands of PLC signals need to be processed at high speed and reflected on the HMI screen. Therefore, the high speed of the human-machine interface sub-system based on the browser is expected.

本發明係為解決上述課題而研創者。本發明之目的在於提供一種SCADA網路人機介面伺服器裝置,係降低資料處理量而使訊號處理高速化。 The present invention was developed to solve the above-mentioned problems. The object of the present invention is to provide a SCADA network human-machine interface server device, which reduces the data processing amount and speeds up the signal processing.

為達上述目的,本發明之SCADA網路人機介面伺服器裝置係由以下方式構成。 In order to achieve the above-mentioned purpose, the SCADA network human-machine interface server device of the present invention is constructed in the following manner.

SCADA網路人機介面伺服器裝置係與人機介面(HMI)終端機及可編程邏輯控制器(PLC)連接。人機介面終端機係至少執行一個網路瀏覽器,該網路瀏覽器係顯示配置有將工廠的狀態予以顯示之零件之人機介面畫面。前述SCADA網路人機介面伺服器裝置係根據從前述PLC接收之PLC訊號,而傳送更新前述零件的狀態所需之更新資料。 The SCADA network human-machine interface server device is connected with a human-machine interface (HMI) terminal and a programmable logic controller (PLC). The human-machine interface terminal executes at least one web browser, and the web browser displays a man-machine interface screen equipped with parts for displaying the status of the factory. The aforementioned SCADA network human-machine interface server device transmits the update data required for updating the status of the aforementioned components according to the PLC signal received from the aforementioned PLC.

前述SCADA網路人機介面伺服器裝置係具備至少一個處理器,以及記憶程式之記憶體。前述程式係藉由被前述至少一個處理器執行,而使前述至少一個處理器執行包含以下處理之處理。 The aforementioned SCADA network human-machine interface server device is provided with at least one processor and a memory for storing programs. The aforementioned program is executed by the aforementioned at least one processor to cause the aforementioned at least one processor to execute processing including the following processing.

畫面資訊管理處理係管理畫面資訊,該畫面資訊係將下列資訊建立關聯而成者:前述人機介面畫面的畫面名、配置於前述人機介面畫面之前述零件的零件名、及使前述零件的狀態產生變化之前述PLC訊號的PLC訊號名。 The screen information management process manages screen information, which is formed by associating the following information: the screen name of the human-machine interface screen, the part name of the part arranged on the human-machine interface screen, and the name of the part that makes the part of the human-machine interface. The PLC signal name of the aforementioned PLC signal whose state has changed.

瀏覽器資訊管理處理係管理瀏覽器資訊,前述瀏覽器資訊係將執行中網路瀏覽器的瀏覽器名、與顯示於前述執行中網路瀏覽器之前述人機介面畫面的前述畫面名建立關聯而成者。 The browser information management process manages browser information, and the browser information associates the browser name of the web browser in execution with the screen name displayed on the man-machine interface screen of the web browser in execution become.

變化PLC訊號抽出處理係從前述PLC接收複數個PLC訊號,而抽出前述複數個PLC訊號中有產生變化之PLC訊號的變化PLC訊號名及變化PLC訊號值。 The changing PLC signal extraction process receives a plurality of PLC signals from the above-mentioned PLC, and extracts the changed PLC signal name and the changed PLC signal value of the changed PLC signal among the plurality of PLC signals.

瀏覽器顯示更新處理係從前述畫面資訊抽出與前述變化PLC訊號名相同之PLC訊號名所關聯之前述畫面名及零件名,從前述瀏覽器資訊抽出前述所抽出之畫面名所關聯之瀏覽器名,並將包含前述所抽出之零件名及前述變化PLC訊號值之更新資料,傳送至與前述所抽出之瀏覽器名對應之前述執行中網路瀏覽器。 The browser display update process extracts the aforementioned screen name and component name associated with the PLC signal name that is the same as the aforementioned changed PLC signal name from the aforementioned screen information, extracts the aforementioned browser name associated with the aforementioned extracted screen name from the aforementioned browser information, and Send the update data including the extracted component name and the changed PLC signal value to the running web browser corresponding to the extracted browser name.

在一較佳型態中,前述畫面資訊管理處理係讀取第一畫面裝置列表、第二畫面裝置列表及衍生裝置列表。前述第一畫面裝置列表係將下列資訊建立關聯而成之資訊:第一人機介面畫面的第一畫面名、配置於前述第一人機介面畫面之第一零件的第一零件名、以及使第一零件的狀態 變化之PLC訊號的第一PLC訊號名。前述第二畫面裝置列表係至少將第二人機介面畫面的第二畫面名、及配置於前述第二人機介面畫面之第二零件的第二零件名建立關聯而成之資訊。衍生裝置列表係將前述第二零件名、及影響前述第二零件的狀態之前述第一零件的前述第一零件名建立關聯而成之資訊。 In a preferred form, the aforementioned screen information management process reads the first screen device list, the second screen device list and the derivative device list. The above-mentioned first screen device list is information formed by associating the following information: the first screen name of the first man-machine interface screen, the first part name of the first part arranged on the first man-machine interface screen, and make the state of the first part The first PLC signal name of the changed PLC signal. The second screen device list is information formed by at least associating the second screen name of the second human-machine interface screen with the second component name of the second component disposed on the second human-machine interface screen. The derivative device list is information formed by associating the name of the second part with the name of the first part of the first part that affects the state of the second part.

再者,前述畫面資訊管理處理係讀取該等裝置列表,於前述畫面資訊加入第一畫面資訊、第二畫面資訊及追加畫面資訊。前述第一畫面資訊係將前述第一畫面名、前述第一零件名及前述第一PLC訊號名建立關聯而成之資訊。前述第二畫面資訊係至少將前述第二畫面名及前述第二零件名建立關聯而成之資訊。追加畫面資訊係將下列資訊建立有關聯而成之資訊:前述第二畫面名、經由前述衍生裝置列表與前述第二零件名連結之前述第一零件名、以及與前述第一零件名相關聯之前述第一畫面裝置列表的前述第一PLC訊號名。 Furthermore, the above-mentioned screen information management process reads the device list, and adds the first screen information, the second screen information and the additional screen information to the above-mentioned screen information. The first screen information is information formed by associating the first screen name, the first component name and the first PLC signal name. The second screen information is information formed by at least associating the second screen name and the second component name. The additional screen information is the information formed by associating the following information: the second screen name, the first part name linked to the second part name through the derivative device list, and the first part name The first PLC signal name of the associated first screen device list.

再者,在前述變化PLC訊號名與前述第一PLC訊號名相同時,前述瀏覽器顯示更新處理係將包含前述第一零件名及前述變化PLC訊號值之前述更新資料,傳送至正在顯示前述第二人機介面畫面之執行中網路瀏覽器。 Furthermore, when the name of the changed PLC signal is the same as the name of the first PLC signal, the browser display update process transmits the update data including the first part name and the value of the changed PLC signal to the current display The web browser during execution of the second human-machine interface screen.

再者,正在顯示前述第二人機介面畫面之前述執行中網路瀏覽器,係接收前述更新資料,前述更新資料包含使前述第一零件的狀態變化之前述第一PLC訊號的前述變化PLC訊號值。並且,前述執行中網路瀏覽器係將前述第一PLC訊號的前述變化PLC訊號值,輸入針對前述第 二零件的狀態變化預先決定之腳本(script),並依據前述腳本的演算結果,使前述第二零件的狀態變化。 Furthermore, the web browser in execution that is displaying the second man-machine interface screen receives the update data, and the update data includes the change PLC of the first PLC signal that changes the state of the first component. signal value. In addition, the web browser during the execution inputs the changed PLC signal value of the first PLC signal to the input for the first PLC signal. The state changes of the two parts are predetermined scripts (script), and according to the calculation result of the script, the state of the second part is changed.

依據本發明,SCADA網路人機介面伺服器裝置係僅對顯示配置了有變化之PLC訊號所對應之零件之人機介面畫面之執行中網路瀏覽器傳送更新資料。亦即,人機介面伺服器裝置10係只要以所接收之PLC訊號中有變化之PLC訊號為對象來進行訊號處理即可。因此,能夠大幅減輕資料處理量。再者,更新資料係並非以人機介面終端機為單位,而是以網路瀏覽器為單位進行傳送。因此,在一個人機介面終端機上執行複數個網路瀏覽器時,更新資料係僅傳送至顯示配置了與更新資料有關係之零件之人機介面畫面之執行中網路瀏覽器。結果,不會在與更新資料無關之網路瀏覽器進行處理,而可減輕人機介面終端機的資料處理量。 According to the present invention, the SCADA network human-machine interface server device transmits updated data only to the web browser during execution of the human-machine interface screen that displays the components corresponding to the changed PLC signals. That is, the human-machine interface server device 10 only needs to perform signal processing on the PLC signal that has a change in the received PLC signal. Therefore, the amount of data processing can be greatly reduced. Furthermore, the update data is not transmitted in units of human-machine interface terminals, but in units of web browsers. Therefore, when a plurality of web browsers are executed on one HMI terminal, the update data is only transmitted to the running web browser that displays the man-machine interface screen configured with the components related to the update data. As a result, processing is not performed in a web browser irrelevant to updating data, and the data processing amount of the human-machine interface terminal can be reduced.

依據本發明,能夠實現藉由人機介面副系統的網路應用程式化而降低成本,並且藉由減輕資料處理量而達成高速化。 According to the present invention, it is possible to realize cost reduction through web application programming of the human-machine interface sub-system, and to achieve high speed by reducing the amount of data processing.

1:人機介面 1: Human-Machine Interface

2:PLC 2: PLC

3:通訊裝置 3: Communication device

4:RIO 4: RIO

5:監視對象裝置 5: Monitoring target device

10:人機介面伺服器裝置 10: Human-machine interface server device

10a:處理器 10a: Processor

10b:記憶體 10b: Memory

10c:網路介面 10c: Web Interface

11:人機介面伺服器應用程式 11: HMI Server Application

12:畫面資訊管理處理 12: Screen information management and processing

12a:畫面資訊管理處理 12a: Screen information management and processing

13:畫面資訊 13: Screen information

14:瀏覽器資訊管理處理 14: Browser information management processing

15:瀏覽器資訊 15: Browser Information

16:變化PLC訊號抽出處理 16: Change PLC signal extraction processing

17:PLC訊號狀態資訊 17: PLC signal status information

18:瀏覽器顯示更新處理 18: Browser display update processing

20:人機介面終端機 20: Human-machine interface terminal

20A:人機介面終端機 20A: Human-Machine Interface Terminal

20B:人機介面終端機 20B: Human-Machine Interface Terminal

20a:處理器 20a: Processor

20b:記憶體 20b: Memory

20c:網路介面 20c: Web Interface

20d:輸入介面 20d: Input interface

20e:顯示器 20e: Monitor

21:網路瀏覽器 21: Web Browser

21a1:網路瀏覽器 21a1: Web browsers

21a2:網路瀏覽器 21a2: Web browsers

21b1:網路瀏覽器 21b1: Web browsers

31:畫面資料 31: Screen information

32:裝置列表 32: Device List

32a:裝置列表 32a: Device List

32b:裝置列表 32b: Device List

32c:裝置列表 32c: Device List

32d:裝置列表 32d: Device List

33:衍生裝置列表 33: List of derivatives

S1:步驟 S1: Step

S2:步驟 S2: Step

S3:步驟 S3: Step

S4:步驟 S4: Steps

S5:步驟 S5: Steps

S6:步驟 S6: Steps

S7:步驟 S7: Steps

S8:步驟 S8: Steps

圖1係用以說明本發明實施型態1之SCADA的系統構成之圖。 FIG. 1 is a diagram for explaining the system configuration of SCADA according to Embodiment 1 of the present invention.

圖2係用以針對本發明實施型態1之SCADA網路人機介面伺服器裝置的構成進行說明之方塊圖。 FIG. 2 is a block diagram for explaining the structure of the SCADA network human-machine interface server device according to the first embodiment of the present invention.

圖3係顯示本發明實施型態1之SCADA網路人機介面伺服器裝置所讀取的裝置列表之一例之圖。 FIG. 3 is a diagram showing an example of the device list read by the SCADA network human-machine interface server device according to the first embodiment of the present invention.

圖4係用以針對本發明實施型態1之SCADA網路人機介面伺服器裝置的訊號處理例進行說明之圖。 FIG. 4 is a diagram for explaining a signal processing example of the SCADA network human-machine interface server device according to the first embodiment of the present invention.

圖5係用以針對本發明實施型態2之SCADA網路人機介面伺服器裝置的構成進行說明之方塊圖。 FIG. 5 is a block diagram for explaining the structure of the SCADA network human-machine interface server device according to the second embodiment of the present invention.

圖6係顯示本發明實施型態2之SCADA網路人機介面伺服器裝置所讀取的裝置列表及衍生裝置列表之一例之圖。 FIG. 6 is a diagram showing an example of the device list and the derivative device list read by the SCADA network human-machine interface server device according to the second embodiment of the present invention.

圖7係用以針對本發明實施型態2之SCADA網路人機介面伺服器裝置的訊號處理例進行說明之圖。 FIG. 7 is a diagram for explaining a signal processing example of the SCADA network human-machine interface server device according to the second embodiment of the present invention.

圖8係顯示人機介面終端機及網路人機介面伺服器所具有之硬體構成例之方塊圖。 FIG. 8 is a block diagram showing an example of the hardware configuration of the human-machine interface terminal and the network human-machine interface server.

以下,參閱圖式針對本發明之實施型態進行詳細說明。惟以下所示之實施型態中有說明各要素的個數、數量、量、範圍等之數值之情形,除了特別明示之情形或在原理上明顯限定於該數值之情形以外,所說明之數值並非限定本發明者。再者,以下所示之實施型態中所說明的構造等,除了特別明示之情形或在原理上明顯限定於該構造之情形以外,對本發明而言並非為必須者。另外,各圖中共通之要素係賦予相同符號並省略重複的說明。 Hereinafter, the embodiments of the present invention will be described in detail with reference to the drawings. However, in the embodiments shown below, there are cases where numerical values such as the number, quantity, quantity, range, etc. of each element are described. The inventors are not limited. In addition, the structure etc. which were demonstrated in the embodiment shown below are not essential to this invention except the case where it specifically states or the case where it is limited to this structure obviously in principle. In addition, the same code|symbol is attached|subjected to the element common to each drawing, and the overlapping description is abbreviate|omitted.

實施型態1. Implementation type 1.

<整體構成> <Overall composition>

圖1係用以說明SCADA的系統構成之圖。SCADA係作為副系統而具備以下構件:人機介面(HMI)1、作為監視控制系統之可編程邏輯控制器(PLC)2、作為通訊基礎架構之通訊裝置3、以及RIO 4。SCADA係經由PLC 2或RIO 4而連接於監視對象裝置5。 FIG. 1 is a diagram for explaining the system configuration of SCADA. The SCADA system has the following components as a sub-system: a human-machine interface (HMI) 1 , a programmable logic controller (PLC) 2 as a supervisory control system, a communication device 3 as a communication infrastructure, and an RIO 4 . The SCADA system is connected to the monitoring target device 5 via the PLC 2 or the RIO 4 .

PLC 2(監視控制系統)、通訊裝置3(通訊基礎架構)、RIO 4之相關說明係已說明於先前技術,故於此省略。監視對象裝置5係構成監視控制對象之工廠之感測器及致動器。 The related descriptions of the PLC 2 (monitoring and control system), the communication device 3 (communication infrastructure), and the RIO 4 have been described in the prior art, so they are omitted here. The monitoring target device 5 is a sensor and an actuator constituting a factory to be monitored and controlled.

人機介面1(SCADA網路人機介面系統)係具備SCADA網路人機介面伺服器裝置10(以下記為人機介面伺服器裝置10),及至少一個人機介面終端機20。 The human-machine interface 1 (SCADA network human-machine interface system) includes a SCADA network human-machine interface server device 10 (hereinafter referred to as the human-machine interface server device 10 ) and at least one human-machine interface terminal 20 .

人機介面伺服器裝置10係經由電腦網路與PLC 2連接。人機介面伺服器裝置10係經由電腦網路與人機介面終端機20連接。人機介面伺服器裝置10亦可連接於複數個人機介面終端機20。當無須區別各人機介面終端機時係簡單記為人機介面終端機20。 The human-machine interface server device 10 is connected to the PLC 2 via a computer network. The human-machine interface server device 10 is connected to the human-machine interface terminal 20 via a computer network. The HMI server device 10 can also be connected to a plurality of HMI terminals 20 . When there is no need to distinguish each human-machine interface terminal, it is simply referred to as the human-machine interface terminal 20 .

人機介面終端機20係未包含監視控制邏輯之精簡客戶端,並執行至少一個網路瀏覽器21。網路瀏覽器21係顯示配置有顯示工廠的狀態之零件之人機介面畫面。具體而言,人機介面終端機20係具有至少一個監視器(圖8之顯示器20e),在一個監視器中,以全螢幕顯示一個網路瀏覽器21。人機介面終端機20具有複數個監視器時,於各監視器係以全螢幕顯示網路瀏覽器21。亦即,人機介面終端機20係執行複數個網路瀏覽器21。 The HMI terminal 20 is a thin client that does not include monitoring and control logic, and executes at least one web browser 21 . The web browser 21 displays a human-machine interface screen provided with components that display the status of the factory. Specifically, the human-machine interface terminal 20 has at least one monitor (display 20e in FIG. 8 ), and in one monitor, a web browser 21 is displayed in full screen. When the human-machine interface terminal 20 has a plurality of monitors, the web browser 21 is displayed in full screen on each monitor. That is, the human-machine interface terminal 20 executes a plurality of web browsers 21 .

人機介面伺服器裝置10係執行人機介面伺服器應用程式11。人機介面伺服器應用程式係具備與人機介面終端機20通訊之網路伺服器功能,及與PLC 2通訊之I/O伺服器功能(應用程式伺服器功能)。人機介面終端機20係執行網路瀏覽器21。屬於執行環境之人機介面1係作為網路瀏覽器21上動作之腳本(例如JavaScript(註冊商標))與人機介面伺服器應用程式11協同運作之網路應用程式而動作。 The human-machine interface server device 10 executes the human-machine interface server application program 11 . The human-machine interface server application program has a network server function for communicating with the human-machine interface terminal 20 and an I/O server function (application server function) for communicating with the PLC 2 . The human-machine interface terminal 20 executes a web browser 21 . The human-machine interface 1 belonging to the execution environment operates as a web application in which a script (eg, JavaScript (registered trademark)) operating on the web browser 21 cooperates with the human-machine interface server application 11 .

人機介面伺服器裝置10係根據從PLC 2接收之PLC訊號,將更新零件狀態所需之更新資料傳送至網路瀏覽器21。人機介面伺服器裝置10係從網路瀏覽器21接收控制命令並傳送至PLC 2。 The human-machine interface server device 10 transmits the update data required for updating the status of the parts to the web browser 21 according to the PLC signal received from the PLC 2 . The man-machine interface server device 10 receives control commands from the web browser 21 and transmits them to the PLC 2 .

<SCADA網路人機介面伺服器裝置> <SCADA Network HMI Server Device>

參閱圖2及圖3所示之例,針對在實施型態1之人機介面伺服器裝置10動作之人機介面伺服器應用程式11的特徵性處理進行說明。 Referring to the examples shown in FIG. 2 and FIG. 3 , the characteristic processing of the human-machine interface server application 11 operating in the human-machine interface server device 10 of the implementation type 1 will be described.

在圖2中,人機介面伺服器裝置10係與人機介面終端機A(20A)及人機介面終端機B(20B)連接。人機介面終端機A係具備第一監視器與第二監視器。人機介面終端機B係具備第三監視器。第一監視器係以全螢幕顯示瀏覽器A1(21a1)。第二監視器係以全螢幕顯示瀏覽器A2(21a2)。第三監視器係以全螢幕顯示瀏覽器B1(21b1)。圖2中,瀏覽器A1係顯示人機介面畫面G1,瀏覽器A2係顯示人機介面畫面G2,瀏覽器B1係顯示人機介面畫面G3,惟各網路瀏覽器所顯示之人機介面畫面係能夠由作業員的操作而自由變更。在無需區別各網路瀏覽器時,係簡單記為網路瀏覽器21。 In FIG. 2, the human-machine interface server device 10 is connected to the human-machine interface terminal A (20A) and the human-machine interface terminal B (20B). The human-machine interface terminal A is provided with a first monitor and a second monitor. The human-machine interface terminal B is equipped with a third monitor. The first monitor displays browser A1 (21a1) in full screen. The second monitor displays browser A2 (21a2) in full screen. The third monitor displays the browser B1 (21b1) in full screen. In Figure 2, the browser A1 displays the human-machine interface screen G1, the browser A2 displays the human-machine interface screen G2, and the browser B1 displays the human-machine interface screen G3, but the human-machine interface screen displayed by each web browser The system can be freely changed by the operator's operation. When there is no need to distinguish each web browser, it is simply referred to as the web browser 21 .

如後述之圖8所示,人機介面伺服器裝置10係具備至少一個處理器10a,及記憶程式之記憶體10b。程式係藉由被處理器10a執行,而使處理器10a執行包含以下各處理之處理。 As shown in FIG. 8 to be described later, the human-machine interface server device 10 includes at least one processor 10a and a memory 10b for storing programs. By being executed by the processor 10a, the program causes the processor 10a to execute processing including the following processing.

人機介面伺服器應用程式11係在其開始時,產生用以與網路瀏覽器21通訊之通訊物件以及用以與PLC通訊之通訊物件。 The HMI server application 11 generates a communication object for communicating with the web browser 21 and a communication object for communicating with the PLC when it is started.

再者,人機介面伺服器應用程式11係在其開始時,讀取配置有零件之人機介面畫面之畫面資料31以及裝置列表32。 Furthermore, the human-machine interface server application 11 reads the screen data 31 and the device list 32 of the human-machine interface screen where the components are arranged when it starts.

畫面資料31係按每個人機介面畫面定義之向量資料。就一例而言,向量資料為Scalable Vector Graphics(SVG,可縮放向量圖形)格式之資料。SVG資料包含配置於人機介面畫面之零件的零件名、形狀、位置、顏色、大小作為SVG元件的屬性。另外,畫面資料31的檔案名包含有畫面名。 The screen data 31 is vector data defined by each HMI screen. For example, the vector data is data in Scalable Vector Graphics (SVG, Scalable Vector Graphics) format. The SVG data includes the part name, shape, position, color, and size of the parts arranged on the human-machine interface screen as attributes of the SVG components. In addition, the file name of the screen data 31 includes the screen name.

裝置列表32係按每個人機介面畫面定義之資料。就一例而言,該資料係Comma-Separated Values(CSV,逗號分隔值)格式之資料。裝置列表32係包含零件名(項目(item)名)、類型、註解、輸出PLCID、PLC位址、通訊位址作為欄位(圖3)。零件名例如為組合畫面名及畫面內的裝置編號而成之名稱。另外亦可為組合零件種類而成之名稱。各零件名係於人機介面1中固有的名稱。另外,裝置列表32的檔案名係包含有畫面名。 The device list 32 is the data defined by each HMI screen. For one example, the data is data in Comma-Separated Values (CSV, comma-separated values) format. The device list 32 contains part name (item name), type, comment, output PLCID, PLC address, and communication address as fields (FIG. 3). The part name is, for example, a name obtained by combining the screen name and the device number in the screen. In addition, it can also be a name formed by combining the types of parts. Each part name is a name unique to the human-machine interface 1 . In addition, the file name of the device list 32 includes the screen name.

再者,人機介面伺服器應用程式11係依據所讀取之畫面資料31及裝置列表32,而產生每個畫面的內容。內容包含SVG資料、畫面資訊。人機介面伺服器應用程式11係將從網路瀏覽器21被要求之人機介 面畫面所對應之內容傳送至網路瀏覽器21。網路瀏覽器21係接收內容而顯示人機介面畫面。 Furthermore, the human-machine interface server application 11 generates the content of each screen according to the read screen data 31 and the device list 32 . The content includes SVG data and screen information. The HMI server application 11 is the HMI that will be requested from the web browser 21 The content corresponding to the screen is transmitted to the web browser 21 . The web browser 21 receives the content and displays a human-machine interface screen.

人機介面伺服器應用程式11係將從PLC 2接收之PLC訊號記憶於PLC訊號狀態資訊17。PLC訊號狀態資訊17係記憶有將所接收之PLC訊號的PLC訊號名與PLC訊號值建立關聯而成之資訊。PLC訊號名係例如將圖3之輸出PLCID與PLC位址組合而成之名稱。各PLC訊號名係於人機介面1中固有之名稱。 The human-machine interface server application 11 stores the PLC signal received from the PLC 2 in the PLC signal status information 17 . The PLC signal state information 17 stores information obtained by associating the PLC signal name of the received PLC signal with the PLC signal value. The PLC signal name is, for example, a name formed by combining the output PLCID and PLC address of FIG. 3 . Each PLC signal name is a unique name in the HMI 1.

畫面資訊管理處理12係管理畫面資訊13,該畫面資訊13係將下列資訊建立關聯而成者:人機介面畫面的畫面名、配置於該人機介面畫面之零件的零件名、以及使該零件的狀態變化之PLC訊號的PLC訊號名。 The screen information management process 12 manages the screen information 13, which is formed by associating the following information: the screen name of the human-machine interface screen, the part name of the part arranged on the human-machine interface screen, and the part name used for the part. The PLC signal name of the PLC signal whose state changes.

畫面資訊13係依據按每個人機介面畫面定義之裝置列表32而產生。圖3中,就裝置列表32之一例而言,係記載有人機介面畫面G1的G1裝置列表32a,人機介面畫面G2的G2裝置列表32b及人機介面畫面G3的G3裝置列表32c。於圖3中,記載有依據該等裝置列表而產生之畫面資訊13。 The screen information 13 is generated according to the device list 32 defined by each HMI screen. In FIG. 3, as an example of the device list 32, the G1 device list 32a of the HMI screen G1, the G2 device list 32b of the HMI screen G2, and the G3 device list 32c of the HMI screen G3 are described. In FIG. 3, the screen information 13 generated according to the device list is recorded.

瀏覽器資訊管理處理14係管理瀏覽器資訊15,該瀏覽器資訊15係將執行中網路瀏覽器21的瀏覽器名、與顯示於執行中網路瀏覽器21之人機介面畫面的畫面名建立關聯而成者。亦即,所顯示之人機介面畫面係並非以人機介面終端機為單位,而是以瀏覽器為單位(以監視器為單位)來管理。瀏覽器名係將人機介面終端機名與監視器編號(瀏覽器編號)組合而成之名稱。各瀏覽器名係於人機介面1中固有的名稱。 The browser information management process 14 manages the browser information 15, the browser information 15 is the browser name of the web browser 21 in execution and the screen name of the man-machine interface screen displayed on the web browser 21 in execution Established associations. That is, the displayed man-machine interface screen is not managed by the unit of the man-machine interface terminal, but by the unit of browser (unit of monitor). The browser name is a combination of the HMI terminal name and the monitor number (browser number). Each browser name is a unique name in the human-machine interface 1 .

圖2中,瀏覽器資訊管理處理14係管理下列資訊作為瀏覽器資訊15:將執行中網路瀏覽器21a1的瀏覽器名(A1)與畫面名(G1)建立關聯而成之資訊;將執行中網路瀏覽器21a2的瀏覽器名(A2)與畫面名(G2)建立關聯而成之資訊;以及將執行中網路瀏覽器21b1的瀏覽器名(B1)與畫面名(G3)建立關聯而成之資訊。 In FIG. 2, the browser information management process 14 manages the following information as the browser information 15: information obtained by associating the browser name (A1) and the screen name (G1) of the web browser 21a1 in execution; Information obtained by associating the browser name (A2) of the web browser 21a2 with the screen name (G2); and associating the browser name (B1) of the web browser 21b1 in execution with the screen name (G3) information created.

瀏覽器資訊15係在網路瀏覽器21之啟動時、網路瀏覽器21之結束時、以及顯示於網路瀏覽器21之人機介面畫面轉移成其他人機介面畫面時會被更新。 The browser information 15 is updated when the web browser 21 is activated, when the web browser 21 is terminated, and when the HMI screen displayed on the web browser 21 is transferred to another HMI screen.

變化PLC訊號抽出處理16係從PLC2接收複數個PLC訊號,並抽出複數個PLC訊號中有變化之PLC訊號的訊號名(變化PLC訊號名)及訊號值(變化PLC訊號值)。 The changing PLC signal extraction process 16 receives a plurality of PLC signals from the PLC2, and extracts the signal name (changed PLC signal name) and the signal value (changed PLC signal value) of the changed PLC signal in the plurality of PLC signals.

具體而言,變化PLC訊號抽出處理16係對記億於PLC訊號狀態資訊17之各PLC訊號的值(前次值)與本次接收之各PLC訊號的值(當次值)進行比較,而判定是否有變化。在有變化時,變化PLC訊號抽出處理16係抽出有變化之PLC訊號的訊號名(變化PLC訊號名)及訊號值(變化PLC訊號值)。 Specifically, the variable PLC signal extraction process 16 compares the value (previous value) of each PLC signal recorded in the PLC signal status information 17 with the value (current value) of each PLC signal received this time, and Determine if there is a change. When there is a change, the change PLC signal extraction process 16 extracts the signal name (change PLC signal name) and the signal value (change PLC signal value) of the changed PLC signal.

瀏覽器顯示更新處理18係從畫面資訊13,抽出與變化PLC訊號抽出處理16所抽出之變化PLC訊號名相同之PLC訊號名所關聯之畫面名及零件名。 The browser display update process 18 extracts from the screen information 13 the screen name and the part name associated with the PLC signal name that is the same as the changed PLC signal name extracted by the changed PLC signal extraction process 16 .

並且,瀏覽器顯示更新處理18係從瀏覽器資訊15抽出與所抽出之畫面名相關聯之瀏覽器名。 Then, the browser display update process 18 extracts the browser name associated with the extracted screen name from the browser information 15 .

並且,瀏覽器顯示更新處理18係將包含所抽出之零件名及所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名對應之執行中網路瀏覽器21。 In addition, the browser display update process 18 transmits the update data including the extracted part name and the extracted changed PLC signal value to the running web browser 21 corresponding to the extracted browser name.

依據瀏覽器顯示更新處理18,所傳送之更新資料係僅針對有變更之PLC訊號之資料。因此,資料量極小。再者,更新資料係僅限定於正在顯示配置了有變更之PLC訊號所對應之零件之人機介面畫面之執行中網路瀏覽器而被傳送。因此更新資料不會被傳送至無須更新之網路瀏覽器。 According to the browser display update process 18, the transmitted update data is only for the data of the PLC signal that has changed. Therefore, the amount of data is extremely small. Furthermore, the update data is only transmitted by the running web browser that is displaying the HMI screen that configures the part corresponding to the changed PLC signal. Therefore, updates will not be sent to web browsers that do not require an update.

<人機介面終端機> <Human Interface Terminal>

被瀏覽器顯示更新處理18指定作為傳送目的地之執行中網路瀏覽器21係接收更新資料。網路瀏覽器21係依據變化PLC訊號值,而使與更新資料所包含之零件名對應之零件的狀態(數值、顏色、形狀、位置)變化。 The executing web browser 21 designated as the transmission destination by the browser display update process 18 receives the update data. The web browser 21 changes the state (value, color, shape, position) of the part corresponding to the part name included in the update data according to the changed PLC signal value.

在人機介面終端機20有複數個網路瀏覽器在動作時,更新資料係僅在正在顯示配置了與更新資料有關係之零件之人機介面畫面之網路瀏覽器21被處理。因此,在與更新無關之網路瀏覽器21不會進行處理,而可減輕人機介面終端機20的資料處理量。藉由減輕資料處理量,人機介面終端機20僅需為網路瀏覽器21能夠動作之程度的低規格之電腦即可。例如,平板裝置等行動終端機亦可進行系統之監視及控制。 When the human-machine interface terminal 20 has a plurality of web browsers operating, the update data is processed only in the web browser 21 that is displaying the man-machine interface screen in which the components related to the update data are arranged. Therefore, the web browser 21 which is not related to the update does not perform processing, and the data processing amount of the human-machine interface terminal 20 can be reduced. By reducing the amount of data processing, the human-machine interface terminal 20 only needs to be a low-spec computer capable of operating the web browser 21 . For example, mobile terminals such as tablet devices can also monitor and control the system.

<訊號處理的流程> <Flow of Signal Processing>

參閱圖4所示之例,針對實施型態1之訊號處理的流程進行說明。 Referring to the example shown in FIG. 4 , the flow of the signal processing of the implementation type 1 will be described.

圖4係用以針對根據來自PLC2之PLC訊號P1_1,而更新配置於瀏覽器A1的畫面G1之零件G1_1的狀態之處理進行說明之圖。另外,P1_1 係將圖3之G1裝置列表32a中之輸出PLCID(P1)與PLC位址(1)組合而成之名稱。 FIG. 4 is a diagram for explaining the process of updating the state of the part G1_1 arranged on the screen G1 of the browser A1 according to the PLC signal P1_1 from the PLC2. Also, P1_1 It is a name formed by combining the output PLCID (P1) and the PLC address (1) in the G1 device list 32a of FIG. 3 .

於步驟S1中,變化PLC訊號抽出處理16係從PLC2接收複數個PLC訊號(P1_1、P2_1、P3_1)。 In step S1, the variable PLC signal extraction process 16 receives a plurality of PLC signals (P1_1, P2_1, P3_1) from the PLC2.

於步驟S2中,變化PLC訊號抽出處理16係對PLC訊號狀態資訊17所記憶之各PLC訊號的值(前次值)與本次所接收之各PLC訊號的值(當次值)進行比較,並判定是否有變化。在有變化時,變化PLC訊號抽出處理16係抽出有變化之PLC訊號的變化PLC訊號名及變化PLC訊號值。在圖4之例中,有變化之PLC訊號係P1_1。 In step S2, the variable PLC signal extraction process 16 compares the value (previous value) of each PLC signal stored in the PLC signal state information 17 with the value (current value) of each PLC signal received this time, and determine whether there is a change. When there is a change, the change PLC signal extraction process 16 extracts the changed PLC signal name and the changed PLC signal value of the changed PLC signal. In the example of FIG. 4 , the PLC signal with change is P1_1.

於步驟S3中,人機介面伺服器應用程式11係以當次值對PLC訊號狀態資訊17所記憶之PLC訊號名(P1_1)所對應之PLC訊號值進行更新。 In step S3, the human-machine interface server application 11 updates the PLC signal value corresponding to the PLC signal name (P1_1) stored in the PLC signal state information 17 with the current value.

於步驟S4中,瀏覽器顯示更新處理18係從畫面資訊13,抽出與所抽出之變化PLC訊號名相同之PLC訊號名(P1_1)所關聯之畫面名(G1)及零件名(G1_1)。 In step S4, the browser display update process 18 extracts the screen name (G1) and the part name (G1_1) associated with the same PLC signal name (P1_1) as the extracted changed PLC signal name from the screen information 13.

於步驟S5,瀏覽器顯示更新處理18係從瀏覽器資訊15,抽出與所抽出之畫面名(G1)相關聯之瀏覽器名(A1)。 In step S5, the browser display update process 18 extracts the browser name (A1) associated with the extracted screen name (G1) from the browser information 15.

於步驟S6,瀏覽器顯示更新處理18係將包含所抽出之零件名(G1_1)及所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名(A1)所對應之執行中網路瀏覽器進行通訊之通訊物件。 In step S6, the browser display update process 18 transmits the updated data including the extracted part name (G1_1) and the extracted changed PLC signal value to the execution corresponding to the extracted browser name (A1). The communication object that the web browser communicates with.

於步驟S7中,更新資料係經由通訊物件傳送至瀏覽器A1。 In step S7, the update data is sent to the browser A1 via the communication object.

之後,瀏覽器A1係接收更新資料,並根據變化PLC訊號值使零件G1_1的狀態變化。例如,使零件G1_1的顯示色變化。 After that, the browser A1 receives the updated data, and changes the state of the part G1_1 according to the changed PLC signal value. For example, the display color of the part G1_1 is changed.

如以上說明,實施型態1之人機介面伺服器裝置10係僅傳送更新資料至正在顯示配置了有變化之PLC訊號所對應之零件之人機介面畫面之執行中網路瀏覽器21。亦即,人機介面伺服器裝置10僅需以所接收之PLC訊號中有變化之PLC訊號為對象來進行訊號處理即可。因此,可大幅減輕資料處理量。再者,更新資料係並非以人機介面終端機為單位,而是以網路瀏覽器為單位進行傳送。因此,在一個人機介面終端機上有複數個網路瀏覽器21被執行時,更新資料係僅傳送至正在顯示配置了與更新資料有關係之零件之人機介面畫面之執行中網路瀏覽器21。結果,在與更新資料無關之網路瀏覽器21不會進行處理,而可減輕人機介面終端機20的資料處理量。 As explained above, the human-machine interface server device 10 of the implementation type 1 only transmits the update data to the running web browser 21 that is displaying the human-machine interface screen that configures the parts corresponding to the changed PLC signal. That is, the human-machine interface server device 10 only needs to perform signal processing on the PLC signal that has a change in the received PLC signal. Therefore, the amount of data processing can be greatly reduced. Furthermore, the update data is not transmitted in units of human-machine interface terminals, but in units of web browsers. Therefore, when a plurality of web browsers 21 are executed on a human-machine interface terminal, the update data is only transmitted to the running web browser that is displaying the man-machine interface screen configured with the components related to the update data. twenty one. As a result, the web browser 21 which is not related to updating data will not perform processing, and the data processing amount of the human-machine interface terminal 20 can be reduced.

然而,在網路瀏覽器21啟動時及網路瀏覽器21的人機介面畫面轉移時之處理則如下述。首先,在網路瀏覽器21啟動時或網路瀏覽器21的人機介面畫面轉移時,會從該瀏覽器(例如21a1)對人機介面伺服器應用程式11傳送新開的人機介面畫面的資訊,人機介面伺服器應用程式11會依據該資訊將瀏覽器資訊15更新。接著,人機介面伺服器應用程式11會利用畫面資訊13,抽出該人機介面畫面所需之PLC訊號。然後,人機介面伺服器應用程式11係從PLC訊號狀態資訊17取得該人機介面畫面所需之PLC訊號之值,並傳送至該瀏覽器。 However, the processing when the web browser 21 is activated and when the human-machine interface screen of the web browser 21 transitions is as follows. First, when the web browser 21 is activated or when the HMI screen of the web browser 21 is transferred, the browser (eg 21a1 ) will transmit the newly opened HMI screen to the HMI server application 11 . information, the human-machine interface server application 11 will update the browser information 15 according to the information. Next, the HMI server application 11 uses the screen information 13 to extract the PLC signal required for the HMI screen. Then, the human-machine interface server application 11 obtains the value of the PLC signal required by the human-machine interface screen from the PLC signal state information 17, and transmits it to the browser.

實施型態2. Implementation type 2.

接著,參閱圖5至圖7,針對本發明之實施型態2進行說明。 Next, referring to FIG. 5 to FIG. 7 , the second embodiment of the present invention will be described.

上述實施型態1之人機介面伺服器裝置10係執行以下之處理:僅傳送更新資料至正在顯示有變化之PLC訊號所關聯之零件之網路瀏覽器21。該處理係需要上述畫面資訊13。畫面資訊13係依據按每個人機介面畫面而定義之裝置列表32而產生。裝置列表32係將下列資訊建立關聯而成之資訊:人機介面畫面的畫面名、配置於該人機介面畫面之零件的零件名(項目名)、以及使該零件的狀態直接變化之PLC訊號的訊號名。原則上,定義於裝置列表32之固有的零件名係關聯於固有的PLC訊號。 The human-machine interface server device 10 of the above-mentioned embodiment 1 performs the following processing: only transmits the update data to the web browser 21 which is displaying the part associated with the PLC signal that has changed. The above-mentioned screen information 13 is required for this processing. The screen information 13 is generated according to the device list 32 defined for each HMI screen. The device list 32 is information formed by associating the following information: the screen name of the man-machine interface screen, the part name (item name) of the part arranged on the man-machine interface screen, and the PLC signal that directly changes the state of the part the signal name. In principle, the intrinsic part names defined in the device list 32 are associated with the intrinsic PLC signals.

然而,會有配置於某個人機介面畫面之零件的狀態受到配置於其他人機介面畫面之零件的狀態影響之情形。例如有下述情形:當配置於第一人機介面畫面之第一零件所對應之第一PLC訊號的訊號值滿足了特定條件時,將配置於第二人機介面畫面之第二零件的使用狀態從disable(無效)變更成enable(有效)。該種處理作為提高零件操作的安全性之安全處理而極為重要。 However, there are cases in which the state of a part arranged on a certain HMI screen is affected by the state of a part arranged in another HMI screen. For example, there is the following situation: when the signal value of the first PLC signal corresponding to the first part on the first man-machine interface screen satisfies a specific condition, the second part on the second man-machine interface screen will be set. The usage status is changed from disable (invalid) to enable (valid). This type of handling is extremely important as a safe handling for improving the safety of parts handling.

在該情形中,雖於第二人機介面畫面配置第二零件,惟並未配置第一零件。因此,未配置第一零件之第二人機介面畫面的裝置列表,並不包含將第一零件名與第一PLC訊號名建立關聯而成之資訊。再者,與第一PLC訊號直接相關者為第一零件,第二零件僅為間接相關。因此,第二人機介面畫面的裝置列表並不包含將第二零件與第一PLC訊號名建立關聯而成之資訊。因此,對於顯示有配置了第二零件之第二人機介面畫面之網路瀏覽器,不會傳送第一零件相關之更新資料。因此,依據在實施型態1所說明之用以高速化之構成,會有無法實現上述安全處理之課題。 In this case, although the second component is arranged on the second man-machine interface screen, the first component is not arranged. Therefore, the device list of the second human-machine interface screen without the first component does not include the information obtained by associating the first component name with the first PLC signal name. Furthermore, the one directly related to the first PLC signal is the first component, and the second component is only indirectly related. Therefore, the device list on the second human-machine interface screen does not include the information associated with the second component and the first PLC signal name. Therefore, no update data related to the first part will be transmitted to the web browser displaying the second human-machine interface screen with the second part configured. Therefore, according to the configuration for speeding up described in Embodiment 1, there is a problem that the above-mentioned security processing cannot be realized.

在實施型態2中,為了能夠對應該種情形而導入有衍生裝置列表。 In the second embodiment, a derivative device list is imported in order to be able to cope with this situation.

<SCADA網路人機介面伺服器裝置> <SCADA Network HMI Server Device>

參閱圖5及圖6所示之例,針對在實施型態2之人機介面伺服器裝置10動作之人機介面伺服器應用程式11的特徵性處理進行說明。 Referring to the example shown in FIG. 5 and FIG. 6 , the characteristic processing of the human-machine interface server application 11 in the operation of the human-machine interface server device 10 of the implementation type 2 will be described.

圖5所示之構成係除了追加有衍生裝置列表33,及替代畫面資訊管理處理12而具備畫面資訊管理處理12a以外,與圖2之構成相同。 The configuration shown in FIG. 5 is the same as that of FIG. 2 except that the derivative device list 33 is added, and the screen information management process 12 a is provided instead of the screen information management process 12 .

畫面資訊管理處理12a係管理畫面資訊13,該畫面資訊13係將下列資訊建立關聯而成者:人機介面畫面的畫面名、配置於該人機介面畫面之零件的零件名、使該零件的狀態變化之PLC訊號的PLC訊號名。PLC訊號名例如為組合圖6的輸出PLCID及PLC位址而成之名稱。各PLC訊號名係於人機介面1中固有之名稱。 The screen information management process 12a manages the screen information 13, which is formed by associating the following information: the screen name of the man-machine interface screen, the part name of the part arranged on the man-machine interface screen, The PLC signal name of the PLC signal whose state changes. The PLC signal name is, for example, a name formed by combining the output PLCID and PLC address of FIG. 6 . Each PLC signal name is a unique name in the HMI 1.

畫面資訊13係依據按每個畫面定義之裝置列表32及衍生裝置列表33而產生。圖6係就裝置列表32之一例,記載有人機介面畫面G1的G1裝置列表32a、人機介面畫面G2的G2裝置列表32b、人機介面畫面G4的G4裝置列表32d及衍生裝置列表33。圖6係記載有根據該等裝置列表32及衍生裝置列表33而產生之畫面資訊13。 The screen information 13 is generated according to the device list 32 and the derived device list 33 defined for each screen. 6 shows an example of the device list 32, which records the G1 device list 32a of the HMI screen G1, the G2 device list 32b of the HMI screen G2, the G4 device list 32d and the derivative device list 33 of the HMI screen G4. FIG. 6 records the screen information 13 generated according to the device lists 32 and the derived device lists 33 .

參閱圖6所示之例,針對依據裝置列表32及衍生裝置列表33而產生畫面資訊13之方法。 Referring to the example shown in FIG. 6 , the method for generating the screen information 13 according to the device list 32 and the derived device list 33 is directed.

首先,畫面資訊管理處理12a係讀取第一畫面裝置列表(G1裝置列表32a、G2裝置列表32b)、第二畫面裝置列表(G4裝置列表32d)及衍生裝置列表33。 First, the screen information management process 12a reads the first screen device list (G1 device list 32a, G2 device list 32b), second screen device list (G4 device list 32d) and derivative device list 33.

構成第一畫面裝置列表之資訊係將下列資訊建立關聯而成者:第一人機介面的第一畫面名、配置於第一人機介面畫面之第一零件的第一零件名、及使第一零件的狀態變化之第一PLC訊號的第一PLC訊號名。例如,圖6的G1裝置列表32a係包含將第一畫面名(G1)、第一零件名(G1_1)及第一PLC訊號名(P1_1)建立關聯而成之資訊。於此,第一PLC訊號名相當於將輸出PLCID與PLC位址組合而成之名稱。 The information constituting the device list of the first screen is formed by associating the following information: the name of the first screen of the first human-machine interface, the name of the first part of the first part arranged on the screen of the first human-machine interface, and The first PLC signal name of the first PLC signal that changes the state of the first part. For example, the G1 device list 32a in FIG. 6 includes information obtained by associating the first screen name ( G1 ), the first part name ( G1_1 ), and the first PLC signal name ( P1_1 ). Here, the first PLC signal name corresponds to a name formed by combining the output PLCID and the PLC address.

構成第二畫面裝置列表之資訊,係至少為將第二人機介面畫面之第二畫面名、及配置於第二人機介面畫面之第二零件的第二零件名建立關聯而成之資訊。較佳為,構成第二畫面裝置列表之資訊係與第一畫面裝置列表同樣地,為將下列資訊建立關聯而成之資訊:第二人機介面的第二畫面名、配置於第二人機介面畫面之第二零件的第二零件名、及使第二零件的狀態變化之第二PLC訊號的第二PLC訊號名。於此,第二PLC訊號名係相當於將輸出PLCID與PLC位址組合而成之名稱。 The information constituting the device list of the second screen is formed by at least associating the second screen name of the second human-machine interface screen with the second part name of the second part arranged on the second human-machine interface screen News. Preferably, the information constituting the device list on the second screen is the same as the device list on the first screen, and is information formed by associating the following information: the name of the second screen of the second man-machine interface, the name of the second screen disposed on the second man-machine The second component name of the second component in the interface screen, and the second PLC signal name of the second PLC signal that changes the state of the second component. Here, the second PLC signal name is equivalent to a name formed by combining the output PLCID and the PLC address.

例如,圖6之G4裝置列表32d係包含將第二畫面名(G4)、第二零件名(G4_1)及第二PLC訊號名(P4_1)建立關聯而成之資訊。於此,第二PLC訊號名係相當於將輸出PLCID與PLC位址組合而成之名稱。 For example, the G4 device list 32d in FIG. 6 includes information formed by associating the second screen name (G4), the second part name (G4_1), and the second PLC signal name (P4_1). Here, the second PLC signal name is equivalent to a name formed by combining the output PLCID and the PLC address.

衍生裝置列表33係將一個裝置列表32的資訊與其他裝置列表32的資訊連結之連結資訊。衍生裝置列表33係將第二零件名、與影響第二零件的狀態之第一零件的零件名建立關聯而成之資訊。該種將零件 彼此連結之資訊係不包含於第二畫面裝置列表。圖6之例中,衍生裝置列表33係包含將第二零件名(G4_1)與第一零件名(G1_1)建立關聯而成之資訊。另外,衍生零件列表33的檔案名係包含畫面名。 The derived device list 33 is link information that links the information of one device list 32 with the information of the other device list 32 . The derivative device list 33 is information obtained by associating the second part name with the part name of the first part that affects the state of the second part. This kind of parts Information linked to each other is not included in the second screen device list. In the example of FIG. 6 , the derivative device list 33 includes information obtained by associating the second part name ( G4_1 ) with the first part name ( G1_1 ). In addition, the file name of the derived parts list 33 includes the screen name.

畫面資訊管理處理12a係藉由讀取該等裝置列表32及衍生裝置列表33,而將第一畫面資訊、第二畫面資訊及追加畫面資訊加入畫面資訊13。 The screen information management process 12 a adds the first screen information, the second screen information and the additional screen information to the screen information 13 by reading the device list 32 and the derived device list 33 .

第一畫面資訊係將上述第一畫面名、第一零件名與第一PLC訊號名建立關聯而成之資訊。 The first screen information is information formed by associating the first screen name, the first component name and the first PLC signal name.

第二畫面資訊係至少將上述第二畫面名與第二零件名建立關聯而成之資訊。較佳為,第二畫面資訊係與第一畫面資訊同樣地,為將上述第二畫面名、第二零件名與第二PLC訊號名建立關聯而成之資訊。 The second screen information is information formed by at least associating the second screen name with the second component name. Preferably, the second screen information is the same as the first screen information, and is information obtained by associating the second screen name, the second component name and the second PLC signal name.

追加畫面資訊係將下列資訊建立關聯而成之資訊:由第二畫面裝置列表所定之第二畫面名;經由衍生裝置列表33而連結於該第二畫面名之第一零件名;以及與第一零件名相關聯之第一畫面裝置列表的第一PLC訊號名。在圖6中,畫面資訊13係包含追加畫面資訊,該追加畫面資訊係將下列資訊建立關聯而成者:G4裝置列表32d的第二畫面名(G4);經由衍生裝置列表33而連結於第二零件名(G4_1)之第一零件名(G1_1);以及與第一零件名(G1_1)相關聯之G1裝置列表32a的第一PLC訊號名(P1_1)。 The additional screen information is information formed by associating the following information: the second screen name determined by the second screen device list; the first part name linked to the second screen name through the derivative device list 33; The first PLC signal name of the first screen device list associated with a part name. In FIG. 6, the screen information 13 includes additional screen information, which is formed by associating the following information: the second screen name (G4) of the G4 device list 32d; The first part name (G1_1) of the two part names (G4_1); and the first PLC signal name (P1_1) of the G1 device list 32a associated with the first part name (G1_1).

如此,畫面資訊管理處理12a係利用衍生裝置列表33,從第一畫面裝置列表(G1裝置列表32a),複製影響第二人機介面畫面(G4)的第二零件(G4_1)的狀態之第一零件(G1_1)的資訊。 In this way, the screen information management process 12a uses the derivative device list 33 to copy the first screen device list (G1 device list 32a) from the first screen device list (G1 device list 32a), which affects the state of the second part (G4_1) of the second human-machine interface screen (G4). Information for a part (G1_1).

瀏覽器顯示更新處理18係從畫面資訊13,抽出與變化PLC訊號抽出處理16所抽出之變化PLC訊號名相同之PLC訊號名所關聯之畫面名及零件名。 The browser display update process 18 extracts from the screen information 13 the screen name and the part name associated with the PLC signal name that is the same as the changed PLC signal name extracted by the changed PLC signal extraction process 16 .

再者,瀏覽器顯示更新處理18係從瀏覽器資訊15抽出與所抽出之畫面名相關聯之瀏覽器名。 Furthermore, the browser display update process 18 extracts the browser name associated with the extracted screen name from the browser information 15 .

再者,瀏覽器顯示更新處理18係將包含所抽出之零件名及所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名對應之執行中網路瀏覽器。 Furthermore, the browser display update process 18 transmits the update data including the extracted part name and the extracted changed PLC signal value to the running web browser corresponding to the extracted browser name.

依據該處理,瀏覽器顯示更新處理18係在變化PLC訊號名與第一PLC訊號名(P1_1)相同時,將包含第一零件名(G1_1)及變化PLC訊號值之更新資料傳送至正在顯示第二人機介面畫面(G4)之執行中網路瀏覽器(B1)。 According to this process, the browser display update process 18 transmits the updated data including the first part name (G1_1) and the value of the changed PLC signal to the current display when the name of the changed PLC signal is the same as the name of the first PLC signal (P1_1). The web browser (B1) during execution of the second human-machine interface screen (G4).

<人機介面終端機> <Human Interface Terminal>

正在顯示第二人機介面畫面(G4)之執行中網路瀏覽器(B1),係接收包含使第一零件(P1_1)的狀態變化之第一PLC訊號(P1_1)的變化PLC訊號值之更新資料。然後,執行中網路瀏覽器(B1)係將第一PLC訊號(P1_1)的變化PLC訊號值輸入至針對第二零件(G4_1)的狀態變化而預先決定之腳本,並依據該腳本的演算結果,使第二零件(G4_1)的狀態變化。 The web browser (B1) in execution, which is displaying the second man-machine interface screen (G4), receives the changed PLC signal value including the first PLC signal (P1_1) that changes the state of the first part (P1_1). Updates. Then, the web browser (B1) in execution inputs the changed 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 performs calculation according to the script As a result, the state of the second part ( G4_1 ) is changed.

例如,第二零件(G4_1)的腳本為一種程式,係當第一PLC訊號(P1_1)的變化PLC訊號值為顯示特定的瀏覽器名之值,且該值與執行中網路瀏覽器(G4)的瀏覽器名一致時,使第二零件(G4_1)的使用狀態從disable(無效)變化成enable(有效)。 For example, the script of the second part (G4_1) is a program that displays the value of a specific browser name when the PLC signal value of the first PLC signal (P1_1) changes, and the value is the same as that of the web browser ( When the browser names of G4) match, the use state of the second part (G4_1) is changed from disable (invalid) to enable (valid).

關於執行中網路瀏覽器(A1)則與實施型態1相同,故省略說明。 The web browser (A1) in execution is the same as the embodiment 1, so the description is omitted.

<訊號處理的流程> <Flow of Signal Processing>

參閱圖7所示之例,針對實施型態2之訊號處理的流程進行說明。 Referring to the example shown in FIG. 7 , the flow of the signal processing of the implementation type 2 will be described.

圖7係用以針對根據來自PLC 2之PLC訊號P1_1,更新配置於瀏覽器A1的畫面G1之零件G1_1的狀態,並且更新配置於瀏覽器B1的畫面G4之零件G4_1的使用狀態之處理進行說明之圖。另外,配置於畫面G1之零件G1_1與零件G1_2係僅能選擇任一者之按鈕,且假設為選擇了零件G1_1之狀態。 7 is used to describe the process of updating the status of the component G1_1 arranged on the screen G1 of the browser A1 and updating the usage status of the component G4_1 arranged on the screen G4 of the browser B1 according to the PLC signal P1_1 from the PLC 2 map. In addition, the part G1_1 and the part G1_2 arrange|positioned on the screen G1 are buttons which can select only one of them, and it is assumed that the part G1_1 is selected.

於步驟S1中,變化PLC訊號抽出處理16係從PLC 2接收複數個PLC訊號(P1_1、P2_1、P3_1)。 In step S1 , the changing PLC signal extraction process 16 receives a plurality of PLC signals ( P1_1 , P2_1 , P3_1 ) from the PLC 2 .

於步驟S2中,變化PLC訊號抽出處理16係對PLC訊號狀態資訊17所記憶之各PLC訊號的值(前次值)與當次接收之各PLC訊號的值(當次值)進行比較,而判定是否有變化。當有變化時,變化PLC訊號抽出處理16係抽出有變化之PLC訊號的變化PLC訊號名及變化PLC訊號值。圖7之例中,有變化之PLC訊號為P1_1。 In step S2, the variable PLC signal extraction process 16 compares the value (previous value) of each PLC signal stored in the PLC signal state information 17 with the value (current value) of each PLC signal received at the current time, and Determine if there is a change. When there is a change, the changed PLC signal extraction process 16 extracts the changed PLC signal name and the changed PLC signal value of the changed PLC signal. In the example of FIG. 7 , the PLC signal with change is P1_1.

於步驟S3中,人機介面伺服器應用程式11係以當次值更新PLC訊號狀態資訊17所記憶之PLC訊號名(P1_1)所對應之PLC訊號值。 In step S3, the human-machine interface server application 11 updates the PLC signal value corresponding to the PLC signal name (P1_1) stored in the PLC signal state information 17 with the current value.

於步驟S4中,瀏覽器顯示更新處理18係從畫面資訊13,抽出與所抽出之變化PLC訊號名相同之PLC訊號名(P1_1)所關聯之畫面名(G1、G4)及零件名(G1_1、G1_1)。 In step S4, the browser display update process 18 extracts from the screen information 13 the screen names (G1, G4) and the part names (G1_1, G1_1).

於步驟S5中,瀏覽器顯示更新處理18係從瀏覽器資訊15,抽出與所抽出之畫面名(G1、G4)相關聯之瀏覽器名(A1、B1)。 In step S5, the browser display update process 18 extracts the browser names (A1, B1) associated with the extracted screen names (G1, G4) from the browser information 15.

於步驟S6中,瀏覽器顯示更新處理18係將包含所抽出之零件名(G1_1)與所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名(A1)所對應之執行中網路瀏覽器進行通訊之通訊物件。 In step S6, the browser display update process 18 transmits the updated data including the extracted part name (G1_1) and the extracted changed PLC signal value to the execution device corresponding to the extracted browser name (A1). A communication object that communicates with a web browser.

於步驟S7中,更新資料係經由通訊物件傳送至執行中網路瀏覽器A1。 In step S7, the update data is sent to the running web browser A1 via the communication object.

之後,瀏覽器A1係接收更新資料,並根據變化PLC訊號值使零件G1_1的狀態變化。例如,零件G1_1的顯示顏色會變化。 After that, the browser A1 receives the updated data, and changes the state of the part G1_1 according to the changed PLC signal value. For example, the display color of part G1_1 changes.

再者,步驟S5之處理後,於步驟S8中,瀏覽器顯示更新處理18係將包含所抽出之零件名(G1_1)及所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名(B1)所對應之執行中網路瀏覽器進行通訊之通訊物件。 Furthermore, after the processing of step S5, in step S8, the browser display update processing 18 transmits the updated data including the extracted part name (G1_1) and the extracted changed PLC signal value to the extracted browser. The communication object of the running web browser corresponding to the device name (B1).

於步驟S9中,更新資料係經由通訊物件而傳送至執行中網路瀏覽器(B1)。 In step S9, the update data is transmitted to the running web browser (B1) via the communication object.

之後,正在顯示第二人機介面畫面(G4)之執行中網路瀏覽器(B1)係接收包含使第一零件(P1_1)的狀態變化之第一PLC訊號(P1_1)的變化PLC訊號值之更新資料。 After that, the web browser (B1) in execution that is displaying the second man-machine interface screen (G4) receives the changed PLC signal value including the first PLC signal (P1_1) that changes the state of the first part (P1_1) update information.

然後,執行中網路瀏覽器(B1)係將第一PLC訊號(P1_1)的變化PLC訊號值,輸入針對第二零件(G4_1)的狀態變化而預先決定之腳本。該腳本為一種程式,係在第一PLC訊號(P1_1)的變化PLC訊號值為 顯示瀏覽器名(B1)之值,且該值與執行中網路瀏覽器(B1)的瀏覽器名一致時,使第二零件(G4_1)的使用狀態從disable(無效)變化成enable(有效)。 Then, the web browser (B1) in execution inputs the changed PLC signal value of the first PLC signal (P1_1) into a script predetermined for the state change of the second component (G4_1). The script is a program that changes the PLC signal value when the first PLC signal (P1_1) changes. When the value of the browser name (B1) is displayed, and the value is consistent with the browser name of the web browser (B1) in execution, the use state of the second component (G4_1) is changed from disable (invalid) to enable ( efficient).

執行中網路瀏覽器(B1)係依據以變化PLC訊號值為輸入值之腳本的演算結果,使第二零件(G4_1)的狀態變化。在圖7之例中,鎖定解除條件成立,第二零件(G41)的使用狀態從disable(無效)變化成enable(有效)。 The web browser (B1) during execution changes the state of the second part (G4_1) according to the calculation result of the script with the changed PLC signal value as the input value. In the example of FIG. 7, the lock release condition is satisfied, and the use state of the second part (G41) is changed from disable (invalid) to enable (valid).

如以上所說明,依據實施型態2之人機介面伺服器裝置10及人機介面終端機20,能夠根據其他畫面內的零件的狀態來變更某個人機介面畫面中的零件的狀態。因此,依據實施型態2之系統,能夠一面採用實施型態1所說明之用以高速化之構成,並一面實現如上述之安全處理。再者,藉由利用衍生裝置列表33,由於可複製連結之裝置列表的資訊並追加至畫面資訊,故可提高設計作業的效率。 As described above, according to the human-machine interface server device 10 and the human-machine interface terminal 20 of the second embodiment, the state of a component in a certain human-machine interface screen can be changed according to the state of the component in another screen. Therefore, according to the system of Embodiment 2, the above-mentioned security processing can be realized while adopting the configuration for speeding up described in Embodiment 1. Furthermore, by using the derived device list 33, since the information of the linked device list can be copied and added to the screen information, the efficiency of the design operation can be improved.

<硬體構成例> <Example of hardware configuration>

圖8係顯示人機介面伺服器裝置10及人機介面終端機20的硬體構成例之方塊圖。 FIG. 8 is a block diagram showing an example of the hardware configuration of the human-machine interface server device 10 and the human-machine interface terminal 20 .

上述人機介面伺服器裝置10的各處理係由處理電路而實現。處理電路係由處理器10a、記憶體10b及網路介面10c連接而構成。處理器10a係藉由執行記憶於記憶體10b之各種程式,而實現人機介面伺服器裝置10的各功能。網路介面10c為經由電腦網路而與PLC2及人機介面終端機20連接,並可傳送接收PLC訊號及控制命令之裝置。 Each processing of the human-machine interface server device 10 described above is realized by a processing circuit. The processing circuit is formed by connecting the processor 10a, the memory 10b and the network interface 10c. The processor 10a implements various functions of the human-machine interface server device 10 by executing various programs stored in the memory 10b. The network interface 10c is a device that is connected to the PLC2 and the human-machine interface terminal 20 via a computer network, and can transmit and receive PLC signals and control commands.

上述之人機介面終端機20的各處理係由處理電路而實現。處理電路係由處理器20a、記憶體20b、網路介面20c、輸入介面20d及至 少一個顯示器20e連接而構成。處理器20a係藉由執行記憶於記憶體20b之各種程式而實現人機介面終端機20的各功能。網路介面20c係連接於人機介面伺服器裝置10,並可傳送接收PLC訊號及控制命令之裝置。輸入介面20d係鍵盤、滑鼠、觸控面板等輸入裝置。顯示器20e亦可設置複數台。另外,人機介面終端機20亦可為平板裝置等行動終端機。 Each processing of the human-machine interface terminal 20 described above is realized by a processing circuit. The processing circuit is composed of the processor 20a, the memory 20b, the network interface 20c, the input interface 20d and the One less display 20e is connected and configured. The processor 20a implements various functions of the human-machine interface terminal 20 by executing various programs stored in the memory 20b. The network interface 20c is connected to the human-machine interface server device 10, and can transmit and receive PLC signals and control commands. The input interface 20d is an input device such as a keyboard, a mouse, and a touch panel. A plurality of display units 20e may be provided. In addition, the human-machine interface terminal 20 may also be a mobile terminal such as a tablet device.

以上雖針對本發明的實施型態進行了說明,惟本發明並不限定於上述實施型態,在未超出本發明主旨的範圍內亦可實施各種變形。 Although the embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment, and various modifications can be implemented within a scope that does not depart from the gist of the present invention.

2:PLC 2: PLC

10:人機介面伺服器裝置 10: Human-machine interface server device

11:人機介面伺服器應用程式 11: HMI Server Application

12:畫面資訊管理處理 12: Screen information management and processing

13:畫面資訊 13: Screen information

14:瀏覽器資訊管理處理 14: Browser information management processing

15:瀏覽器資訊 15: Browser Information

16:變化PLC訊號抽出處理 16: Change PLC signal extraction processing

17:PLC訊號狀態資訊 17: PLC signal status information

18:瀏覽器顯示更新處理 18: Browser display update processing

20A:人機介面終端機 20A: Human-Machine Interface Terminal

20B:人機介面終端機 20B: Human-Machine Interface Terminal

21a1:網路瀏覽器 21a1: Web browsers

21a2:網路瀏覽器 21a2: Web browsers

21b1:網路瀏覽器 21b1: Web browsers

31:畫面資料 31: Screen information

32:裝置列表 32: Device List

Claims (3)

一種SCADA網路人機介面伺服器裝置,係與人機介面終端機及可編程邏輯控制器(PLC)連接,前述人機介面終端機係至少執行一個顯示人機介面(HMI)畫面之網路瀏覽器,前述人機介面畫面係配置有顯示工廠的狀態之零件,前述SCADA網路人機介面伺服器裝置係根據從前述PLC接收之PLC訊號而傳送用以更新前述零件的狀態之更新資料,前述SCADA網路人機介面伺服器裝置係具備:至少一個處理器;以及記憶程式之記憶體;前述程式係藉由被前述至少一個處理器執行,而使前述至少一個處理器執行包含如下處理之處理:畫面資訊管理處理,係管理畫面資訊,前述畫面資訊係將如下資訊建立關聯而成者:前述人機介面畫面的畫面名、配置於前述人機介面畫面之前述零件的零件名、以及使前述零件的狀態變化之前述PLC訊號的PLC訊號名;瀏覽器資訊管理處理,係管理瀏覽器資訊,前述瀏覽器資訊係將執行中網路瀏覽器的瀏覽器名、與顯示於前述執行中網路瀏覽器之前述人機介面畫面的前述畫面名建立關聯而成者;變化PLC訊號抽出處理,係從前述PLC接收複數個PLC訊號,並抽出前述複數個PLC訊號中有變化之PLC訊號的變化PLC訊號名及變化PLC訊號值;以及 瀏覽器顯示更新處理,係從前述畫面資訊抽出與前述變化PLC訊號名相同之PLC訊號名所關聯之前述畫面名及前述零件名,從前述瀏覽器資訊抽出與前述所抽出之畫面名相關聯之前述瀏覽器名,並將包含前述所抽出之零件名及前述變化PLC訊號值之更新資料,傳送至與前述所抽出之瀏覽器名對應之前述執行中網路瀏覽器。 A SCADA network human-machine interface server device is connected with a human-machine interface terminal and a programmable logic controller (PLC). The above-mentioned human-machine interface screen is equipped with parts showing the status of the factory, the above-mentioned SCADA network human-machine interface server device transmits update data for updating the status of the above-mentioned parts according to the PLC signal received from the above-mentioned PLC, and the above-mentioned SCADA The network human-machine interface server device is provided with: at least one processor; and a memory for storing a program; the program is executed by the at least one processor, so that the at least one processor executes processing including the following processing: screen The information management process is to manage screen information, and the above-mentioned screen information is obtained by associating the following information: the screen name of the above-mentioned human-machine interface screen, the part name of the above-mentioned part arranged on the above-mentioned human-machine interface screen, and the name of the above-mentioned part. The PLC signal name of the aforementioned PLC signal whose status has changed; the browser information management process is to manage browser information, and the aforementioned browser information is the browser name of the web browser in execution, and the browser name displayed on the web browser in execution. The above-mentioned picture name of the above-mentioned human-machine interface screen is associated with the above-mentioned; the change PLC signal extraction process is to receive a plurality of PLC signals from the above-mentioned PLC, and extract the changed PLC signal name of the changed PLC signal in the above-mentioned plurality of PLC signals and changing the PLC signal value; and The browser display update processing is to extract the above-mentioned screen name and the above-mentioned part name associated with the PLC signal name that is the same as the above-mentioned changed PLC signal name from the above-mentioned screen information, and extract from the above-mentioned browser information. browser name, and send the update data including the extracted component name and the changed PLC signal value to the running web browser corresponding to the extracted browser name. 如請求項1所述之SCADA網路人機介面伺服器裝置,其中,前述畫面資訊管理處理係讀取第一畫面裝置列表、第二畫面裝置列表以及衍生裝置列表;前述第一畫面裝置列表係將下列資訊建立關聯而成者:第一人機介面畫面的第一畫面名、配置於前述第一人機介面之第一零件的第一零件名、及使前述第一零件的狀態變化之第一PLC訊號的第一PLC訊號名;前述第二畫面裝置列表係將至少第二人機介面畫面的第二畫面名、與配置於前述第二人機介面畫面之第二零件的第二零件名建立關聯而成者;前述衍生裝置列表係將前述第二零件名、與影響前述第二零件的狀態之前述第一零件的前述第一零件名建立關聯而成者;前述畫面資訊管理處理係對前述畫面資訊增加追加畫面資訊,前述追加畫面資訊係將下列資訊建立關聯而成者:前述第二畫面名、經由前述衍生裝置列表而與前述第二零件名連結之前述第一零件名、以及與前述第一零件名相關聯之前述第一畫面裝置列表的前述第一PLC訊號名; 當前述變化PLC訊號名與前述第一PLC訊號名相同時,前述瀏覽器顯示更新處理係將包含前述第一零件名及前述變化PLC訊號值之前述更新資料傳送至正在顯示前述第二人機介面畫面之執行中網路瀏覽器。 The SCADA network human-machine interface server device according to claim 1, wherein the screen information management process reads a first screen device list, a second screen device list, and a derivative device list; the first screen device list The following information is associated with: the first screen name of the first man-machine interface screen, the first part name of the first part arranged on the first man-machine interface, and the state of the first part is changed The first PLC signal name of the first PLC signal; the second screen device list is a series of at least the second screen name of the second man-machine interface screen and the second part of the second man-machine interface screen. The one created by the association of two part names; the aforesaid derivative device list is created by associating the second part name with the first part name of the first part that affects the state of the second part ; The above-mentioned screen information management process is to add additional screen information to the above-mentioned screen information, and the above-mentioned additional screen information is formed by associating the following information: the above-mentioned second screen name, and the above-mentioned second part name through the above-mentioned derivative device list. the first part name, and the first PLC signal name of the first screen device list associated with the first part name; When the name of the changed PLC signal is the same as the name of the first PLC signal, the browser display update process transmits the update data including the first part name and the changed PLC signal value to the second HMI that is displaying the above The running web browser of the interface screen. 如請求項2所述之SCADA網路人機介面伺服器裝置,其中,正在顯示前述第二人機介面畫面之前述執行中網路瀏覽器係接收前述更新資料,前述更新資料包含使前述第一零件的狀態變化之前述第一PLC訊號的前述變化PLC訊號值,且將前述第一PLC訊號的前述變化PLC訊號值輸入針對前述第二零件的狀態變化而預先決定之腳本,並依據前述腳本的演算結果而使前述第二零件的狀態變化。 The SCADA network human-machine interface server device according to claim 2, wherein the running web browser that is displaying the second human-machine interface screen receives the update data, and the update data includes making the first zero The changed PLC signal value of the first PLC signal of the state change of the component is input, and the changed PLC signal value of the first PLC signal is input into the script predetermined for the state change of the second component, and according to the script As a result of the calculation, the state of the second component is changed.
TW109124429A 2019-07-25 2020-07-20 Scada web hmi server device TWI761886B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019137202A JP7245742B2 (en) 2019-07-25 2019-07-25 SCADA web HMI server device
JP2019-137202 2019-07-25

Publications (2)

Publication Number Publication Date
TW202115552A TW202115552A (en) 2021-04-16
TWI761886B true TWI761886B (en) 2022-04-21

Family

ID=74193951

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109124429A TWI761886B (en) 2019-07-25 2020-07-20 Scada web hmi server device

Country Status (5)

Country Link
JP (1) JP7245742B2 (en)
CN (1) CN112639642B (en)
PH (1) PH12021550355A1 (en)
TW (1) TWI761886B (en)
WO (1) WO2021015022A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4084435B1 (en) * 2021-04-27 2025-10-08 OMRON Corporation Web-based industrial control
US12504730B2 (en) * 2021-06-10 2025-12-23 Tmeic Corporation Scada web HMI system
JP7464196B2 (en) * 2021-06-10 2024-04-09 東芝三菱電機産業システム株式会社 SCADA Web HMI System
CN116034338A (en) * 2021-07-07 2023-04-28 东芝三菱电机产业系统株式会社 SCADA web page HMI system
CN116097190A (en) * 2021-07-07 2023-05-09 东芝三菱电机产业系统株式会社 SCADA web page HMI system
CN116710865B (en) * 2021-12-27 2026-01-30 株式会社Tmeic SCADA web-based HMI client device and SCADA web-based HMI system
WO2023188162A1 (en) * 2022-03-30 2023-10-05 東芝三菱電機産業システム株式会社 Scada web hmi client device and scada web hmi system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200509596A (en) * 2003-06-23 2005-03-01 Boc Group Inc Method and apparatus for self-configuring supervisory control and data acquisition (SCADA) system for distributed control
TW200710750A (en) * 2005-06-01 2007-03-16 Ils Technology Llc Model for communication between manufacturing and enterprise levels
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
TW201712455A (en) * 2015-09-25 2017-04-01 Contec Co Ltd Device, program, and method for creating monitoring image
US20180059921A1 (en) * 2016-09-01 2018-03-01 Honeywell International Inc. Custom gui control for visualizing field data

Family Cites Families (12)

* Cited by examiner, † Cited by third party
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
JP3748232B2 (en) * 2002-03-20 2006-02-22 株式会社デジタル Data transmission device, display device, and control system
JP2006072442A (en) * 2004-08-31 2006-03-16 Digital Electronics Corp Control system
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
JP5656912B2 (en) * 2012-05-07 2015-01-21 三菱電機株式会社 Monitoring control system display device and monitoring control system
CN104412243B (en) * 2012-06-26 2018-03-30 三菱电机株式会社 Equipment management system, equipment management device and device management method
JP5716108B2 (en) * 2014-03-10 2015-05-13 株式会社三菱東京Ufj銀行 ONLINE SYSTEM, PROGRAM GENERATION DEVICE, AND SCREEN CONTROL PROGRAM GENERATION DEVICE
WO2018087864A1 (en) * 2016-11-10 2018-05-17 三菱電機株式会社 Information display device, information display system, and display screen control method
CN108667861B (en) * 2017-03-28 2020-08-07 比亚迪股份有限公司 Method, system and server for real-time monitoring of equipment through browser
CN109862064B (en) * 2018-11-22 2021-08-13 中国铁建重工集团股份有限公司 Configuration method and device for remote monitoring of equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200509596A (en) * 2003-06-23 2005-03-01 Boc Group Inc Method and apparatus for self-configuring supervisory control and data acquisition (SCADA) system for distributed control
TW200710750A (en) * 2005-06-01 2007-03-16 Ils Technology Llc Model for communication between manufacturing and enterprise levels
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
TW201712455A (en) * 2015-09-25 2017-04-01 Contec Co Ltd Device, program, and method for creating monitoring image
US20180059921A1 (en) * 2016-09-01 2018-03-01 Honeywell International Inc. Custom gui control for visualizing field data

Also Published As

Publication number Publication date
TW202115552A (en) 2021-04-16
WO2021015022A1 (en) 2021-01-28
JP7245742B2 (en) 2023-03-24
JP2021022071A (en) 2021-02-18
PH12021550355A1 (en) 2021-10-04
CN112639642A (en) 2021-04-09
CN112639642B (en) 2024-10-22

Similar Documents

Publication Publication Date Title
TWI761886B (en) Scada web hmi server device
CN103559182B (en) Systems and methods for asynchronous searching and filtering of data
KR101496185B1 (en) Devices, systems, and methods for configuring a programmable logic controller
US8798775B2 (en) Binding graphic elements to controller data
US11949736B2 (en) Data capture on a serial device
ITMI20071074A1 (en) &#34;AUTOMATED SYSTEM FOR TEXTILE MACHINE CONTROL&#34;
US20160149861A1 (en) Firewall with Application Packet Classifier
TWI764582B (en) Scada, web hmi system and hmi client
US9535413B2 (en) Automatic device parameter binding method and system
TWI853271B (en) Scada web hmi client device and scada web hmi system
US12350863B2 (en) Data capture on a serial device
TWI803253B (en) Scada web hmi system
JP2021174316A (en) Software development environment providing system, software development environment providing method, and software development environment providing program
US20240028003A1 (en) Module Interface
US12273430B2 (en) Protocol driver creating device
KR102758405B1 (en) User interface generating system and control method of the same
CN120045360A (en) Method, system, equipment and medium for communication of cloud configuration designer component of Internet of things
DE102015115402A1 (en) Configuration of network nodes using scripts