TWI273392B - Automated system monitoring method - Google Patents

Automated system monitoring method Download PDF

Info

Publication number
TWI273392B
TWI273392B TW94126759A TW94126759A TWI273392B TW I273392 B TWI273392 B TW I273392B TW 94126759 A TW94126759 A TW 94126759A TW 94126759 A TW94126759 A TW 94126759A TW I273392 B TWI273392 B TW I273392B
Authority
TW
Taiwan
Prior art keywords
workstation
main
monitoring method
bus
workstations
Prior art date
Application number
TW94126759A
Other languages
Chinese (zh)
Other versions
TW200707184A (en
Inventor
Wen-Shiuan Chen
Original Assignee
Wen-Shiuan Chen
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 Wen-Shiuan Chen filed Critical Wen-Shiuan Chen
Priority to TW94126759A priority Critical patent/TWI273392B/en
Application granted granted Critical
Publication of TWI273392B publication Critical patent/TWI273392B/en
Publication of TW200707184A publication Critical patent/TW200707184A/en

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Debugging And Monitoring (AREA)

Abstract

An automated system monitoring method is disclosed, which is applied in a primary computer of the automated system to monitor a connection status of a primary bus and a secondary bus. The connection status of the primary bus is determined according to the transmission of a returned signal of each workstation during the polling process when the primary computer polls each workstation. Therefore, the present invention not only monitors each workstation, but also achieves the purpose of appropriately switching to the secondary bus when detecting a breakdown of the primary bus by means of an easy way, so as to keep normal operation of the automated system.

Description

• 1273392 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種監控方法’特別是指一種自動化 系統之監控方法。 【先前技術】 現7裂中小型工廠設備自動化,或一般家庭電器之 .監控設備是近年來自動化產業積極研發的技術,亦即藉由 • m家^部之線路監督或操控生產設備或家電設備。 ⑮目别之監控線路大多I以一主電腦透過一匯流排或 排如發生故障時,即輸出故障訊息以告知使用者進行維修 或重置且又備鮮髮日|彳亭止。此外亦有些技術是使 用雙匯流排或雙傳輸線監控設備,但其谓測匯流排故障之 設備亦太過昂貴及複雜。 【發明内容】• 1273392 IX. Description of the Invention: TECHNICAL FIELD OF THE INVENTION The present invention relates to a monitoring method, particularly to a monitoring method of an automated system. [Prior Art] 7-split small and medium-sized factory equipment automation, or general household electrical appliances. Surveillance equipment is a technology actively developed by the automation industry in recent years, that is, through the supervision and control of production equipment or household electrical appliances. . Most of the monitoring lines of the 15 heads are outputted by a main computer through a bus or row. If a fault occurs, the fault message is output to inform the user to perform maintenance or resetting and to prepare for a fresh day. In addition, some technologies use dual bus or dual transmission line monitoring equipment, but the equipment for measuring bus faults is too expensive and complicated. [Summary of the Invention]

因此,本發明之目的即在提供一種可以簡易備測匯流 排故p早以適時切換匯流排之監控方法。 於是,本發明自動化系統之監控方法,適用於以所述 自動化系統之一主電腦監控-主匯流排及-副匯流排之連 線狀態’藉以監控複數工作站,該自動化系統之監控方法 包含以下步驟: 1 / (A)該主電腦經由主匯流排以多卫的方式依序傳送詢 問訊號至該等工作站,並接收回傳訊號。 σ (Β)如其中—工作站於—㈣間内未回傳訊號至主電 5 1273392 腦,則主電腦再次傳送訊問訊號至該工作站,如依舊無回 傳訊號’則暫設定該工作站為離線。及 (c)檢視前一工作站是否為故障,如前_工作站被設 為故障,則判定主匯流排故障,並切換至副匯流排輪詢: 等工作站,如前一工作站正常,則設定該工作站故障。 【實施方式】 、 有關本發明之前述及其他技術内容、特點與功效,在 • 以下配合參相式之—難佳實施例的詳細說明中,將可 清楚的呈現。 參閱圖1與圖2,本發明自動化系統之監控方法的一較 佳實施例適用於以所述自動化系統2的一主電腦3監控一 主匯流排4及一副匯流排5之連線狀態,藉以監控複數工 作站6。該監控方法包含以下步驟: 、(A)執行步驟701、702,該主電腦3經由主匯流排4 以多工的方式依序傳送詢問訊號至該等工作站6,並接收回 鲁傳訊號。本實施例中是以M個工作站作說明。該主電腦3 於一般情況下依序(由㈣〜M)經由主匯流排4送出詢問 Λ #U輪洶(Polling)各工作站6,接收到輪詢之詢問訊號後 ' I作站6將本身[控之數據及狀態於-定時間内以回 • #訊號經主匯流排4傳送回主電腦3儲存及顯示。 其中’該主電腦3是以其RS_232序列輸出琿與主匯流 排4連接’如工作站6之距離較遠時,可改接rs_485加強 傳送訊號傳送,到達各工作站6時再改接回rs_232淳,而 各工作站6傳回之數據及狀態中包括本身運轉之狀態,監SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a monitoring method which can easily prepare a current collecting and discharging circuit and switch the bus bar at an early time. Therefore, the monitoring method of the automation system of the present invention is applicable to monitoring the plurality of workstations by monitoring the main computer of the automation system - the connection state of the main bus and the secondary bus, and the monitoring method of the automation system comprises the following steps : 1 / (A) The main computer transmits the inquiry signal to the workstations in a multi-guard manner via the main bus and receives the return signals. σ (Β) If the workstation does not return the signal to the main power 5 1273392 brain, the host computer will send the interrogation signal to the workstation again. If there is still no return signal, the workstation is temporarily set offline. And (c) check whether the previous workstation is faulty. If the previous workstation is set to fault, it determines that the main busbar is faulty and switches to the secondary busbar polling: Wait for the workstation. If the previous workstation is normal, set the workstation. malfunction. [Embodiment] The foregoing and other technical contents, features, and effects of the present invention will be apparent from the following detailed description of the preferred embodiment. Referring to FIG. 1 and FIG. 2, a preferred embodiment of the monitoring method of the automation system of the present invention is applicable to monitoring the connection state of a main bus bar 4 and a bus bar 5 by a host computer 3 of the automation system 2. In order to monitor the plurality of workstations 6. The monitoring method comprises the following steps: (A) performing steps 701 and 702, the host computer 3 sequentially transmits the inquiry signal to the workstations 6 in a multiplex manner via the main bus bar 4, and receives the return signal. In this embodiment, M workstations are used for description. In the normal case, the host computer 3 sends the inquiry Λ #U 轮 (Polling) workstations 6 in the order of the general bus (by (4) to M), and after receiving the polling inquiry signal, the I station 6 will itself [The data and status of the control are returned within the specified time. • The signal is transmitted back to the main computer 3 via the main bus 4 for storage and display. Where 'the main computer 3 is connected with the main bus bar 4 with its RS_232 sequence output'. If the distance from the workstation 6 is far away, the rs_485 can be connected to enhance the transmission of the signal transmission, and when it reaches each workstation 6, it is switched back to rs_232淳. And the data and status returned by each workstation 6 include the state of its own operation,

Rs_』t R::度、電流、電•或轉速等。本實施例是以 以咖萬用序歹輸出入方式為例作說明,實施時亦可 述之方式為限。 他傳輪方式,貫施上不以上 (Β)執行步驟703,如被輪 内未回傳邙h 輪力之工作站6於一定時間 ^‘虎至主電腦3,則主電腦3執行步驟崩、7〇5 =送_訊號至該工作站6,並等待回傳訊息,如該 依售無送出回傳訊號至主電腦3,則暫設定該工作 為離線。由於輪詢兩次皆無回應,亦有可能是主匯流 輪上的故障,因此僅暫設為該工作站6離線。 ★ JO執行步驟706,檢視前一工作站6是否為故障, 咳一工作站6正常,則設定輪詢兩次皆無回應之該工作 為故卩早。亦即僅一工作站6輪詢兩次無回應,確定該 作站6故障,該主電腦3也顯示故障工作站6之位址或 名稱’通知報修。如前_卫作站6已被設為故障,則判定 主匯流排4故障,並切換至副匯流5排輪詢該等工作站6, 亦即連續二工作站6被設為離線及故障,則判定主匯流排4 故障,主電腦3立即顯示主匯流排4故障,並執行步驟7〇8 ’切換至副匯流排5輪詢該等工作站6,藉以維持整個自動 化系統2之運轉。 综上所述,本發明自動化系統之監控方法利用輪詢各 工作站6之過程中,各工作站6之回傳訊號的發送,以判 定主匯流排4之連線狀態,不僅可監控各工作站6,又可達 到以簡易之方式偵測主匯流排4故障,並適時切換至副匯 ;1273392 流排5以保持整體自動化系統 本發明之目的。 正吊運作,故確貫可達到 惟以上所述者,僅為本發明之較佳實施例而已, =以此限定本發明實施之範圍,即大凡依本發明中^ 範圍及發明說明内容所作之簡單 ^ 1 超丄 寺效婕化與修飾,皆仍 屬本發明專利涵蓋之範圍内。 【圖式簡單說明】 圖1是本發明自動化系統之監控方法的較佳實施例中 ,所述自動化系統的方塊示意圖;及 、 之方式監控匯 圖2是該較佳實施例以輪詢複數工作站 流排的流程圖。 ;1273392 、【主要元件符號說明】 2 自動化系統 5 3 主電腦 6 4 主匯流排 701〜708 副匯流排 工作站 執行步驟Rs_』t R:: degree, current, electricity, or speed. In this embodiment, the input and output mode is described as an example, and the manner in which it can be described in the implementation is limited. He passes the wheel mode, and does not perform the above steps (Β) to perform step 703. If the workstation 6 that has not been transmitted back in the wheel is in a certain time ^' tiger to the main computer 3, the main computer 3 performs the step collapse. 7〇5=Send _ signal to the workstation 6, and wait for the return message. If the return message is not sent to the host computer 3, the work is temporarily set to offline. Since there is no response due to polling twice, it may also be a fault on the main bus, so it is only temporarily set to the workstation 6 offline. ★ JO performs step 706 to check whether the previous workstation 6 is faulty, and if the workstation 6 is normal, then the setting of the polling twice does not respond to the work. That is, only one workstation 6 polls twice without a response, and it is determined that the station 6 is faulty, and the host computer 3 also displays the address or name of the faulty workstation 6 'notification for repair. If the former _ wei station 6 has been set to failure, it is determined that the main bus 4 is faulty, and the sub-port 5 is polled to poll the workstations 6, that is, the second workstation 6 is set to offline and fault, then it is determined If the main bus 4 fails, the host computer 3 immediately displays the main bus 4 failure, and performs step 7〇8' to switch to the secondary bus 5 to poll the workstations 6, thereby maintaining the operation of the entire automation system 2. In summary, the monitoring method of the automation system of the present invention utilizes the transmission of the backhaul signals of each workstation 6 in the process of polling each workstation 6, to determine the connection state of the main busbar 4, and not only the workstations 6 but also the workstations. It is also possible to detect the failure of the main bus 4 in a simple manner and switch to the secondary sink in time; the 1273392 flow row 5 maintains the purpose of the overall automation system of the present invention. The present invention is only exemplified by the above-described preferred embodiments of the present invention, and is intended to limit the scope of the present invention, that is, the scope of the invention and the description of the invention. Simple ^ 1 The effect and modification of Chaoshao Temple are still within the scope of the patent of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of the automation system in accordance with a preferred embodiment of the monitoring method of the automation system of the present invention; and the mode of monitoring 2 is the preferred embodiment for polling a plurality of workstations Flow chart of the flow. ;1273392, [Key component symbol description] 2 Automation system 5 3 Main computer 6 4 Main bus 701~708 Sub busbar Workstation Steps

Claims (1)

:1273392 十、申請專利範圍: 1 · 種自動化系統之監控方法,適用於以所述自動化系統 之一主電腦監控一主匯流排及一副匯流排之連線狀態, 藉以監控複數工作站,該自動化系統之監控方法包含以 下步驟·· (A)該主電腦經由主匯流排以多工的方式依序傳 送詢問訊號至該等工作站,並接收回傳訊號; (B )如其中一工作站於一定時間内未回傳訊號至 主電I自,則主電腦再次傳送訊問訊號至該工作站,如依 舊無回傳訊號,則設定該工作站為離線;及 (C)檢視前一工作站是否為故障,如前一工作站 已被設為故障,則判定主匯流排故障,並切換至副匯流 排輪询該等工作站,如前—工作站正常,則狀該工作 站故障。 依據申晴專利範圍第i項所述之自動化系統之監控方法 於:中,該主電腦是以序列輸出方式經由主、副匯流排 輸出詢問訊號及接收回傳訊號。 3·依據申請專利範圍第2 甘 貝所扎之自動化糸統之監控方法 ’再中,該主電腦是以RS 虫η认, 排連接。 & 乂 RS_232串列輸出埠與主、副匯流 依據申請專利範圍第2适 ,发由 ^ 2項所叙自動化系狀監控方法 其中’該主電腦是以USB莖 流排連接。 萬用序列輪出埠與主、副匯 10:1273392 X. Patent application scope: 1 · The monitoring method of the automation system is applicable to monitoring the connection state of a main bus bar and a bus bar by one main computer of the automation system, thereby monitoring the plurality of workstations, the automation The monitoring method of the system includes the following steps: (A) the host computer sequentially transmits the inquiry signal to the workstations via the main bus and multiplexes the signals, and receives the return signals; (B) if one of the workstations is at a certain time If the signal is not returned to the main power I, the host computer will send the interrogation signal to the workstation again. If there is still no return signal, the workstation is set to be offline; and (C) check whether the previous workstation is faulty, as before. If a workstation has been set to failure, it is determined that the main bus is faulty, and the secondary bus is polled to poll the workstations. If the workstation is normal, the workstation is faulty. According to the monitoring method of the automation system described in the item (i) of the Shenqing patent scope, the host computer outputs the inquiry signal and receives the return signal through the main and auxiliary bus bars in a serial output mode. 3. According to the scope of the patent application, the monitoring method of the automated system that is slated by the second gamma is 're-introduction, the main computer is connected by RS worm. & 乂 RS_232 serial output 埠 and main and sub-convergence According to the second application of the patent scope, the automatic monitoring method is described in ^ 2. The main computer is connected by USB stem flow. Universal sequence rounds and main and secondary exchanges 10
TW94126759A 2005-08-08 2005-08-08 Automated system monitoring method TWI273392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW94126759A TWI273392B (en) 2005-08-08 2005-08-08 Automated system monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW94126759A TWI273392B (en) 2005-08-08 2005-08-08 Automated system monitoring method

Publications (2)

Publication Number Publication Date
TWI273392B true TWI273392B (en) 2007-02-11
TW200707184A TW200707184A (en) 2007-02-16

Family

ID=38621500

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94126759A TWI273392B (en) 2005-08-08 2005-08-08 Automated system monitoring method

Country Status (1)

Country Link
TW (1) TWI273392B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4852070B2 (en) * 2008-06-16 2012-01-11 三菱電機株式会社 Plant monitoring and control system

Also Published As

Publication number Publication date
TW200707184A (en) 2007-02-16

Similar Documents

Publication Publication Date Title
CN103473166B (en) A kind of small embedded-type system board card supervisory system
CN104021054A (en) Server fault visual detecting and processing method and system and programmable chip
WO2008119288A1 (en) System, device, equipment and method for monitoring management
JP2011147132A (en) Communication error monitoring system of power device based on ethernet and method thereof
CN103532738A (en) Port connection relationship determination method and device
CN106559494B (en) A kind of scene surveillance radar redundancy control system based on distributed network
CN102026042A (en) Keep-alive and self-healing method and device for advanced telecom computing architecture control surface
TWI273392B (en) Automated system monitoring method
CN207992997U (en) I2C bus systems
CN111273577A (en) Facility monitoring system and communication method for facility monitoring system
JP2012068907A (en) Bus connection circuit and bus connection method
CN102088366B (en) Single board information monitoring device and distributed single board information monitoring system
JPH0223120B2 (en)
JPH08242303A (en) Method for detecting drop/disconnection of adaptor for slave equipment in nurse calling equipment
CN111208804A (en) Dust remover ash removal system and disconnection fault safety hot standby hard connection method
CN111736576B (en) Image time synchronization controller testing tool and testing method thereof
WO2014061148A1 (en) Slave station terminal
CN115529222B (en) Dual-redundancy network card switching device based on cascading switch
JP2008217188A (en) Failure recovery operation support system and failure recovery operation support method
CN114336500B (en) Fault diagnosis and power restoration method, device and equipment for regional power grid
JP4892665B2 (en) Subscriber line inspection system, subscriber line inspection method, and subscriber line inspection program
WO2021147758A1 (en) Display screen monitoring method and device, display screen monitoring chip, and display screen monitor
JP2007208396A (en) Transmission system and fault restoration method
CN115529223A (en) Dual-redundancy network card switching method based on cascade switch
JP2013239034A (en) System switching control device and duplex system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees