TWI739207B - Method of accessing address code - Google Patents
Method of accessing address code Download PDFInfo
- Publication number
- TWI739207B TWI739207B TW108141011A TW108141011A TWI739207B TW I739207 B TWI739207 B TW I739207B TW 108141011 A TW108141011 A TW 108141011A TW 108141011 A TW108141011 A TW 108141011A TW I739207 B TWI739207 B TW I739207B
- Authority
- TW
- Taiwan
- Prior art keywords
- address code
- processing unit
- detection device
- connector
- control processing
- Prior art date
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
Abstract
本發明係有關存取定址編碼之方法,其先由控制處理單元透過通訊電路之一無線傳輸介面或者是以一連接器連接至一偵測裝置,以讀取偵測裝置之一第一定址編碼,而獲得並顯示偵測裝置對應之一第一狀態訊息或一第一狀態數值,並傳送一第二定址編碼至偵測裝置並覆寫,而控制偵測裝置,以獲得並顯示偵測裝置對應之一第二狀態訊息或一第二狀態數值。因此本發明簡化偵測裝置之設定方式。The present invention relates to a method for accessing an address code. First, a control processing unit is connected to a detection device through a wireless transmission interface of a communication circuit or a connector is connected to a detection device to read a first address of the detection device Code to obtain and display a first status message or a first status value corresponding to the detection device, and send a second address code to the detection device and overwrite it, and control the detection device to obtain and display the detection The device corresponds to a second status message or a second status value. Therefore, the present invention simplifies the setting method of the detection device.
Description
本發明係有關一種讀寫編碼方法,尤其是一種存取定址編碼之方法。 The present invention relates to a method for reading and writing coding, especially a method for accessing and addressing coding.
隨著科技產業的發展,建築物的高層化,使建築的結構愈家複雜化。目前的大樓警報、灑水以及排煙等系統都幾乎加以整合,且以自動化的方式進行監控,利用電子設備和通訊網路技術加以整合現有消防防災設備。平時監控現場的設備是否正常運作,當火災等發生時可清楚顯示災害發生的信息。 With the development of the science and technology industry, the high-rise building has made the structure of the building more and more complicated. The current building alarm, sprinkler, and smoke exhaust systems are almost integrated, and they are monitored in an automated manner, using electronic equipment and communication network technology to integrate existing firefighting and disaster prevention equipment. Usually monitor whether the equipment on site is operating normally, and when a fire occurs, it can clearly display the information of the disaster.
傳統偵煙感測器採用「導通/斷路(ON/OFF)」兩段式設計方式,並非「多階段通報門檻」(Multiple Alarm Thresholds),一般而言,偵煙感測器皆是設置在室內空間的天花板上並沿著天花板走線,若天花板為另架設之輕鋼架所鋪設,則是在輕鋼架上走線,以期確實偵測室內空間的煙霧,但是,傳統偵煙感測器為透過指撥開關事先設定其偵測靈敏度,並未能針對安裝的環境調整及多階段設定,加上此時若受信總機只知道探測火警發生的區域,其無法精確定位出火災發生的位置,如此傳統偵測感測器不具備定址能力,因而無法滿足智慧化防災系統的要求。 Traditional smoke detectors adopt a two-stage design method of "ON/OFF" instead of "Multiple Alarm Thresholds". Generally speaking, smoke detectors are installed indoors. Cables are routed on the ceiling of the space and along the ceiling. If the ceiling is laid by another light steel frame, the cables are routed on the light steel frame in order to actually detect smoke in the indoor space. However, traditional smoke detectors In order to set the detection sensitivity through the DIP switch in advance, it is not possible to adjust and multi-stage settings for the installation environment. In addition, if the trusted switchboard only knows the area where the fire occurs, it cannot accurately locate the location of the fire. Traditional detection sensors do not have addressing capabilities, so they cannot meet the requirements of intelligent disaster prevention systems.
針對傳統火災預警裝置的缺點,遂發展出極早期火災預警系統(Very Early Smoke Detection Apparatus,VESDA),例如:具備較高偵測靈敏度及主動式偵測方式的「抽氣式偵煙探測器系統Aspiration Smoke Detector System」(簡稱ASD系統),其利用主動式空氣取樣的偵測方式將空氣樣品抽回主機內部進行分析比對,如同人類嗅覺一樣,用以偵測空氣中的煙霧濃度,當空氣中的煙霧濃度到達一定程度時,系統則會即時發出警報,由於較能提早發現,因而廣泛應用 在高科技廠房或一些特殊場所空間,其偵測原理是靠著主機內部的抽氣泵,透過多條取樣管路的延伸。再者,透過極早期火災預警系統,提早預警時間及效率,因而讓系統搭配的通報系統可提供較為精確的資訊通報,以提供較高效率的通報能力,並較為迅速提供避難引導,進而避免人命財產受災害影響而損失過多。 In response to the shortcomings of traditional fire early warning devices, very early fire early warning systems (Very Early Smoke Detection Apparatus, VESDA) have been developed, such as the "exhaust smoke detector system with high detection sensitivity and active detection methods" Aspiration Smoke Detector System" (referred to as ASD system), which uses the detection method of active air sampling to draw air samples back into the host for analysis and comparison, like human smell, to detect the concentration of smoke in the air. When the smoke concentration reaches a certain level, the system will issue an alarm immediately. Because it can be detected earlier, it is widely used In high-tech factories or some special places and spaces, the detection principle is based on the air pump inside the main engine through the extension of multiple sampling pipelines. Furthermore, through the extremely early fire warning system, early warning time and efficiency, so that the notification system with the system can provide more accurate information notification to provide more efficient notification capabilities, and provide evacuation guidance more quickly, thereby avoiding human lives The property suffered excessive losses due to the impact of the disaster.
一般火警探測器的種類有許多種,除了偵煙感測器之外,更包含為偵溫感測器、火焰感測器、可燃氣體感測器以及複合式感測器。現階段感測器的控制方式大多在於指撥開關方式,因此在感測器安裝上甚為不便,需針對不同空間位置進行設定,例如:連接器順序、狀態顯示、狀態控制,上述感測器之設定為透過指撥開關的調整而完成設定。卻也讓感測器之安裝人員感到不便 Generally, there are many types of fire detectors. In addition to smoke detectors, they also include temperature detectors, flame detectors, combustible gas sensors, and composite sensors. At this stage, most of the sensor control methods are dip switches. Therefore, it is very inconvenient to install the sensor. It needs to be set for different spatial positions, such as: connector sequence, status display, and status control. The setting is to complete the setting through the adjustment of the dip switch. But it also makes the installer of the sensor feel inconvenient
基於上述之問題,本發明提供一種存取定址編碼之方法,其透過控制處理單元經通訊電路之一無線傳輸介面連接至一偵測裝置並其進行控制;同時藉由定址編碼控制使控制處理單元驅動一顯示單元顯示對應之狀態訊息。 Based on the above-mentioned problems, the present invention provides a method for accessing an address code, which connects to a detection device through a wireless transmission interface of a communication circuit through a control processing unit and controls it; at the same time, the processing unit is controlled by the address code control Drive a display unit to display the corresponding status message.
本發明之主要目的,提供一種存取定址編碼之方法,其透過一通訊電路之一無線傳輸介面連接一控制處理單元與一偵測裝置,並讓控制處理單元透過通訊電路之無線傳輸介面讀取偵測裝置之現有定址編碼,以獲得偵測裝置之作業狀態,或傳送定址編碼至偵測裝置,以控制偵測裝置。 The main purpose of the present invention is to provide a method for accessing address codes, which connects a control processing unit and a detection device through a wireless transmission interface of a communication circuit, and allows the control processing unit to read through the wireless transmission interface of the communication circuit Detect the existing address code of the detection device to obtain the operating status of the detection device, or send the address code to the detection device to control the detection device.
為了達到上述之目的,本發明揭示了一種存取定址編碼之方法,其先以一控制處理單元所執行之一應用程式控制一通訊電路經一無線傳輸介面連接至一偵測裝置之一通訊模組;接續,由依據控制處理單元所執行之應用程式經無線傳輸介面讀取偵測裝置之一微控制器所執行之一第一定址編碼,以供控制處理單元接續依據該第一定址編碼將一第一狀態訊息顯示於一顯示單元上;然後,控制處理單元依據應用程式所接收之一輸入訊息變更第一狀態訊息而對應產生一第二定址編碼,並經無線傳輸介面傳送至偵測裝置之微控制器並覆寫微控制器原先執行之第一定址編碼,以驅使微控制器依據第二定址編碼回傳一動作結果至控制處理單元,讓控制處理單元接續依據動作結果將一第二狀態訊 息顯示於顯示單元。藉此利用無線傳輸介面的控制而簡化定址控制,較便利於預警用途之偵測裝置的維護,而不須另打開偵測裝置之殼體用於撥動偵測裝置內的手動控制開關。 In order to achieve the above-mentioned object, the present invention discloses a method for accessing an address code, which first controls a communication circuit via an application program executed by a control processing unit to connect to a communication module of a detection device via a wireless transmission interface. Group; connection, a first address code executed by a microcontroller of the detection device read by the application program executed by the control processing unit via the wireless transmission interface, for the control processing unit to continue according to the first address The code displays a first status message on a display unit; then, the control processing unit changes the first status message according to an input message received by the application program to generate a second address code correspondingly, and sends it to the detection code via the wireless transmission interface. The microcontroller of the test device overwrites the first address code originally executed by the microcontroller, so as to drive the microcontroller to return an action result to the control processing unit according to the second address code, so that the control processing unit will continue to change according to the action result A second status message Information is displayed on the display unit. In this way, the control of the wireless transmission interface is used to simplify the addressing control, which is more convenient for the maintenance of the detection device for early warning purposes, without the need to open the housing of the detection device for flipping the manual control switch in the detection device.
本發明提供一實施例,其內容在於於依據一輸入訊息與該應用程式產生一第二定址編碼並經該無線傳輸介面傳送至該微控制器並覆寫該第一定址編碼之步驟中,使用一觸控螢幕點選該輸入訊息並輸入至該控制處理單元。 The present invention provides an embodiment, the content of which lies in the step of generating a second addressing code based on an input message and the application program and transmitting it to the microcontroller via the wireless transmission interface and overwriting the first addressing code, Use a touch screen to click the input message and input it to the control processing unit.
本發明提供一實施例,其內容在於該第一定址編碼與該第二定址編碼為二進位碼或十進位碼或十六進位碼。 The present invention provides an embodiment, the content of which is that the first address code and the second address code are binary codes or decimal codes or hexadecimal codes.
本發明提供一實施例,其內容在於依據該應用程式經該通訊介面讀取該偵測裝置之一微控制器所執行之一第一定址編碼之步驟中,進一步利用該控制處理單元驅動該顯示單元顯示該第一定址編碼對應之一畫面訊息,該畫面訊息包含該第一狀態訊息與該偵測裝置之一連接位置。 The present invention provides an embodiment, the content of which is that in the step of reading a first address code executed by a microcontroller of the detection device through the communication interface according to the application program, the control processing unit is further used to drive the The display unit displays a picture message corresponding to the first address code, and the picture message includes a connection position of the first status message and the detection device.
本發明提供一實施例,其內容在於依據該動作結果顯示一第二狀態訊息於該顯示單元之步驟中,進一步利用該控制處理單元驅動一顯示單元顯示該第二狀態訊息對應之一畫面訊息,該畫面訊息包含該第二狀態訊息與該偵測裝置之一連接位置。 The present invention provides an embodiment, the content of which lies in the step of displaying a second status message on the display unit according to the action result, and further using the control processing unit to drive a display unit to display a screen message corresponding to the second status message. The screen message includes a connection position of the second status message and the detecting device.
為了達到上述之目的,本發明另揭示了一種存取定址編碼之方法,其先由一第一連接器連接至一偵測裝置之一第二連接器,使一控制處理單元經第一連接器與第二連接器電性連接至偵測裝置之一微控制器;然後,使用控制處理單元經第一連接器與第二連接器讀取偵測裝置之微控制器所執行之一第一定址編碼;依據該第一定址編碼顯示一第一狀態數值;使用控制處理單元依據一輸入數值變更第一狀態數值而對應產生一第二定址編碼;經第一連接器與第二連接器傳送第二定址編碼至偵測裝置並覆寫第一定址編碼,以驅使微控制器依據第二定址編碼回傳一動作結果至控制處理單元;最後由控制處理單元依據偵測裝置之動作結果將一第二狀態數值顯示於一顯示單元上。藉此,減少手動控制指撥開關之動作,而避免拆卸偵測裝置用於維護檢修。 In order to achieve the above-mentioned object, the present invention also discloses a method for accessing an addressing code, which first connects a first connector to a second connector of a detection device, so that a control processing unit passes through the first connector The second connector is electrically connected to a microcontroller of the detection device; then, the control processing unit is used to read a first setting executed by the microcontroller of the detection device through the first connector and the second connector. Address code; display a first state value according to the first address code; use the control processing unit to change the first state value according to an input value to correspondingly generate a second address code; transmit via the first connector and the second connector The second address code is sent to the detection device and overwrites the first address code to drive the microcontroller to return an action result to the control processing unit according to the second address code; finally, the control processing unit will A second state value is displayed on a display unit. Thereby, the action of manually controlling the dip switch is reduced, and the detection device is prevented from being disassembled for maintenance and repair.
本發明提供另一實施例,其內容在於該第一連接器與該第二連接器為EIA422或EIA485通訊協定。 The present invention provides another embodiment, the content of which is that the first connector and the second connector are EIA422 or EIA485 communication protocols.
本發明提供另一實施例,其內容在於該第一定址編碼與該第二定址編碼為二進位碼或十進位碼或十六進位碼。 The present invention provides another embodiment, the content of which is that the first address code and the second address code are binary codes or decimal codes or hexadecimal codes.
本發明提供另一實施例,其內容在於使用一控制處理單元依據一輸入訊息產生一第二定址編碼之步驟中,使用一鍵盤輸入該輸入數值至該控制處理單元。 The present invention provides another embodiment, the content of which is that in the step of using a control processing unit to generate a second address code according to an input message, a keyboard is used to input the input value to the control processing unit.
1:受信系統 1: Trusted system
10:受信主機 10: Trusted host
12:控制處理晶片 12: Control processing wafer
14:連接器 14: Connector
20:偵測裝置 20: Detection device
22:微控制器 22: Microcontroller
24:通訊模組 24: Communication module
242:通訊連接器 242: Communication connector
24A:通訊模組 24A: Communication module
30:定址編碼燒錄裝置 30: Address code burning device
32:輸入單元 32: input unit
34:控制處理單元 34: control processing unit
36:通訊電路 36: Communication circuit
36A:通訊電路 36A: Communication circuit
362:無線傳輸介面 362: wireless transmission interface
362A:無線傳輸介面 362A: wireless transmission interface
38:顯示單元 38: display unit
40:定址編碼燒錄裝置 40: Address code burning device
42:輸入單元 42: input unit
44:控制處理單元 44: control processing unit
46:通訊電路 46: Communication circuit
462:有線傳輸介面 462: Wired Transmission Interface
464:第一連接器 464: first connector
48:顯示單元 48: display unit
50:偵測裝置 50: Detection device
52:微控制器 52: Microcontroller
54:通訊模組 54: Communication module
542:通訊連接器 542: Communication Connector
544:第二連接器 544: second connector
ACK:動作結果 ACK: Action result
AD1:第一定址編碼 AD1: The first addressing code
AD2:第二定址編碼 AD2: second addressing code
APP:應用程式 APP: Application
BS:基地台 BS: base station
IN:輸入訊息 IN: input message
INN:輸入數值 INN: input value
MS1:第一狀態訊息 MS1: First status message
MS2:第二狀態訊息 MS2: Second status message
N1:第一狀態數值 N1: The first state value
N2:第二狀態數值 N2: The second state value
RQ1:讀取請求 RQ1: Read request
S10-S60:步驟 S10-S60: steps
S110-S160:步驟 S110-S160: steps
第1圖:其為本發明之一實施例之流程圖;第2A圖:其為本發明之一實施例之連接偵測裝置之系統示意圖;第2B圖:其為本發明之一實施例之讀取編碼之系統示意圖;第2C圖:其為本發明之一實施例之產生編碼之系統示意圖;第2D圖:其為本發明之一實施例之覆寫編碼之系統示意圖;第3A圖:其為本發明之另一實施例之連接偵測裝置之系統示意圖;第3B圖:其為本發明之另一實施例之讀取編碼之系統示意圖;第3C圖:其為本發明之另一實施例之產生編碼之系統示意圖;第3D圖:其為本發明之另一實施例之覆寫編碼之系統示意圖;第4圖:其為本發明之另一實施例之流程圖;第5A圖:其為本發明之另一實施例之連接偵測裝置之系統示意圖;第5B圖:其為本發明之另一實施例之讀取編碼之系統示意圖;第5C圖:其為本發明之另一實施例之產生編碼之系統示意圖;以及第5D圖:其為本發明之另一實施例之覆寫編碼之系統示意圖。 Figure 1: It is a flowchart of an embodiment of the present invention; Figure 2A: It is a system diagram of a connection detection device according to an embodiment of the present invention; Figure 2B: It is an embodiment of the present invention A schematic diagram of a system for reading codes; Fig. 2C: a schematic diagram of a system for generating codes according to an embodiment of the present invention; Fig. 2D: a schematic diagram of a system for overwriting codes according to an embodiment of the present invention; Fig. 3A: It is a system schematic diagram of a connection detection device according to another embodiment of the present invention; Fig. 3B: It is a schematic diagram of a code reading system according to another embodiment of the present invention; Fig. 3C: It is another embodiment of the present invention Schematic diagram of the system for generating codes of the embodiment; Fig. 3D: It is a schematic diagram of the system for overwriting codes of another embodiment of the present invention; Fig. 4: It is a flowchart of another embodiment of the present invention; Fig. 5A : It is a system schematic diagram of a connection detection device according to another embodiment of the present invention; Fig. 5B: It is a schematic diagram of a code reading system according to another embodiment of the present invention; Fig. 5C: It is another embodiment of the present invention A schematic diagram of a system for generating codes according to an embodiment; and Figure 5D: a schematic diagram of a system for overwriting codes according to another embodiment of the present invention.
為使 貴審查委員對本發明之特徵及所達成之功效有更進一步之瞭解與認識,謹佐以實施例及配合說明,說明如後: In order to enable your reviewer to have a further understanding and understanding of the features of the present invention and the effects achieved, I would like to provide examples and accompanying explanations. The description is as follows:
有鑑於習知偵測裝置對於檢修維護的繁瑣影響便利性,據此,本發明遂提出一種存取定址編碼之方法,以解決習知偵測裝置檢修所造成之便利性問題。 In view of the cumbersome influence of the conventional detection device on the convenience of maintenance and repair, the present invention proposes a method for accessing address codes to solve the convenience problem caused by the maintenance of the conventional detection device.
以下,將進一步說明本發明一種存取定址編碼之方法所包含之特性、所搭配之結構及其方法: Hereinafter, the features included in the method for accessing address codes of the present invention, the structure and the method thereof will be further explained:
首先,請參閱第1圖,其為本發明之一實施例之流程圖。如圖所示,本發明之一種存取定址編碼之方法,其中步驟包含:步驟S10:透過控制處理單元執行應用程式而控制通訊電路經無線傳輸介面連接至偵測裝置之通訊模組;步驟S20:依據應用程式經通訊介面讀取偵測裝置之微控制器所執行之第一定址編碼;步驟S30:依據第一定址編碼顯示第一狀態訊息於顯示單元;步驟S40:透過控制處理單元依據輸入訊息變更第一狀態訊息並對應產生第二定址編碼;步驟S50:經無線傳輸介面傳送至微控制器並覆寫第一定址編碼,以驅使微控制器依據第二定址編碼回傳動作結果至控制處理單元;以及步驟S60:依據動作結果顯示第二狀態訊息於顯示單元。 First, please refer to Figure 1, which is a flowchart of an embodiment of the present invention. As shown in the figure, the method for accessing the address code of the present invention includes the following steps: Step S10: Run the application program through the control processing unit and control the communication circuit to connect to the communication module of the detection device via the wireless transmission interface; Step S20 : Read the first address code executed by the microcontroller of the detection device through the communication interface according to the application program; Step S30: Display the first status message on the display unit according to the first address code; Step S40: Through the control processing unit Change the first status message according to the input message and correspondingly generate the second address code; Step S50: Send to the microcontroller via the wireless transmission interface and overwrite the first address code, so as to drive the microcontroller to return actions based on the second address code The result is sent to the control processing unit; and step S60: Display the second status message on the display unit according to the action result.
請一併參閱第2A圖至第2D圖,其為本發明之一實施例之系統示意圖。如圖所示,本發明之定址編碼燒錄方法所採用之受信系統1包含一受信主機10與至少一偵測裝置20,並搭配一定址編碼燒錄裝置30,其中受信主機10設有一控制處理晶片12與複數個連接器14,控制處理晶片12為微控制器(Micro Control Unit,MCU)或可程式化邏輯控制器(programmable logic controller,简称PLC),控制處理晶片12電性連接至該些個連接器14,以經由該些個連接器14
連接至少一偵測裝置20,而本實施例係以連接器14電性連接一偵測裝置20作為舉例說明,連接器14與偵測裝置20之間傳輸協定為支援EIA422或EIA485。
Please also refer to FIGS. 2A to 2D, which are schematic diagrams of a system according to an embodiment of the present invention. As shown in the figure, the trusted system 1 used in the address code burning method of the present invention includes a trusted
定址編碼燒錄裝置30包含一輸入單元32、一控制處理單元34、一通訊電路36與一顯示單元38,本實施例中,定址編碼燒錄裝置30為一行動裝置,例如:一智慧型手機,因此,輸入單元32為智慧型手機之一觸控電路,而顯示單元38為智慧型手機之一液晶螢幕,雖然在方塊圖上示意不同方塊,但一般智慧型手機兩者為重疊設置,因此細部不再贅述,控制處理單元34即為智慧型手機之運算處理單元,而通訊電路36即為智慧型手機之無線通訊電路,以支援各種無線傳輸介面,例如:藍芽、無線區域網路(如無線熱點Wi-Fi或紫蜂Zigbee,本實施例中通訊電路36所使用之一無線傳輸介面362為藍芽,亦即偵測裝置20上除了微控制器22之外,亦設有對應之通訊模組24,其對應受信主機10設有一通訊連接器242,支援EIA422或EIA485,以經由纜線連接至連接器14,進而連接至控制處理晶片12,且通訊模組24對應於定址編碼燒錄裝置30而支援藍芽,以透過無線傳輸介面362通訊連接定址編碼燒錄裝置30之通訊電路36。
The address
於步驟S10中,如第2A圖所示,定址編碼燒錄裝置30經由通訊電路36連接至偵測裝置20,特別是透過通訊電路36之無線傳輸介面362連接至偵測裝置20之通訊模組24,本實施例之控制處理單元34為智慧型手機之運算處理單元,因此控制處理單元34為執行一應用程式(APP),而驅使通訊電路36連接至對應之偵測裝置20。於步驟S20中,如第2B圖所示,經由執行APP之控制處理單元34經由無線傳輸介面362向偵測裝置20之微控制器22發送一讀取請求RQ1,因而驅使微控制器22經無線傳輸介面362回覆一第一定址編碼AD1,例如:十六進位0110,接續於步驟S30中,控制處理單元34在接收到第一定址編碼AD1後,隨即驅使顯示單元38顯示對應第一定址編碼AD1之一第一狀態訊息MS1,例如:運作正常。此外,控制處理單元34所執行之應用程式APP向偵測裝置20發送之讀取請求RQ1進一步包含讀取連接位置,因此第一狀態訊息MS1進一步包含偵測裝置20連接至受信主機10之連接器,亦即受信主機10之資料輸入輸出(DI/O)所對應之連接位置。
In step S10, as shown in FIG. 2A, the addressing
於步驟S40中,如第2C圖所示,輸入單元32,即智慧型手機之觸控螢幕,提供使用者輸入一輸入訊息IN至控制處理單元34,因而藉由控制處理單元34所執行之應用程式APP依據輸入訊息IN而對應產生一第二定址編碼AD2,例如:輸入訊息IN為顯示溫度,控制處理單元34所執行之應用程式APP即對應產生第二定址編碼AD2,0010。於步驟S50中,如第2D圖所示,控制處理單元34所執行之應用程式APP將步驟S30所產生之第二定址編碼AD2透過無線傳輸介面362傳送至偵測裝置20,因而讓偵測裝置20之微控制器22接收第二定址編碼AD2並覆蓋原先所執行之第一定址編碼AD1,微控制器22隨即依據第二定址編碼AD2對應之動作而經由無線傳輸介面362回傳一動作結果ACK至控制處理單元34,接續於步驟S60中,讓控制處理單元34所執行之應用程式APP驅動顯示單元38顯示對應之一第二狀態訊息MS2,例如:控制處理單元34將對應顯示溫度之第二定址編碼AD2,十六進位0010,傳送至偵測裝置20,因而讓偵測裝置20之微控制器22回傳之動作結果ACK為偵測裝置20之操作溫度,藉此讓控制處理單元34所執行之應用程式APP驅動顯示單元38顯示偵測裝置20之操作溫度。此外,第二狀態訊息MS2進一步包含偵測裝置20連接至受信主機10之連接器,亦即受信主機10之資料輸入輸出(DI/O)所對應之連接位置。
In step S40, as shown in FIG. 2C, the
以上所述為定址編碼燒錄裝置30為智慧型手機的實施例,以及定址編碼燒錄裝置30讓控制處理單元34執行APP而驅動通訊電路36以透過藍芽介面傳輸的實施例。除此之外,本發明更可應用於一般無線區域網路,以下為進一步說明。
The above is the embodiment in which the address
請參閱第3A圖至第3D圖,其為本發明之另一實施例之系統示意圖。其中第2A圖至第2D圖與第3A圖至第3D圖之差異在於第2A圖至第2D圖為無線傳輸介面362提供定址編碼燒錄裝置30直接連接至偵測裝置20,而第3A圖至第3D圖為無線傳輸介面362A提供定址編碼燒錄裝置30間接連接至偵測裝置20。如圖所示,本發明之定址編碼燒錄裝置30之輸入單元32、控制處理單元34與顯示單元38同於上一實施例,不再贅述,但本實施例之定址編碼燒錄裝置30為設有一通訊電路36A,其無線傳輸介面362A為支援無線區域網路(WLAN),例如:無線熱點
(Wi-Fi)的IEEE 802.11傳輸協定或紫蜂(Zigbee)的IEEE 802.15.4,其通訊電路36A連接至一基地台BS(或為一般無線IP分享器),而連接至偵測裝置20,即本實施例之受信主機10與偵測裝置20亦為支援無線區域網路(WLAN)。
Please refer to FIG. 3A to FIG. 3D, which are schematic diagrams of a system according to another embodiment of the present invention. The difference between Fig. 2A to Fig. 2D and Fig. 3A to Fig. 3D is that Fig. 2A to Fig. 2D provide the
本實施例之定址編碼燒錄裝置30之執行方式如第1圖所示,步驟S20至S40同於上述實施例,本實施例之定址編碼燒錄裝置30於步驟S10中,為控制處理單元34驅使通訊電路36A連接至偵測裝置20所對應之基地台BS,因而藉由通訊電路36A之無線傳輸介面362A連接至偵測裝置20之通訊模組24A。
The execution method of the address
以上實施例,為定址編碼燒錄裝置30透過無線傳輸技術對偵測裝置20進行狀態讀取以及透過第二定址編碼AD2控制偵測裝置20。
In the above embodiment, the address
除此之外,本發明更進一步提供有線傳輸方式用於讀取偵測裝置20之狀態及透過第二定址編碼AD2控制偵測裝置20,以下為詳細說明。
In addition, the present invention further provides a wired transmission method for reading the state of the detecting
請參閱第4圖,其為本發明之另一實施例之流程圖。如圖所示,本發明更揭示一種存取定址編碼之方法,其中步驟包含:步驟S110:使用第一連接器連接至偵測裝置之第二連接器,使一控制處理單元經第一連接器與第二連接器電性連接至該偵測裝置之一微控制器;步驟S120:使用控制處理單元經第一連接器與第二連接器讀取微控制器所執行之第一定址編碼;步驟S130:依據第一定址編碼顯示第一狀態數值;步驟S140:使用控制處理單元依據輸入數值變更第一狀態數值而對應產生第二定址編碼;步驟S150:經第一連接器與第二連接器傳送第二定址編碼至偵測裝置並覆寫第一定址編碼,以驅使微控制器依據第二定址編碼回傳動作結果至控制處理單元;以及步驟S160:依據動作結果顯示第二狀態數值。 Please refer to FIG. 4, which is a flowchart of another embodiment of the present invention. As shown in the figure, the present invention further discloses a method for accessing address codes, wherein the steps include: Step S110: Use the first connector to connect to the second connector of the detection device, and make a control processing unit pass through the first connector The second connector is electrically connected to a microcontroller of the detection device; Step S120: Use the control processing unit to read the first address code executed by the microcontroller through the first connector and the second connector; Step S130: Display the first state value according to the first address code; Step S140: Use the control processing unit to change the first state value according to the input value to generate a second address code correspondingly; Step S150: Connect with the second via the first connector The device transmits the second address code to the detection device and overwrites the first address code to drive the microcontroller to return the action result to the control processing unit according to the second address code; and step S160: display the second state value according to the action result .
請一併參閱第5A圖至第5D圖,其為本發明之另一實施例之系統示意圖。受信主機10與偵測裝置50之連接關係同於前一實施例之受信主機10與
偵測裝置20之連接關係,因此不再贅述。定址編碼燒錄裝置40為包含一輸入單元42、一控制處理單元44、一通訊電路46與一顯示單元48,其中,控制處理單元44連接至輸入單元42、通訊電路46與顯示單元48,本實施例之定址編碼燒錄裝置40為一控制面板,輸入單元42為一鍵盤,通訊電路46為支援支援EIA422或EIA485,因此通訊電路46之有線傳輸介面462,即通訊電路46外接一第一連接器464,而本實施例中,偵測裝置50之通訊模組54為外部設有對應之第二連接器544,因此,第一連接器464透過有線傳輸介面462連接至第二連接器544;顯示單元48為單色液晶,因而讓使用者可透過顯示單元48顯示對應於第一定址編碼AD1之第一狀態訊息MS1,而得知偵測裝置50之狀態,亦可操作輸入單元42,而讓控制處理單元44將一輸入數值INN轉為對應之第二定址編碼AD2,本實施例之輸入數值INN為十六進位碼,例如:02AF。
Please also refer to FIG. 5A to FIG. 5D, which are schematic diagrams of a system according to another embodiment of the present invention. The connection relationship between the
於步驟S110中,如第5A圖所示,定址編碼燒錄裝置40經由第一連接器464與第二連接器544連接至偵測裝置50,特別是透過通訊電路46之有線傳輸介面462連接至偵測裝置50之通訊模組54,本實施例之控制處理單元44為控制面板之一運算處理單元,因此控制處理單元44為執行一應用程式(APP),而驅使通訊電路46連接至對應之偵測裝置50。於步驟S20中,如第5B圖所示,經由執行APP之控制處理單元44經由有線傳輸介面462向偵測裝置50之微控制器52發送一讀取請求RQ1,因而驅使微控制器52經有線傳輸介面462回覆一第一定址編碼AD1,例如:十六進位0110,於步驟S130中,而控制處理單元44在接收到第一定址編碼AD1後,隨即驅使顯示單元48顯示對應第一定址編碼AD1之一第一狀態數值N1,例如:110,即對應於運作狀態正常之狀態數值。
In step S110, as shown in FIG. 5A, the addressing
於步驟S140中,如第5C圖所示,輸入單元42,即控制面板之鍵盤,提供使用者輸入輸入數值INN至控制處理單元44,因而藉由控制處理單元44依據輸入數值INN而對應產生一第二定址編碼AD2,例如:輸入數值INN為對應顯示溫度之數值011,控制處理單元44即對應產生第二定址編碼AD2,011。於步驟S150中,如第5D圖所示,控制處理單元44將步驟S30所產生之第二定址編碼AD2透過有線傳輸介面462傳送至偵測裝置20,因而讓偵測裝置50之微控制器52接收
第二定址編碼AD2並覆蓋原先所執行之第一定址編碼AD1,微控制器22隨即依據第二定址編碼AD2對應之動作而經由有線傳輸介面462回傳一動作結果ACK至控制處理單元44,接續於步驟S160中,讓控制處理單元44驅動顯示單元48顯示對應之一第二狀態數值N2,例如:控制處理單元44將對應顯示溫度之第二定址編碼AD2,十六進位0010,傳送至偵測裝置50,因而讓偵測裝置50之微控制器52回傳之動作結果ACK為偵測裝置50之操作溫度,藉此讓控制處理單元44所執行之應用程式APP驅動顯示單元48顯示偵測裝置50之操作溫度正常。
In step S140, as shown in FIG. 5C, the
以上所述之實施例中,第一定址編碼AD1與第二定址編碼AD2除了可為十六進位碼之外,更可為二進位碼或十進位碼。 In the above-mentioned embodiment, the first address code AD1 and the second address code AD2 can be binary codes or decimal codes in addition to hexadecimal codes.
綜上所述,本發明之存取定址編碼之方法為經控制處理單元驅動通訊電路經由無線傳輸介面連接至偵測裝置,以讀取偵測裝置20之第一定址編碼,而讓控制處理單元驅動顯示單元顯示對應之第一狀態訊息,並覆寫第二定址編碼至偵測裝置,以控制偵測裝置回傳控制結果,讓控制處理單元驅動顯示單元對應顯示一第二狀態訊息,如此本發明簡化操作藉此改善偵測裝置之檢修與維護之作業。
In summary, the method for accessing the address code of the present invention is to drive the communication circuit through the control processing unit to connect to the detection device via a wireless transmission interface, so as to read the first address code of the
故本發明實為一具有新穎性、進步性及可供產業上利用者,應符合我國專利法專利申請要件無疑,爰依法提出發明專利申請,祈 鈞局早日賜准專利,至感為禱。 Therefore, the present invention is truly novel, progressive, and available for industrial use. It should meet the patent application requirements of my country's patent law. Undoubtedly, I filed an invention patent application in accordance with the law. I pray that the Bureau will grant the patent as soon as possible.
惟以上所述者,僅為本發明之較佳實施例而已,並非用來限定本發明實施之範圍,舉凡依本發明申請專利範圍所述之形狀、構造、特徵及精神所為之均等變化與修飾,均應包括於本發明之申請專利範圍內。 However, the above are only the preferred embodiments of the present invention, and are not used to limit the scope of implementation of the present invention. For example, the shapes, structures, features and spirits described in the scope of the patent application of the present invention are equally changed and modified. , Should be included in the scope of patent application of the present invention.
S10-S60:步驟S10-S60: steps
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108141011A TWI739207B (en) | 2019-11-12 | 2019-11-12 | Method of accessing address code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108141011A TWI739207B (en) | 2019-11-12 | 2019-11-12 | Method of accessing address code |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202119174A TW202119174A (en) | 2021-05-16 |
TWI739207B true TWI739207B (en) | 2021-09-11 |
Family
ID=77020756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108141011A TWI739207B (en) | 2019-11-12 | 2019-11-12 | Method of accessing address code |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI739207B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5268668A (en) * | 1992-01-07 | 1993-12-07 | Detection Systems, Inc. | Security/fire alarm system with group-addressing remote sensors |
TW200947901A (en) * | 2008-02-11 | 2009-11-16 | Apollo Fire Detectors Ltd | Signal and devices for wired networks |
TW201126459A (en) * | 2009-07-14 | 2011-08-01 | Apollo Fire Detectors Ltd | Signal and devices for wired networks |
TW201208270A (en) * | 2010-02-23 | 2012-02-16 | Panasonic Elec Works Co Ltd | Wireless transceiver and wireless communications system |
TW201622486A (en) * | 2014-12-09 | 2016-06-16 | 建國科技大學 | Remote emergency lighting equipment monitoring detection system |
-
2019
- 2019-11-12 TW TW108141011A patent/TWI739207B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5268668A (en) * | 1992-01-07 | 1993-12-07 | Detection Systems, Inc. | Security/fire alarm system with group-addressing remote sensors |
TW200947901A (en) * | 2008-02-11 | 2009-11-16 | Apollo Fire Detectors Ltd | Signal and devices for wired networks |
TW201126459A (en) * | 2009-07-14 | 2011-08-01 | Apollo Fire Detectors Ltd | Signal and devices for wired networks |
TW201208270A (en) * | 2010-02-23 | 2012-02-16 | Panasonic Elec Works Co Ltd | Wireless transceiver and wireless communications system |
TW201622486A (en) * | 2014-12-09 | 2016-06-16 | 建國科技大學 | Remote emergency lighting equipment monitoring detection system |
Also Published As
Publication number | Publication date |
---|---|
TW202119174A (en) | 2021-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12033288B2 (en) | Smart-home device placement and installation using augmented-reality visualizations | |
US20170237577A1 (en) | Using a control panel as a wireless access point | |
JP5312257B2 (en) | Virtual space utilization type device control system, real space control system, and virtual space utilization type device control program | |
KR20190133091A (en) | Fire detector with emergency exit light function and fire detect system uisng the fire detector | |
WO2011120419A1 (en) | Electronic device and input method | |
TW201803316A (en) | Control device and control method | |
TWI739207B (en) | Method of accessing address code | |
KR20170094636A (en) | Electronic apparatus and sensor arrangement method thereof | |
JP6719080B2 (en) | Control device and control method | |
KR20160045241A (en) | Sensing apparatus, environment responding apparatus and computer program | |
US11985574B2 (en) | Environment control system for controlling environmental conditions in a building | |
CN112910468B (en) | Method for accessing addressing code | |
US11133952B2 (en) | Notification control apparatus, detection apparatus, notification control system, notification control method, and detection method | |
EP3909215B1 (en) | A method to provide secure operation of a lighting network | |
KR101655827B1 (en) | Addressable repeater and addressable manual call point base on location confirmation | |
KR20160050963A (en) | Smart terminal equipment for control device registration of intelligent home ECO system and the registration method | |
TW201322822A (en) | Control system and method for controlling electric power for floors of buildings | |
JP7194840B2 (en) | Determining the reachability of electronic devices over multiple wireless communication protocols | |
TWM557375U (en) | Cloud repair system | |
JP2019129345A (en) | Display method, program, and display system | |
Spandana | Smart home automation through ESP8266 | |
JP2007201873A (en) | Multifunctional remote controller | |
JP2020120229A (en) | Control system and sensor device | |
JP2023058395A (en) | Control method, program, and display system | |
TWM620306U (en) | Air quality monitoring device |