TW200912810A - I/O control device capable of series connection and its method for transferring signals - Google Patents

I/O control device capable of series connection and its method for transferring signals Download PDF

Info

Publication number
TW200912810A
TW200912810A TW96133885A TW96133885A TW200912810A TW 200912810 A TW200912810 A TW 200912810A TW 96133885 A TW96133885 A TW 96133885A TW 96133885 A TW96133885 A TW 96133885A TW 200912810 A TW200912810 A TW 200912810A
Authority
TW
Taiwan
Prior art keywords
control device
output
input control
input
connection
Prior art date
Application number
TW96133885A
Other languages
Chinese (zh)
Other versions
TWI341997B (en
Inventor
Chia-Yung Hsiao
Ken-Tung Liaw
Hsuan-Liang Lin
Lung-Jeng Lee
Kun-Chou Chen
Shou-Chiang Hsueh
Original Assignee
Avermedia Information 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 Avermedia Information Inc filed Critical Avermedia Information Inc
Priority to TW96133885A priority Critical patent/TWI341997B/en
Publication of TW200912810A publication Critical patent/TW200912810A/en
Application granted granted Critical
Publication of TWI341997B publication Critical patent/TWI341997B/en

Links

Landscapes

  • Selective Calling Equipment (AREA)
  • Programmable Controllers (AREA)

Abstract

An I/O control device capable of series connection and its method for transferring signals, which implement in a surveillance system, having a first connector, a secondary connector, many input ports and output ports on a control element, wherein the first connector is used to electrically connect a control terminal and the secondary connector is used to electrically connect a first connector of another I/O control device for series connection with another I/O control device. While the control element determines that an ID data in an instruction data received by the first connector from the control terminal is different from the one of the control element, the control element will transfer the instruction data to another I/O control device via the secondary connector, thus, another I/O control device may operate input or output ports according to the instruction data, or pass the instruction data to other following I/O control device.

Description

200912810 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種監控系統領域中之輸出/輸入控 制裝置,且尤指一種串聯式輸出/輸入控制裝置及其傳遞訊 號之方法。 【先前技術】 (、 習知應用於監控系統的主控端(如:電腦主機,PC或 獨立控制裝置stand along system)可並聯多數個輸入輸出 控制盒(I/O Box) ’這些控制盒可分別連接不同的元件(如: 感測器或繼電器),主控端便可分別經這些控制盒接收由某 些元件所傳來的訊號,得知目前各元件之狀況,或經這些 控制盒發出指令而控制各些元件。 然而,若是這些控制盒用以連接主控端之連接器,所 具有的連接格式(如:RS232)係不同於主控端所相容的連 〇 接格式(如:RS485 )時,則主控端與各控制盒間勢必需要 另外加裝一轉換盒,使得各控制盒可連接於轉換盒上,如 此一來,使用者在安裝及維修成本上必然有所增加。 加上網路科技發達,許多業者紛紛提倡遠端控制的觀 念,使得目前市面上的主控端改由透過網路(如:區域網 路或網際網路)分別與各控制盒相連接,以實現遠距離監 控的目的。然而,各控制盒於網路上與主控端相連結時, 分別需佔用一個不同的IP位址(IP address),以使主控端 與各控制盒進行接收訊號或發出指令的程序,如此,雖然 200912810 達到遠距離監控的目的,但也佔用了許多ιρ位, 、 叩 許多冗餘的貧源浪費。因此,如何提供一種可解決上述缺 點,以節省所佔用的連接器,便為目前所需。 ,、 【發明内容】 本發明之目的是在提供了一種可實現串聯式連接之輸 出/輸入控制裝置及其傳遞訊號之方法,以節省與多個輸出 /輸入控制裝置連接所需之連接器或Ip位址。 根據上述之目的’本發明係提出一種輸出/輸入控制裝 置,係應用;^監控之用途,包括控制單元、第―連接部、 第二連接部、多個輸出端子及輸入端子。上述之第一連接 部、t連接部、多個輸出端子及輸人端子均分別設在此 控制早兀上’且露出於控制單元之表面’丨中這些輸出端 子及輸入端子分別可電氣外接不同種之電子元件,而第一 連接部用以電氣連接-主控裝置,而第二連接部可與另一 控制單元之第一連接部相互電氣連接。如此,多個輸出/輸 入控制裝置便可依上述之方式與另一輸出/輸入控制裝置 進行串聯形式的連接m裝置經第—連接部發出一命 7訊號至此控制單疋時’由於此命令訊號中夾帶有一①指 定標記,m蚊標記可供控制單元辨識及判斷此命令訊號 發4的目的地’使彳于控制單元可判斷此命令訊號之m指定 標記是否與㈣單元之代表Π)㈣,纽命令訊號之m 己並非控制單χ之代表ID ’控制單元便將此命令訊 號心第一連接部傳送至另一控制單元,故,另一控制單 200912810 元便可根據此命令訊號之出指定標記,決定是否依據此命 令訊號進行處理,或再度傳送此命令訊號錢 他控制單元中。 〃 本發月之另態樣,係提出一種輸出/輸入控制裝置之 傳遞訊號方法’係應用於監控用途上之-輸出/輸入控制裝 置’當此輸出/輸人㈣裝置以—第―連接部與—主控裝置 電氣連接,以-第二連接部與另—輸出增入控制裝置之 第-連接部電氣連接後’此輸出/輸入控制裝置依據此傳遞 訊號方法’首先開始接收訊號,並於接收到_訊號後,判 斷此訊號是否為-回傳訊號或—命令訊號,倘^判斷出此 訊號為-命令訊號時’則輸出/輸人控制裝置便判斷命令訊 號中之ID才曰疋標§己是否與此輸出/輸入控制裝置内之代 表ID相符。若命令訊號之m指定標記與此輸出/輸入控制 裝置之代表ID不符,則此輸出/輸入控制裝置便將此命令 訊號,經第二連接部傳送至另一輸出/輸入控制裝置内。如 此,此命令訊號將可依照所串連之輸出/輸入控制裝置之順 序,依序被傳遞下去,直到傳遞至主控裝置所欲控制之目 標或放棄為止。 綜上所述,本發明可由原本主控裝置分別對應各輸出/ 輸入控制裝置所需配備多個連接器,節省為只需配備一個 連接器,用以連接首接之輸出/輸入控制裝置,如此一來, 使用者在安裝及維修成本上必然有所改善,加上主控裝置 於’、周路上與各輸出/輸入控制裝置相連接,本發明便可大大 喊省各輸出/輸入控制裝置所佔用之ιρ位址,而避免許多冗 200912810 餘的資源浪費。 【實施方式】 本發明係一種輸出/輸入控制裝置及其傳遞訊號之方 法’第1圖係繪示本發明輸出/輸入控制裝置之串連形式示 意圖’而第2圖係繪示本發明輸出/輸入控制裝置之電子方 塊示意圖。請參閱第1、2圖所示,輸出/輸入控制裝置係 應用於監控之用途,係包括控制單元1〇〇、第一連接部1〇2、 第二連接部104、多個輸出端子1〇6及輸入端子1〇8,而這 二第連接部102、第一連接部104、多個輸出端子及 輸入端子108均分別設於控制單元100上,且露出於控制 單το 100之表面。其中這些輸出端子1〇6分別可電氣連接 至外部之一電子元件201 (如:繼電器或電磁閥,relay), 而這些輸入端子108亦分別可電氣連接至外部之另一電子 元件203 (如.感測器,sensor),而第一連接部1 〇2可為 多種連接格式之連接埠(如:RJ45、RS232、RS485、USB 或紅外線傳輸Infrared Data Association之連接埠),用以電 乳連接主控裝置300(如.電腦主機;或獨立控制裝置,BACKGROUND OF THE INVENTION 1. Field of the Invention This invention relates to an output/input control device in the field of monitoring systems, and more particularly to a serial output/input control device and method for transmitting signals therefor. [Prior Art] (, the control terminal (such as: computer host, PC or stand-alone control device) can be connected in parallel with a plurality of input and output control boxes (I/O Box). By connecting different components (such as: sensors or relays), the main control terminal can receive signals transmitted by some components through these control boxes, and the current status of each component can be obtained or sent through these control boxes. The components are controlled by commands. However, if these control boxes are used to connect the connectors of the main control terminal, the connection format (such as RS232) is different from the connection format compatible with the main control terminal (eg: When RS485 is used, it is necessary to additionally install a conversion box between the main control terminal and each control box, so that each control box can be connected to the conversion box, so that the user must increase the installation and maintenance cost. Coupled with the development of Internet technology, many operators have advocated the concept of remote control, so that the main control terminal on the market is changed to each control box through the network (such as: regional network or Internet). To achieve the purpose of remote monitoring. However, when each control box is connected to the main control terminal on the network, it needs to occupy a different IP address (IP address), so that the main control terminal and each control box perform The procedure of receiving signals or issuing instructions, although 200912810 achieves the purpose of remote monitoring, it also takes up a lot of ιρ bits, and many redundant sources of waste are wasted. Therefore, how to provide a solution to the above shortcomings to save The occupied connector is currently required. SUMMARY OF THE INVENTION The object of the present invention is to provide an output/input control device capable of implementing serial connection and a method for transmitting signals thereof to save multiple outputs / Input control device is connected to the required connector or Ip address. According to the above purpose, the present invention provides an output/input control device, which is an application, and includes the control unit, the first connection portion, and the second a connecting portion, a plurality of output terminals, and an input terminal, wherein the first connecting portion, the t connecting portion, the plurality of output terminals, and the input terminal are respectively set in the control The output terminals and the input terminals are electrically externally connected to different kinds of electronic components, and the first connecting portion is used for electrical connection - the main control device, and the second connecting portion is electrically connected to the surface of the control unit The first connection portion of the other control unit can be electrically connected to each other. Thus, the plurality of output/input control devices can be connected in series with another output/input control device in the manner described above. When a command 7 is sent to the control unit, 'Because there is a 1 designation mark in the command signal, the m mosquito mark can be used by the control unit to identify and judge the destination of the command signal 4', so that the control unit can judge the command. Whether the m mark of the signal is related to the representative of the (4) unit Π) (4), the m of the command signal is not the representative ID of the control unit. The control unit transmits the first link of the command signal to the other control unit. Another control order 200912810 yuan can be based on the specified mark of the command signal, determine whether to process according to the command signal, or retransmit the command signal Money he controls the unit.另 In this aspect of the month, a method of transmitting signals for an output/input control device is proposed, which is applied to the monitoring application. - Output/input control device. When this output/input (4) device is connected to the - Electrically connected to the main control device, and after the second connection portion is electrically connected to the first connection portion of the other-incremental input control device, the output/input control device first starts receiving signals according to the method of transmitting signals, and After receiving the _ signal, it is judged whether the signal is a -return signal or a command signal. If the signal is judged to be a - command signal, then the output/input control device judges the ID in the command signal. § Has it coincided with the representative ID in this output/input control unit. If the m designation flag of the command signal does not match the representative ID of the output/input control device, the output/input control device transmits the command signal to the other output/input control device via the second connection portion. Thus, the command signal will be transmitted in sequence according to the sequence of the output/input control devices connected in series until it is passed to the target or control unit to be controlled by the master device. In summary, the present invention can be equipped with multiple connectors corresponding to the respective output/input control devices by the original main control device, saving only one connector for connecting the first output/input control device. As a result, the user must inevitably improve the installation and maintenance costs, and the main control device is connected to each output/input control device on the 'week road, the present invention can greatly scream for each output/input control device. Occupy the address of the ιρ, and avoid a lot of waste of 200912810 resources. [Embodiment] The present invention is an output/input control device and a method for transmitting a signal. FIG. 1 is a schematic diagram showing a series connection form of an output/input control device of the present invention, and FIG. 2 is a diagram showing an output of the present invention/ An electronic block diagram of the input control device. Referring to Figures 1 and 2, the output/input control device is used for monitoring purposes, and includes a control unit 1〇〇, a first connecting portion 1〇2, a second connecting portion 104, and a plurality of output terminals 1〇. 6 and the input terminal 1〇8, and the two first connecting portions 102, the first connecting portion 104, the plurality of output terminals and the input terminal 108 are respectively disposed on the control unit 100 and exposed on the surface of the control unit το 100. The output terminals 1 〇 6 can be electrically connected to one of the external electronic components 201 (eg, relays or solenoid valves, respectively), and the input terminals 108 can also be electrically connected to another electronic component 203 (eg, respectively). Sensor, sensor), and the first connection part 1 〇2 can be a connection port of various connection formats (such as: RJ45, RS232, RS485, USB or infrared transmission Infrared Data Association connection port), for the electric milk connection main Control device 300 (such as a computer host; or an independent control device,

Stand Along System),並與主控裝置300之連接埠具相同的 連接格式,且兩者的連接結構亦相互匹配,而第二連接部 104亦可為多種連接格式之連接埠(如:RJ45、RS232、 RS485、USB 或紅外線傳輸 jnfrared Data Association 之連 接蜂)’與另一輸出/輸入控制裝置之控制單元100,上之第一 連接部102,具有相同連接格式的連接埠,且兩者的連接結 200912810 構亦相互匹配,使得輸出/輸入控制装置之第二連㈣⑽ 可電氣連接至另一輸出/輸入控制裝置之控制單元1〇〇,上之 帛—連接部Η)2,。如此,多個輸出/輸人控制裝置便可依上 述之方式(如第與另-輸出/輸入控制裝置之控制單 儿100’及又一輸出/輸入控制裝置之控制單元1〇〇,,進 聯形式的連接。 本發明中,復請參閱第2圖所示,控制單元1〇〇之且 〇 體形式H殼體11G為主’殼冑110内設有-電路板 112’電路板112上分別設有一中央處理單元114及一仍 設定單元116,中央處理單元114之數個接腳分別盘 定單元1丨6、第一連接部102、第二連接部1〇4、輸出端子 1 一06及輸入端子108電氣相接,用以控制上述相連接之所有 元件,ID設定單元116可為多腳位(pin)之撥動開關,藉 由撥動開關之不同腳位設定组合,可表示出特定輸出/輸入 控制裝置之一代表ID。 配合上述之描述,本發明之第-實施例中,請參閱第3 ’ ㈣示’料製本發明之第—實施例之串連形式示意圖, 主控裝置300於-網路彻(如:區域網路或網際網路)上 與輸出/輸入控制裝置(於後續實施例中皆稱為首接輸出/ 輸入控制裝置)相接,此時第一連接部1〇2為了可接上網 路400,獲知一 IP位址,用以與主控裝置_相接,使得 第-連接部1G2之連接格式可為RM5之連接埠,而第二: 接部1〇4(可為1〇45、1^232、贈85、聰或紅外線 順d Data A峨iati〇n格式之其中一種連接琿)可與另 11 200912810 一輸出/輸入控制裝置(於後續實施例中皆稱為後方輸出/ 輸入控制裝置)之第一連接部102’電氣相接,如此,主控 裝置300便可透過網路400與首接輸出/輸入控制裝置接 通,並經由後續相串接之後方輸出/輸入控制袭置,指定所 欲控制之電子元件201、203,而由於全部之輸出/輸入控制 裝置僅需佔用一 IP位址,而不需佔用多個Ip位址,比起 習知技術,可節省許多網路資源。 另外,本發明之第二實施例中’復請參閱第丨圖所示, 首接輸出/輸入控制裝置之第一連接部1〇2可為與USB格式 相符之連接埠,係以一 USB連接線電氣連接至主控裝置3〇〇 上之一 USB連接埠上,而首接輸出/輸入控制裝置之第二連 接部1〇4(可為RJ45、RS232、RS485、USB或紅外線傳輸 Infrared Data Association格式之其中一種連接埠)可與後 方輸出/輸入控制裝置之第一連接部1〇2’電氣相接。如此, 主控裝置300便可透過USB連接線與首接之輸出/輪入控制 裝置接通,並經由後續相串接之後方輸出/輸入控制裝置, 指定所欲控制之電子元件201 ' 203,而由於主控裝置3〇〇 僅直接與首接輸出/輸入控制裝置相接,因此,主控裝置3〇〇 便不需要具有更多之USB連接埠,比起習知技術,可節省 許多USB連接埠。 另外,本發明之第三實施例中,復請參閱第丨圖所示, 首接輸出/輸入控制裝置之第一連接部丨〇2可為與RS232或 RS485格式相符之連接埠,係以一纜線電氣連接至主控裝 置300上之一 rS232或RS485之連接埠上,而首接輸出/ 12 200912810 輸入控制I置之第二連接部104(可A RJ45、RS232、 則5、USB或紅外線傳輸祕㈣Data Ass。咖_格式 ’、種連接蜂)可與後方輸出/輸入控制裝置之第一連 接部102’電氣相接’如此,主控裝置3〇〇便可透過境線與 、接輸出/輸人控制裝置接通,並經由後續相•接之後方輸 出/輸入控制裝置’指定所欲控制之電子元件、加。因 此’主控裝置300與首接輸出/輸入控制裝置便+需另外加 裝可轉換格式之轉換盒,崎低安裝及維修成本。Stand Along System), and the connection structure of the main control device 300 is the same connection format, and the connection structure of the two is also matched with each other, and the second connection portion 104 can also be a connection port of various connection formats (for example, RJ45, RS232, RS485, USB or infrared transmission jnfrared Data Association connection bee' with the other connection/input control device control unit 100, the first connection part 102, has the same connection format connection port, and the connection between the two The junctions 200912810 are also matched to each other such that the second connection (4) (10) of the output/input control device can be electrically connected to the control unit 1〇〇 of the other output/input control device, the upper port - the connection portion 2). In this way, the plurality of output/input control devices can be implemented in the above manner (for example, the control unit 100' of the first and other output/input control devices and the control unit 1 of the further output/input control device. In the present invention, as shown in FIG. 2, the control unit 1 and the body form H housing 11G are provided on the circuit board 112 of the main board 110. A central processing unit 114 and a still setting unit 116 are respectively disposed, and the plurality of pins of the central processing unit 114 respectively identify the unit 1丨6, the first connecting unit 102, the second connecting unit 1〇4, and the output terminal 1−06. The input terminal 108 is electrically connected to control all the components connected to the above, and the ID setting unit 116 can be a multi-pin toggle switch, which can be represented by a combination of different pin settings of the toggle switch. One of the specific output/input control devices represents an ID. In conjunction with the above description, in the first embodiment of the present invention, reference is made to the third embodiment of the present invention. 300 in - network (such as: regional network or The interface is connected to the output/input control device (referred to as the first output/input control device in the subsequent embodiments), and the first connection unit 1〇2 knows an IP bit in order to connect to the network 400. The address is used to connect with the main control device _, so that the connection format of the first connection portion 1G2 can be the connection port of RM5, and the second: the connection portion 1〇4 (can be 1〇45, 1^232, gift 85) , Cong or Infrared Shun d Data A峨iati〇n format one of the ports 可) can be combined with another 11 200912810 an output / input control device (referred to as the rear output / input control device in subsequent embodiments) The portion 102' is electrically connected. In this way, the main control device 300 can be connected to the first output/input control device through the network 400, and the subsequent output/input control is struck through the subsequent phase connection to specify the desired control. Electronic components 201, 203, and since all of the output/input control devices only need to occupy one IP address without occupying multiple Ip addresses, many network resources can be saved compared to the prior art. In the second embodiment, 'review the figure, The first connection part 1〇2 connected to the output/input control device can be a connection port corresponding to the USB format, and is electrically connected to one USB connection port on the main control device 3 by a USB connection line, and is first connected The second connection portion 1〇4 of the output/input control device (which may be one of RJ45, RS232, RS485, USB or infrared transmission Infrared Data Association format) and the first connection portion 1 of the rear output/input control device 〇 2' electrical connection. In this way, the main control device 300 can be connected to the first output/wheeling control device through the USB cable, and the subsequent output/input control device is serially connected to specify the desired control. The electronic component 201 ' 203, and since the main control device 3 is directly connected to the first output/input control device, the main control device 3 does not need to have more USB ports, than the learning Knowing technology can save a lot of USB ports. In addition, in the third embodiment of the present invention, as shown in the figure, the first connection portion 首2 of the first output/input control device may be a connection port conforming to the RS232 or RS485 format, which is a The cable is electrically connected to one of the rS232 or RS485 ports on the main control unit 300, and the first output / 12 200912810 input control I is connected to the second connection portion 104 (A RJ45, RS232, 5, USB or infrared The transmission secret (4) Data Ass. The coffee_format ', the type of connection bee) can be electrically connected to the first connection portion 102' of the rear output/input control device. Thus, the main control device can transmit and output through the environment. The input control device is turned on, and the electronic component to be controlled is specified by the subsequent phase output/input control device. Therefore, the main control unit 300 and the first output/input control unit need to be additionally equipped with a convertible format conversion box, which is low in installation and maintenance costs.

上述第三實施例中,請參閱第3圖所示,係本發明第 一實施例之串連形式示意圖。尤其當首接輸出/輸入控制裝 置之第二連接冑1G4為與RS485格式相符之連接棒時, RS485格式之連接料同時分出二對以上之正貞極接線, 此對些正負極接線可供並聯式之連接方式同時與多個後接 輸出/輸入控制裝置之第—連接部·、,相連接,而此 些後接輸出/輸入控制裝置之第二連接部1〇4,、1〇4,,便可以 上述描述的限制之下,對其他輸出/輸入控制裝置進行串聯 式或並聯式之連接方式,因此,不僅提供更多選擇之連接 方式,增加所連接之後接輸出/輸入控制裝置,同時,也可 避免以串聯式連接方式之後方輸出/輸入控制裝置故障 後’而阻斷了資料傳送之唯一路徑。 又,本發明之第四實施例中,復請參閱第i圖所示, 首接輸出/輸入控制裝置之第一連接部1〇2可為與紅外線傳 輸格式(InfraredData Association)相符之連接埠,係以無 線之方式與主控裝置3〇〇上之一紅外線連接埠電氣相接, 13 200912810 而首接輸㈣人㈣裝置H接部1G4 (可為卿、 RSm'RS^、聰或紅外線傳輸料之其巾—種連接淳) 可與後方輸出7輸人控制裝置之第—連接部102,電氣相接。 如此’主控裝i 300便可與首接後方輸出/輸入控制裝置盈 線地接通,並經由後續㈣接之後方輸出/輸入控制裝置, 指定所欲控制之電子元件201 '加,因此,主控裝置3〇〇In the third embodiment described above, please refer to Fig. 3, which is a schematic view of the serial form of the first embodiment of the present invention. Especially when the second connection 胄1G4 of the first output/input control device is a connecting rod conforming to the RS485 format, the RS485 format connecting material simultaneously divides two or more pairs of positive 接线 wiring, and the positive and negative wirings are available. The parallel connection mode is simultaneously connected to the first connection portion of the plurality of subsequent output/input control devices, and the second connection portions of the subsequent output/input control devices are 1〇4, 1〇4 In addition, the other output/input control devices can be connected in series or in parallel under the above-described limitations, so that not only more connection modes are provided, but also the output/input control devices are connected after being connected. At the same time, it is also possible to avoid the single path of the data transmission after the output/input control device fails in the series connection mode. Further, in the fourth embodiment of the present invention, as shown in FIG. 19, the first connection portion 1〇2 of the first output/input control device may be a connection port corresponding to an infrared data association (Infrared Data Association). It is electrically connected to one of the main control unit 3's infrared connection, 13 200912810 and the first (4) person (4) device H connector 1G4 (can be Qing, RSm'RS^, Cong or infrared transmission The towel-type connector 料 can be electrically connected to the first connection portion 102 of the rear output 7 input control device. Thus, the main control unit i 300 can be connected to the first rear rear output/input control device, and the subsequent electronic output 201 can be controlled via the subsequent (four) output/input control device. Therefore, Main control unit 3〇〇

Ο 便不需同時與所有之輸出/輸人控制裝置進行無線連接,以 避免主控裝置300資源的浪費。 ¥多個輸出/輸入控制裝置相串接時,《中首接輸出/ 輸入控制裝置以第-連接部1〇2與主控裝£獅電氣相 接,而以第二連接部104肖後方輸出/輸入控制裝置之之第 一連接部1G2,電氣相接,使得第二輸出/輸人控制裝置再以 其第二連接部104,與其後串聯的輸出/輸入控制裝置之第一 連接部102電氣相接,依此類推, 士使得各輸出/輸入控制裝置得以串聯之方式相接,此 時’請參閱第5 ®所示’係此傳遞城方法之流程圖,各 輸出/輸入控制裝置便依本發明之傳遞訊號方法進行處理: 步驟(401 )接收訊號: 此步驟中,首接輸出/輸入控制裝置之第—連接部1〇2 可接收由主控裝置300所傳來之一命令訊號,命令訊號可 為主控裝置300所欲控制任一輸出/輸入控制裝置之任一輸 出端子106或輸入端子1〇8所對應之電子元件2〇1、2〇3所 下達之指令,包括要求切斷或接通電磁閥等,而各第二連 接部104可接收由後方之輸出/輸入控制裝置所傳出之一回 200912810 輸出端子1〇6或輸入端子ι〇8 孤控;;對應之電子元件201、203時,所回傳之摘測訊號; '驟( 402)判斷所接收之訊號是否為一回傳訊號: ’、中此中央處理單元114便會對首接之輸出/輸入控制 裝=之第二連接部1G4所接收狀峨内容進行判斷,判 斷疋由後方輸出’輸入控制裝置所傳出之一回傳訊 號若是進行步驟(4〇6),否則,進行步驟(); 〇 =驟(403 )判斷所接收之訊號是否為一命令訊號: 八中田主控裴置300經首接之輸出/輸入控制裝置之第 連接4 102發出—命令訊號時,由於此命令訊號中夹帶 有一 ID指定標記,則中央處理單元114便可判斷所接收到 之訊號’是否為由主控裝i 3〇〇所傳來之命令訊號,若是, 進行步驟( 404),否則,結束本程序。 步驟( 404)判斷命令訊號之m指定標記是否相符於 此輸出/輪入控制裝置之代表ID : 當中央處理單元U4判定所接收之訊號為命令訊號 後,中央處理單元114便依據輸出/輸入控制裝置内ID設 疋單元116所表示之代表ID,與所接收到命令訊號内之1〇 寺曰定標記進行比對,判斷兩者是否相符,若是,進行步驟 ( 407),否則’進行步驟(4〇5); 步驟( 405 )由第二連接部1〇4傳出: 由於ID指定標記可供輸出/輸入控制裝置辨識及判斷 此命令訊號發送的目的地’因此,若命令訊號之ID指定標 記與ID設定單元116所表示之代表ID不符,代表此輸出/ 15 200912810 輸入控制裝置並非主控裝置300所欲控制之θ # 、曰標,則中央 處理單元114便將此命令訊號,經第二連接部1〇4傳送至 後續串接之後方輸出/輸入控制裝置中,使得後方輪出 控制裝置便可以同樣之方式持續判斷所接收之命^訊二^ 否為主控裝置300所欲控制之目標。 步驟(406)由第一連接部1〇2傳出: 若所接收之訊號為回傳訊號’則中央處理單元ιΐ4便 會將回傳訊號經後方輸出/輸入控制裝置之第—連接部1〇2, 傳送至首接輸出/輸入控制裝置或由首接輸出/輸入控制裝 置直接傳送至主控裝置300,使得主控裝置3〇〇可得知各輸 出端子106及輸入端子ι〇δ所分別連接之電子元件2〇1、2〇3 目前之狀態。 步驟( 407)依據此命令訊號進行處理: 若中央處理單元114判斷出所接收到命令訊號之1〇指 定標記與ID設定單元U6所表示之代表m相符’則中央 處理單元114便接受命令訊號之指示,對指定之輸出端子 106或輸入端子108所分別連接之電子元件201、203下達 命令。 如此,此命令訊號將可依照所串連之輸出/輸入控制裝 置之順序,依序被傳遞下去,使得後續串接之輸出/輸入控 制裝置可根據此命令訊號之ID指定標記,決定是否依據此 命令訊號進行處理,或再度傳送此命令訊號至後續串接之 其他輸出/輸入控制裝置中,直到傳遞至主控裝置300所欲 控制之目標或放棄為止。 16 200912810 雖然本發明已以實施例揭露如上,然其並非用以限定 本發明,任何熟習此技藝者,在不脫離本發明之精神和範 圍内,當可作各種之更動與潤飾,因此本發明之保護範圍 當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】不 It is not necessary to make wireless connection with all the output/input control devices at the same time to avoid waste of resources of the main control device 300. When multiple output/input control devices are connected in series, the "middle-connected output/input control device is connected to the main control unit by the first connection portion 1〇2, and is output after the second connection portion 104 is omitted. The first connection portion 1G2 of the input control device is electrically connected such that the second output/input control device is further electrically connected by its second connection portion 104 to the first connection portion 102 of the output/input control device connected in series thereto Docking, and so on, the output/input control devices can be connected in series. At this time, please refer to the flow chart of the method shown in Figure 5 for each transmission/output control device. The transmission signal method of the present invention performs processing: Step (401) Receiving a signal: In this step, the first connection portion 1〇2 of the first output/input control device can receive a command signal transmitted by the main control device 300, The command signal may be an instruction issued by the electronic component 2〇1, 2〇3 corresponding to any output terminal 106 or input terminal 1〇8 of any output/input control device of the main control device 300, including the requirement to cut Disconnect or turn on the solenoid valve, etc. And each of the second connecting portions 104 can receive one of the output from the rear output/input control device back to the 200912810 output terminal 1〇6 or the input terminal ι〇8; if the corresponding electronic components 201, 203 are returned Passing the measurement signal; 'Currently (402) judging whether the received signal is a transmission signal: ', the central processing unit 114 will be the first connection/output control unit=the second connection part 1G4 The content of the receiving condition is judged, and it is judged that one of the return signals transmitted by the input control device is performed in the step (4〇6), otherwise, the step () is performed; 〇=step (403) determines the received Whether the signal is a command signal: When the Yasuda master control device 300 sends a command signal through the first connection/input control device connection 4 102, since the command signal has an ID designation flag, the central processing unit 114 can judge whether the received signal 'is the command signal transmitted by the main control unit i 3〇〇, and if yes, proceed to step (404); otherwise, the program ends. Step (404) determines whether the m designation flag of the command signal matches the representative ID of the output/wheeling control device: when the central processing unit U4 determines that the received signal is a command signal, the central processing unit 114 controls according to the output/input. The representative ID indicated by the in-device ID setting unit 116 is compared with the 1〇 temple setting mark in the received command signal to determine whether the two match, and if yes, proceed to step (407), otherwise, 'the step is performed ( 4〇5); Step (405) is transmitted by the second connection unit 1〇4: Since the ID designation flag is available for the output/input control device to recognize and judge the destination of the command signal transmission, therefore, if the command signal ID is specified The flag does not match the representative ID indicated by the ID setting unit 116, and represents the output / 15 200912810. The input control device is not the θ # and the target that the master device 300 wants to control, and the central processing unit 114 then signals the command signal. The two connecting portions 1〇4 are transmitted to the subsequent serial output/input control device, so that the rear wheeling control device can continuously judge the received life message in the same manner. No target to be controlled by the master device 300. Step (406) is transmitted from the first connecting portion 1〇2: if the received signal is a return signal, the central processing unit ιΐ4 passes the return signal through the rear output/input unit of the first connection unit of the control device. 2, transmitted to the first output/input control device or directly transmitted to the main control device 300 by the first output/input control device, so that the main control device 3 can know that each output terminal 106 and the input terminal ι δ are respectively The current state of the connected electronic components 2〇1, 2〇3. The step (407) is processed according to the command signal: if the central processing unit 114 determines that the designated flag of the received command signal matches the representative m indicated by the ID setting unit U6, the central processing unit 114 accepts the command signal indication. The electronic components 201 and 203 respectively connected to the designated output terminal 106 or the input terminal 108 issue commands. In this way, the command signal can be transmitted in sequence according to the sequence of the output/input control devices connected in series, so that the subsequent serial output/input control device can specify a mark according to the ID of the command signal to determine whether to The command signal is processed, or the command signal is retransmitted to other output/input control devices that are subsequently cascaded until it is passed to the target or desired to be controlled by the master device 300. The present invention has been disclosed in the above embodiments by way of example only, and 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 protection is subject to the definition of the scope of the patent application. [Simple description of the map]

為讓本發明之上述和其他目的、特徵、優點與實施例 能更明顯易懂’所附圖式之詳細說明如下: 第1圖係本發明輸出/輸入控制裝置之串連形式示意 圖。 第2圖係本發明輸出/輸入控制裝置之電子方塊示意 圖。 第3圖係本發明第一實施例之串連形式示意圖。 第4圖係本發明第三實施例中之並連形式示意圖。 第5圖係此傳遞訊號方法之流程圖。 【主要元件符號說明】 114 :中央處理單元 116 : ID設定單元 201 :電子元件 203 :另一電子元件 300 :主控裝置 400 :網路 401-407 :步驟 100、100’、100,,:控制單元 1〇2、102,、102”:第一連接部 104、104,、104,,:第二連接部 106 t輸出端子 108 :輸入端子 110 .殼體 112 .電路板 17The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; Figure 2 is an electronic block diagram of the output/input control device of the present invention. Figure 3 is a schematic view showing the serial form of the first embodiment of the present invention. Fig. 4 is a schematic view showing the parallel form in the third embodiment of the present invention. Figure 5 is a flow chart of the method of transmitting signals. [Description of Main Component Symbols] 114: Central Processing Unit 116: ID Setting Unit 201: Electronic Component 203: Another Electronic Component 300: Master Device 400: Network 401-407: Steps 100, 100', 100,,: Control Units 1〇2, 102, 102′′: first connection portions 104, 104, 104, and: second connection portion 106 t output terminal 108: input terminal 110. housing 112. circuit board 17

Claims (1)

200912810 十、申請專利範圍: h 一種輸出/輸入控制裝置,係應用於監控之用 括: 一控制單元; 一第一連接部,設於該控制單元上,用以電氣連接一 主控裝置; 複數個輸出端子,排列於該控制單元上,分別可供電 p 氣連接一電子元件; 複數個輸入端子,排列於該控制單元上,分別可供電 氣連接另一電子元件;以及 第一連接部,設於該控制單元上,可供電氣連接至 另一輸出/輸入控制裝置之第一連接部,用以與該另一輸出 /輸入控制裝置相串聯,當該輸出/輸入控制裝置之第一連接 部接收到該主控裝置所發出之一具有ID指定標記之命令訊 號,且該控制單元判斷出該命令訊號之ID指定標記與該控 ◎ 制單元之一代表ID不符後,該輸出/輸入控制裝置之第二 連接部並將具ID指定標記之命令訊號傳送至該另一輸出/ 輸入控制裝置。 2.如申請專利範圍第1項所述之輸出/輸入控制裝 置,其中該控制單元包括: 一殼體; 一電路板,係設於該殼體内; 一 ID設定單元,係设於該電路板上,可表示出特定之 18 200912810 代表ID ;以及 中央處理單元,係設於贫雷 輸入控制裝置之該ID設定單元 接:别與該輸出/ 接部、夂坊於山 平兀* °亥第一連接部、該第二連 u輪出端子及輸入端子電氣相接 令訊號之ID尨中碎七β &amp; η @叩 令鮮至另= 表相符,及傳送該命 訊唬至另一輸出/輸入控制裝置。 Ο 3·如申請專利範圍第2項所述之輸出/輸入 、、中該輸出/輸人控制裝置之該第_連接部之連 為與RJ45、USB、RS232或紅外線傳輸格式相符之連接 置L如^^專利範圍第2項所述之輸出/輸入控制裝 ”中該輸出/輸入控制裝置之該第一連接部之 為與RS485格式相符之連接埠。 式 5·如申請專利範圍第4項所述之輸出/輸入控制裝 置’其中該輸出/輸人㈣裝置之該第二連接部之連接格 為與RS485格式相符之連接埠,且供並聯二個以上之另二 輪出/輸入控制裝置。 6. -種輸出/輸入控制裝置之傳遞訊號方法,係應用於 監控用途之一輸出/輸入控制裝置上’該輸出/輪入控制裝置 以一第一連接部與一主控裝置電氣連接,且以—第二連接 部與另-輸出/輸人控制裝置之第—連接部電氣連接後,該 19 200912810 傳遞訊號方法包括: 接收—訊號; 判斷該訊號是否鼻由s .^ ^ 令為由另一輸出/輸入控制裝置所發出 之一回傳訊號; * 35 訊號τ否’判斷該訊號是否為由該主控裝置所發出一命令 出二令:中之-ID指定標記是否與該輸 “制裝置之—代表ID相符;以及 右否’便將該命令訊號,經該輸出/輸入控制裝置之該 連接$傳送至該另-輸出/輪入控制裝置。 .如申請專利範圍第6項所述之傳遞訊號方法,其中 。田該訊號為由另一輸出/輸入控制裝置所發出之一回傳訊 號,則該輸出/輸人控制裝置將該回傳訊號由該輸出/輸入控 制裝置之第一連接部傳出。 8.如申請專利範圍第6項所述之傳遞訊號方法,其中 田該命令訊號之ID指定標記與該輸出/輸入控制裝置之代 表ID相符,則該輸出/輸入控制裝置依據該命令訊號進行 處理。 20200912810 X. Patent application scope: h An output/input control device is used for monitoring: a control unit; a first connection unit, which is arranged on the control unit for electrically connecting a main control device; The output terminals are arranged on the control unit, respectively, and can respectively supply power to p to connect an electronic component; a plurality of input terminals are arranged on the control unit, respectively for electrically connecting another electronic component; and the first connecting portion is provided On the control unit, a first connection portion electrically connectable to another output/input control device for serial connection with the other output/input control device, the first connection portion of the output/input control device Receiving a command signal with an ID designation flag sent by the main control device, and the control unit determines that the ID designation flag of the command signal does not match the representative ID of the control unit, the output/input control device The second connection portion transmits a command signal having the ID designation flag to the other output/input control device. 2. The output/input control device of claim 1, wherein the control unit comprises: a housing; a circuit board disposed in the housing; an ID setting unit disposed in the circuit On the board, a specific 18 200912810 representative ID can be displayed; and a central processing unit is provided in the ID setting unit of the lean input control device: not with the output/connector, Weifang Yushan Pingyu* ° Haidi A connecting portion, the second connecting terminal and the input terminal are electrically connected to each other so that the ID of the signal is broken, the ββ &amp; η @叩 is fresh to the other table, and the command is transmitted to another output. / Input control unit. Ο 3. The output/input as described in item 2 of the patent application scope, and the connection of the _th connection portion of the output/input control device is a connection with the RJ45, USB, RS232 or infrared transmission format. The first connection portion of the output/input control device in the output/input control device described in the second paragraph of the patent scope is a connection port conforming to the RS485 format. Equation 5: Patent Application No. 4 The output/input control device 'where the connection port of the second connection portion of the output/input (4) device is a connection port corresponding to the RS485 format, and two or more other wheel/out control devices are connected in parallel. 6. A method for transmitting signals of an output/input control device, which is applied to an output/input control device for monitoring purposes. The output/wheeling control device is electrically connected to a main control device by a first connection portion, and After the second connection portion is electrically connected to the first connection portion of the other-output/input control device, the 19 200912810 transmission signal method includes: receiving a signal; determining whether the signal is caused by the s. ^ ^ command One One of the return signals sent by the output/input control device; * 35 signal τ No 'determine whether the signal is issued by the master device, a command is issued: the middle-ID designation flag is associated with the input device The representative ID is matched; and the right is 'the command signal is transmitted to the other output/wheeling control device via the output/input control device. The method of transmitting signals as described in claim 6 of the patent application, wherein. The signal is a return signal sent by another output/input control device, and the output/input control device transmits the return signal from the first connection of the output/input control device. 8. The method of transmitting a signal according to claim 6, wherein the ID designation flag of the command signal matches the representative ID of the output/input control device, and the output/input control device processes the command signal according to the command signal. . 20
TW96133885A 2007-09-11 2007-09-11 Control element and its method for transferring signals TWI341997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96133885A TWI341997B (en) 2007-09-11 2007-09-11 Control element and its method for transferring signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96133885A TWI341997B (en) 2007-09-11 2007-09-11 Control element and its method for transferring signals

Publications (2)

Publication Number Publication Date
TW200912810A true TW200912810A (en) 2009-03-16
TWI341997B TWI341997B (en) 2011-05-11

Family

ID=44725025

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96133885A TWI341997B (en) 2007-09-11 2007-09-11 Control element and its method for transferring signals

Country Status (1)

Country Link
TW (1) TWI341997B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI474153B (en) * 2009-11-10 2015-02-21 Hon Hai Prec Ind Co Ltd Motherboard and relay device thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI474153B (en) * 2009-11-10 2015-02-21 Hon Hai Prec Ind Co Ltd Motherboard and relay device thereof

Also Published As

Publication number Publication date
TWI341997B (en) 2011-05-11

Similar Documents

Publication Publication Date Title
CN102713773B (en) For the security module of automation equipment
EP3462328B1 (en) Serial connection between management controller and microcontroller
US20120293680A1 (en) Method and apparatus for controlling master-slave mode cameras in wireless terminal
US7631129B2 (en) Computer monitoring system and monitoring method
TW200912810A (en) I/O control device capable of series connection and its method for transferring signals
WO2018021461A1 (en) Electronic apparatus
TWM245684U (en) Power protection device capable of being controlled via IP address
CN112987627B (en) Multi-protocol embedded blower controller and control system thereof
TW201113691A (en) Multi-function integrated device and operating method thereof
CN212588351U (en) Edge gateway
EP0228954A1 (en) Telephone line interface option module
KR101482492B1 (en) Method and system for transmitting nmea 2000 network information
CN203191971U (en) Port board card based on 1553B bus and control system
CN103019995A (en) Interface board card based on 1553B bus
CN210072592U (en) Online upgrading system of extender
JP2003018676A (en) Display remote control system, display, program for display and display remote control method
CN208724076U (en) A kind of enhanced board of NDI signal processing
CN208271170U (en) A kind of debugging serial ports connection equipment
JP6013711B2 (en) Semiconductor integrated circuit and semiconductor integrated circuit debugging method
CN103227841B (en) For single serial port multipurpose device and the control method thereof of charging pile
CN116930661A (en) Self-healing line testing device and system
TWM517460U (en) Universal serial bus (USB) hub for connecting different port types
CN108415283A (en) Engineering machinery control device and system
JP2007316909A (en) Installation monitoring and controlling device and data repeater
TW466403B (en) Computer integrated manufacturing system and the serial communication parallel-connected monitoring device used by the same

Legal Events

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