JPH0583772A - Interrupting processing method of multiple transmitting system - Google Patents

Interrupting processing method of multiple transmitting system

Info

Publication number
JPH0583772A
JPH0583772A JP3243962A JP24396291A JPH0583772A JP H0583772 A JPH0583772 A JP H0583772A JP 3243962 A JP3243962 A JP 3243962A JP 24396291 A JP24396291 A JP 24396291A JP H0583772 A JPH0583772 A JP H0583772A
Authority
JP
Japan
Prior art keywords
signal
terminal
interrupt
network
master
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP3243962A
Other languages
Japanese (ja)
Other versions
JP3108480B2 (en
Inventor
Shoji Koise
祥二 小伊勢
Yuji Nakagawa
裕司 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP03243962A priority Critical patent/JP3108480B2/en
Publication of JPH0583772A publication Critical patent/JPH0583772A/en
Application granted granted Critical
Publication of JP3108480B2 publication Critical patent/JP3108480B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Alarm Systems (AREA)
  • Selective Calling Equipment (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

PURPOSE:To shorten the interrupting processing time as much as possible. CONSTITUTION:A master device 1 and plural terminal devices 2 are connected through a signal line L. To a higher order network A, a lower order network B to connect plural terminal devices 2 through the signal line L is connected through a relay 3. The master device 1 specifies the address of each terminal device 2, accesses individually each terminal device 2 and performs mutually the signal transmission. The terminal devices 2, even when the selection from the master device 1 is not performed, can perform the interruption request to the master device 1. When the master device 1 receives the interruption request from the terminal devices 2, the device performs the interruption address polling, specifies the interruption request terminal devices 2 and performs the signal transmission between the interruption request terminal devices 2. A function to detect that the terminal devices 2 of either of a higher order network A perform the interruption is provided at the relay 3 and during the interrupting processing of the higher order network A, in the relay 3, the relaying of the return signal of the lower order network B is stopped.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ホームオートメーショ
ンやビルオートメーション分野における照明制御システ
ムやセキュリティシステムなどに用いられる多重伝送シ
ステムであって、特に上位ネットワークと下位ネットワ
ークを中継器で接続した多重伝送システムの割込処理方
法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex transmission system used for a lighting control system, a security system and the like in the field of home automation and building automation, and in particular, a multiplex transmission system in which an upper network and a lower network are connected by a repeater. The present invention relates to the interrupt processing method of.

【0002】[0002]

【従来の技術】多重伝送システムは、図5に示すよう
に、親機1と複数の端末機2とを信号伝送媒体としての
信号線Lを介して接続して構成され、照明制御システム
やセキュリティシステム等に用いられている。そして、
この種の多重伝送システムでは、親機1と端末機2とを
接続する信号線Lに中継器3を接続し、この中継器3を
介してさらに複数の端末機2をシステム内に組み込むこ
とができるようにしたものがある。この従来の多重伝送
システムの上記中継器3は、中継器3の親機1側のネッ
トワークである上位ネットワークAと、中継器3の後段
のネットワークである下位ネットワークBとの間の送信
信号及び返信信号を単に中継する働きを持つものであ
り、この多重伝送システムは実質的には親機1に対して
各端末機2を直接に接続したものと同等のものである。
また、中継器3では送信信号及び返信信号の中継と共に
増幅を行う機能を持つ。
2. Description of the Related Art As shown in FIG. 5, a multiplex transmission system is constructed by connecting a master unit 1 and a plurality of terminals 2 via a signal line L as a signal transmission medium, and is used for a lighting control system and a security system. Used in systems, etc. And
In this type of multiplex transmission system, a repeater 3 is connected to a signal line L connecting the master device 1 and the terminal device 2, and a plurality of terminal devices 2 may be further incorporated into the system via the repeater device 3. There is something that I was able to do. The repeater 3 of the conventional multiplex transmission system transmits and returns a transmission signal between a host network A, which is a network on the base unit 1 side of the repeater 3, and a lower network B, which is a network subsequent to the repeater 3. It has a function of simply relaying signals, and this multiplex transmission system is substantially equivalent to one in which each terminal device 2 is directly connected to the master device 1.
Further, the repeater 3 has a function of amplifying the transmission signal and the reply signal together with the relay.

【0003】この多重伝送システムでは、端末機2に夫
々固有アドレスを設定し、親機1は図6に示す信号フォ
ーマットの送信信号を送信する。この送信信号は、端末
機2が親機1の信号の送信の始まりを検出するための同
期信号SNC、後続のアドレス信号AD及び制御信号C
Dのデータ内容を定義するモード信号MD、送信先の端
末機2の固有アドレスを示すアドレス信号AD、端末機
2に接続された負荷のオン,オフ信号等の制御内容を示
す制御信号CD、送信信号の伝送誤りを検出するための
誤り検出信号FCC、及び端末機2から親機1に返信信
号を返送する時間帯として設けられた返信信号帯RSP
からなる。
In this multiplex transmission system, a unique address is set in each of the terminals 2, and the parent device 1 sends a transmission signal having the signal format shown in FIG. This transmission signal is a synchronization signal SNC for the terminal 2 to detect the start of signal transmission of the master unit 1, a subsequent address signal AD and a control signal C.
A mode signal MD that defines the data content of D, an address signal AD that indicates the unique address of the destination terminal 2, a control signal CD that indicates the control content such as an ON / OFF signal of the load connected to the terminal 2, and transmission An error detection signal FCC for detecting a signal transmission error, and a reply signal band RSP provided as a time band for returning a reply signal from the terminal 2 to the master unit 1.
Consists of.

【0004】通常は親機1が上記送信信号を各端末機2
に順次送信して信号伝送が行われる。例えば、親機1が
各端末機2のアドレスを送信信号のアドレス信号ADで
特定して各端末機2を順次サイクリックにアクセスし、
親機1と各端末機2との間で相互に信号伝送を行う。と
ころで、この種の多重伝送システムでは、端末機2が緊
急に親機1に対して返信信号を送りたいときは、図7に
示すように、同期信号SNC(パルス波形)の送信タイ
ミングに同期して割込パルスViを送信して割込要求を
行う。この割込パルスViを受信した親機1では、送信
信号のモード信号MDを割込アドレスポーリングモード
に設定して送信して割込要求端末機2を特定する。
Normally, the base unit 1 sends the transmission signal to each terminal unit 2
Are sequentially transmitted to each other for signal transmission. For example, the master device 1 specifies the address of each terminal device 2 by the address signal AD of the transmission signal and sequentially cyclically accesses each terminal device 2,
Signal transmission is mutually performed between the master device 1 and each terminal device 2. By the way, in this type of multiplex transmission system, when the terminal 2 urgently wants to send a reply signal to the base unit 1, as shown in FIG. 7, it is synchronized with the transmission timing of the synchronization signal SNC (pulse waveform). And transmits an interrupt pulse Vi to make an interrupt request. Upon receiving the interrupt pulse Vi, the master device 1 sets the mode signal MD of the transmission signal in the interrupt address polling mode and transmits the mode signal MD to specify the interrupt request terminal device 2.

【0005】ここで、親機1が割込要求端末機2を特定
する方法として、上位アドレスが一致する同一グループ
の複数の端末機2に対して同時に割込アドレスポーリン
グを行って、割込要求を行った端末機2から下位アドレ
スを返信させて割込要求端末機2を特定するいわゆるグ
ループアドレスポーリングを用いることができる。そし
て、割込要求端末機2が特定された場合、親機1は送信
信号のモード信号MDを監視モードに設定すると共に、
割込要求端末機2のアドレスをアドレス信号に設定し、
割込要求端末機2から返信信号を受け取る。
Here, as a method for the master unit 1 to identify the interrupt requesting terminal 2, the interrupt requesting is performed by simultaneously performing the interrupt address polling on a plurality of terminals 2 of the same group having the same upper address. It is possible to use so-called group address polling in which the lower-order address is returned from the terminal 2 that has performed the process and the interrupt request terminal 2 is specified. Then, when the interrupt request terminal device 2 is specified, the master device 1 sets the mode signal MD of the transmission signal to the monitoring mode, and
Set the address of the interrupt request terminal 2 in the address signal,
A reply signal is received from the interrupt request terminal 2.

【0006】そして、親機1はモード信号を応答モード
に設定して割込要求端末機2に送信し、割込要求端末機
2からの割込パルスViの送信を停止させると、割込処
理が終了する。なお、上記グループアドレスポーリング
を行う以外に、各端末機2を個別にアクセスして割込要
求の有無を判別する個別アドレスポーリングを用いるも
のがあるが、この場合にはすべての端末機2をポーリン
グする必要があるので、割込処理時間が長くかかる欠点
があり、上記グループアドレスポーリングで割込要求端
末機2を特定することが好ましい。
[0006] When the master unit 1 sets the mode signal to the response mode and transmits it to the interrupt request terminal 2 and stops the transmission of the interrupt pulse Vi from the interrupt request terminal 2, the interrupt process is performed. Ends. In addition to the group address polling described above, there is one that uses individual address polling for individually accessing each terminal 2 to determine whether or not there is an interrupt request. In this case, all terminal 2 are polled. Since it is necessary to do so, there is a drawback that the interrupt processing time is long, and it is preferable to specify the interrupt request terminal 2 by the group address polling.

【0007】[0007]

【発明が解決しようとする課題】ところで、上記グルー
プアドレスポーリングを用いて割込要求端末機2を特定
する多重伝送システムにおいて、同一のグループに属す
る複数の端末機2が割込要求を行った場合には、上記グ
ループアドレスポーリング時に、複数の端末機2から同
時に下位アドレスが返信される。このため、複数の端末
機2からの返信信号の衝突が起こり、返信信号エラーと
なり、親機1では割込端末機2を特定できないことにな
る。
By the way, in the multiplex transmission system in which the interrupt request terminal 2 is specified by using the group address polling described above, when a plurality of terminals 2 belonging to the same group make an interrupt request. , The lower addresses are simultaneously returned from a plurality of terminals 2 at the time of the group address polling. Therefore, collisions of reply signals from a plurality of terminals 2 occur, a reply signal error occurs, and the master terminal 1 cannot specify the interrupt terminal 2.

【0008】そこで、この場合にはそのグループ内の端
末機2に対して個別に割込アドレスポーリングを行って
割込端末機2を特定する。その後は、上述の場合と同様
にして、親機1は送信信号のモード信号MDを監視モー
ドに設定すると共に、個々の割込要求端末機2のアドレ
スをアドレス信号に設定し、割込要求端末機2から個別
に返信信号を受け取る処理を行い、親機1はモード信号
を応答モードに設定して割込要求端末機2に送信し、割
込要求端末機2からの割込パルスViの送信を停止させ
て割込処理を終了する。
Therefore, in this case, the interrupt address polling is individually performed on the terminals 2 in the group to specify the interrupt terminals 2. After that, in the same manner as in the case described above, the master device 1 sets the mode signal MD of the transmission signal to the monitoring mode, sets the address of each interrupt request terminal device 2 to the address signal, and sets the interrupt request terminal device. The master unit 1 sets the mode signal in the response mode and transmits it to the interrupt request terminal device 2, and transmits the interrupt pulse Vi from the interrupt request terminal device 2. To stop the interrupt processing.

【0009】しかしながら、上記グループアドレスポー
リングを用いて割込要求端末機2を特定する多重伝送シ
ステムで、上位アドレスが同一のグループ内の複数の端
末機2から同時に割込要求があった場合、上述のように
個別に割込要求端末機2を特定する処理をやり直す必要
があるために、割込要求端末機を特定するまでに時間が
かかる問題があった。
However, in the multiplex transmission system in which the interrupt request terminal 2 is specified by using the group address polling described above, when there are simultaneous interrupt requests from a plurality of terminals 2 in the same group having the same upper address, As described above, since it is necessary to redo the process of individually specifying the interrupt request terminal device 2, there is a problem that it takes time to specify the interrupt request terminal device.

【0010】本発明は上述の点に鑑みて為されたもので
あり、その目的とするところは、割込処理時間を極力短
くすることができる多重伝送システムの割込処理方法を
提供することにある。
The present invention has been made in view of the above points, and it is an object of the present invention to provide an interrupt processing method for a multiplex transmission system which can shorten the interrupt processing time as much as possible. is there.

【0011】[0011]

【課題を解決するための手段】本発明では、上記目的を
達成するために、上位ネットワークで割込処理が行われ
ていることを検知する機能を中継器に設け、中継器は上
位ネットワークの端末機の割込処理中は下位ネットワー
クの端末機からの親機への返信信号の中継を停止してい
る。
In order to achieve the above object, the present invention provides a relay with a function of detecting that interrupt processing is being performed in the host network, and the relay is a terminal of the host network. During the machine interrupt process, relaying of the reply signal from the lower network terminal to the master unit is stopped.

【0012】[0012]

【作用】上述のように構成すれば、下位ネットワークの
割込は後回しにして上位ネットワークだけの割込処理を
行わせて、上位ネットワークと下位ネットワークとの端
末機の同時割込を防止できるようにし、これにより同時
割込が起こる可能性を少なくして、割込処理時間を極力
短くすることができるようにしたものである。
With the above-described structure, the interrupt of the lower network is postponed and the interrupt processing of only the upper network is performed so that the simultaneous interruption of the terminals of the upper network and the lower network can be prevented. This makes it possible to reduce the possibility of simultaneous interrupts and shorten the interrupt processing time as much as possible.

【0013】[0013]

【実施例】図1乃至図4に本発明の一実施例を示す。本
実施例のシステム構成は図5と同じく中継器3を用いて
複数の端末機2を増設可能としたもので、本実施例でも
中継器3を境にして親機1側のネットワークを上位ネッ
トワークAと呼び、親機1が属さない側のネットワーク
を下位ネットワークBとして説明する。
1 to 4 show an embodiment of the present invention. The system configuration of this embodiment is such that a plurality of terminals 2 can be added by using the repeater 3 as in FIG. 5, and in this embodiment as well, the network on the master unit 1 side is the upper network with the repeater 3 as a boundary. The network on the side to which the parent device 1 does not belong will be referred to as A and the lower network B will be described.

【0014】本実施例の多重伝送システムの親機1は、
図2に示すように、マイクロコンピュータからなる信号
処理部10と、この信号処理部10で作成された送信信
号(ロジック信号)を増幅して信号線Lに送信する信号
増幅部11と、信号線Lを介して返信信号帯RSPに端
末機2から返信された電流モードの返信信号を検出する
返信信号検出部12とで構成されている。ここで、返信
信号検出部12では同期信号SNCに同時して電流モー
ドで返信される割込パルスも検出し、返信信号及び割込
パルスをロジックレベルに変換して信号処理部10に出
力する。
The base unit 1 of the multiplex transmission system of this embodiment is
As shown in FIG. 2, a signal processing unit 10 including a microcomputer, a signal amplification unit 11 that amplifies a transmission signal (logic signal) created by the signal processing unit 10 and transmits the signal to a signal line L, and a signal line It is composed of a reply signal detection unit 12 which detects a current mode reply signal sent from the terminal 2 to the reply signal band RSP via L. Here, the reply signal detection unit 12 also detects an interrupt pulse returned in the current mode at the same time as the synchronization signal SNC, converts the reply signal and the interrupt pulse into a logic level, and outputs the logic level to the signal processing unit 10.

【0015】端末機2は、図3に示すように、マイクロ
コンピュータよりなる信号処理部20と、固有アドレス
などを記憶する記憶部21と、信号線Lを介して親機1
から送信される送信信号を検出する送信信号検出部22
と、電流モードの返信信号を親機1に返信する返信信号
送出部23とで構成されている。親機1からの送信信号
が例えば端末機2に接続される負荷の制御用であり、そ
の送信信号のアドレス信号が自己のアドレスと一致した
場合、信号処理部20はリレー等に制御出力を与え、そ
の際の負荷の動作を示す監視入力を信号処理部20が受
けて返信信号帯RSPに親機1に返送する。
As shown in FIG. 3, the terminal device 2 includes a signal processing unit 20 including a microcomputer, a storage unit 21 for storing a unique address and the like, and a base unit 1 via a signal line L.
A transmission signal detection unit 22 for detecting a transmission signal transmitted from
And a reply signal sending section 23 that sends a reply signal in the current mode back to the master unit 1. When the transmission signal from the master unit 1 is for controlling the load connected to the terminal unit 2, for example, and when the address signal of the transmission signal matches its own address, the signal processing unit 20 gives a control output to a relay or the like. The signal processing unit 20 receives the monitoring input indicating the operation of the load at that time, and returns it to the master unit 1 in the reply signal band RSP.

【0016】中継器3は、図4に示すように、マイクロ
コンピュータからなる信号処理部30と、上位ネットワ
ークAの信号線Lを介して親機1から送信される送信信
号を検出する送信信号検出部31と、この送信信号検出
部31で検出された送信信号を増幅して下位ネットワー
クBに送信する送信信号増幅部32と、下位ネットワー
クBの信号線Lを介して端末機2から返信される返信信
号を検出する返信信号検出部33と、この返信信号検出
部33で検出された返信信号を増幅して上位ネットワー
クAに返信する返信信号増幅部34と、返信信号検出部
33と返信信号増幅部34との間に挿入され返信信号の
返信信号増幅部34への入力を制御するゲート部35と
で構成してある。ここで、ゲート部35の開閉は信号処
理部30で制御する。
As shown in FIG. 4, the repeater 3 detects a transmission signal transmitted from the base unit 1 via the signal processing unit 30 including a microcomputer and the signal line L of the host network A. A part 31 and a transmission signal amplifier 32 that amplifies the transmission signal detected by the transmission signal detector 31 and transmits it to the lower network B, and a signal from the terminal 2 via the signal line L of the lower network B. Reply signal detecting section 33 for detecting a reply signal, reply signal amplifying section 34 for amplifying the reply signal detected by this reply signal detecting section 33 and returning it to upper network A, reply signal detecting section 33 and reply signal amplifying section And a gate unit 35 which is inserted between the unit 34 and the unit 34 and controls the input of the reply signal to the reply signal amplifying unit 34. Here, the opening and closing of the gate unit 35 is controlled by the signal processing unit 30.

【0017】上述の構成の端末機2が負荷として例えば
照明制御用のスイッチ等が接続されたものである場合、
スイッチ等が操作された際にこの状態を信号処理部20
が監視入力から判定し、返信信号送出部23を介して割
込パルスを親機1に送って割込をかける。この際に親機
1は、割込アドレスポーリングにより割込要求を行った
割込要求端末機2を特定する。この割込アドレスポーリ
ングとしては、本実施例でも上述したグループアドレス
ポーリングを用いる。このグループアドレスポーリング
を行うために、本実施例の多重伝送システムでは、複数
の端末機2をグループ分けし、各グループに属する端末
機2のアドレスの上位アドレス(例えば、アドレスが8
ビットである場合、上位4ビット)を同じに設定してあ
る。そして、親機1が割込アドレスポーリングを行う場
合、アドレス信号ADに端末機2の上位アドレスを設定
して複数の端末機2をグループで順次アクセスするグル
ープアドレスポーリングを行う。
In the case where the terminal 2 having the above-mentioned configuration is connected to a load such as a switch for lighting control,
When a switch or the like is operated, this state is set in the signal processing unit 20.
Judges from the monitoring input and sends an interrupt pulse to the master unit 1 via the reply signal sending unit 23 to make an interrupt. At this time, the master device 1 specifies the interrupt request terminal device 2 that has made an interrupt request by interrupt address polling. As the interrupt address polling, the group address polling described above is also used in this embodiment. In order to perform this group address polling, in the multiplex transmission system of this embodiment, a plurality of terminals 2 are divided into groups, and the higher-order address (for example, the address is 8
If it is a bit, the upper 4 bits are set to be the same. Then, when the master device 1 performs the interrupt address polling, the upper address of the terminal device 2 is set in the address signal AD, and the group address polling is performed to sequentially access the plurality of terminal devices 2 in a group.

【0018】そして、上記グループアドレスポーリング
でアクセスされたグループに割込要求端末機2が存在す
る場合には、割込要求端末機2は自己のアドレスの下位
アドレスを親機1に返信する。この下位アドレスを受信
した親機1では、この下位アドレスと上位アドレスとか
らその端末機2を特定する。このようにして割込要求端
末機2が特定された場合、上述したように、親機1は送
信信号のモード信号MDを監視モードに設定すると共
に、割込要求端末機2のアドレスをアドレス信号に設定
し、割込要求端末機2から返信信号を受け取る。
When the interrupt request terminal 2 exists in the group accessed by the group address polling, the interrupt request terminal 2 returns the lower address of its own address to the master unit 1. The base unit 1 which has received the lower address identifies the terminal 2 from the lower address and the upper address. When the interrupt request terminal device 2 is specified in this way, as described above, the master device 1 sets the mode signal MD of the transmission signal to the monitoring mode and sets the address of the interrupt request terminal device 2 to the address signal. To receive a reply signal from the interrupt request terminal 2.

【0019】そして、親機1はモード信号を応答モード
に設定して割込要求端末機2に送信し、割込要求端末機
2からの割込パルスの送信を停止させると、割込処理が
終了する。なお、上記通常動作時には中継器3は単なる
信号の中継用として機能するだけでシステム全体の動作
には何等影響を与えない。つまり、図1(a)に示すよ
うに、親機1と下位ネットワークBの端末機2との間で
も、上位ネットワークAの端末機2の場合と同様に、中
継器3を介してリアルタイムに相互に信号伝送が行われ
ると共に、割込をかけての信号伝送が行われる。
When the master unit 1 sets the mode signal to the response mode and transmits it to the interrupt request terminal 2 and stops the transmission of the interrupt pulse from the interrupt request terminal 2, the interrupt process is executed. finish. In the above normal operation, the repeater 3 merely functions as a relay for signals and does not affect the operation of the entire system. That is, as shown in FIG. 1A, between the master device 1 and the terminal device 2 of the lower network B, as in the case of the terminal device 2 of the upper network A, the mutual communication is performed in real time via the relay device 3. The signal transmission is performed at the same time, and the signal transmission is performed by interrupting.

【0020】以下に本実施例の特徴とする点について説
明する。本実施例の特徴とする点は、上位ネットワーク
Aにおいて割込が発生している場合の動作に関する。こ
こで、本実施例の場合の上位ネットワークAと下位ネッ
トワークBとには共にグループアドレスポーリング時に
同一グループに含まれる端末機2を備えているものとし
て以下の説明を行う。
The features of this embodiment will be described below. The feature of this embodiment relates to the operation when an interrupt occurs in the upper network A. Here, the following description will be made assuming that both the upper network A and the lower network B in the present embodiment are equipped with the terminals 2 included in the same group at the time of group address polling.

【0021】この場合において、中継器3では常時上位
ネットワークAにおける送信信号と下位ネットワークB
における返信信号とを検出しておき、上位ネットワーク
Aにおける端末機2に割込が発生しているときには、図
1(b)に示すように中継器3の信号処理部30ではゲ
ート部35を閉じる。つまり、返信信号検出部33と返
信信号増幅部34との間の信号伝送をゲート部35で停
止させ、返信信号検出部33で検出した返信信号を返信
信号増幅部34から返信する動作を停止させる。
In this case, the repeater 3 always transmits the transmission signal in the upper network A and the lower network B.
1), the gate unit 35 is closed in the signal processing unit 30 of the repeater 3 when an interruption occurs in the terminal 2 in the host network A, as shown in FIG. .. That is, the signal transmission between the reply signal detection unit 33 and the reply signal amplification unit 34 is stopped by the gate unit 35, and the operation of returning the reply signal detected by the reply signal detection unit 33 from the reply signal amplification unit 34 is stopped. ..

【0022】ここで、中継器3において上位ネットワー
クAで割込が発生していることを検出する方法として
は、親機1の送信信号のモード信号MDが割込アドレス
ポーリングモードに設定されていることから判断するこ
とができる。なお、場合によっては上位ネットワークA
の端末機2が親機1に返信する割込パルスViを検出す
ることで、上位ネットワークAの割込要求状態を検出す
るようにしてもよい。
Here, as a method of detecting that an interrupt has occurred in the host network A in the repeater 3, the mode signal MD of the transmission signal of the master unit 1 is set to the interrupt address polling mode. It can be judged from that. In some cases, the upper network A
It is also possible to detect the interrupt request state of the higher-level network A by detecting the interrupt pulse Vi returned from the terminal device 2 to the master device 1.

【0023】なお、上記中継器Bにおける下位ネットワ
ークBの端末機2からの返信信号の親機1への返信を停
止する動作は、上位ネットワークAにおける割込処理が
終了するまで保持させる。そして、上位ネットワークA
における割込処理の終了後に下位ネットワークBの端末
機2からの返信信号を親機1に返信可能とする。ここ
で、上位ネットワークAの割込処理の終了の検知は、親
機1がモード信号を応答モードに設定した送信信号を割
込要求端末機2に送信して割込要求端末機2からの割込
パルスViの送信を停止させることから検知すればよ
い。また、上位ネットワークAの割込パルスViの停止
から、上位ネットワークAの割込処理の終了を検知する
ようにしてもよい。
The operation of stopping the reply of the reply signal from the terminal 2 of the lower network B to the master 1 in the repeater B is held until the interrupt processing in the upper network A is completed. And the upper network A
After completion of the interrupt processing in (1), the reply signal from the terminal 2 of the lower network B can be returned to the master 1. Here, to detect the end of the interrupt processing of the host network A, the master device 1 transmits a transmission signal in which the mode signal is set to the response mode to the interrupt request terminal device 2 and the interrupt request terminal device 2 sends the interrupt signal. It may be detected by stopping the transmission of the embedded pulse Vi. Further, the end of the interrupt processing of the upper network A may be detected from the stop of the interrupt pulse Vi of the upper network A.

【0024】このようにすれば、少なくとも上位ネット
ワークAの同一グループの端末機2が優先的に割込を行
えるようにし、上位及び下位のネットワークA,Bにお
ける端末機2の同時割込を防止でき、同時割込を極力少
なくすることができる。従って、同時割込が発生した端
末機2を特定するための個別に割込アドレスポーリング
を行う必要を少なくすることができ、速やかに割込処理
を行えるようになる。よって、システム全体としての応
答性を良くすることができる。また、同一のグループで
ない下位ネットワークBの端末機2から、上位ネットワ
ークAの割込処理中に、割込パルスや返信信号が送信さ
れることによる不都合も防止できる利点も得られる。
In this way, at least the terminals 2 of the same group in the upper network A can preferentially interrupt, and the simultaneous interruption of the terminals 2 in the upper and lower networks A and B can be prevented. , Simultaneous interrupts can be minimized. Therefore, it is possible to reduce the need to individually perform the interrupt address polling for specifying the terminal 2 in which the simultaneous interrupt occurs, and the interrupt processing can be promptly performed. Therefore, the responsiveness of the entire system can be improved. Further, there is an advantage that it is possible to prevent the inconvenience caused by the transmission of the interrupt pulse or the reply signal during the interrupt processing of the upper network A from the terminal 2 of the lower network B which is not in the same group.

【0025】[0025]

【発明の効果】本発明は上述のように、上位ネットワー
クで割込処理が行われていることを検知する機能を中継
器に設け、中継器は上位ネットワークの割込処理中は下
位ネットワークの端末機からの返信信号の中継を停止し
ているので、下位ネットワークの割込は後回しにして上
位ネットワークだけの割込処理を行わせて、上位ネット
ワークと下位ネットワークとの同時割込を防止でき、こ
のため同時割込が起こる可能性を少なくすることがで
き、割込処理時間を極力短くすることができる。
As described above, according to the present invention, the relay is provided with the function of detecting that the interrupt processing is being performed in the upper network, and the relay is the terminal of the lower network during the interrupt processing of the upper network. Since the relay of the reply signal from the machine is stopped, the interrupt of the lower network can be postponed and the interrupt processing of only the upper network can be performed to prevent the simultaneous interrupt of the upper network and the lower network. Therefore, the possibility of simultaneous interrupts can be reduced, and the interrupt processing time can be shortened as much as possible.

【図面の簡単な説明】[Brief description of drawings]

【図1】(a),(b)は本発明の一実施例の中継器の
通常動作及び同時割込発生時の動作説明図である。
FIG. 1A and FIG. 1B are explanatory diagrams of a normal operation of a repeater according to an embodiment of the present invention and an operation when a simultaneous interrupt occurs.

【図2】親機の概略構成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of a master unit.

【図3】端末機の概略構成を示すブロック図である。FIG. 3 is a block diagram showing a schematic configuration of a terminal.

【図4】中継器の概略構成を示すブロック図である。FIG. 4 is a block diagram showing a schematic configuration of a repeater.

【図5】多重伝送システムのシステム構成図である。FIG. 5 is a system configuration diagram of a multiplex transmission system.

【図6】親機の送信信号の信号フォーマットである。FIG. 6 is a signal format of a transmission signal of the master unit.

【図7】端末機が割込をかける方法の説明図である。FIG. 7 is an explanatory diagram of a method for a terminal to interrupt.

【符号の説明】[Explanation of symbols]

A 上位ネットワーク B 下位ネットワーク 1 親機 2 端末機 3 中継器 L 信号線 A Upper network B Lower network 1 Base unit 2 Terminal 3 Repeater L Signal line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 親機と夫々固有アドレスが設定された複
数の端末機とを信号伝送媒体を介して接続し、親機が各
端末機のアドレスを特定して各端末機を個別にアクセス
して相互に信号伝送を行い、端末機は親機からの選択が
なくても親機に対して割込要求を行うことができ、親機
が端末機からの割込要求を受けると、割込アドレスポー
リングを行って割込要求を行った端末機を特定し、割込
要求端末機との間で信号伝送を行い、上記親機と端末機
とを信号伝送媒体を介して接続した上位ネットワーク
に、複数の端末機を信号伝送媒体を介して接続した下位
ネットワークを中継器を介して接続し、親機と下位ネッ
トワークの端末機との間でも中継器を介して親機が各端
末機のアドレスを特定しての相互の信号伝送、及び割込
をかけての信号伝送が行える多重伝送システムにおい
て、上位ネットワークで割込処理が行われていることを
検知する機能を中継器に設け、中継器は上位ネットワー
クの端末機の割込処理中は下位ネットワークの端末機か
らの親機への返信信号の中継を停止して成ることを特徴
とする多重伝送システムの割込処理方法。
1. A master unit and a plurality of terminals each having a unique address set are connected via a signal transmission medium, and the master unit specifies the address of each terminal unit to access each terminal unit individually. Signals to each other, and the terminal device can make an interrupt request to the master device without selection from the master device. When the master device receives an interrupt request from the terminal device, the interrupt request is sent. Address polling is performed to identify the terminal that made the interrupt request, signal transmission is performed with the interrupt request terminal, and the master network and terminal are connected to the host network connected via a signal transmission medium. , A lower-level network in which multiple terminals are connected via a signal transmission medium is connected via a relay device, and the parent device also connects the terminals of the lower-level network to the parent device via the relay device. Mutual signal transmission by specifying the In a multiplex transmission system that can be performed, a relay is equipped with a function to detect that interrupt processing is being performed in the upper network, and the relay is the master from the lower network terminal during the interrupt processing of the upper network terminal. A method of interrupt processing in a multiplex transmission system, characterized in that relaying of a reply signal to the machine is stopped.
JP03243962A 1991-09-25 1991-09-25 Interrupt processing method for multiplex transmission system Expired - Fee Related JP3108480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03243962A JP3108480B2 (en) 1991-09-25 1991-09-25 Interrupt processing method for multiplex transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03243962A JP3108480B2 (en) 1991-09-25 1991-09-25 Interrupt processing method for multiplex transmission system

Publications (2)

Publication Number Publication Date
JPH0583772A true JPH0583772A (en) 1993-04-02
JP3108480B2 JP3108480B2 (en) 2000-11-13

Family

ID=17111635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03243962A Expired - Fee Related JP3108480B2 (en) 1991-09-25 1991-09-25 Interrupt processing method for multiplex transmission system

Country Status (1)

Country Link
JP (1) JP3108480B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0649123A1 (en) * 1993-10-19 1995-04-19 Nohmi Bosai Ltd. Fire alarm system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365480B (en) 2005-11-01 2014-11-05 诺华疫苗和诊断有限两合公司 Cell-derived viral vaccines with low levels of residual cell DNA by beta-propiolactone treatment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0649123A1 (en) * 1993-10-19 1995-04-19 Nohmi Bosai Ltd. Fire alarm system

Also Published As

Publication number Publication date
JP3108480B2 (en) 2000-11-13

Similar Documents

Publication Publication Date Title
CA1231381A (en) Communication network
US4787083A (en) Bus-method communication network system capable of seizing transmission right by using timer means at each station
JP3123417B2 (en) Communication method in small-scale network and control device and subordinate device applied to the communication method
JPH0817394B2 (en) Interrupt processing method of time division multiplex transmission system
JPH0583772A (en) Interrupting processing method of multiple transmitting system
JPS60246148A (en) Data transmission control system
JP3069409B2 (en) Self-diagnosis method of interrupt response time of multiplex transmission system
JPH04233846A (en) Method and apparatus for data transmission
JPH05244160A (en) Bridge device having frame deleting function
JP3501650B2 (en) Programmable controller network system
JPH11122198A (en) Line concentrator, error notice method by the line concentrator, and medium recording error notice program for the line concentrator
JP3108478B2 (en) Interrupt processing method for multiplex transmission system
JPS62183638A (en) Multiple address communication control system in local area network
JPH0764472A (en) Remote i/o system of programmable controller
JPH07264217A (en) Polling system
JPS61222344A (en) Waiting time setting device for data transmission system
JPS60204144A (en) Fault detecting system in bus type communication system
JPH04168829A (en) Communication control system
JPH0898272A (en) Interruption processing method for remote supervisory and controlling system
JPS61196637A (en) Duplex control system for communicating control equipment
JPS61230447A (en) Test system of loop network
JPH0795228A (en) Regenerative repeater
JPH02230840A (en) Test method for network address
JPH01132244A (en) Frame communication system
JPH07177166A (en) Packet transmission system for token passing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000829

LAPS Cancellation because of no payment of annual fees