JP2910271B2 - Communication control method - Google Patents

Communication control method

Info

Publication number
JP2910271B2
JP2910271B2 JP3210091A JP3210091A JP2910271B2 JP 2910271 B2 JP2910271 B2 JP 2910271B2 JP 3210091 A JP3210091 A JP 3210091A JP 3210091 A JP3210091 A JP 3210091A JP 2910271 B2 JP2910271 B2 JP 2910271B2
Authority
JP
Japan
Prior art keywords
signal
break
break signal
length
station
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.)
Expired - Lifetime
Application number
JP3210091A
Other languages
Japanese (ja)
Other versions
JPH04246951A (en
Inventor
巧 鷲尾
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3210091A priority Critical patent/JP2910271B2/en
Publication of JPH04246951A publication Critical patent/JPH04246951A/en
Application granted granted Critical
Publication of JP2910271B2 publication Critical patent/JP2910271B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は制御局と複数の従属局と
が共通の信号線により接続されたシステムに於ける通信
制御方式に関し、特に、制御局に対して割り込みを通知
した従属局を短時間で捜し出すことができる通信制御方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control system in a system in which a control station and a plurality of subordinate stations are connected by a common signal line. The present invention relates to a communication control method that can be searched for in a short time.

【0002】[0002]

【従来の技術】図4に示すような、制御局41と複数個
の従属局42−1〜42−Nが1つの送信線43と1つ
の受信線44で結ばれた系に於いて、従属局42−1〜
42−Nに割り込み要因が生じた場合、従来は、各従属
局42−1〜42−Nは割り込み許可状態であればブレ
ーク信号を受信線44を介して制御局41へ送信し、そ
れを受信した制御局41は従属局42−1〜42−Nか
らのブレーク信号による割り込みを一時禁止し、続いて
予め定められた優先順位に従って各従属局にその状態を
報告させる命令を、ブレーク信号を送出したことを示す
報告を受信するまで順次発行するようにしている。
2. Description of the Related Art In a system in which a control station 41 and a plurality of subordinate stations 42-1 to 42-N are connected by one transmission line 43 and one reception line 44 as shown in FIG. Bureaus 42-1
Conventionally, when an interrupt factor occurs in the slave station 42-N, the slave stations 42-1 to 42-N transmit a break signal to the control station 41 via the reception line 44 and receive the break signal if the interrupt is enabled. The control station 41 temporarily suspends the interruption by the break signal from the dependent stations 42-1 to 42-N, and then sends a command to make each dependent station report its state according to a predetermined priority. Until a report indicating that the request has been received is issued.

【0003】[0003]

【発明が解決しようとする課題】上述したように、従来
は、従属局からブレーク信号が加えられた場合、制御局
は各従属局へその状態を報告させる命令を優先順位に従
って順次発行することによりブレーク信号を送出した割
り込み要因の発生した従属局を捜し出すようにしていた
ため、優先順位の低い従属局からブレーク信号が送出さ
れた場合、この従属局を見つけ出すまでに無駄な動作を
繰り返し行なわなければならず、割り込み処理の効率が
落ちるという問題があった。
As described above, conventionally, when a break signal is applied from a subordinate station, the control station issues commands to report the status to each subordinate station in order according to priority. The slave station where the interrupt factor that caused the break signal was sent was found, so if a break signal was sent from a slave station with a lower priority, useless operations had to be repeated until this slave station was found. However, there was a problem that the efficiency of interrupt processing was reduced.

【0004】本発明の目的はブレーク信号を送出した従
属局を短時間で捜し出せるようにすることにより、割り
込み処理の効率を向上させることにある。
An object of the present invention is to improve the efficiency of interrupt processing by enabling a subordinate station that has transmitted a break signal to be searched in a short time.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するため、 (A)制御局に複数の従属局が共通の信号線を介して接
続され、前記各従属局はブレーク信号により前記制御局
に割り込みを通知する通信制御方式に於いて、前記制御
局に、前記各従属局に割り当てられているブレーク信号
の信号長が格納されたブレーク信号長テーブルと、前記
信号線を介して加えられるブレーク信号の信号長を計測
するブレーク信号長計測部と、前記ブレーク信号長テー
ブルを参照して前記ブレーク信号長計測部が計測した信
号長以下のブレーク信号が割り当てられている従属局を
捜し出し、捜し出した各従属局に対してブレーク信号を
送出したか否かを問い合わせる命令を、ブレーク信号を
送出したことを示す応答を受信するまで、順次出力する
制御局制御部とを設け、前記各従属局に、自従属局に割
り当てられているブレーク信号の信号長が格納されたブ
レーク信号長記憶部と、割り込み要因が発生することに
より前記ブレーク信号長記憶部に格納されている信号長
のブレーク信号を前記信号線に送出し、前記制御局から
の前記命令を受信することにより前記信号線に自従属局
がブレーク信号を送出したか否かを示す応答を送出する
従属局制御部とを設けたものである。
In order to achieve the above object, the present invention provides: (A) a plurality of subordinate stations connected to a control station via a common signal line, and each of the subordinate stations is controlled by a break signal; In a communication control method for notifying a station of an interrupt, a break signal length table storing a signal length of a break signal assigned to each of the dependent stations is added to the control station via the signal line. A break signal length measuring unit for measuring the signal length of a break signal, and a dependent station to which a break signal equal to or less than the signal length measured by the break signal length measuring unit is assigned with reference to the break signal length table. The control station sequentially outputs an instruction for inquiring each dependent station whether a break signal has been transmitted or not until a response indicating that a break signal has been transmitted is received. A control unit, wherein each of the slave stations stores a break signal length storage unit in which a signal length of a break signal assigned to its own slave station is stored; and A break signal having a stored signal length is transmitted to the signal line, and a response indicating whether or not the slave station has transmitted a break signal is transmitted to the signal line by receiving the command from the control station. And a dependent station control unit.

【0006】また、本発明は、更に短時間でブレーク信
号を送出した従属局を捜し出せるようにするため、 (B)制御局に複数の従属局が共通の信号線を介して接
続され、前記各従属局はブレーク信号により前記制御局
に割り込みを通知する通信制御方式に於いて、前記制御
局に、前記各従属局に割り当てられているブレーク信号
の信号長が格納されたブレーク信号長テーブルと、前記
信号線を介して加えられるブレーク信号の信号長を計測
するブレーク信号長計測部と、前記ブレーク信号長テー
ブルを参照して前記ブレーク信号長計測部が計測した信
号長と同じ信号長のブレーク信号が割り当てられている
従属局を捜し出し、該捜し出した各従属局に対してブレ
ーク信号を送出したか否かを問い合わせる命令を、ブレ
ーク信号を送出したことを示す応答を受信するまで、順
次出力する制御局制御部とを設け、前記各従属局に、自
従属局に割り当てられているブレーク信号の信号長が格
納されたブレーク信号長記憶部と、割り込み要因が発生
することにより前記信号線にブレーク信号が送出されて
いるか否かを判定し、送出されていないと判定すること
により前記ブレーク信号長記憶部に格納されている信号
長のブレーク信号を前記信号線に送出し、前記制御局か
らの前記命令を受信することにより前記信号線に自従属
局がブレーク信号を送出したか否かを示す応答を送出す
る従属局制御部とを設けたものである。
The present invention also provides a method for searching for a subordinate station that has transmitted a break signal in a shorter time. (B) A plurality of subordinate stations are connected to a control station via a common signal line. In the communication control system in which each dependent station notifies an interrupt to the control station by a break signal, the control station has a break signal length table storing a signal length of a break signal assigned to each dependent station. A break signal length measuring unit for measuring a signal length of a break signal applied via the signal line; and a break having the same signal length as the signal length measured by the break signal length measuring unit with reference to the break signal length table. A command to search for the subordinate station to which the signal is assigned and to inquire whether each of the searched subordinate stations has transmitted a break signal or not is transmitted. Until receiving a response indicating, and a control station control unit that sequentially outputs, provided in each of the dependent stations, a break signal length storage unit in which the signal length of the break signal assigned to its own dependent station is stored, It is determined whether or not a break signal has been transmitted to the signal line by the occurrence of an interrupt factor, and the break signal having the signal length stored in the break signal length storage unit is determined by determining that the break signal has not been transmitted. A slave station control unit that sends a signal indicating whether or not the slave station sends a break signal to the signal line by sending the signal to the signal line and receiving the command from the control station. It is.

【0007】また、更に、本発明は、優先順位の異なる
従属局から同時にブレーク信号が出力された場合、優先
順位の高い従属局に対する割り込み処理を先に実行でき
るようにするため、 (C)制御局と複数の従属局が共通の信号線を介して接
続され、前記各従属局はブレーク信号により前記制御局
に割り込みを通知する通信制御方式に於いて、前記制御
局に、前記各従属局に割り当てられているブレーク信号
の信号長が格納されたブレーク信号長テーブルと、前記
信号線を介して加えられるブレーク信号の信号長を計測
する第1のブレーク信号長計測部と、前記ブレーク信号
長テーブルを参照して前記第1のブレーク信号長計測部
が計測した信号長と同一の信号長のブレーク信号が割り
当てられている従属局を捜し出し、該捜し出した各従属
局に対してブレーク信号を送出したか否かを問い合わせ
る命令を、ブレーク信号を送出したことを示す応答を受
信するまで、順次出力する制御局制御部とを設け、前記
各従属局に、自従属局に割り当てられているブレーク信
号の信号長が格納されたブレーク信号長記憶部と、前記
信号線に送出されているブレーク信号の信号長を計測す
る第2のブレーク信号長計測部と、割り込み要因が発生
することにより前記信号線にブレーク信号が送出されて
いるか否かを判定し、送出されていないと判定した場合
は前記ブレーク信号長記憶部に格納されている信号長の
ブレーク信号を前記信号線に送出し、送出されていると
判定した場合は前記第2のブレーク信号長計測部が計測
した信号長が前記ブレーク信号長記憶部に格納されてい
る信号長よりも短いことを条件にして信号長が前記ブレ
ーク信号長記憶部に格納されている信号長と前記第2の
ブレーク信号長計測部が計測した信号長との差となるブ
レーク信号を前記信号線に送出し、前記制御局からの前
記命令を受信することにより前記信号線に自従属局がブ
レーク信号を送出したか否かを示す応答を送出する従属
局制御部とを設けたものである。
Further, according to the present invention, when a break signal is simultaneously output from slave stations having different priorities, interrupt processing for a slave station having a higher priority can be executed first. A station and a plurality of subordinate stations are connected via a common signal line, and in the communication control system in which each subordinate station notifies the control station of an interrupt by a break signal, the control station and the subordinate stations are connected to each other. A break signal length table in which the signal length of the assigned break signal is stored, a first break signal length measuring unit for measuring the signal length of the break signal applied through the signal line, and the break signal length table To find a subordinate station to which a break signal having the same signal length as the signal length measured by the first break signal length measuring unit is assigned, and to each of the found subordinate stations. A control station control unit for sequentially outputting an instruction for inquiring whether or not a break signal has been transmitted to the dependent station until a response indicating that the break signal has been transmitted is provided; A break signal length storage unit in which the signal length of the break signal assigned to the slave station is stored; a second break signal length measuring unit for measuring the signal length of the break signal transmitted to the signal line; It is determined whether or not a break signal has been transmitted to the signal line due to the occurrence of a factor.If it is determined that the break signal has not been transmitted, the break signal having the signal length stored in the break signal length storage unit is determined. The signal is sent to the signal line, and when it is determined that the signal is sent, the signal length measured by the second break signal length measuring unit is longer than the signal length stored in the break signal length storage unit. A break signal whose signal length is the difference between the signal length stored in the break signal length storage unit and the signal length measured by the second break signal length measurement unit is transmitted to the signal line. And a dependent station control unit for transmitting a response indicating whether or not the own dependent station has transmitted a break signal to the signal line by receiving the command from the control station.

【0008】[0008]

【作用】(A)の構成に於いては、各従属局は自従属局
に割り込み要因が発生すると、従属局制御部を用いてブ
レーク信号長記憶部に格納されている信号長のブレーク
信号を制御局,各従属局が接続されている信号線に送出
する。制御局は信号線を介して割り込み要因が発生した
ことを示すブレーク信号が加えられると、ブレーク信号
長計測部を用いてブレーク信号の信号長を計測し、更
に、制御局制御部によりブレーク信号長テーブルを参照
し、ブレーク信号長計測部が計測したブレーク信号の信
号長以下のブレーク信号が割り当てられている従属局を
捜し出す。これは、計測されたブレーク信号長と同一の
ブレーク信号長が割り当てられている従属局のみがブレ
ーク信号を出力したか、或いは計測されたブレーク信号
長より短いブレーク信号長が割り当てられている複数の
従属局が同時にブレーク信号を出力したと考えられるか
らである。次に制御局は捜し出した各制御局に対してブ
レーク信号を送出したか否かを問い合わせる命令を、ブ
レーク信号を送出したことを示す応答を受信するまで、
順次送出する。制御局からの上記命令を受信した従属局
は従属局制御部を用いて自従属局がブレーク信号を送出
したか否かを示す応答を信号線に送出する。
In the configuration of (A), each slave station uses the slave station control section to send a break signal of the signal length stored in the break signal length storage section when an interrupt factor occurs in its own slave station. The signal is transmitted to the signal line to which the control station and each subordinate station are connected. The control station measures the signal length of the break signal using the break signal length measurement unit when a break signal indicating that an interrupt factor has occurred is added via a signal line, and further, the control station control unit controls the break signal length. With reference to the table, a subordinate station to which a break signal shorter than the signal length of the break signal measured by the break signal length measuring unit is assigned is searched. This is because only the slave stations to which the same break signal length as the measured break signal length is assigned output the break signal, or a plurality of slave stations to which a break signal length shorter than the measured break signal length is assigned. This is because it is considered that the dependent stations output the break signal at the same time. Next, the control station issues an instruction to inquire whether each of the searched control stations has transmitted a break signal until a response indicating that the break signal has been transmitted is received.
Send out sequentially. The dependent station that has received the command from the control station sends a response to the signal line indicating whether or not its own dependent station has transmitted a break signal, using the dependent station control unit.

【0009】(B)の構成に於いては、各従属局は自従
属局に割り込み要因が発生すると、従属局制御部を用い
て信号線にブレーク信号が送出されているか否かを判定
し、ブレーク信号が送出されていないと判定することに
よりブレーク信号長記憶部に格納されている信号長のブ
レーク信号を信号線に送出する。従って、複数の従属局
から同時にブレーク信号が出力されることはない。制御
局は信号線を介してブレーク信号が加えられると、ブレ
ーク信号長計測部を用いてブレーク信号の信号長を計測
し、更に制御局制御部によりブレーク信号長テーブルを
参照し、ブレーク信号長計測部が計測した信号長と同じ
信号長が割り当てられている従属局を捜し出し、捜し出
した各従属局に対してブレーク信号を送出したか否かを
問い合わせる命令を、ブレーク信号を送出したことを示
す応答を受信するまで、順次出力する。制御局からの上
記命令を受信した従属局は従属局制御部を用いて自従属
局がブレーク信号を送出したか否かを示す応答を信号線
に送出する。
[0009] In the configuration of (B), when the subordinate station generates an interrupt factor in its own subordinate station, the subordinate station determines whether or not a break signal is transmitted to the signal line by using the subordinate station control unit. By determining that the break signal has not been transmitted, the break signal having the signal length stored in the break signal length storage unit is transmitted to the signal line. Therefore, a plurality of subordinate stations do not output a break signal at the same time. When a break signal is applied via the signal line, the control station measures the signal length of the break signal using the break signal length measurement unit, and further refers to the break signal length table by the control station control unit to measure the break signal length. A command indicating that a subordinate station to which the same signal length as the measured signal length has been assigned is searched, and an inquiry as to whether or not a break signal has been transmitted to each subordinate station that has been searched is sent. Until they are received. The dependent station that has received the command from the control station sends a response to the signal line indicating whether or not its own dependent station has transmitted a break signal, using the dependent station control unit.

【0010】(C)の構成に於いては、各従属局は自従
属局に割り込み要因が発生すると、従属局制御部を用い
て信号線にブレーク信号が送出されているか否かを判定
する。そして、送出されていないと判定した場合はブレ
ーク信号長記憶部に格納されている信号長のブレーク信
号を信号線に送出する。また、送出されていると判定し
た場合は第2のブレーク信号長計測部の計測結果がブレ
ーク信号長記憶部に格納されている信号長よりも短いこ
とを条件にして、信号長がブレーク信号長記憶部に格納
されている信号長と第2のブレーク信号長計測部が計測
した信号長との差となるブレーク信号を上記計測にかか
るブレーク信号の送出停止後にできるだけ速やかに信号
線に送出する。即ち、複数の従属局に同時に割り込み要
因が発生した場合は、制御局には上記割り込み要因の発
生した各従属局に割り当てられているブレーク信号の内
の最も信号長の長いブレーク信号が加えられることにな
る。制御局は信号線を介してブレーク信号が加えられる
と、第1のブレーク信号長計測部を用いてブレーク信号
の信号長を計測し、更に、制御局制御部によりブレーク
信号長テーブルを参照し、第1のブレーク信号長計測部
が計測した信号長と同じ信号長が割り当てられている従
属局を捜し出し、捜し出した各従属局に対してブレーク
信号を送出したか否かを問い合わせる命令を、ブレーク
信号を送出したことを示す応答を受信するまで、順次送
出する。制御局からの上記命令を受信した従属局は従属
局制御部を用いて自従属局がブレーク信号を送出したか
否かを示す応答を信号線に送出する。
[0010] In the configuration (C), when the subordinate station generates an interrupt factor in its own subordinate station, the subordinate station uses the subordinate station control unit to determine whether or not a break signal is transmitted to the signal line. If it is determined that the break signal has not been transmitted, a break signal having the signal length stored in the break signal length storage unit is transmitted to the signal line. If it is determined that the signal has been transmitted, the signal length is determined to be smaller than the signal length stored in the break signal length storage unit, provided that the measurement result of the second break signal length measurement unit is shorter than the signal length. A break signal which is a difference between the signal length stored in the storage unit and the signal length measured by the second break signal length measuring unit is transmitted to the signal line as soon as possible after the transmission of the break signal for the measurement is stopped. That is, when an interrupt cause is generated in a plurality of slave stations at the same time, a break signal having the longest signal length among the break signals assigned to each slave station in which the interrupt cause has occurred is added to the control station. become. When the break signal is applied via the signal line, the control station measures the signal length of the break signal using the first break signal length measurement unit, and further refers to the break signal length table by the control station control unit, An instruction for searching for a subordinate station to which the same signal length as the signal length measured by the first break signal length measuring unit is assigned, and inquiring each of the subordinate stations searched for whether a break signal has been transmitted or not, is issued as a break signal. Are sequentially transmitted until a response is received indicating that has been transmitted. The dependent station that has received the command from the control station sends a response to the signal line indicating whether or not its own dependent station has transmitted a break signal, using the dependent station control unit.

【0011】[0011]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。図1は本発明の一実施例のブロック図
であり、制御局1と、複数の従属局2−1〜2−Nとが
1本の送信線3と1本の受信線4によって接続(ワイヤ
ードオア)されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, in which a control station 1 and a plurality of subordinate stations 2-1 to 2-N are connected (wired) by one transmission line 3 and one reception line 4. Or)

【0012】制御局1は制御局制御部11と、送受信部
13と、ブレーク信号長テーブル14と、ブレーク信号
長計測部15と、ブレーク信号長監視タイマ16とから
構成されている。制御局制御部11は図2のフローチャ
ートに示す処理を行なう優先順位決定手段12を含んで
いる。送受信部13は従属局2−1〜2−Nとの間で信
号の送受信を行なう。ブレーク信号長テーブル14には
各従属局2−1〜2−Nが受信線4に送出するブレーク
信号の信号長が格納されている。ブレーク信号長計測部
15は受信線4を介して加えられたブレーク信号の信号
長を計測する。ブレーク信号長監視タイマ16はブレー
ク信号の信号長の計測が開始されてから最大ブレーク信
号長に相当する時間が経過することによりタイムアウト
する。
The control station 1 includes a control station control unit 11, a transmission / reception unit 13, a break signal length table 14, a break signal length measurement unit 15, and a break signal length monitoring timer 16. The control station control section 11 includes priority order determining means 12 for performing the processing shown in the flowchart of FIG. The transmitting and receiving unit 13 transmits and receives signals to and from the dependent stations 2-1 to 2-N. The break signal length table 14 stores the signal lengths of the break signals transmitted from the dependent stations 2-1 to 2-N to the reception line 4. The break signal length measuring unit 15 measures the signal length of the break signal applied via the reception line 4. The break signal length monitoring timer 16 times out when a time corresponding to the maximum break signal length elapses after the measurement of the signal length of the break signal is started.

【0013】従属局2−j(1≦j≦N)は従属局制御
部21と、ブレーク信号長記憶部23と、送受信部24
とから構成されている。従属局制御部21は受信線4に
送出するブレーク信号の信号長を制御するブレーク信号
長制御手段22を含んでいる。ブレーク信号長記憶部2
3には従属局2−jに割り当てられているブレーク信号
の信号長が格納されている。送受信部24は制御局1と
の間で信号の送受信を行なう。尚、他の従属局も従属局
2−jと同様の構成を有している。また、各従属局2−
1〜2−Nに割り当てるブレーク信号の信号長は、全て
が同じ信号長でなければ、どのような信号長にしても良
い。
The slave station 2-j (1 ≦ j ≦ N) includes a slave station control unit 21, a break signal length storage unit 23, and a transmission / reception unit 24.
It is composed of The slave station control unit 21 includes a break signal length control unit 22 for controlling the signal length of the break signal transmitted to the reception line 4. Break signal length storage unit 2
3 stores the signal length of the break signal assigned to the subordinate station 2-j. The transmission / reception unit 24 transmits / receives a signal to / from the control station 1. The other dependent stations have the same configuration as the dependent station 2-j. In addition, each dependent station 2-
The signal lengths of the break signals assigned to 1 to 2-N may be any signal lengths, as long as they are not all the same signal length.

【0014】次に各図を参照して本実施例の動作を説明
する。従属局2−jの従属局制御部21は自従属局2−
jに割り込み要因が発生すると、ブレーク信号長制御手
段22を用いて受信線4へブレーク信号長記憶部23に
記憶されている信号長を有するブレーク信号を送出す
る。尚、ブレーク信号長記憶部23への信号長の書き込
みは制御局1から従属局2−jへブレーク信号長の書き
込みを指示するブレーク信号長書き込み命令を与えるこ
とにより行なうことができる。また、他の従属局も自従
属局に割り込み要因が発生すると、従属局2−jと同様
に、自従属局に割り当てられている信号長を有するブレ
ーク信号を受信線4に送出する。
Next, the operation of this embodiment will be described with reference to the drawings. The subordinate station control unit 21 of the subordinate station 2-j transmits the subordinate station 2-j.
When an interrupt factor occurs in j, a break signal having the signal length stored in the break signal length storage unit 23 is sent to the receiving line 4 using the break signal length control means 22. The writing of the signal length to the break signal length storage unit 23 can be performed by giving a break signal length write command instructing the writing of the break signal length from the control station 1 to the dependent station 2-j. Also, when an interrupt factor occurs in the slave station, the slave station sends a break signal having the signal length assigned to the slave station to the reception line 4 as in the slave station 2-j.

【0015】制御局1内の送受信部13は1キャラクタ
以上のローレベルを検出すると、ブレーク検出開始を制
御局制御部11に通知する。この通知を受けると、制御
局制御部11はブレーク信号長計測部15にブレーク信
号長の計測開始を指示すると共に、ブレーク信号長監視
タイマ16をスタートさせる。ブレーク信号長監視タイ
マ16は従属局2−1〜2−Nに割り当てられているブ
レーク信号の信号長の内の最大の信号長に相当する時間
が経過することにより、タイムアウトする。
When the transmitting / receiving section 13 in the control station 1 detects a low level of one or more characters, it notifies the control station control section 11 of the start of break detection. Upon receiving this notification, the control station control unit 11 instructs the break signal length measuring unit 15 to start measuring the break signal length, and starts the break signal length monitoring timer 16. The break signal length monitoring timer 16 times out when a time corresponding to the maximum signal length out of the signal lengths of the break signals assigned to the subordinate stations 2-1 to 2-N elapses.

【0016】制御局制御部11は送受信部13からブレ
ーク検出開始を通知された後、送受信部13からブレー
ク信号受信終了通知が加えられるか、或いはブレーク信
号長監視タイマ16からタイムアウト通知が加えられる
と、送信線3を介して各従属局2−1〜2−Nに割り込
み禁止(ブレーク信号の送出禁止)を指示し、その後、
優先順位決定手段12を用いて図2に示す処理を行な
う。ここで、ブレーク信号長監視タイマ16からタイム
アウト通知が加えられた場合、割り込み禁止を各従属局
2−1〜2−Nに指示する処理に移行するようにしたの
は、各従属局2−1〜2−Nは受信線4にワイヤードオ
ア接続されており、複数の従属局が同時にブレーク信号
を送出した場合、ローレベルの期間が各従属局に割り当
てられているブレーク信号の信号長の内の最も長い信号
長よりも長くなってしまう場合があるからである。即
ち、ブレーク信号長監視タイマ16を設けないとする
と、最大ブレーク信号長に相当する時間が経過しても次
の処理に移行することができず、時間の無駄となるから
である。また、ブレーク信号長監視タイマ16を設けず
に、ブレーク信号長計測部15に計測値が最大ブレーク
信号長を越えた場合、制御局制御部12にタイムアウト
を通知する機能を持たせるようにすることもできる。
When the control station control unit 11 is notified of the start of the break detection from the transmission / reception unit 13 and then receives a break signal reception end notification from the transmission / reception unit 13 or a timeout notification from the break signal length monitoring timer 16. , And instructs each of the subordinate stations 2-1 to 2-N to prohibit interruption (prohibition of transmission of a break signal) via the transmission line 3, and thereafter,
The process shown in FIG. 2 is performed using the priority order determining means 12. Here, when a time-out notification is added from the break signal length monitoring timer 16, the process shifts to the process of instructing each of the subordinate stations 2-1 to 2-N to disable the interrupt. 2-N are wired-OR connected to the receiving line 4, and when a plurality of subordinate stations transmit break signals at the same time, a low-level period is included in the signal length of the break signal assigned to each subordinate station. This is because the signal length may be longer than the longest signal length. In other words, if the break signal length monitoring timer 16 is not provided, it is not possible to shift to the next process even after the time corresponding to the maximum break signal length has elapsed, resulting in waste of time. If the measured value exceeds the maximum break signal length, the break signal length measuring unit 15 may have a function of notifying the control station control unit 12 of a timeout without providing the break signal length monitoring timer 16. Can also.

【0017】優先順位決定手段12は、図2に示すよう
に、先ず、ブレーク信号長計測部15が計測したブレー
ク信号の信号長Lを読取り(S1)、次いでブレーク信
号長テーブル14を参照して信号長がL以下のブレーク
信号が割り当てられている従属局の集合G(L)を捜し
出し、それらを状態通知の命令を発行する従属局の集合
Gとする(S2)。その後、優先順位決定手段12は集
合Gが空集合か否かを判断し(S3)、空集合であると
判断した場合はその処理を終了し、そうでないと判断し
た場合はS4の処理を行なう。
As shown in FIG. 2, the priority order determining means 12 first reads the signal length L of the break signal measured by the break signal length measuring unit 15 (S1), and then refers to the break signal length table 14. A set of dependent stations G (L) to which a break signal having a signal length of L or less is assigned is searched for, and is set as a set G of dependent stations that issue a status notification instruction (S2). Thereafter, the priority determination means 12 determines whether or not the set G is an empty set (S3). If it is determined that the set is an empty set, the process is terminated. If not, the process of S4 is performed. .

【0018】S4では集合Gに含まれる従属局の内、割
り当てられているブレーク信号の信号長が最も長い従属
局2−Kに状態通知の命令を発行し、次のS5では集合
Gから従属局2−Kを削除する。
At S4, a command for status notification is issued to the subordinate station 2-K having the longest signal length of the assigned break signal among the subordinate stations included in the set G. Delete 2-K.

【0019】従属局2−Kは制御局1からの状態通知の
命令を受信すると、ブレーク信号を送出したか否かを示
す情報を含む応答を制御局1へ返す。
When the slave station 2-K receives the status notification command from the control station 1, it returns a response including information indicating whether or not a break signal has been sent to the control station 1.

【0020】従属局2−Kからの応答を受信すると(S
6,S7)、優先順位判定手段12はそれを解析し(S
8)、従属局2−Kがブレーク信号を送出した従属局で
あると判断した場合(S9がYESの場合)は、その割
り込み要因に対する処理を行ない(S10)、再び割り
込み許可状態に系を復帰させる。また、S9で従属局2
−Kがブレーク信号を送出した従属局でないと判断した
場合はS3の処理に戻り、集合Gに対して同じ操作を繰
り返す。ここで、状態通知の命令を発行する優先順位を
信号長の長い従属局ほど高くした理由は、複数の従属局
が同時にブレーク信号を出力する可能性は少なく、最も
長い信号長が割り当てられている従属局がブレーク信号
を送出した可能性が高いからである。また、ブレーク信
号を送出した従属局はブレーク信号を送出してから一定
時間(例えば、優先順位決定手段12が全ての従属局に
対して状態通知の命令を発行するのに要する時間)が経
過しても、制御局1から状態通知の命令が加えられなか
った場合は、再度、ブレーク信号を送出する。
When a response is received from the dependent station 2-K (S
6, S7), and the priority determination means 12 analyzes it (S7).
8) If it is determined that the dependent station 2-K is the dependent station that has transmitted the break signal (if S9 is YES), the interrupt factor is processed (S10), and the system is returned to the interrupt enabled state again. Let it. In S9, the dependent station 2
If it is determined that −K is not the dependent station that transmitted the break signal, the process returns to S3, and the same operation is repeated for the set G. Here, the reason that the priority order for issuing the status notification instruction is set higher for the slave station having a longer signal length is that there is little possibility that a plurality of slave stations output a break signal at the same time, and the longest signal length is assigned. This is because there is a high possibility that the dependent station has transmitted the break signal. Further, the slave station that has sent the break signal has passed a certain time (for example, the time required for the priority order determining means 12 to issue a status notification command to all the slave stations) after sending the break signal. Even if the control station 1 does not receive a state notification command, the control station 1 sends a break signal again.

【0021】尚、上述した実施例に於いては、各従属局
2−1〜2−Nは割り込み要因が発生した場合、直ちに
受信線4にブレーク信号を送出するようにしたが、割り
込み要因発生時、受信線4の状態を調べてハイレベルな
ら即座にブレーク信号を送出し、ローレベルならブレー
ク信号の送出をとりやめ、次回の割り込み許可状態時に
リトライするようにすることにより、更に、高速にブレ
ーク信号を送出した従属局を捜し出すことができると共
に、ブレーク信号長監視タイマ16を不要にすることが
できる。但し、この場合、優先順位決定手段12のS2
に於ける処理を「ブレーク信号長テーブル14を参照し
て信号長がブレーク信号長計測部15の計測値L以下の
ブレーク信号が割り当てられている従属局の集合G
(L)を捜し出し、それらを状態通知の命令を発行する
従属局の集合Gとする」から「ブレーク信号長テーブル
14を参照して信号長がブレーク信号長計測部15の計
測値Lと等しいブレーク信号が割り当てられている従属
局の集合G(L)を捜し出し、それらを状態通知の命令
を発行する従属局の集合Gとする」に変更することが望
ましい。
In the above-described embodiment, each of the subordinate stations 2-1 to 2-N immediately sends a break signal to the receiving line 4 when an interrupt cause occurs. At this time, the state of the receiving line 4 is checked and a break signal is sent immediately if the signal is at a high level, and the break signal is canceled if the signal is at a low level. The subordinate station that has transmitted the signal can be found, and the break signal length monitoring timer 16 can be eliminated. However, in this case, S2 of the priority order determination means 12
Is referred to as a set G of subordinate stations to which a break signal whose signal length is equal to or less than the measured value L of the break signal length measuring unit 15 is assigned with reference to the break signal length table 14.
(L) is searched, and these are set as a set G of the dependent stations that issue the status notification instruction. ”The break whose signal length is equal to the measured value L of the break signal length measuring unit 15 with reference to the break signal length table 14 It is desirable to search for the set G (L) of the dependent stations to which the signal is assigned and change them to the set G of the dependent stations that issue the status notification command. "

【0022】上述したように、他の従属局がブレーク信
号を送出している時は割り込み要因が発生してもブレー
ク信号を送出しないようにすることにより、制御局1の
ブレーク信号長計測ブレーク15の計測値はブレーク信
号を送出した従属局に割り当てられているブレーク信号
の信号長となるので、状態通知の命令の発行対象となる
従属局の数を減らすことができ、従って、上述した実施
例に比較して迅速にブレーク信号を送出した従属局を捜
し出すことができる。
As described above, when another subordinate station is transmitting a break signal, the break signal is not transmitted even if an interrupt factor occurs. Is the signal length of the break signal assigned to the subordinate station that sent the break signal, so that the number of subordinate stations to which the status notification instruction is issued can be reduced. In this case, the subordinate station that has transmitted the break signal can be quickly searched out.

【0023】図3は本発明の他の実施例のブロック図で
あり、従属局2−jの構成を示している。本実施例に於
ける従属局2−jは従属局制御部31と、ブレーク信号
長記憶部34と、ローレベル長計測部35と、送受信部
36とから構成されている。従属局制御部31は出力ロ
ーレベル長決定手段32と、ブレーク信号長制御手段3
3とを含み、出力ローレベル長決定手段32は受信線4
に送出するローレベルの信号長を決定し、ブレーク信号
長制御手段33は出力ローレベル長決定手段32が決定
した信号長のローレベルの信号を受信線4に出力する。
ブレーク信号長記憶部34には従属局2−jに割り当て
られているブレーク信号の信号長が格納されている。ロ
ーレベル長計測部35は受信線4が1キャラクタ以上ロ
ーレベルになる度に、それに続くローレベル長を計測す
る。送受信部36は制御局1との間の情報の送受信を制
御する。
FIG. 3 is a block diagram of another embodiment of the present invention, and shows the configuration of the dependent station 2-j. The subordinate station 2-j in the present embodiment includes a subordinate station control unit 31, a break signal length storage unit 34, a low level length measurement unit 35, and a transmission / reception unit 36. The slave station control unit 31 includes an output low level length determining unit 32 and a break signal length controlling unit 3.
3 and the output low level length determining means 32
The break signal length control means 33 outputs a low-level signal having the signal length determined by the output low-level length determination means 32 to the reception line 4.
The break signal length storage unit 34 stores the signal length of the break signal assigned to the dependent station 2-j. The low-level length measuring unit 35 measures the subsequent low-level length every time the reception line 4 goes low by one or more characters. The transmission / reception unit 36 controls transmission and reception of information with the control station 1.

【0024】次に本実施例の動作を説明する。従属局制
御部31内の出力ローレベル長決定手段32は自従属局
2−jに割り込み要因が発生すると、その時の受信線4
の状態がローレベルであるか否か、即ち他の従属局がブ
レーク信号を受信線4に送出しているか否かを判断す
る。そして、受信線4の状態がハイレベルであると判断
した場合、即ち、他の従属局がブレーク信号を送出して
いないと判断した場合はブレーク信号長記憶部34に格
納されている信号長L0を受信線4へ送出するローレベ
ル信号の信号長L1とする。また、受信線4の状態がロ
ーレベルであると判断した場合、即ち、他の従属局が受
信線4へブレーク信号を送出していると判断した場合は
ローレベル長計測部35の計測値L2を読み取り、ブレ
ーク信号長記憶部34に格納されている信号長L0と比
較する。そして、L2≧L0である場合は受信線4へ送
出するローレベル信号の信号長L1を「0」とし、L2
<L0の場合はL0−L2を受信線4へ出力するローレ
ベル信号の信号長L1とする。出力ローレベル長決定手
段32により受信線4へ送出するローレベル信号の信号
長L1が決定されると、ブレーク信号長制御部33は出
力ローレベル長決定手段32が決定した信号長のローレ
ベル信号を受信線4に出力する。
Next, the operation of this embodiment will be described. The output low level length determining means 32 in the dependent station control unit 31 detects the occurrence of an interrupt factor in the own dependent station 2-j,
Is low, that is, whether another subordinate station is transmitting a break signal to the reception line 4. When it is determined that the state of the reception line 4 is at the high level, that is, when it is determined that no other dependent station has transmitted a break signal, the signal length L0 stored in the break signal length storage unit 34 is determined. Is the signal length L1 of the low-level signal transmitted to the reception line 4. When it is determined that the state of the reception line 4 is at the low level, that is, when it is determined that another dependent station is transmitting a break signal to the reception line 4, the measurement value L2 of the low level length measurement unit 35 is used. Is read and compared with the signal length L0 stored in the break signal length storage unit 34. When L2 ≧ L0, the signal length L1 of the low-level signal transmitted to the reception line 4 is set to “0”, and L2
In the case of <L0, L0-L2 is set as the signal length L1 of the low-level signal to be output to the reception line 4. When the signal length L1 of the low-level signal to be transmitted to the receiving line 4 is determined by the output low-level length determining means 32, the break signal length control unit 33 outputs a low-level signal having the signal length determined by the output low-level length determining means 32. Is output to the receiving line 4.

【0025】従って、従属局2−jに割り込み要因が発
生した時に、他の従属局がブレーク信号を送出していな
い場合は制御局1には従属局2−jに割り当てられてい
る信号長のブレーク信号が加えられ、他の従属局がブレ
ーク信号を送出しており、且つその信号長が従属局2−
jに割り当てられている信号長よりも短い場合は制御局
1には従属局2−jに割り当てられている信号長のブレ
ーク信号が加えられ、他の従属局がブレーク信号を送出
しており、且つその信号長が従属局2−jに割り当てら
れている信号長よりも長い場合は制御局1には上記他の
従属局に割り当てられている信号長のブレーク信号が加
えられることになる。即ち、複数の従属局に同時に割り
込み要因が発生した場合は、制御局1には上記割り込み
要因の発生した複数の従属局に割り当てられているブレ
ーク信号の内の最も信号長の長いブレーク信号が加えら
れることになるので、各従属局に対する割り込み処理の
優先度を各従属局が送出するブレーク信号の長さにより
設定することができる。
Therefore, when another slave station does not send a break signal when an interrupt factor occurs in the slave station 2-j, the control station 1 notifies the control station 1 of the signal length assigned to the slave station 2-j. A break signal is added, another slave station sends a break signal, and the signal length is set to the slave station 2-
If the signal length is shorter than the signal length assigned to j, a break signal having the signal length assigned to the dependent station 2-j is added to the control station 1, and the other dependent stations send out a break signal. If the signal length is longer than the signal length assigned to the dependent station 2-j, a break signal having the signal length assigned to the other dependent station is added to the control station 1. That is, when an interrupt cause occurs in a plurality of slave stations at the same time, a break signal having the longest signal length among the break signals assigned to the plurality of slave stations in which the interrupt cause has occurred is added to the control station 1. Therefore, the priority of interrupt processing for each subordinate station can be set by the length of the break signal transmitted from each subordinate station.

【0026】尚、本実施例に於ける制御局1の動作は図
1に示した実施例と同一であっても構わないが、優先順
位決定手段12に於けるS2の処理を「ブレーク信号長
テーブル14を参照して信号長がブレーク信号長計測部
15の計測値L以下のブレーク信号が割り当てられてい
る従属局の集合G(L)を捜し出し、それらを状態通知
の命令を発行する従属局の集合Gとする」から「ブレー
ク信号長テーブル14を参照して信号長がブレーク信号
長計測部15の計測値Lと等しいブレーク信号が割り当
てられている従属局の集合G(L)を捜し出し、それら
を状態通知の命令を発行する従属局の集合Gとする」に
変更することが望ましい。
The operation of the control station 1 in this embodiment may be the same as that of the embodiment shown in FIG. 1, but the processing of S2 in the priority order determining means 12 is described as "break signal length". With reference to the table 14, a set G (L) of subordinate stations to which a break signal whose signal length is equal to or less than the measured value L of the break signal length measuring unit 15 is searched, and the subordinate station which issues a state notification instruction is determined. , A set G (L) of subordinate stations to which a break signal whose signal length is equal to the measured value L of the break signal length measuring unit 15 is assigned with reference to the break signal length table 14. These are referred to as a set G of subordinate stations that issue status notification instructions. "

【0027】[0027]

【発明の効果】以上説明したように、請求項1記載の発
明は、各従属局対応にブレーク信号の信号長を定めてお
き、制御局では受信したブレーク信号の信号長に基づい
てブレーク信号を送出した可能性のある従属局のグルー
プを求め、グループ内の従属局に対してのみ、ブレーク
信号を出力したか否かを問い合わせる命令を出力するよ
うにしたものであるので、ブレーク信号を送出した従属
局を迅速に捜し出すことができ、従来例に比較して割り
込み処理の効率を向上させることができる効果がある。
As described above, according to the first aspect of the present invention, the signal length of the break signal is determined for each slave station, and the control station transmits the break signal based on the signal length of the received break signal. A group of slave stations that may have sent the slave station is determined, and a command to inquire whether a break signal has been output is output only to slave stations in the group. There is an effect that the dependent station can be quickly searched out, and the efficiency of interrupt processing can be improved as compared with the conventional example.

【0028】また、請求項2記載の発明は、各従属局で
割り込み要因が発生した際、他の従属局がブレーク信号
を送出しているか否かを判定し、送出していないと判定
した場合のみ、自従属局に割り当てられている信号長を
有するブレーク信号を送出するようにしたものであるの
で、複数の従属局が同時にブレーク信号を出力すること
がない。従って、ブレーク信号の重なりを考慮する必要
がないので、割り込み処理の効率を更に向上させること
ができる効果がある。
The invention according to claim 2 is characterized in that, when an interrupt factor occurs in each subordinate station, it is determined whether or not another subordinate station is transmitting a break signal, and it is determined that no break signal is being transmitted. Only a break signal having a signal length assigned to the slave station is transmitted, so that a plurality of slave stations do not output a break signal at the same time. Therefore, it is not necessary to consider the overlap of the break signals, so that there is an effect that the efficiency of the interrupt processing can be further improved.

【0029】また、更に、請求項3記載の発明は、各従
属局で割り込み要因が発生した際、他の従属局がブレー
ク信号を送出しているか否かを判定し、送出されていな
いと判断した場合はブレーク信号長記憶部に格納されて
いる信号長のブレーク信号を信号線に送出し、送出され
ていると判定した場合は送出されているブレーク信号の
信号長が自従属局に割り当てられている信号長よりも短
いことを条件にして、信号線上のブレーク信号長が自従
属局に割り当てられている信号長と一致するようにブレ
ーク信号出力を補うものであり、複数の従属局に同時に
割り込み要因が発生した場合、制御局には上記割り込み
要因の発生した複数の従属局に割り当てられているブレ
ーク信号の内の最も信号長の長いブレーク信号が加えら
れることになるので、ブレーク信号長が長い従属局ほど
優先順位が高いものとしておくことにより、優先順位の
高い従属局に対する割り込み処理を先に行なうことが可
能になる効果がある。
Further, according to the present invention, when an interrupt factor occurs in each subordinate station, it is determined whether or not another subordinate station has transmitted a break signal, and it is determined that no break signal has been transmitted. If so, a break signal having the signal length stored in the break signal length storage unit is transmitted to the signal line, and if it is determined that the signal is transmitted, the signal length of the transmitted break signal is assigned to the slave station. The break signal output is supplemented so that the break signal length on the signal line matches the signal length assigned to the slave station on condition that the break signal length is shorter than the signal length of the slave station. When an interrupt factor occurs, a break signal having the longest signal length among the break signals assigned to the plurality of subordinate stations in which the interrupt factor has occurred is added to the control station. , By previously assumed higher priority break signal length is longer dependent stations, there is an effect that it becomes possible to perform the interrupt processing for the high-priority tributary station first.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】優先順位決定手段12の処理例を示すフローチ
ャートである。
FIG. 2 is a flowchart showing a processing example of a priority order determining means 12;

【図3】本発明の他の実施例のブロック図である。FIG. 3 is a block diagram of another embodiment of the present invention.

【図4】本発明を適用するシステムのブロック図であ
る。
FIG. 4 is a block diagram of a system to which the present invention is applied.

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

1,41…制御局 2−1〜2−N…従属局 3…送信線 4…受信線 11…制御局制御部 12…優先順位決定手段 13,24,36…送受信部 14…ブレーク信号長テーブル 15…ブレーク信号長計測部 16…ブレーク信号長監視タイマ 21,31…従属局制御部 22,33…ブレーク信号長制御手段 23,34…ブレーク信号長記憶部 32…出力ローレベル長決定手段 35…ローレベル長計測部 1, 41: Control station 2-1 to 2-N: Dependent station 3: Transmission line 4: Reception line 11: Control station control unit 12: Priority determination means 13, 24, 36 ... Transmission / reception unit 14: Break signal length table 15: Break signal length measuring section 16: Break signal length monitoring timer 21, 31 ... Dependent station control section 22, 33 ... Break signal length control means 23, 34 ... Break signal length storage section 32 ... Output low level length determining means 35 ... Low level length measurement section

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 制御局に複数の従属局が共通の信号線を
介して接続され、前記各従属局はブレーク信号により前
記制御局に割り込みを通知する通信制御方式に於いて、
前記制御局は、前記各従属局に割り当てられているブレ
ーク信号の信号長が格納されたブレーク信号長テーブル
と、前記信号線を介して加えられるブレーク信号の信号
長を計測するブレーク信号長計測部と、前記ブレーク信
号長テーブルを参照して前記ブレーク信号長計測部が計
測した信号長以下のブレーク信号が割り当てられている
従属局を捜し出し、捜し出した各従属局に対してブレー
ク信号を送出したか否かを問い合わせる命令を、ブレー
ク信号を送出したことを示す応答を受信するまで、順次
出力する制御局制御部とを含み、前記各従属局は、自従
属局に割り当てられているブレーク信号の信号長が格納
されたブレーク信号長記憶部と、割り込み要因が発生す
ることにより前記ブレーク信号長記憶部に格納されてい
る信号長のブレーク信号を前記信号線に送出し、前記制
御局からの前記命令を受信することにより前記信号線に
自従属局がブレーク信号を送出したか否かを示す応答を
送出する従属局制御部とを含むことを特徴とする通信制
御方式。
1. A communication control system in which a plurality of subordinate stations are connected to a control station via a common signal line, and each of the subordinate stations notifies the control station of an interrupt by a break signal.
The control station includes a break signal length table storing a signal length of a break signal assigned to each of the slave stations, and a break signal length measuring unit that measures a signal length of a break signal applied via the signal line. With reference to the break signal length table, a search is made for a subordinate station to which a break signal having a signal length equal to or less than the signal length measured by the break signal length measuring unit is assigned, and a break signal is transmitted to each subordinate station searched. A control station control unit for sequentially outputting an instruction for inquiring whether or not a response indicating that a break signal has been sent is received, wherein each of the dependent stations has a signal of a break signal assigned to its own dependent station. A break signal length storage unit in which a break length is stored and a break length of the signal length stored in the break signal length storage unit when an interrupt factor occurs. A slave station control unit for sending a signal to the signal line and receiving a command from the control station to send a response indicating whether or not the slave station has sent a break signal to the signal line. A communication control method characterized by the following.
【請求項2】 制御局に複数の従属局が共通の信号線を
介して接続され、前記各従属局はブレーク信号により前
記制御局に割り込みを通知する通信制御方式に於いて、
前記制御局は、前記各従属局に割り当てられているブレ
ーク信号の信号長が格納されたブレーク信号長テーブル
と、前記信号線を介して加えられるブレーク信号の信号
長を計測するブレーク信号長計測部と、前記ブレーク信
号長テーブルを参照して前記ブレーク信号長計測部が計
測した信号長と同じ信号長のブレーク信号が割り当てら
れている従属局を捜し出し、該捜し出した各従属局に対
してブレーク信号を送出したか否かを問い合わせる命令
を、ブレーク信号を送出したことを示す応答を受信する
まで、順次出力する制御局制御部とを含み、前記各従属
局は、自従属局に割り当てられているブレーク信号の信
号長が格納されたブレーク信号長記憶部と、割り込み要
因が発生することにより前記信号線にブレーク信号が送
出されているか否かを判定し、送出されていないと判定
することにより前記ブレーク信号長記憶部に格納されて
いる信号長のブレーク信号を前記信号線に送出し、前記
制御局からの前記命令を受信することにより前記信号線
に自従属局がブレーク信号を送出したか否かを示す応答
を送出する従属局制御部とを含むことを特徴とする通信
制御方式。
2. A communication control system in which a plurality of subordinate stations are connected to a control station via a common signal line, and each of the subordinate stations notifies the control station of an interrupt by a break signal.
The control station includes a break signal length table storing a signal length of a break signal assigned to each of the slave stations, and a break signal length measuring unit that measures a signal length of a break signal applied via the signal line. Searching for a dependent station to which a break signal having the same signal length as the signal length measured by the break signal length measuring unit with reference to the break signal length table, and providing a break signal to each of the found dependent stations. A control station control unit that sequentially outputs a command for inquiring whether or not the slave station has been transmitted until a response indicating that a break signal has been transmitted is received, and each of the dependent stations is assigned to its own dependent station. A break signal length storage unit in which a signal length of the break signal is stored, and whether a break signal is transmitted to the signal line due to occurrence of an interrupt factor By transmitting a break signal having a signal length stored in the break signal length storage unit to the signal line by determining that the signal has not been transmitted, and receiving the command from the control station, A slave station control unit for sending a response indicating whether or not its own slave station has sent a break signal to the signal line.
【請求項3】 制御局と複数の従属局が共通の信号線を
介して接続され、前記各従属局はブレーク信号により前
記制御局に割り込みを通知する通信制御方式に於いて、
前記制御局は、前記各従属局に割り当てられているブレ
ーク信号の信号長が格納されたブレーク信号長テーブル
と、前記信号線を介して加えられるブレーク信号の信号
長を計測する第1のブレーク信号長計測部と、前記ブレ
ーク信号長テーブルを参照して前記第1のブレーク信号
長計測部が計測した信号長と同一の信号長のブレーク信
号が割り当てられている従属局を捜し出し、該捜し出し
た各従属局に対してブレーク信号を送出したか否かを問
い合わせる命令を、ブレーク信号を送出したことを示す
応答を受信するまで、順次出力する制御局制御部とを含
み、前記各従属局は、自従属局に割り当てられているブ
レーク信号の信号長が格納されたブレーク信号長記憶部
と、前記信号線に送出されているブレーク信号の信号長
を計測する第2のブレーク信号長計測部と、割り込み要
因が発生することにより前記信号線にブレーク信号が送
出されているか否かを判定し、送出されていないと判定
した場合は前記ブレーク信号長記憶部に格納されている
信号長のブレーク信号を前記信号線に送出し、送出され
ていると判定した場合は前記第2のブレーク信号長計測
部が計測した信号長が前記ブレーク信号長記憶部に格納
されている信号長よりも短いことを条件にして信号長が
前記ブレーク信号長記憶部に格納されている信号長と前
記第2のブレーク信号長計測部が計測した信号長との差
となるブレーク信号を前記信号線に送出し、前記制御局
からの前記命令を受信することにより前記信号線に自従
属局がブレーク信号を送出したか否かを示す応答を送出
する従属局制御部とを含むことを特徴とする通信制御方
式。
3. A communication control system in which a control station and a plurality of subordinate stations are connected via a common signal line, and each of the subordinate stations notifies an interrupt to the control station by a break signal.
The control station includes a break signal length table storing the signal lengths of the break signals assigned to the slave stations, and a first break signal for measuring the signal length of the break signal applied via the signal line. A length measuring unit and a dependent station to which a break signal having the same signal length as the signal length measured by the first break signal length measuring unit is assigned with reference to the break signal length table, and A control station control unit for sequentially outputting a command for inquiring whether or not a break signal has been transmitted to the dependent stations until receiving a response indicating that the break signal has been transmitted; A break signal length storage unit in which the signal length of the break signal assigned to the slave station is stored, and a second signal length measuring unit for measuring the signal length of the break signal transmitted to the signal line. The break signal length measurement unit determines whether or not a break signal is sent to the signal line due to the occurrence of an interrupt factor, and if it is determined that a break signal is not sent, the break signal is stored in the break signal length storage unit. The signal length measured by the second break signal length measurement unit is stored in the break signal length storage unit when it is determined that the signal is transmitted. A break signal whose signal length is a difference between the signal length stored in the break signal length storage unit and the signal length measured by the second break signal length measurement unit, provided that the signal length is shorter than the signal length. And a slave station control unit for sending a response indicating whether or not the slave station has sent a break signal to the signal line by receiving the command from the control station. Communication control system to be.
JP3210091A 1991-01-31 1991-01-31 Communication control method Expired - Lifetime JP2910271B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3210091A JP2910271B2 (en) 1991-01-31 1991-01-31 Communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3210091A JP2910271B2 (en) 1991-01-31 1991-01-31 Communication control method

Publications (2)

Publication Number Publication Date
JPH04246951A JPH04246951A (en) 1992-09-02
JP2910271B2 true JP2910271B2 (en) 1999-06-23

Family

ID=12349476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3210091A Expired - Lifetime JP2910271B2 (en) 1991-01-31 1991-01-31 Communication control method

Country Status (1)

Country Link
JP (1) JP2910271B2 (en)

Also Published As

Publication number Publication date
JPH04246951A (en) 1992-09-02

Similar Documents

Publication Publication Date Title
JPS6153855A (en) Packet sending delay measuring system
KR100906273B1 (en) Transmission apparatus and transmission method
JP2910271B2 (en) Communication control method
US5941962A (en) Buffer management system for releasing a buffer area based on holding time and maximum allowable time when remaining buffer areas reached threshold
KR970007251B1 (en) Real time message transmission system and its transmission method of multiple bus
JPH06311292A (en) Facsimile equipment
JPS61277241A (en) Communication system for radio communication network system
JP2900364B2 (en) Communication control device
JPS6043699B2 (en) Data transmitting/receiving device
JPS61117949A (en) Start-stop line control device
JP2504478B2 (en) Facsimile storage and switching equipment
JP3505540B2 (en) Data transfer device
JP2945026B2 (en) Communication device
JPS6156540A (en) Transmission controller
JPH0235500B2 (en)
JPH03244577A (en) Printer output device
JP2898988B2 (en) Data communication device
JP2853643B2 (en) Response monitoring device in communication system
JPS5813058B2 (en) Data transfer priority control method
JPH06276253A (en) Data transmission control method
JPH03165138A (en) Data transmitter
JPH0388446A (en) Polling system
JPH05183967A (en) Transmission system between main controller and remote controller
JPH05122280A (en) Communication processing unit
JPH05265667A (en) Bidirectional communication method for printer