TWI761886B - Scada web hmi server device - Google Patents
Scada web hmi server device Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 46
- 230000008569 process Effects 0.000 claims abstract description 45
- 239000000284 extract Substances 0.000 claims abstract description 18
- 238000000605 extraction Methods 0.000 claims abstract description 17
- 238000012545 processing Methods 0.000 claims description 52
- 230000008859 change Effects 0.000 claims description 22
- 238000013515 script Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 101100190617 Arabidopsis thaliana PLC2 gene Proteins 0.000 description 4
- 101100408456 Arabidopsis thaliana PLC8 gene Proteins 0.000 description 4
- 101100464304 Caenorhabditis elegans plk-3 gene Proteins 0.000 description 4
- 101100093534 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RPS1B gene Proteins 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000009467 reduction 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網路人機介面伺服器裝置。 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,
(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
為了實現降低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
依據本發明,能夠實現藉由人機介面副系統的網路應用程式化而降低成本,並且藉由減輕資料處理量而達成高速化。 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
圖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.
<整體構成> <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
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
人機介面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-
人機介面伺服器裝置10係經由電腦網路與PLC 2連接。人機介面伺服器裝置10係經由電腦網路與人機介面終端機20連接。人機介面伺服器裝置10亦可連接於複數個人機介面終端機20。當無須區別各人機介面終端機時係簡單記為人機介面終端機20。
The human-machine
人機介面終端機20係未包含監視控制邏輯之精簡客戶端,並執行至少一個網路瀏覽器21。網路瀏覽器21係顯示配置有顯示工廠的狀態之零件之人機介面畫面。具體而言,人機介面終端機20係具有至少一個監視器(圖8之顯示器20e),在一個監視器中,以全螢幕顯示一個網路瀏覽器21。人機介面終端機20具有複數個監視器時,於各監視器係以全螢幕顯示網路瀏覽器21。亦即,人機介面終端機20係執行複數個網路瀏覽器21。
The
人機介面伺服器裝置10係執行人機介面伺服器應用程式11。人機介面伺服器應用程式係具備與人機介面終端機20通訊之網路伺服器功能,及與PLC 2通訊之I/O伺服器功能(應用程式伺服器功能)。人機介面終端機20係執行網路瀏覽器21。屬於執行環境之人機介面1係作為網路瀏覽器21上動作之腳本(例如JavaScript(註冊商標))與人機介面伺服器應用程式11協同運作之網路應用程式而動作。
The human-machine
人機介面伺服器裝置10係根據從PLC 2接收之PLC訊號,將更新零件狀態所需之更新資料傳送至網路瀏覽器21。人機介面伺服器裝置10係從網路瀏覽器21接收控制命令並傳送至PLC 2。
The human-machine
<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
在圖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
如後述之圖8所示,人機介面伺服器裝置10係具備至少一個處理器10a,及記憶程式之記憶體10b。程式係藉由被處理器10a執行,而使處理器10a執行包含以下各處理之處理。
As shown in FIG. 8 to be described later, the human-machine
人機介面伺服器應用程式11係在其開始時,產生用以與網路瀏覽器21通訊之通訊物件以及用以與PLC通訊之通訊物件。
The
再者,人機介面伺服器應用程式11係在其開始時,讀取配置有零件之人機介面畫面之畫面資料31以及裝置列表32。
Furthermore, the human-machine
畫面資料31係按每個人機介面畫面定義之向量資料。就一例而言,向量資料為Scalable Vector Graphics(SVG,可縮放向量圖形)格式之資料。SVG資料包含配置於人機介面畫面之零件的零件名、形狀、位置、顏色、大小作為SVG元件的屬性。另外,畫面資料31的檔案名包含有畫面名。
The
裝置列表32係按每個人機介面畫面定義之資料。就一例而言,該資料係Comma-Separated Values(CSV,逗號分隔值)格式之資料。裝置列表32係包含零件名(項目(item)名)、類型、註解、輸出PLCID、PLC位址、通訊位址作為欄位(圖3)。零件名例如為組合畫面名及畫面內的裝置編號而成之名稱。另外亦可為組合零件種類而成之名稱。各零件名係於人機介面1中固有的名稱。另外,裝置列表32的檔案名係包含有畫面名。
The
再者,人機介面伺服器應用程式11係依據所讀取之畫面資料31及裝置列表32,而產生每個畫面的內容。內容包含SVG資料、畫面資訊。人機介面伺服器應用程式11係將從網路瀏覽器21被要求之人機介
面畫面所對應之內容傳送至網路瀏覽器21。網路瀏覽器21係接收內容而顯示人機介面畫面。
Furthermore, the human-machine
人機介面伺服器應用程式11係將從PLC 2接收之PLC訊號記憶於PLC訊號狀態資訊17。PLC訊號狀態資訊17係記憶有將所接收之PLC訊號的PLC訊號名與PLC訊號值建立關聯而成之資訊。PLC訊號名係例如將圖3之輸出PLCID與PLC位址組合而成之名稱。各PLC訊號名係於人機介面1中固有之名稱。
The human-machine
畫面資訊管理處理12係管理畫面資訊13,該畫面資訊13係將下列資訊建立關聯而成者:人機介面畫面的畫面名、配置於該人機介面畫面之零件的零件名、以及使該零件的狀態變化之PLC訊號的PLC訊號名。
The screen
畫面資訊13係依據按每個人機介面畫面定義之裝置列表32而產生。圖3中,就裝置列表32之一例而言,係記載有人機介面畫面G1的G1裝置列表32a,人機介面畫面G2的G2裝置列表32b及人機介面畫面G3的G3裝置列表32c。於圖3中,記載有依據該等裝置列表而產生之畫面資訊13。
The
瀏覽器資訊管理處理14係管理瀏覽器資訊15,該瀏覽器資訊15係將執行中網路瀏覽器21的瀏覽器名、與顯示於執行中網路瀏覽器21之人機介面畫面的畫面名建立關聯而成者。亦即,所顯示之人機介面畫面係並非以人機介面終端機為單位,而是以瀏覽器為單位(以監視器為單位)來管理。瀏覽器名係將人機介面終端機名與監視器編號(瀏覽器編號)組合而成之名稱。各瀏覽器名係於人機介面1中固有的名稱。
The browser
圖2中,瀏覽器資訊管理處理14係管理下列資訊作為瀏覽器資訊15:將執行中網路瀏覽器21a1的瀏覽器名(A1)與畫面名(G1)建立關聯而成之資訊;將執行中網路瀏覽器21a2的瀏覽器名(A2)與畫面名(G2)建立關聯而成之資訊;以及將執行中網路瀏覽器21b1的瀏覽器名(B1)與畫面名(G3)建立關聯而成之資訊。
In FIG. 2, the browser
瀏覽器資訊15係在網路瀏覽器21之啟動時、網路瀏覽器21之結束時、以及顯示於網路瀏覽器21之人機介面畫面轉移成其他人機介面畫面時會被更新。
The
變化PLC訊號抽出處理16係從PLC2接收複數個PLC訊號,並抽出複數個PLC訊號中有變化之PLC訊號的訊號名(變化PLC訊號名)及訊號值(變化PLC訊號值)。
The changing PLC
具體而言,變化PLC訊號抽出處理16係對記億於PLC訊號狀態資訊17之各PLC訊號的值(前次值)與本次接收之各PLC訊號的值(當次值)進行比較,而判定是否有變化。在有變化時,變化PLC訊號抽出處理16係抽出有變化之PLC訊號的訊號名(變化PLC訊號名)及訊號值(變化PLC訊號值)。
Specifically, the variable PLC
瀏覽器顯示更新處理18係從畫面資訊13,抽出與變化PLC訊號抽出處理16所抽出之變化PLC訊號名相同之PLC訊號名所關聯之畫面名及零件名。
The browser
並且,瀏覽器顯示更新處理18係從瀏覽器資訊15抽出與所抽出之畫面名相關聯之瀏覽器名。
Then, the browser
並且,瀏覽器顯示更新處理18係將包含所抽出之零件名及所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名對應之執行中網路瀏覽器21。
In addition, the browser
依據瀏覽器顯示更新處理18,所傳送之更新資料係僅針對有變更之PLC訊號之資料。因此,資料量極小。再者,更新資料係僅限定於正在顯示配置了有變更之PLC訊號所對應之零件之人機介面畫面之執行中網路瀏覽器而被傳送。因此更新資料不會被傳送至無須更新之網路瀏覽器。
According to the browser
<人機介面終端機> <Human Interface Terminal>
被瀏覽器顯示更新處理18指定作為傳送目的地之執行中網路瀏覽器21係接收更新資料。網路瀏覽器21係依據變化PLC訊號值,而使與更新資料所包含之零件名對應之零件的狀態(數值、顏色、形狀、位置)變化。
The executing
在人機介面終端機20有複數個網路瀏覽器在動作時,更新資料係僅在正在顯示配置了與更新資料有關係之零件之人機介面畫面之網路瀏覽器21被處理。因此,在與更新無關之網路瀏覽器21不會進行處理,而可減輕人機介面終端機20的資料處理量。藉由減輕資料處理量,人機介面終端機20僅需為網路瀏覽器21能夠動作之程度的低規格之電腦即可。例如,平板裝置等行動終端機亦可進行系統之監視及控制。
When the human-
<訊號處理的流程> <Flow of Signal Processing>
參閱圖4所示之例,針對實施型態1之訊號處理的流程進行說明。
Referring to the example shown in FIG. 4 , the flow of the signal processing of the
圖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
於步驟S1中,變化PLC訊號抽出處理16係從PLC2接收複數個PLC訊號(P1_1、P2_1、P3_1)。
In step S1, the variable PLC
於步驟S2中,變化PLC訊號抽出處理16係對PLC訊號狀態資訊17所記憶之各PLC訊號的值(前次值)與本次所接收之各PLC訊號的值(當次值)進行比較,並判定是否有變化。在有變化時,變化PLC訊號抽出處理16係抽出有變化之PLC訊號的變化PLC訊號名及變化PLC訊號值。在圖4之例中,有變化之PLC訊號係P1_1。
In step S2, the variable PLC
於步驟S3中,人機介面伺服器應用程式11係以當次值對PLC訊號狀態資訊17所記憶之PLC訊號名(P1_1)所對應之PLC訊號值進行更新。
In step S3, the human-machine
於步驟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係將包含所抽出之零件名(G1_1)及所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名(A1)所對應之執行中網路瀏覽器進行通訊之通訊物件。
In step S6, the browser
於步驟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
然而,在網路瀏覽器21啟動時及網路瀏覽器21的人機介面畫面轉移時之處理則如下述。首先,在網路瀏覽器21啟動時或網路瀏覽器21的人機介面畫面轉移時,會從該瀏覽器(例如21a1)對人機介面伺服器應用程式11傳送新開的人機介面畫面的資訊,人機介面伺服器應用程式11會依據該資訊將瀏覽器資訊15更新。接著,人機介面伺服器應用程式11會利用畫面資訊13,抽出該人機介面畫面所需之PLC訊號。然後,人機介面伺服器應用程式11係從PLC訊號狀態資訊17取得該人機介面畫面所需之PLC訊號之值,並傳送至該瀏覽器。
However, the processing when the
實施型態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
然而,會有配置於某個人機介面畫面之零件的狀態受到配置於其他人機介面畫面之零件的狀態影響之情形。例如有下述情形:當配置於第一人機介面畫面之第一零件所對應之第一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
在實施型態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
圖5所示之構成係除了追加有衍生裝置列表33,及替代畫面資訊管理處理12而具備畫面資訊管理處理12a以外,與圖2之構成相同。
The configuration shown in FIG. 5 is the same as that of FIG. 2 except that the
畫面資訊管理處理12a係管理畫面資訊13,該畫面資訊13係將下列資訊建立關聯而成者:人機介面畫面的畫面名、配置於該人機介面畫面之零件的零件名、使該零件的狀態變化之PLC訊號的PLC訊號名。PLC訊號名例如為組合圖6的輸出PLCID及PLC位址而成之名稱。各PLC訊號名係於人機介面1中固有之名稱。
The screen
畫面資訊13係依據按每個畫面定義之裝置列表32及衍生裝置列表33而產生。圖6係就裝置列表32之一例,記載有人機介面畫面G1的G1裝置列表32a、人機介面畫面G2的G2裝置列表32b、人機介面畫面G4的G4裝置列表32d及衍生裝置列表33。圖6係記載有根據該等裝置列表32及衍生裝置列表33而產生之畫面資訊13。
The
參閱圖6所示之例,針對依據裝置列表32及衍生裝置列表33而產生畫面資訊13之方法。
Referring to the example shown in FIG. 6 , the method for generating the
首先,畫面資訊管理處理12a係讀取第一畫面裝置列表(G1裝置列表32a、G2裝置列表32b)、第二畫面裝置列表(G4裝置列表32d)及衍生裝置列表33。
First, the screen
構成第一畫面裝置列表之資訊係將下列資訊建立關聯而成者:第一人機介面的第一畫面名、配置於第一人機介面畫面之第一零件的第一零件名、及使第一零件的狀態變化之第一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
構成第二畫面裝置列表之資訊,係至少為將第二人機介面畫面之第二畫面名、及配置於第二人機介面畫面之第二零件的第二零件名建立關聯而成之資訊。較佳為,構成第二畫面裝置列表之資訊係與第一畫面裝置列表同樣地,為將下列資訊建立關聯而成之資訊:第二人機介面的第二畫面名、配置於第二人機介面畫面之第二零件的第二零件名、及使第二零件的狀態變化之第二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
衍生裝置列表33係將一個裝置列表32的資訊與其他裝置列表32的資訊連結之連結資訊。衍生裝置列表33係將第二零件名、與影響第二零件的狀態之第一零件的零件名建立關聯而成之資訊。該種將零件
彼此連結之資訊係不包含於第二畫面裝置列表。圖6之例中,衍生裝置列表33係包含將第二零件名(G4_1)與第一零件名(G1_1)建立關聯而成之資訊。另外,衍生零件列表33的檔案名係包含畫面名。
The derived
畫面資訊管理處理12a係藉由讀取該等裝置列表32及衍生裝置列表33,而將第一畫面資訊、第二畫面資訊及追加畫面資訊加入畫面資訊13。
The screen
第一畫面資訊係將上述第一畫面名、第一零件名與第一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
如此,畫面資訊管理處理12a係利用衍生裝置列表33,從第一畫面裝置列表(G1裝置列表32a),複製影響第二人機介面畫面(G4)的第二零件(G4_1)的狀態之第一零件(G1_1)的資訊。
In this way, the screen
瀏覽器顯示更新處理18係從畫面資訊13,抽出與變化PLC訊號抽出處理16所抽出之變化PLC訊號名相同之PLC訊號名所關聯之畫面名及零件名。
The browser
再者,瀏覽器顯示更新處理18係從瀏覽器資訊15抽出與所抽出之畫面名相關聯之瀏覽器名。
Furthermore, the browser
再者,瀏覽器顯示更新處理18係將包含所抽出之零件名及所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名對應之執行中網路瀏覽器。
Furthermore, the browser
依據該處理,瀏覽器顯示更新處理18係在變化PLC訊號名與第一PLC訊號名(P1_1)相同時,將包含第一零件名(G1_1)及變化PLC訊號值之更新資料傳送至正在顯示第二人機介面畫面(G4)之執行中網路瀏覽器(B1)。
According to this process, the browser
<人機介面終端機> <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
<訊號處理的流程> <Flow of Signal Processing>
參閱圖7所示之例,針對實施型態2之訊號處理的流程進行說明。
Referring to the example shown in FIG. 7 , the flow of the signal processing of the
圖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
於步驟S1中,變化PLC訊號抽出處理16係從PLC 2接收複數個PLC訊號(P1_1、P2_1、P3_1)。
In step S1 , the changing PLC
於步驟S2中,變化PLC訊號抽出處理16係對PLC訊號狀態資訊17所記憶之各PLC訊號的值(前次值)與當次接收之各PLC訊號的值(當次值)進行比較,而判定是否有變化。當有變化時,變化PLC訊號抽出處理16係抽出有變化之PLC訊號的變化PLC訊號名及變化PLC訊號值。圖7之例中,有變化之PLC訊號為P1_1。
In step S2, the variable PLC
於步驟S3中,人機介面伺服器應用程式11係以當次值更新PLC訊號狀態資訊17所記憶之PLC訊號名(P1_1)所對應之PLC訊號值。
In step S3, the human-machine
於步驟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係將包含所抽出之零件名(G1_1)與所抽出之變化PLC訊號值之更新資料,傳送至與所抽出之瀏覽器名(A1)所對應之執行中網路瀏覽器進行通訊之通訊物件。
In step S6, the 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
於步驟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
<硬體構成例> <Example of hardware configuration>
圖8係顯示人機介面伺服器裝置10及人機介面終端機20的硬體構成例之方塊圖。
FIG. 8 is a block diagram showing an example of the hardware configuration of the human-machine
上述人機介面伺服器裝置10的各處理係由處理電路而實現。處理電路係由處理器10a、記憶體10b及網路介面10c連接而構成。處理器10a係藉由執行記憶於記憶體10b之各種程式,而實現人機介面伺服器裝置10的各功能。網路介面10c為經由電腦網路而與PLC2及人機介面終端機20連接,並可傳送接收PLC訊號及控制命令之裝置。
Each processing of the human-machine
上述之人機介面終端機20的各處理係由處理電路而實現。處理電路係由處理器20a、記憶體20b、網路介面20c、輸入介面20d及至
少一個顯示器20e連接而構成。處理器20a係藉由執行記憶於記憶體20b之各種程式而實現人機介面終端機20的各功能。網路介面20c係連接於人機介面伺服器裝置10,並可傳送接收PLC訊號及控制命令之裝置。輸入介面20d係鍵盤、滑鼠、觸控面板等輸入裝置。顯示器20e亦可設置複數台。另外,人機介面終端機20亦可為平板裝置等行動終端機。
Each processing of the human-
以上雖針對本發明的實施型態進行了說明,惟本發明並不限定於上述實施型態,在未超出本發明主旨的範圍內亦可實施各種變形。 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)
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)
| 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)
| 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)
| 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 |
-
2019
- 2019-07-25 JP JP2019137202A patent/JP7245742B2/en active Active
-
2020
- 2020-07-10 WO PCT/JP2020/027141 patent/WO2021015022A1/en not_active Ceased
- 2020-07-10 CN CN202080004662.XA patent/CN112639642B/en active Active
- 2020-07-20 TW TW109124429A patent/TWI761886B/en active
-
2021
- 2021-02-19 PH PH12021550355A patent/PH12021550355A1/en unknown
Patent Citations (6)
| 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) | "AUTOMATED SYSTEM FOR TEXTILE MACHINE CONTROL" | |
| 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 |