[go: up one dir, main page]

TWI430088B - Active monitoring system for serial monitoring device and method thereof - Google Patents

Active monitoring system for serial monitoring device and method thereof Download PDF

Info

Publication number
TWI430088B
TWI430088B TW99138344A TW99138344A TWI430088B TW I430088 B TWI430088 B TW I430088B TW 99138344 A TW99138344 A TW 99138344A TW 99138344 A TW99138344 A TW 99138344A TW I430088 B TWI430088 B TW I430088B
Authority
TW
Taiwan
Prior art keywords
serial
tag
monitoring device
server
control command
Prior art date
Application number
TW99138344A
Other languages
Chinese (zh)
Other versions
TW201220041A (en
Inventor
Yi Ming Pao
Kuan Wei Cheng
Chang Fu Hsieh
Original Assignee
Moxa Inc
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 Moxa Inc filed Critical Moxa Inc
Priority to TW99138344A priority Critical patent/TWI430088B/en
Publication of TW201220041A publication Critical patent/TW201220041A/en
Application granted granted Critical
Publication of TWI430088B publication Critical patent/TWI430088B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Description

串列監控裝置的主動式監控系統及其方法 Active monitoring system of serial monitoring device and method thereof

本發明為有關於一種串列監控裝置的主動式監控系統及其方法,特別是指一種監控與觸發端連結的串列監控裝置,並且使觸發端能夠主動傳送裝置標籤的主動式監控系統及其方法。 The present invention relates to an active monitoring system and a method thereof for a serial monitoring device, and more particularly to a serial monitoring device coupled with a monitoring terminal and a triggering terminal capable of actively transmitting a device tag active monitoring system and method.

近年來,隨著半導體相關產業及網路的蓬勃發展,使得監控系統趨於成熟且應用範圍更為廣泛,舉例來說,作業人員可直接透過網際網路對遠端的串列式設備(如:串列監控裝置)進行監控,而不需親自在串列式設備面前進行操作即可得到相同的結果,以此方式不但能夠精簡人力,更可有效降低成本。 In recent years, with the booming development of semiconductor-related industries and networks, surveillance systems have matured and become more widely used. For example, operators can directly access remote serial devices through the Internet (eg : Tandem monitoring device) to monitor, without the need to personally operate in front of the serial device to get the same result, in this way not only can streamline manpower, but also effectively reduce costs.

然而,上述監控系統在需要增加監控的串列式設備時,由於增加的串列式設備可能來自不同的硬體廠商,且各個串列式設備均搭配有專屬的監控軟體以及使用不同的串列通訊協定,如:“Modbus RTU”、“Canbus”、“DeviceNet”、“Interbus”......等等。因此如何使這些設備的資料交換介面能夠相容,便成為各家硬體廠商急欲解決的問題之一。 However, when the above-mentioned monitoring system needs to increase the monitoring of the serial device, the added serial device may come from different hardware manufacturers, and each of the serial devices is equipped with a dedicated monitoring software and uses different serials. Communication protocols such as "Modbus RTU", "Canbus", "DeviceNet", "Interbus", etc. Therefore, how to make the data exchange interface of these devices compatible is one of the problems that various hardware manufacturers are eager to solve.

有鑑於此,各家硬體廠商與軟體廠商便共同提出公開的工業通訊標準介面(即Object Linking and Embedding for Process Control,OPC),用以使不同的監控軟體能夠與不同硬體廠商的設備進行連接及資料交換,不過,以此方式無法相容以往不具有OPC的串列監控裝置,且由於OPC的偵測方式是使用輪詢(Polling),因此將無法有效進行即時監控,且亦會因輪詢方式的先天限制而產生佔用頻寬的問題。 In view of this, various hardware vendors and software vendors have jointly proposed the Open Interface for Enterprise Communication (OPC) to enable different monitoring software to be used with devices from different hardware vendors. Connection and data exchange, however, in this way, it is not compatible with the serial monitoring device that does not have OPC in the past, and since the OPC detection method uses polling, it is impossible to perform effective monitoring immediately, and The innate limitation of the polling method creates a problem of occupying bandwidth.

綜上所述,可知先前技術中長期以來一直存在無法相容不具OPC的串列監控裝置與有效進行即時監控及解決佔用頻寬的問題,因此實有必要提出改進的技術手段,來解決此一問題。 In summary, it can be seen that in the prior art, there has been a long-standing problem of incompatible serial-line monitoring devices without OPC and effective on-time monitoring and resolution of occupied bandwidth. Therefore, it is necessary to propose an improved technical means to solve this problem. problem.

有鑒於先前技術存在的問題,本發明遂揭露一種串列監控裝置的主動式監控系統及其方法。 In view of the problems of the prior art, the present invention discloses an active monitoring system of a serial monitoring device and a method thereof.

本發明所揭露之串列監控裝置的主動式監控系統,用以連結串列監控裝置,包含:伺服端及觸發端,而且伺服端更包含:初始模組、訊息處理模組及標籤模組。其中,初始模組於伺服端初始時載入預設在伺服端的配置表,且根據配置表擷取並記錄串列監控裝置的狀態;訊息處理模組用以自觸發端接收訊息封包,並根據訊息封包更新配置表;標籤模組用以根據更新後的配置表產生並傳送相應的工業通訊標準介面(Object Linking and Embedding for Process Control,OPC)標籤以進行監控處理。 The active monitoring system of the serial monitoring device disclosed in the present invention is configured to connect the serial monitoring device, comprising: a server end and a trigger end, and the server further comprises: an initial module, a message processing module and a label module. The initial module loads the configuration table preset on the server at the initial end of the server, and captures and records the state of the serial monitoring device according to the configuration table; the message processing module is configured to receive the message packet from the trigger terminal, and according to the The message packet updates the configuration table; the tag module is configured to generate and transmit the corresponding Object Linking and Embedding for Process Control (OPC) tag according to the updated configuration table for monitoring processing.

而觸發端用以透過串列埠與串列監控裝置連結,其觸發端包含:儲存模組、解析模組、轉換模組、監控模組及觸發模組。其中,儲存模組用以預先儲存控制指令;解析模組用以解析自各串列埠所接收到的串列式資料以獲得相應的原始資料;轉換模組用以分別將各原始資料依照OPC標準產生相應的裝置標籤;監控模組用以持續讀取裝置標籤以及執行控制指令,並且根據其控制指令的執行結果設定裝置標籤;及觸發模組用以將設定後的裝置標籤封裝成訊息封包,並且將此訊息封包主動傳送至伺服端。 The trigger end is connected to the serial monitoring device through the serial port, and the trigger end includes: a storage module, an analysis module, a conversion module, a monitoring module, and a trigger module. The storage module is configured to pre-store control commands; the parsing module is configured to parse the serial data received from each serial port to obtain corresponding original data; and the conversion module is configured to respectively respectively use the original data according to the OPC standard. Generating a corresponding device tag; the monitoring module is configured to continuously read the device tag and execute the control command, and set the device tag according to the execution result of the control command; and the trigger module is configured to package the set device tag into a message packet, And the message packet is actively transmitted to the server.

至於本發明之主動式監控方法,應用於具有伺服端、觸發端及串列監控裝置的架構中,其步驟包括:觸發端預先儲存控制指 令,並且透過串列埠分別與各串列監控裝置連結;伺服端於初始時載入預設的配置表,且根據配置表擷取並記錄串列監控裝置的狀態;觸發端解析自各串列埠接收到的串列式資料以獲得相應的原始資料;觸發端分別將各原始資料依照工業通訊標準介面(Object Linking and Embedding for Process Control,OPC)標準產生相應的裝置標籤;觸發端持續讀取裝置標籤以及執行控制指令,並且根據控制指令的執行結果設定裝置標籤;觸發端將設定後的裝置標籤封裝成訊息封包,並且將此訊息封包主動傳送至伺服端;伺服端自觸發端接收訊息封包,並根據此訊息封包更新配置表;伺服端根據更新後的配置表產生並傳送相應的OPC標籤以進行監控處理。 The active monitoring method of the present invention is applied to an architecture having a server, a trigger, and a serial monitoring device, and the steps include: pre-storing the control finger at the trigger end And serially connected to each serial monitoring device through the serial port; the server loads the preset configuration table at the initial stage, and captures and records the state of the serial monitoring device according to the configuration table; the trigger end resolves from each series串 Received serial data to obtain corresponding original data; the trigger end respectively generates corresponding device tags according to the Object Linking and Embedding for Process Control (OPC) standard; the trigger end continuously reads The device label and the execution control command, and setting the device label according to the execution result of the control instruction; the triggering end encapsulates the set device label into a message packet, and actively transmits the message packet to the server; the server receives the message packet from the trigger terminal. And updating the configuration table according to the message packet; the server generates and transmits the corresponding OPC label according to the updated configuration table for monitoring processing.

本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過觸發端接收串列監控裝置傳送的串列式資料,並且解析串列式資料以產生裝置標籤,再將裝置標籤封裝後透過網路主動傳送至伺服端,以便伺服端自動產生OPC標籤進行監控處理。 The system and method disclosed in the present invention are as above, and the difference from the prior art is that the present invention receives the serial data transmitted by the serial monitoring device through the trigger terminal, and parses the serial data to generate the device label, and then the device label After being encapsulated, it is actively transmitted to the server through the network, so that the server automatically generates OPC tags for monitoring and processing.

透過上述的技術手段,本發明可以達到提高監控相容性及效率與頻寬利用率之技術功效。 Through the above technical means, the present invention can achieve the technical effect of improving monitoring compatibility, efficiency and bandwidth utilization.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。 The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.

在說明本發明所揭露之串列監控裝置的主動式監控系統及其方法之前,先對本發明的架構及所自行定義的名詞作如下解釋, 首先在架構的部分,本發明的系統包含伺服端及觸發端,所述伺服端為符合工業通訊標準介面(Object Linking and Embedding for Process Control,OPC)的伺服器(OPC Server)並透過網路與觸發端相互連結,而且此OPC伺服器能夠接收由觸發端主動傳送的訊息封包,以及產生符合OPC標準的OPC標籤以進行資料交換的處理;所述觸發端則透過串列埠(或稱串列介面,如:“RS232”、“RS422”、“RS485”......等等)連結串列監控裝置,並且接收串列監控裝置以串列傳輸方式所傳送的資料(通稱為串列式資料)。串列監控裝置,包括如:可程式邏輯控制器(PLC)、電動控制器、I/O設備、串列式感測儀器......等等習知的串列式資料收集設備,故在此不再多作贅述。另外,所述網路為有線或無線的網際網路或區域網路。 Before explaining the active monitoring system and method of the serial monitoring device disclosed in the present invention, the architecture of the present invention and the self-defined nouns are explained as follows. First, in the architecture part, the system of the present invention comprises a server end and a trigger end, and the server end is an OPC server conforming to the Object Linking and Embedding for Process Control (OPC) and communicating with the network. The triggering end is connected to each other, and the OPC server can receive the message packet actively transmitted by the triggering end, and generate an OPC label conforming to the OPC standard for data exchange processing; the triggering end is transmitted through the serial port (or serial) Interfaces such as "RS232", "RS422", "RS485", etc.) are connected to the serial monitoring device and receive data transmitted by the serial monitoring device in a serial transmission mode (commonly referred to as a serial Information). Tandem monitoring devices, including, for example, programmable logic controllers (PLCs), electric controllers, I/O devices, tandem sensing instruments, etc., and other conventional tandem data collection devices, Therefore, I will not repeat them here. In addition, the network is a wired or wireless internet or regional network.

而在自行定義的名詞中,本發明中所提到的控制指令可由IF、THEN及ELSE的格式所構成,並且預先儲存於觸發端中。以完整的控制指令為例,假設控制指令為「IF(DI-1 ON)THTN(Send Active Message)ELSE(Send E-mail)」,其代表當判斷條件「(DI-1 ON)」成立時,執行指令「(Send Active Message)」,反之則執行指令「(Send E-mail)」,其中,判斷條件「(DI-1 ON)」可根據裝置標籤中所記錄的原始資料來判斷,如:原始資料記錄“0x01,0x01”代表輸入埠(DI-1)為開啟,故此判斷條件成立;指令「(Send Active Message)」代表傳送訊息;指令「(Send E-mail)」代表傳送電子郵件,在此所述指令為電腦可執行指令。 In the self-defined noun, the control commands mentioned in the present invention may be composed of the formats of IF, THEN and ELSE, and are pre-stored in the trigger terminal. Taking the complete control command as an example, assume that the control command is "IF (DI-1 ON) THTN (Send Active Message) ELSE (Send E-mail)", which represents when the judgment condition "(DI-1 ON)" is established. Execute the command "(Send Active Message)", otherwise execute the command "(Send E-mail)", wherein the judgment condition "(DI-1 ON)" can be judged based on the original data recorded in the device tag, such as : The original data record "0x01, 0x01" means the input 埠 (DI-1) is on, so the judgment condition is established; the command "(Send Active Message)" represents the transmission of the message; the instruction "(Send E-mail)" represents the transmission of the e-mail The instructions described herein are computer executable instructions.

以下配合圖式對本發明串列監控裝置的主動式監控系統及其方法作進一步的說明,請參閱「第1圖」,「第1圖」為本發明串 列監控裝置的主動式監控系統之方塊圖,包含:串列監控裝置100、伺服端110及觸發端120,其中串列監控裝置100與觸發端120透過串列埠(如:“RS232”)相互連結,伺服端110與觸發端120透過網路130相互連結,而且此系統更可包含:整合伺服器140及控制端150至少其中之一。特別要說明的是,所述串列監控裝置100為串列式資料收集設備,用以收集由感應儀器、監控儀器或測量儀器所感應或輸入的串列式資料(Serial Data),不同的串列監控裝置100可能各自使用一個專屬或沿用IEEE標準設計之通訊協定,如“Modbus RTU”、“Canbus”、“DeviceNet”、“Interbus”......等等。舉例來說,假設感應儀器(圖中未示)使用通訊協定“Modbus RTU”,則與此感應儀器相連結的串列監控裝置必須使用相同的通訊協定“Modbus RTU”以便收集感應儀器所產生的串列式資料。 The active monitoring system and method of the serial monitoring device of the present invention will be further described below with reference to the drawings. Please refer to FIG. 1 and FIG. 1 is a string of the present invention. A block diagram of the active monitoring system of the column monitoring device includes: a serial monitoring device 100, a server 110 and a triggering terminal 120, wherein the serial monitoring device 100 and the triggering terminal 120 are mutually connected through a serial port (eg, "RS232") The connection between the server 110 and the trigger terminal 120 is connected to each other through the network 130, and the system further includes: at least one of the integration server 140 and the control terminal 150. In particular, the serial monitoring device 100 is a serial data collecting device for collecting serial data (Serial Data) sensed or input by an inductive instrument, a monitoring instrument or a measuring instrument, and different strings. The column monitoring devices 100 may each use a proprietary or legacy IEEE-compliant communication protocol such as "Modbus RTU", "Canbus", "DeviceNet", "Interbus", and the like. For example, assuming that the inductive instrument (not shown) uses the communication protocol "Modbus RTU", the serial monitoring device connected to the inductive instrument must use the same communication protocol "Modbus RTU" in order to collect the generated by the inductive instrument. Tandem data.

在伺服端110的部分,其伺服端110包含:初始模組111、訊息處理模組112及標籤模組113。其中,初始模組111於初始時載入配置表,且根據配置表擷取並記錄串列監控裝置100的狀態,所述配置表可記錄觸發端120產生的裝置標籤,其裝置標籤所記錄的元素至少包含串列監控裝置需要交換的標籤數量、識別碼、標籤存在時間、標籤內容、標籤傳輸品質、最新更新時間及每次資料交換發生錯誤時的錯誤碼其中之一。 In the portion of the server 110, the server 110 includes an initial module 111, a message processing module 112, and a tag module 113. The initial module 111 is initially loaded into the configuration table, and the state of the serial monitoring device 100 is captured and recorded according to the configuration table. The configuration table can record the device label generated by the trigger terminal 120, and the device label records The element includes at least one of the number of tags to be exchanged by the serial monitoring device, the identification code, the tag existence time, the tag content, the tag transmission quality, the latest update time, and an error code when each data exchange error occurs.

訊息處理模組112用以接收由觸發端120產生並主動透過網路傳輸協定(TCP/IP)所傳送的訊息封包,並且訊息處理模組112亦根據所接收的訊息封包更新配置表,其更新方式是根據訊息封包內的裝置標籤所記錄的元素來進行更新。特別要說明的是,在 實際實施上,裝置標籤更可包含傳輸字串的結構,或是伺服端110預設有識別碼與設備相關訊息之對應關係,使得伺服端110能夠根據裝置標籤包含的字串或比對識別碼來得知串列式資料收集設備的相關訊息,如:設備名稱、類型、用途......等等。 The message processing module 112 is configured to receive the message packet generated by the trigger terminal 120 and actively transmitted through the network transmission protocol (TCP/IP), and the message processing module 112 also updates the configuration table according to the received message packet, and updates the message. The method is to update according to the elements recorded in the device tag in the message packet. In particular, In actual implementation, the device tag may further include a structure for transmitting a string, or the server 110 pre-sets a correspondence between the identifier and the device-related message, so that the server 110 can be based on the string or the comparison identifier included in the device tag. To learn about the related information of the serial data collection device, such as: device name, type, purpose, etc.

標籤模組113用以根據更新後的配置表產生並傳送相應的OPC標籤以進行監控處理,例如:傳送至監控顯示裝置(圖中未示)進行顯示或傳送至整合伺服器140作進一步處理。其產生OPC標籤必須符合公開的工業通訊標準(即OPC標準),由於此工業通訊標準為習知技術,故在此不多作贅述,而所述整合伺服器140及其所作的處理將在稍後進行說明。 The tag module 113 is configured to generate and transmit a corresponding OPC tag according to the updated configuration table for monitoring processing, for example, transmitting to a monitoring display device (not shown) for display or transmitting to the integrated server 140 for further processing. The OPC tag must be in compliance with the published industrial communication standard (ie, the OPC standard). Since this industrial communication standard is a conventional technology, it will not be described here, and the integrated server 140 and its processing will be slightly After the description.

另外,在觸發端120的部分,其觸發端120透過串列埠分別與各串列監控裝置100相互連結,此觸發端120包含:儲存模組121、解析模組122、轉換模組123、監控模組124及觸發模組125,更可搭配計時器(Timer)用以計算時間。其中,儲存模組121用以預先儲存控制指令。在實際實施上,可透過位於網路130上的控制端150輸入並傳送此控制指令,並且將此控制指令儲存至儲存模組121,有關控制端150的部分將在稍後作詳細說明。 In addition, in the part of the triggering end 120, the triggering end 120 is connected to the serial monitoring device 100 through the serial port. The triggering terminal 120 includes: a storage module 121, an analysis module 122, a conversion module 123, and monitoring. The module 124 and the trigger module 125 can be combined with a timer to calculate time. The storage module 121 is configured to store control commands in advance. In actual implementation, the control command can be input and transmitted through the control terminal 150 located on the network 130, and the control command is stored in the storage module 121. The relevant portion of the control terminal 150 will be described in detail later.

解析模組122用以解析自各串列埠所接收到的串列式資料,以便獲得相應的原始資料(Data Body),所述原始資料一般是指感應到的類比或數位數值。在實際實施上,此解析模組122內建各種不同串列傳輸協定標準,並且能夠依這些標準來解析各種不同串列傳輸協定的封包(即串列式資料),舉例來說,假設串列監控裝置100所使用的串列傳輸協定為“Modbus RTU”,解析模組122能夠根據串列式資料的標頭(Header)判斷出其使用的串列傳輸協 定為“Modbus RTU”,並且取出串列式資料內的原始資料。 The parsing module 122 is configured to parse the serial data received from each serial port to obtain a corresponding data body, and the original data generally refers to the sensed analog or digital value. In actual implementation, the parsing module 122 has built-in various serial transmission protocol standards, and can parse packets of different serial transmission protocols (ie, serial data) according to these standards. For example, assuming a serial The serial transmission protocol used by the monitoring device 100 is "Modbus RTU", and the analysis module 122 can determine the serial transmission protocol used by the analysis module 122 based on the header of the serial data. It is defined as "Modbus RTU" and the original data in the serial data is taken out.

轉換模組123用以分別將各原始資料依照OPC標準產生相應的裝置標籤。在實際實施上,所述裝置標籤可包含串列監控裝置100需交換的標籤數量(例如:串列監控裝置100為遠端I/O時,即為I/O的通道數量)、識別碼(辨識標籤內容之用)、標籤存在時間(辨識某一標籤已多久未更新)、標籤內容、標籤傳輸品質(如:“GOOD”或“BAD”)、最新更新時間及每次資料交換發生錯誤時的錯誤碼等元素。假設解析模組122取出的原始資料為“0x01”則轉換模組123根據OPC標準產生的裝置標籤,其標籤內容可記錄為“0x01”,其餘元素則可根據實際使用的串列通訊協定之交握(Handshaking)的參數或計算裝置標籤的存在時間來進行設定。 The conversion module 123 is configured to respectively generate the corresponding device tags according to the OPC standard. In actual implementation, the device tag may include the number of tags to be exchanged by the serial monitoring device 100 (for example, the number of channels of the I/O when the serial monitoring device 100 is the remote I/O), and the identification code ( Identification of the contents of the label), the existence time of the label (to identify how long a label has not been updated), the content of the label, the quality of the label transmission (eg "GOOD" or "BAD"), the latest update time and each time an error occurs in the data exchange The error code and other elements. It is assumed that the original data extracted by the parsing module 122 is “0x01”, and the label of the device generated by the conversion module 123 according to the OPC standard may be recorded as “0x01”, and the remaining elements may be based on the actual serial communication protocol. The setting of the Handshaking parameter or the time of the computing device tag is set.

監控模組124用以持續讀取裝置標籤及執行預先儲存在儲存模組121中的控制指令,並且根據其控制指令的執行結果設定裝置標籤,舉例來說,假設在持續讀取裝置標籤及執行控制指令的過程中,發現標籤內容由“0x01”轉變為“0x00”,則可判斷為事件(event)發生,接著將根據控制指令的執行結果設定裝置標籤,例如:嵌入警告訊息或通知訊息於標籤內容中。在實際實施上,亦可根據控制指令的執行結果產生觸發訊號以控制串列監控裝置100,由於此方式為習知技術,故在此不再多作贅述。 The monitoring module 124 is configured to continuously read the device tag and execute the control command pre-stored in the storage module 121, and set the device tag according to the execution result of the control command. For example, it is assumed that the device tag is continuously read and executed. During the process of controlling the command, if the content of the tag is changed from "0x01" to "0x00", it can be judged that an event occurs, and then the device tag is set according to the execution result of the control command, for example, embedding a warning message or a notification message. In the label content. In actual implementation, the trigger signal may be generated according to the execution result of the control command to control the serial monitoring device 100. Since this method is a conventional technology, no further description is provided herein.

觸發模組125用以將設定後的裝置標籤進行封裝以產生訊息封包,並且於訊息封包產生後,主動傳送訊息封包至伺服端110,網路封包的封裝方式為習知技術,故在此不再多作贅述。 The triggering module 125 is configured to encapsulate the set device tag to generate a message packet, and after the message packet is generated, actively transmit the message packet to the server 110. The network packet is encapsulated in the prior art, so Repeat more.

除此之外,本發明的系統更可包含整合伺服器140,用以接 收伺服端110所傳送的OPC標籤以進行資料交換處理及圖形化控制處理或兩者任一,舉例來說,使用者可透過圖形化介面控制遠端的設備。另外,本發明的系統更可包含控制端150用以輸入控制指令後,傳送至觸發端120,並且將控制指令儲存在儲存模組121中,而在進行傳送之前,其控制端150更可將控制指令編譯成位元組碼後再進行傳送。在實際實施上,整合伺服器140及控制端150可為具有網路130連線功能的個人電腦、個人數位助理......等計算機裝置。 In addition, the system of the present invention may further include an integrated server 140 for receiving The OPC tag transmitted by the server 110 is received for data exchange processing and graphical control processing, or any of them. For example, the user can control the remote device through the graphical interface. In addition, the system of the present invention may further include a control terminal 150 for inputting a control command, transmitting to the trigger terminal 120, and storing the control command in the storage module 121, and before the transmitting, the control terminal 150 may further The control command is compiled into a byte code and then transmitted. In actual implementation, the integration server 140 and the control terminal 150 can be a computer device such as a personal computer with a network 130 connection function, a personal digital assistant, and the like.

如「第2圖」所示,「第2圖」為本發明串列監控裝置的主動式監控方法之流程圖,應用於連結具有伺服端110、觸發端120及串列監控裝置100的傳輸環境中,包含下列步驟:觸發端120預先儲存控制指令,並且透過串列埠分別與各串列監控裝置100連結(步驟210);伺服端110於初始時載入配置表,且根據配置表擷取並記錄串列監控裝置100的狀態(步驟220);觸發端120解析自各串列埠接收到的串列式資料以獲得相應的原始資料(步驟230);觸發端120分別將各原始資料依照OPC標準產生相應的裝置標籤(步驟240);觸發端120持續讀取裝置標籤以及執行控制指令,並且根據控制指令的執行結果設定裝置標籤(步驟250);觸發端將設定後的裝置標籤封裝成訊息封包,並且將此訊息封包主動傳送至伺服端110(步驟260);伺服端110接收訊息封包,並根據此訊息封包更新配置表(步驟270);伺服端110根據更新後的配置表產生並傳送相應的OPC標籤以進行監控處理(步驟280)。透過上述各步驟,即可透過觸發端120接收串列監控裝置100傳送的串列式資料,並且解析串列式資料以產生裝置標籤,再將裝置標 籤封裝後透過網路主動傳送至伺服端110,以便伺服端110自動產生OPC標籤進行監控處理,用以提高監控相容性及效率與頻寬利用率。另外,在實際實施上,使用者亦可在步驟210之前,透過控制端150輸入並傳送控制指令後,將控制指令儲存於觸發端120(步驟200)。 As shown in FIG. 2, FIG. 2 is a flowchart of an active monitoring method of the serial monitoring device of the present invention, which is applied to a transmission environment having a server terminal 110, a trigger terminal 120, and a serial monitoring device 100. The method includes the following steps: the trigger terminal 120 stores the control command in advance, and is connected to each serial monitoring device 100 through the serial port ( (step 210); the server 110 loads the configuration table at the initial time, and retrieves according to the configuration table. And recording the state of the serial monitoring device 100 (step 220); the triggering terminal 120 parses the serial data received from each serial port to obtain corresponding original data (step 230); the triggering terminal 120 respectively records each original data according to OPC. The standard generates a corresponding device tag (step 240); the trigger terminal 120 continuously reads the device tag and executes the control command, and sets the device tag according to the execution result of the control command (step 250); the trigger terminal encapsulates the set device tag into a message. Encapsulating, and actively transmitting the message packet to the server 110 (step 260); the server 110 receives the message packet, and updates the configuration table according to the message packet (step 270); The terminal 110 generates and transmits a corresponding OPC tag according to the updated configuration table for monitoring processing (step 280). Through the above steps, the serial data transmitted by the serial monitoring device 100 can be received through the trigger terminal 120, and the serial data can be parsed to generate the device label, and then the device label After the package is packaged, it is actively transmitted to the server 110 through the network, so that the server 110 automatically generates an OPC tag for monitoring and processing, thereby improving monitoring compatibility, efficiency, and bandwidth utilization. In addition, in actual implementation, the user may also input and transmit a control command through the control terminal 150 before the step 210, and then store the control command on the trigger terminal 120 (step 200).

以下配合「第3圖」及「第4圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明設定觸發端之示意圖,包含:設定視窗300、串列埠選擇元件301、串列式資料瀏覽區塊302、原始資料瀏覽區塊303、控制指令設定區塊304及重置元件310。特別要說明的是,本發明並未以此限定設定視窗300所包含的元件類型及數量。 The following is a description of the following embodiments in conjunction with "3" and "4". Please refer to "3" and "3" for the purpose of setting the trigger end of the application of the present invention, including: setting window 300. The serial port selection component 301, the serial data browsing block 302, the original data browsing block 303, the control command setting block 304, and the reset component 310. In particular, the present invention does not limit the type and number of components included in the setting window 300.

首先,當使用者欲使用本發明的串列監控裝置的主動式監控系統時,除了需開啟伺服端110及觸發端120之外,其串列監控裝置100及網路130亦必須維持正常的運作狀態,而且觸發端120中必須預先儲存有控制指令,以及觸發端120與串列監控裝置100需透過串列埠相互連結。 First, when the user wants to use the active monitoring system of the serial monitoring device of the present invention, in addition to the need to turn on the server 110 and the trigger terminal 120, the serial monitoring device 100 and the network 130 must also maintain normal operation. The state, and the control terminal 120 must be pre-stored with a control command, and the trigger terminal 120 and the serial monitoring device 100 need to be connected to each other through the serial port.

當伺服端110啟動時,其伺服端110的初始模組111將載入配置表,其配置表記錄有觸發端120的相關資訊(即裝置標籤的訊息),因此,伺服端110根據配置表輪詢(Polling)觸發端120來擷取並記錄所有串列監控裝置100的狀態,且訊息處理模組112將等待接收由觸發端120產生並主動透過網路傳輸協定(TCP/IP)所傳送的訊息封包,在實際實施上,伺服端110可打開監聽端口(Listen port)等待接收觸發端120所傳送的訊息封包。特別要說明的是,當配置表中查無觸發端120的相關資訊時,可直接打開監 聽端口等待接收觸發端120所傳送的訊息封包。在實際實施上,其配置表可以檔案的方式存在,例如:配置表的檔案為“OPC.mdb”。 When the server 110 is started, the initial module 111 of the server 110 is loaded into the configuration table, and the configuration table records the related information of the trigger terminal 120 (ie, the message of the device tag). Therefore, the server 110 according to the configuration table wheel Polling trigger 120 captures and records the status of all serial monitoring devices 100, and message processing module 112 will wait to receive the trigger generated by trigger 120 and actively communicate via the network transport protocol (TCP/IP). The message packet, in actual implementation, the server 110 can open the listening port (Listen port) to receive the message packet transmitted by the trigger terminal 120. In particular, when the relevant information of the trigger terminal 120 is found in the configuration table, the supervision can be directly opened. The listening port waits to receive the message packet transmitted by the trigger terminal 120. In actual implementation, the configuration table can exist in the form of files. For example, the file of the configuration table is “OPC.mdb”.

而在觸發端120的部分,當觸發端120啟動或重新啟動時,觸發端120將透過串列埠持續自串列監控裝置100接收串列式資料,並且由解析模組122進行解析以獲得相應的原始資料,此解析模組122可辨識各種串列通訊協定,如:“Modbus RTU”、“Canbus”、“DeviceNet”、“Interbus”、“Profibus”、“Modbus”、“Hart”、“As-介面”、“CAN”、“Foundation Fieldbus”、“LonWorks”......等等。由於辨識各種串列通訊協定為習知技術,故在此不多作贅述。接著,在辨識出串列式資料所使用的串列通訊協定後,解析模組122即可擷取其通訊協定的標頭(Header)以外的資料作為原始資料(Data Body)。在實際實施上,若要瀏覽觸發端120接收到的串列式資料及解析出的原始資料,使用者可直接透過串列埠或是透過位於網路130的控制端150連線至對觸發端120,並在完成連線後透過如「第3圖」所示意的設定視窗300來達成,使用者在使用串列埠選擇元件301選擇欲瀏覽串列埠後,串列式資料瀏覽區塊302會顯示所選擇的串列埠所接收到的所有串列式資料,並且在原始資料瀏覽區塊303中顯示相應的原始資料。特別要說明的是,本發明並未以此限定串列式資料以及原始資料的顯示方式。 In the portion of the triggering end 120, when the triggering terminal 120 is activated or restarted, the triggering terminal 120 will continue to receive the serial data from the serial monitoring device 100 through the serial port, and be parsed by the parsing module 122 to obtain a corresponding The original data, the parsing module 122 can identify various serial communication protocols, such as: "Modbus RTU", "Canbus", "DeviceNet", "Interbus", "Profibus", "Modbus", "Hart", "As -Interface", "CAN", "Foundation Fieldbus", "LonWorks"...etc. Since the identification of various serial communication protocols is a conventional technique, it will not be repeated here. Then, after identifying the serial communication protocol used by the serial data, the analysis module 122 can retrieve data other than the header of the communication protocol as the data body. In actual implementation, if the serial data received by the trigger terminal 120 and the parsed original data are to be browsed, the user can directly connect to the trigger terminal through the serial port or through the control terminal 150 located in the network 130. 120. After the connection is completed, the user obtains the setting window 300 as shown in FIG. 3, and the user selects the serial port to be browsed by using the serial port selection component 301, and the serial data browsing block 302 All the serial data received by the selected serial port will be displayed, and the corresponding original data will be displayed in the original data browsing block 303. In particular, the present invention does not limit the manner in which the tandem data and the original material are displayed.

另外,使用者亦可在控制指令設定區塊304編輯控制指令並且將編輯完成的控制指令儲存至觸發端120的儲存模組121,由於此控制指令已於前述作說明,故在此不再多作贅述。除此之外, 使用者亦可透過點選重置元件310對觸發端120進行重置(即重新啟動)。特別要說明的是,觸發端120亦可持續執行控制指令以於固定的時間間隔持續產生裝置標籤,其時間間隔可透過在控制指令設定區塊304中編輯控制指令時進行設定,舉例來說,編輯控制指令為「IF(timeout 1000)THTN(Send device tags)ELSE(null)」可代表為每隔“1000”毫秒(即一秒)傳送裝置標籤,之後,觸發端120在持續執行此控制指令後,即可於固定的時間間隔(例如:一秒),持續根據原始資料產生符合OPC標準的裝置標籤,而此裝置標籤其後的處理過程皆與先前描述的情況相同,故在此將不再多作贅述。 In addition, the user can edit the control command in the control command setting block 304 and save the edited control command to the storage module 121 of the trigger terminal 120. Since the control command has been described above, there is no more here. Make a statement. Other than that, The user can also reset (ie, restart) the trigger terminal 120 by clicking the reset component 310. In particular, the trigger terminal 120 can also continuously execute the control command to continuously generate the device tag at a fixed time interval, and the time interval can be set by editing the control command in the control command setting block 304, for example, The edit control command is "IF (timeout 1000) THTN (Send device tags) ELSE (null)" may represent that the device tag is transmitted every "1000" milliseconds (ie, one second), after which the trigger terminal 120 continues to execute the control command. After that, the device label conforming to the OPC standard can be continuously generated according to the original data at a fixed time interval (for example, one second), and the subsequent processing of the device label is the same as that described previously, so it will not be here. Repeat more.

如「第4圖」所示,「第4圖」為應用本發明進行圖形化監控之示意圖。前面提到,本發明所揭露的串列監控裝置的主動式監控系統更可包含整合伺服器140,當伺服端110產生符合公開的工業通訊標準之OPC標籤後,整合伺服器140即可根據此OPC標籤進行相應的資料交換處理,例如:圖形化監控,在實際實施上,整合伺服器140為運行具有系統監控和資料擷取功能的軟體(Supervisor Control And Data Acquisition,SCADA),可透過圖控視窗400進行圖形化監控,舉例來說,可根據OPC標籤的訊息經過分析處理後,將分析處理結果顯示於裝置顯示區塊401,甚至可透過切換元件413切換選擇串列監控裝置100,以及分別透過啟動元件410、重開元件411或關閉元件412對所選擇的串列監控裝置100進行啟動、重新啟動或關閉的遠端監控。另外,亦可透過點選報表元件414根據OPC標籤產生具有文字、圖像及表格至少其中之一的報表。 As shown in "Fig. 4", "Fig. 4" is a schematic diagram of graphical monitoring using the present invention. As mentioned above, the active monitoring system of the serial monitoring device disclosed in the present invention may further include an integrated server 140. When the server 110 generates an OPC tag conforming to the published industrial communication standard, the integrated server 140 may be The OPC tag performs corresponding data exchange processing, for example, graphical monitoring. In actual implementation, the integrated server 140 is operated by a software (Supervisor Control And Data Acquisition, SCADA) with system monitoring and data acquisition function. The window 400 is graphically monitored. For example, after analyzing and processing the message according to the OPC label, the analysis processing result is displayed on the device display block 401, and even the switching device 390 can be switched to select the serial monitoring device 100, and respectively The remote monitoring of the selected serial monitoring device 100 is initiated, restarted, or turned off by the activation component 410, the reopening component 411, or the shutdown component 412. In addition, a report having at least one of text, image, and table may be generated from the OPC tag by clicking the report component 414.

綜上所述,可知本發明與先前技術之間的差異在於透過觸發端120接收串列監控裝置100傳送的串列式資料,並且解析串列式資料以產生裝置標籤,再將裝置標籤封裝後透過網路130主動傳送至伺服端110,以便伺服端110自動產生OPC標籤進行監控處理,藉由此一技術手段可以主動將串列監控裝置100的狀態傳送至伺服端110,來解決先前技術所存在的問題,進而達成提高監控相容性及效率與頻寬利用率之技術功效。 In summary, it can be seen that the difference between the present invention and the prior art is that the serial data transmitted by the serial monitoring device 100 is received through the trigger terminal 120, and the serial data is analyzed to generate the device label, and then the device label is encapsulated. Actively transmitted to the server 110 through the network 130, so that the server 110 automatically generates an OPC tag for monitoring processing, and the technical means can actively transmit the state of the serial monitoring device 100 to the server 110 to solve the prior art. The existing problems, in turn, achieve the technical effectiveness of improving monitoring compatibility and efficiency and bandwidth utilization.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相似技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 While the present invention has been disclosed in the foregoing embodiments, the present invention is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

100‧‧‧串列監控裝置 100‧‧‧Inline monitoring device

110‧‧‧伺服端 110‧‧‧Server

111‧‧‧初始模組 111‧‧‧ initial module

112‧‧‧訊息處理模組 112‧‧‧Message Processing Module

113‧‧‧標籤模組 113‧‧‧ label module

120‧‧‧觸發端 120‧‧‧Trigger

121‧‧‧儲存模組 121‧‧‧Storage module

122‧‧‧解析模組 122‧‧‧Analytical Module

123‧‧‧轉換模組 123‧‧‧Conversion Module

124‧‧‧監控模組 124‧‧‧Monitoring module

125‧‧‧觸發模組 125‧‧‧ Trigger Module

130‧‧‧網路 130‧‧‧Network

140‧‧‧整合伺服器 140‧‧‧ integrated server

150‧‧‧控制端 150‧‧‧Control terminal

300‧‧‧設定視窗 300‧‧‧Setting window

301‧‧‧串列埠選擇元件 301‧‧‧Listing options

302‧‧‧串列式資料瀏覽區塊 302‧‧‧Listed Data Browsing Block

303‧‧‧原始資料瀏覽區塊 303‧‧‧ Raw material browsing block

304‧‧‧控制指令設定區塊 304‧‧‧Control command setting block

310‧‧‧重置元件 310‧‧‧Reset components

400‧‧‧圖控視窗 400‧‧‧Graphic Control Window

401‧‧‧裝置顯示區塊 401‧‧‧Device display block

410‧‧‧啟動元件 410‧‧‧Starting components

411‧‧‧重開元件 411‧‧‧Reopening components

412‧‧‧關閉元件 412‧‧‧ Closed components

413‧‧‧切換元件 413‧‧‧Switching components

414‧‧‧報表元件 414‧‧‧Report component

步驟200‧‧‧透過一控制端輸入並傳送該控制指令後,將該控制指令儲存於該觸發端 Step 200‧‧‧ After inputting and transmitting the control command through a control terminal, storing the control command on the trigger terminal

步驟210‧‧‧觸發端預先儲存一控制指令,並且透過至少一串列埠分別與各串列監控裝置連結 Step 210‧‧‧ The trigger terminal pre-stores a control command and connects to each serial monitoring device through at least one serial port

步驟220‧‧‧伺服端於初始時載入一配置表,且根據該配置表擷取並記錄每一串列監控裝置的狀態 Step 220‧‧‧ The server loads a configuration table at the beginning, and captures and records the status of each serial monitoring device according to the configuration table.

步驟230‧‧‧該觸發端解析自各串列埠接收到的至少一串列式資料以獲得相應的至少一原始資料 Step 230‧‧‧ The triggering end parses at least one serial data received from each serial port to obtain corresponding at least one original data

步驟240‧‧‧該觸發端分別將各原始資料依照OPC標準產生相應的至少一裝置標籤 Step 240‧‧‧ The triggering end respectively generates each corresponding original data according to the OPC standard

步驟250‧‧‧該觸發端持續讀取該至少一裝置標籤以及執行該控制指令,並且根據該控制指令的執行結果設定該至少一裝置標籤 Step 250‧‧‧ The trigger terminal continuously reads the at least one device tag and executes the control command, and sets the at least one device tag according to the execution result of the control command

步驟260‧‧‧該觸發端將設定後的該至少一裝置標籤封裝成一訊息封包,並且將該訊息封包主動傳送至該伺服端 Step 260‧‧‧ The triggering end of the set at least one device tag into a message packet, and actively transmitting the message packet to the server end

步驟270‧‧‧該伺服端接收該訊息封包,並根據該訊息封包更新該配置表 Step 270‧‧ The server receives the message packet and updates the configuration table according to the message packet

步驟280‧‧‧該伺服端根據更新後的該配置表產生並傳送相應的一OPC標籤以進行監控處理 Step 280‧‧‧ The server generates and transmits a corresponding OPC label according to the updated configuration table for monitoring processing

第1圖為本發明串列監控裝置的主動式監控系統之方塊圖。 1 is a block diagram of an active monitoring system of a serial monitoring device of the present invention.

第2圖為本發明主動式監控方法之流程圖。 Figure 2 is a flow chart of the active monitoring method of the present invention.

第3圖為應用本發明設定觸發端之示意圖。 Figure 3 is a schematic diagram of setting the trigger end by applying the present invention.

第4圖為應用本發明進行圖形化監控之示意圖。 Figure 4 is a schematic diagram of graphical monitoring using the present invention.

100‧‧‧串列監控裝置 100‧‧‧Inline monitoring device

110‧‧‧伺服端 110‧‧‧Server

111‧‧‧初始模組 111‧‧‧ initial module

112‧‧‧訊息處理模組 112‧‧‧Message Processing Module

113‧‧‧標籤模組 113‧‧‧ label module

120‧‧‧觸發端 120‧‧‧Trigger

121‧‧‧儲存模組 121‧‧‧Storage module

122‧‧‧解析模組 122‧‧‧Analytical Module

123‧‧‧轉換模組 123‧‧‧Conversion Module

124‧‧‧監控模組 124‧‧‧Monitoring module

125‧‧‧觸發模組 125‧‧‧ Trigger Module

130‧‧‧網路 130‧‧‧Network

140‧‧‧整合伺服器 140‧‧‧ integrated server

150‧‧‧控制端 150‧‧‧Control terminal

Claims (12)

一種串列監控裝置的主動式監控系統,用以連結至少一串列監控裝置,該系統包含:一伺服端,該伺服端包含:一初始模組,於該伺服端初始時載入預設在該伺服端的一配置表,且根據該配置表擷取並記錄每一串列監控裝置的狀態;一訊息處理模組,用以自一觸發端接收一訊息封包,並根據該訊息封包更新該配置表;及一標籤模組,用以根據更新後的該配置表產生並傳送相應的一工業通訊標準介面(Object Linking and Embedding for Process Control,OPC)標籤以進行監控處理;及該觸發端,用以透過至少一串列埠分別與各串列監控裝置連結,該觸發端包含:一儲存模組,用以預先儲存一控制指令;一解析模組,用以解析自各串列埠接收到的至少一串列式資料以獲得相應的至少一原始資料;一轉換模組,用以分別將各原始資料依照OPC標準產生相應的至少一裝置標籤;一監控模組,用以持續讀取該至少一裝置標籤以及執行該控制指令,並且根據該控制指令的執行結果設定該至少一裝置標籤;及一觸發模組,用以將設定後的該至少一裝置標籤封 裝成該訊息封包,並且將該訊息封包主動傳送至該伺服端。 An active monitoring system for a serial monitoring device for connecting at least one serial monitoring device, the system comprising: a servo end, the servo end comprising: an initial module, the initial loading of the servo terminal is preset at a configuration table of the server, and capturing and recording the status of each serial monitoring device according to the configuration table; a message processing module for receiving a message packet from a trigger end, and updating the configuration according to the message packet And a tag module for generating and transmitting an corresponding Object Linking and Embedding for Process Control (OPC) tag according to the updated configuration table for monitoring processing; and the triggering end, The triggering terminal includes: a storage module for pre-storing a control command; and an analysis module for parsing at least the received data from each serial port; a serial data to obtain corresponding at least one original data; a conversion module for respectively generating each of the original data according to the OPC standard to generate corresponding at least one device label; a monitoring module, configured to continuously read the at least one device tag and execute the control command, and set the at least one device tag according to the execution result of the control command; and a trigger module, configured to set the at least one Device label seal The message packet is loaded and the message packet is actively transmitted to the server. 如申請專利範圍第1項所述之串列監控裝置的主動式監控系統,其中該系統更包含一控制端,用以輸入並傳送該控制指令,並且將該控制指令儲存至該儲存模組。 The active monitoring system of the serial monitoring device of claim 1, wherein the system further comprises a control terminal for inputting and transmitting the control command, and storing the control command to the storage module. 如申請專利範圍第2項所述之串列監控裝置的主動式監控系統,其中該控制端更包含將該控制指令編譯成位元組碼。 The active monitoring system of the serial monitoring device of claim 2, wherein the control terminal further comprises compiling the control command into a byte code. 如申請專利範圍第1項所述之串列監控裝置的主動式監控系統,其中該系統更包含一整合伺服器,用以接收該伺服端所傳送的該OPC標籤以進行資料交換處理及圖形化控制處理或兩者任一。 The active monitoring system of the serial monitoring device according to claim 1, wherein the system further comprises an integrated server for receiving the OPC label transmitted by the server for data exchange processing and graphics Control processing or either. 如申請專利範圍第1項所述之串列監控裝置的主動式監控系統,其中該配置表記錄該觸發端產生的至少一裝置標籤。 The active monitoring system of the serial monitoring device of claim 1, wherein the configuration table records at least one device tag generated by the triggering end. 如申請專利範圍第5項所述之串列監控裝置的主動式監控系統,其中該裝置標籤記錄包含該至少一串列監控裝置需要交換的標籤數量、識別碼、標籤存在時間、標籤內容、標籤傳輸品質、最新更新時間及每次資料交換發生錯誤時的錯誤碼至少其中之一。 The active monitoring system of the serial monitoring device according to claim 5, wherein the device tag record includes the number of tags to be exchanged by the at least one serial monitoring device, the identification code, the tag existence time, the tag content, and the label. At least one of the transmission quality, the latest update time, and the error code when each data exchange error occurs. 一種串列監控裝置的主動式監控方法,應用於具有一伺服端、一觸發端及至少一串列監控裝置的架構中,其步驟包括:該觸發端預先儲存一控制指令,並且透過至少一串列埠分別與各串列監控裝置連結;該伺服端於初始時載入預設的一配置表,且根據該配置表擷取並記錄每一串列監控裝置的狀態; 該觸發端解析自各串列埠接收到的至少一串列式資料以獲得相應的至少一原始資料;該觸發端分別將各原始資料依照工業通訊標準介面(Object Linking and Embedding for Process Control,OPC)標準產生相應的至少一裝置標籤;該觸發端持續讀取該至少一裝置標籤以及執行該控制指令,並且根據該控制指令的執行結果設定該至少一裝置標籤;該觸發端將設定後的該至少一裝置標籤封裝成一訊息封包,並且將該訊息封包主動傳送至該伺服端;該伺服端自該觸發端接收該訊息封包,並根據該訊息封包更新該配置表;及該伺服端根據更新後的該配置表產生並傳送相應的一OPC標籤以進行監控處理。 An active monitoring method for a serial monitoring device is applied to an architecture having a server, a trigger, and at least one serial monitoring device. The step includes: the trigger terminal pre-storing a control command and transmitting at least one string The serial port is respectively connected to each serial monitoring device; the server is initially loaded with a preset configuration table, and the state of each serial monitoring device is captured and recorded according to the configuration table; The triggering end parses at least one serial data received from each serial port to obtain corresponding at least one original data; the triggering end respectively uses each original data according to an Object Linking and Embedding for Process Control (OPC) The standard generates a corresponding at least one device tag; the trigger terminal continuously reads the at least one device tag and executes the control command, and sets the at least one device tag according to the execution result of the control command; the trigger terminal sets the at least one after the setting a device tag is encapsulated into a message packet, and the message packet is actively transmitted to the server; the server receives the message packet from the trigger terminal, and updates the configuration table according to the message packet; and the server is updated according to the The configuration table generates and transmits a corresponding OPC tag for monitoring processing. 如申請專利範圍第7項所述之串列監控裝置的主動式監控方法,其中該方法更包含透過一控制端輸入並傳送該控制指令後,將該控制指令儲存於該觸發端的步驟。 The active monitoring method of the serial monitoring device according to claim 7, wherein the method further comprises the step of storing the control command after the control terminal inputs and transmits the control command to the trigger terminal. 如申請專利範圍第8項所述之串列監控裝置的主動式監控方法,其中該控制指令透過該控制端編譯成位元組碼。 The active monitoring method of the serial monitoring device according to claim 8, wherein the control command is compiled into a byte code through the control terminal. 如申請專利範圍第7項所述之串列監控裝置的主動式監控方法,其中產生並傳送相應的該OPC標籤以進行監控處理的步驟包含透過一整合伺服器接收該伺服端所傳送的該OPC標籤以進行資料交換處理及圖形化控制處理或兩者任一的步驟。 The active monitoring method of the serial monitoring device according to claim 7, wherein the step of generating and transmitting the corresponding OPC tag for monitoring processing comprises receiving the OPC transmitted by the server through an integrated server The tag is used for data exchange processing and graphical control processing or either of the steps. 如申請專利範圍第7項所述之串列監控裝置的主動式監控方法,其中該配置表記錄該觸發端產生的至少一裝置標籤。 The active monitoring method of the serial monitoring device according to claim 7, wherein the configuration table records at least one device tag generated by the trigger terminal. 如申請專利範圍第11項所述之串列監控裝置的主動式監控方法,其中該裝置標籤記錄包含該至少一串列監控裝置需要交換的標籤數量、識別碼、標籤存在時間、標籤內容、標籤傳輸品質、最新更新時間及每次資料交換發生錯誤時的錯誤碼至少其中之一。 The active monitoring method of the serial monitoring device according to claim 11, wherein the device tag record includes the number of tags to be exchanged by the at least one serial monitoring device, an identification code, a tag existence time, a tag content, and a label. At least one of the transmission quality, the latest update time, and the error code when each data exchange error occurs.
TW99138344A 2010-11-08 2010-11-08 Active monitoring system for serial monitoring device and method thereof TWI430088B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99138344A TWI430088B (en) 2010-11-08 2010-11-08 Active monitoring system for serial monitoring device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99138344A TWI430088B (en) 2010-11-08 2010-11-08 Active monitoring system for serial monitoring device and method thereof

Publications (2)

Publication Number Publication Date
TW201220041A TW201220041A (en) 2012-05-16
TWI430088B true TWI430088B (en) 2014-03-11

Family

ID=46553033

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99138344A TWI430088B (en) 2010-11-08 2010-11-08 Active monitoring system for serial monitoring device and method thereof

Country Status (1)

Country Link
TW (1) TWI430088B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI795901B (en) * 2021-09-03 2023-03-11 國立陽明交通大學 Serial link system with an embedded test function
CN118484347B (en) * 2024-05-20 2025-09-09 北京智芯微电子科技有限公司 Consistency detection and data writing equipment, system, method and device

Also Published As

Publication number Publication date
TW201220041A (en) 2012-05-16

Similar Documents

Publication Publication Date Title
CN108667807B (en) A protocol adaptive method and system based on monitoring cloud platform and gateway
CN109510759B (en) System and method for realizing rapid universal multi-protocol gateway
US20150156285A1 (en) Message tunneling in industrial networks
EP3165977B1 (en) Automatic uploading and registering of device description files
US20150156286A1 (en) Message tunneling in an industrial network
CA2668879C (en) Fdt for eddl-based field devices
JP5084908B2 (en) Programming device for network of control nodes and system having the same
JP2004042230A (en) Robot controller remote control method and remote control system
US8396947B2 (en) Active monitoring system for serial monitoring device and method thereof
CN103532835A (en) Universal IoT Gateway
CN120178780A (en) Method, device, equipment, medium and product for determining PLC register point address
CN101923320B (en) For storing the system and method for the data from industrial control unit (ICU)
CN111108453B (en) Control system, control method and control program
TWI430088B (en) Active monitoring system for serial monitoring device and method thereof
WO2022156316A1 (en) Configuration method and system supporting heterogeneous environment
WO2013184113A1 (en) Optimized communications with hart instruments
CN120723695A (en) A data interaction method and system based on software and hardware combination of Modbus communication components
US9088610B2 (en) Method and apparatus for communications accelerator on CIP motion networks
CN111788816A (en) A Method of Establishing Network Communication in Automation System
US7779124B2 (en) Active monitoring system and method thereof
EP3723346B1 (en) Selective address space aggregation
CN101738958B (en) Active monitoring system and method thereof
CN119071313A (en) Digital data acquisition device and method for injection molding industry
CN115396135B (en) Control device, recording method, and recording medium having program recorded thereon
WO2020035125A1 (en) Technique for monitoring industrial ethernet communication