JPH08149148A - Loop shaped serial communication procedure and loop shaped serial communication network - Google Patents

Loop shaped serial communication procedure and loop shaped serial communication network

Info

Publication number
JPH08149148A
JPH08149148A JP28352794A JP28352794A JPH08149148A JP H08149148 A JPH08149148 A JP H08149148A JP 28352794 A JP28352794 A JP 28352794A JP 28352794 A JP28352794 A JP 28352794A JP H08149148 A JPH08149148 A JP H08149148A
Authority
JP
Japan
Prior art keywords
node
transmission
loop
arbitration
control node
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.)
Pending
Application number
JP28352794A
Other languages
Japanese (ja)
Inventor
Fumihiro Yoshizawa
史浩 吉澤
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.)
GE Healthcare Japan Corp
Original Assignee
GE Yokogawa Medical System 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 GE Yokogawa Medical System Ltd filed Critical GE Yokogawa Medical System Ltd
Priority to JP28352794A priority Critical patent/JPH08149148A/en
Publication of JPH08149148A publication Critical patent/JPH08149148A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To realize a loop shaped serial communication procedure and a loop shaped serial communication network in which transmission is started from any node while avoiding the collision of data on a loop. CONSTITUTION: The procedure is a communication procedure in the loop shape serial communication network where plural nodes are connected in a loop, and after specific communication representing the arbitration mode is made from a host control node, a node desiring transmission other than the control node sends a transmission request packet to the control node ((b) (1)) and a node sending the transmission request packet and receiving a transmission enabled signal from the control node makes transmission ((b)(4)).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は複数のノード(node)が
ループ(loop)状に接続されたループ状シリアル(seri
al)通信網と、このループ状シリアル通信網における通
信手順とに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial loop (seri) in which a plurality of nodes are connected in a loop.
al) A communication network and a communication procedure in this loop-shaped serial communication network.

【0002】[0002]

【従来の技術】一定の範囲内においてデータ通信を行う
ものとして、LAN(Local Area Network :ローカル
・エリア・ネットワーク)が知られている。そして、こ
のLANは種々の分野のデータ通信で利用されている。
2. Description of the Related Art A LAN (Local Area Network) is known as a device for performing data communication within a certain range. The LAN is used in data communication in various fields.

【0003】このLANの各機器のつなぎ方には3種類
あり、スター(star)型LAN,バス(bus )型LA
N,ループ(またはリング)型LANと呼ばれるものが
ある。ここでは、ループ型LANに用いられるループ状
シリアル通信網について考える。尚、ここでループと
は、一連の要素(機器やデータ等)を連ねた構造であっ
て一周して元に戻る環のことである。
There are three types of connection methods for each device of this LAN, a star type LAN and a bus type LA.
There is an N, loop (or ring) type LAN. Here, a loop-shaped serial communication network used for a loop type LAN will be considered. The loop here is a ring that has a structure in which a series of elements (devices, data, etc.) are connected, and makes a loop and returns to the original state.

【0004】図6はループ状シリアル通信網の一例を示
す構成図である。ここでは、説明を簡単にするために、
ノード(ネットワークアーキテクチャにおいて、データ
通信及びデータ処理の機能を持つコンポーネントを言
い、ここでは、データ通信を行う端末装置を意味す
る。)の数が5である場合を例にして説明する。但し、
実際には、ノードの数はこれに限られるものではない。
ループ1はループ状シリアル通信網の中心となるデータ
転送手段としての環状形の伝送路であって、同軸ケーブ
ル,光ファイバー,ツイステッドペア線(twisted pair
cable:より対線)等で構成されている。ここでは、ノ
ードA〜ノードEはそれぞれ通信を行う端末装置であ
り、ここでは、A〜Eがそれぞれのアドレスを示してい
るものとする。
FIG. 6 is a block diagram showing an example of a loop-shaped serial communication network. Here, in order to simplify the explanation,
An example will be described in which the number of nodes (in the network architecture, a component having a function of data communication and data processing, which means a terminal device that performs data communication) is five. However,
In reality, the number of nodes is not limited to this.
Loop 1 is a ring-shaped transmission line as a data transfer means which is the center of a loop-shaped serial communication network, and includes a coaxial cable, an optical fiber, and a twisted pair wire.
cable: twisted pair) etc. Here, the nodes A to E are terminal devices that perform communication, and here, it is assumed that A to E indicate their respective addresses.

【0005】ここでは、反時計回りでデータが伝達され
るものとする。尚、ループ1上を伝達されるデータは、
パケット(packet:送信したいデータと相手先アドレス
及び自分のアドレスをつけた1つの単位として交換され
るデータ)として扱われるものとする。従って、各ノー
ドは、ループ1を介して伝達されてきたパケットが自分
宛か否かを相手先アドレスによって知ることができ、自
分宛でないパケットは次のノードに伝えるようにする。
Here, it is assumed that data is transmitted counterclockwise. The data transmitted on Loop 1 is
It is assumed to be handled as a packet (packet: data to be transmitted, data exchanged as one unit with destination address and own address). Therefore, each node can know whether or not the packet transmitted via loop 1 is addressed to itself, and the packet not addressed to itself is transmitted to the next node.

【0006】さて、実際に通信を行う場合には、各ノー
ドが勝手に通信を開始したとすると、ループ1上で複数
のパケットが重なり、データが破壊されて通信不能に陥
ることになる。
In the actual communication, if each node arbitrarily starts the communication, a plurality of packets are overlapped on the loop 1, the data is destroyed and the communication becomes impossible.

【0007】そこで、このような事態を避けるために、
何らかの調整が必要になる。このような場合の調整とし
て、以下の2つが考えられる。 各ノードが責任を持って、他のノードが送信中の時
には送信を開始しないようにする。
Therefore, in order to avoid such a situation,
Some adjustment is required. The following two can be considered as adjustments in such a case. Each node is responsible for not starting transmission while other nodes are transmitting.

【0008】 各ノードが、送信を行って良いタイミ
ングを割り当てる。このようにして割り当てられたタイ
ミング内で各ノードは送信を行うようにする。
Each node allocates a timing at which transmission can be performed. Each node performs transmission within the timing thus assigned.

【0009】[0009]

【発明が解決しようとする課題】上述のの方法では、
各ノードはループ1の状態を調べてから送信を開始する
ものであるが、全く同じタイミングで送信を開始するこ
ともあり得る(これを「衝突」という)。そのような場
合には、ループ1上で2つのパケットが重なって破壊さ
れることがある。また、既に他のノードがループ1上に
パケットを送出している場合に、送信を行う要求のある
いずれかのノードは他のノードの送信が完了するのを監
視し続けなければならない。このため、負担が大きくな
る難点がある。
SUMMARY OF THE INVENTION In the above method,
Each node starts transmission after checking the state of Loop 1, but may start transmission at exactly the same timing (this is called “collision”). In such a case, two packets may be overlapped and destroyed on loop 1. Also, if another node is already sending a packet out on loop 1, any node that has a request to transmit must continue to monitor the completion of the other node's transmission. Therefore, there is a drawback that the burden becomes large.

【0010】例えば、ノードCがノードDへのパケット
の送信を開始した後に、ノードBがノードEに対して送
信を開始した場合には、ノードCは自分からノードDへ
の送信が終了するまでの間ノードBから送られてきたパ
ケットを自分のバッファに蓄えておいて、ノードDへの
送信が完了した時点であらためてノードEへのパケット
送信を行うようにする必要がある。また、もし、ノード
Bからの送信が先に開始された場合には、その通信の完
了を監視していなければならない。このように、各ノー
ドの負担が大きくなる難点を有している。
For example, if node B starts transmitting packets to node D and then node B starts transmitting packets to node E, node C will wait until node C finishes transmitting packets to node D. It is necessary to store the packet sent from the node B during that period in its own buffer and to perform the packet transmission to the node E again when the transmission to the node D is completed. Further, if the transmission from the node B is started first, the completion of the communication should be monitored. As described above, there is a drawback that the load on each node becomes large.

【0011】また、の方法において、トークン(toke
n )を用いるようにしてパケットの衝突を避けるように
したシステムも存在している。ここでトークンとは、L
ANでのデータの送信権制御の際に「送信許可証」とし
て用いられるもので、このトークンを保有しているノー
ドだけが送信可能になる。そして、送信を終了した時に
トークンを伝送路に出して送信権を放棄する。衝突が発
生しないために、伝送路の使用効率は高くなる。このよ
うな制御方式をトークンパッシング(token passing )
方式と呼んでいる。しかし、トークンの管理(故障(ノ
イズによるトークンの2重発生や消滅等)対策等)が複
雑になり、工夫を要するなどの問題も有している。
In the method, the token (toke
There are also systems that use n) to avoid packet collisions. Here, the token is L
It is used as a "transmission permit" when controlling the transmission right of data in the AN, and only the node holding this token can transmit. When the transmission is completed, the token is put out on the transmission path and the transmission right is abandoned. Since the collision does not occur, the use efficiency of the transmission line is improved. This control method is called token passing.
We call it the method. However, there is a problem in that management of tokens (countermeasures against failures (double occurrence or disappearance of tokens due to noise, etc.) becomes complicated and requires devising.

【0012】また、上述のの方法では、特定のノード
をホスト(制御ノード)として定め、この制御ノードの
みが通信を開始する権限を有するようにする。すなわ
ち、ホストのみが各ノードに対して自由なタイミングで
送信を行うことができ、通信を送られたノードがホスト
に通信を返すことで1組の通信が完了する。従って、ホ
スト以外のノード(一般ノード)は返信という形でしか
送信を開始することができない。例えば、図6におい
て、ノードAをホストとして定め、他のノードB〜Eは
ノードAからの通信を待つ状態にある。
Further, in the above method, a specific node is defined as a host (control node), and only this control node has the authority to start communication. That is, only the host can perform transmission to each node at free timing, and the node to which the communication is sent returns the communication to the host, thereby completing one set of communication. Therefore, a node (general node) other than the host can start transmission only in the form of a reply. For example, in FIG. 6, the node A is defined as a host, and the other nodes B to E are in a state of waiting for communication from the node A.

【0013】このような構成であるとすると、例えば、
ホスト以外のノードが検出した異常をホストが直ちに知
りたい状況にある場合には、例えその異常発生が希なも
のであるとしても、ホストは常時その可能性のあるノー
ドと通信を続けなければならない問題を有している。
With such a configuration, for example,
If the host wants to know immediately about an anomaly detected by a node other than the host, the host must continue to communicate with the node that may have the anomaly even if the anomaly is rare. I have a problem.

【0014】本発明は上記問題を解決するためになされ
たもので、その目的は、ループ上でのデータ衝突を回避
しつつ、いずれのノードからでも送信を開始することが
可能なループ状シリアル通信手順及びループ状シリアル
通信網を実現することである。
The present invention has been made to solve the above problems, and an object of the invention is to perform loop serial communication capable of starting transmission from any node while avoiding data collision on the loop. It is to realize a procedure and a loop-shaped serial communication network.

【0015】[0015]

【課題を解決するための手段】前記の課題を解決する第
1の手段は、複数のノードがループ状に接続されたルー
プ状シリアル通信網における通信手順であって、ホスト
となる制御ノードから調停モードであることを示す特定
の通信があった後に、制御ノード以外の送信を行いたい
ノードは送信要求パケットを制御ノードに対して送出
し、前記送信要求パケットを送出したノードであって、
制御ノードからの送信許可信号を受けたノードが送信を
行うことを特徴とするループ状シリアル通信手順であ
る。
The first means for solving the above-mentioned problems is a communication procedure in a loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and arbitration is performed from a control node serving as a host. After a specific communication indicating the mode, the node other than the control node that wants to transmit transmits a transmission request packet to the control node, and the node that has transmitted the transmission request packet,
The loop serial communication procedure is characterized in that the node which receives the transmission permission signal from the control node performs transmission.

【0016】前記の課題を解決する第2の手段は、複数
のノードがループ状に接続されたループ状シリアル通信
網であって、他のノードからの送信を許可可能な状態の
ときに調停モードであることを示す調停開始パケットを
各ノードに対して送出し、各ノードから送信要求パケッ
トを受けたときに調停を行って送信を許可するノードに
対して送信許可信号を送出する制御ノードと、調停開始
パケットを受けてからデータ送信を行う要求があるとき
に送信要求パケットを制御ノードに対して送出し、制御
ノードからの送信許可信号を受けてから送信を行うノー
ドと、を備えたことを特徴とするループ状シリアル通信
網である。
A second means for solving the above-mentioned problem is a loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and when the transmission from another node can be permitted, an arbitration mode is set. A control node that sends out an arbitration start packet indicating that is to each node, and sends a transmission permission signal to a node that arbitrates and permits transmission when receiving a transmission request packet from each node, A node that transmits a transmission request packet to the control node when there is a request to perform data transmission after receiving the arbitration start packet and that transmits after receiving a transmission permission signal from the control node. It is a characteristic loop-shaped serial communication network.

【0017】前記の課題を解決する第3の手段は、複数
のノードがループ状に接続されたループ状シリアル通信
網であって、他のノードからの送信を許可可能な状態の
ときに調停モードであることを示す調停開始パケットを
各ノードに対して送出し、各ノードから送信要求パケッ
トを受けたときに、この送信要求パケット内のレベル情
報に応じて調停を行うことで送信を許可するノードを決
定し、送信を許可するノードに対して送信許可信号を送
出する制御ノードと、調停開始パケットを受けてからデ
ータ送信を行う要求があるときには予め定められたレベ
ル情報を含む送信要求パケットを制御ノードに対して送
出し、制御ノードからの送信許可信号を受けてから送信
を行うノードと、を備えたことを特徴とするループ状シ
リアル通信網である。
A third means for solving the above-mentioned problem is a loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and the arbitration mode is set when transmission from another node can be permitted. A node that transmits an arbitration start packet indicating that the transmission request packet is sent to each node, and when the transmission request packet is received from each node, arbitration is performed according to the level information in the transmission request packet to permit transmission. Control node that sends a transmission permission signal to a node that permits transmission, and controls a transmission request packet containing predetermined level information when there is a request to perform data transmission after receiving an arbitration start packet. A loop-shaped serial communication network comprising: a node that transmits to a node and that transmits after receiving a transmission permission signal from a control node. .

【0018】前記の課題を解決する第4の手段は、複数
のノードがループ状に接続されたループ状シリアル通信
網であって、他のノードからの送信を許可可能な状態の
ときに調停モードであることを示す調停開始パケットを
各ノードに対して送出し、各ノードから送信要求パケッ
トを受けたときに調停を行って送信を許可するノードに
対して送信許可信号を送出する制御ノードと、調停開始
パケットを受けてからデータ送信を行う要求があるとき
に送信要求パケットを制御ノードに対して送出し、制御
ノードからの送信許可信号を受けてから制御ノード以外
の他のノードに対して送信を行うノードと、を備えたこ
とを特徴とするループ状シリアル通信網である。
A fourth means for solving the above-mentioned problem is a loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and the arbitration mode is set when transmission from another node can be permitted. A control node that sends out an arbitration start packet indicating that is to each node, and sends a transmission permission signal to a node that arbitrates and permits transmission when receiving a transmission request packet from each node, When a request for data transmission is received after receiving an arbitration start packet, a transmission request packet is sent to the control node, and a transmission permission signal from the control node is received and then transmitted to other nodes than the control node. A loop-shaped serial communication network comprising:

【0019】[0019]

【作用】課題を解決する第1の手段であるループ状シリ
アル通信手順では、ホストとなる制御ノードから調停モ
ードであることを示す特定の通信があった後に、制御ノ
ード以外の送信を行いたいノードから送信要求パケット
が制御ノードに対して送出される。そして、制御ノード
からの送信許可信号を受けたノードから送信が行われ
る。これにより、ループ上でのデータ衝突を回避しつ
つ、いずれのノードからでも送信を開始することが可能
になる。
In the loop-shaped serial communication procedure which is the first means for solving the problem, the node other than the control node wants to perform transmission after the specific communication indicating the arbitration mode is received from the host control node. Sends a transmission request packet to the control node. Then, the node that has received the transmission permission signal from the control node transmits the signal. This makes it possible to start transmission from any node while avoiding data collision on the loop.

【0020】課題を解決する第2の手段であるループ状
シリアル通信網では、他のノードからの送信を許可可能
な状態のときに調停モードであることを示す調停開始パ
ケットが制御ノードから各ノードに対して送出される。
調停開始パケットを受けてからデータ送信を行う要求が
あるときノードから送信要求パケットが制御ノードに対
して送出され、この送信要求パケットを受けた制御ノー
ドにより調停が行なわれて送信を許可するノードに対し
て送信許可信号が送出される。そして、制御ノードから
の送信許可信号を受けたノードにより送信が行われる。
これにより、ループ上でのデータ衝突を回避しつつ、い
ずれのノードからでも送信を開始することが可能にな
る。
In the loop-shaped serial communication network which is the second means for solving the problem, an arbitration start packet indicating the arbitration mode when the transmission from another node can be permitted is sent from the control node to each node. Sent to.
When there is a request to perform data transmission after receiving an arbitration start packet, a transmission request packet is sent from the node to the control node, and the control node that receives this transmission request packet arbitrates to the node that permits transmission. A transmission permission signal is sent to the device. Then, the node that has received the transmission permission signal from the control node transmits the signal.
This makes it possible to start transmission from any node while avoiding data collision on the loop.

【0021】課題を解決する第3の手段であるループ状
シリアル通信網では、他のノードからの送信を許可可能
な状態のときに調停モードであることを示す調停開始パ
ケットが制御ノードから各ノードに対して送出される。
調停開始パケットを受けたノードは、データ送信を行う
要求があるときノード毎に予め定められたレベル情報を
含む送信要求パケットを制御ノードに対して送出する。
この送信要求パケットを受けた制御ノードは、ノード毎
のレベル情報に応じて調停を行って送信を許可するノー
ドを決定し、許可するノードに対して送信許可信号を送
出する。そして、制御ノードからの送信許可信号を受け
たノードにより送信が行われる。これにより、ループ上
でのデータ衝突を回避しつつ、いずれのノードからでも
送信を開始することが可能になる。
In the loop-shaped serial communication network which is the third means for solving the problem, an arbitration start packet indicating the arbitration mode is sent from the control node to each node when transmission from another node can be permitted. Sent to.
The node receiving the arbitration start packet sends a transmission request packet including level information predetermined for each node to the control node when there is a request for data transmission.
The control node which receives this transmission request packet performs arbitration according to the level information of each node to determine the node to which the transmission is permitted, and sends the transmission permission signal to the permitted node. Then, the node that has received the transmission permission signal from the control node transmits the signal. This makes it possible to start transmission from any node while avoiding data collision on the loop.

【0022】課題を解決する第4の手段であるループ状
シリアル通信網では、他のノードからの送信を許可可能
な状態のときに調停モードであることを示す調停開始パ
ケットが制御ノードから各ノードに対して送出される。
調停開始パケットを受けてからデータ送信を行う要求が
あるときノードから送信要求パケットが制御ノードに対
して送出され、この送信要求パケットを受けたとき制御
ノードにより調停が行われて送信を許可するノードに対
して送信許可信号が送出される。そして、制御ノードか
らの送信許可信号を受けたノードから他のノードに対し
て送信が行われる。これにより、ループ上でのデータ衝
突を回避しつつ、いずれのノードからでも他のノードに
対して送信を開始することが可能になる。
In the loop-shaped serial communication network which is the fourth means for solving the problem, an arbitration start packet indicating the arbitration mode is sent from the control node to each node when transmission from another node can be permitted. Sent to.
When there is a request for data transmission after receiving an arbitration start packet, a transmission request packet is sent from the node to the control node, and when this transmission request packet is received, the control node performs arbitration and permits transmission. A transmission permission signal is sent to. Then, the node that has received the transmission permission signal from the control node transmits to another node. This makes it possible to start transmission from any node to another node while avoiding data collision on the loop.

【0023】[0023]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。まず、図1(a)及び図1(b)を参照し
て本発明のループ状シリアル通信手順について基本的な
原理的動作について説明を行う。
Embodiments of the present invention will be described below in detail with reference to the drawings. First, with reference to FIGS. 1A and 1B, a basic principle operation of the loop serial communication procedure of the present invention will be described.

【0024】ここで、図1(a)は制御ノードと一般ノ
ードとの処理手順であって、調停モード以外の状態で制
御ノード側から送信を行う場合の原理的な処理手順を示
すフローチャートである。また、図1(b)は制御ノー
ドと一般ノードとの原理的な処理手順であって、調停モ
ード中に一般ノード側から送信を行う場合の処理手順を
示すフローチャートである。
Here, FIG. 1A is a flow chart showing a processing procedure between the control node and the general node, showing a principle processing procedure when transmission is performed from the control node side in a state other than the arbitration mode. . Further, FIG. 1B is a flowchart showing a processing procedure in principle between the control node and the general node, in the case of transmitting from the general node side during the arbitration mode.

【0025】この場合に、いずれか特定のノードをホス
ト(制御ノード)として定める。そして、通常状態(調
停モード以外の状態)では制御ノードのみが通信を開始
する権限を有するようにする。すなわち、制御ノードの
みが各一般ノードに対して自由なタイミングで送信を行
うことができ(図1(a)(1))、通信を送られたノ
ードが処理を行って制御ノードに通信を返すことで1組
の通信が完了する(図1(a)(2))。従って、制御
ノード以外のノードは返信という形でしか送信を開始す
ることができない。
In this case, one of the specific nodes is defined as a host (control node). Then, in the normal state (states other than the arbitration mode), only the control node has the authority to start communication. That is, only the control node can transmit to each general node at any timing (FIG. 1 (a) (1)), and the node to which the communication is sent performs the processing and returns the communication to the control node. This completes one set of communication (FIGS. 1 (a) and (2)). Therefore, nodes other than the control node can start transmission only in the form of reply.

【0026】また、通常状態以外の状態(この実施例で
は調停状態と呼ぶ)では、いずれかの一般ノードが送信
要求パケットを制御ノードに対して送信し(図1(b)
(1))、これにより制御ノードは調停モードを終了す
ることを各一般ノードに通知し(図1(b)(2))、
許可を受けた(図1(b)(3))一般ノードが許可後
に送信を行って(図1(b)(4))1組の通信が完了
する。尚、この図1(b)では、送信要求パケットを送
信した一般ノードが許可を受けたものとして説明を行っ
ている。
In a state other than the normal state (called an arbitration state in this embodiment), one of the general nodes transmits a transmission request packet to the control node (FIG. 1 (b)).
(1)), whereby the control node notifies each general node that the arbitration mode is terminated (FIG. 1 (b) (2)),
The general node that has received the permission (FIG. 1 (b) (3)) transmits after the permission (FIG. 1 (b) (4)) to complete one set of communication. In FIG. 1B, it is assumed that the general node that has transmitted the transmission request packet has been permitted.

【0027】従って、以上のようにホストが送信を行う
以外のときを調停モードとして定め、ホストは調停モー
ド中の送信要求パケットを検出,調停することで、ホス
ト以外の一般ノードからの要求でいつでも送信を行うこ
とができるようになる。この結果、ホストが一定周期で
一般ノードを呼ぶ必要がなくなり、ホストの負担及びル
ープの使用頻度が減る。そして、一般ノードにとって
は、データ衝突を避けるための操作は送信要求パケット
に対してだけになり、それ以外のパケットではスイッチ
をループ接続状態にしておけばよく、各一般ノードの負
担が軽減される。
Therefore, as described above, the time other than when the host is transmitting is set as the arbitration mode, and the host detects and arbitrates the transmission request packet in the arbitration mode, so that the general node other than the host can always make a request. You will be able to send. As a result, the host does not need to call the general node at regular intervals, and the load on the host and the frequency of loop usage are reduced. Then, for the general node, the operation for avoiding the data collision is only for the transmission request packet, and for the other packets, the switch may be in the loop connection state, which reduces the load on each general node. .

【0028】図2はループ状シリアル通信網の主要部で
あるノードの構成を示す構成図、図3はループ状シリア
ル通信網の全体構成を示す構成図である。ここで、図2
及び図3を用いてループ状シリアル通信網の構成につい
て説明する。ここでは、説明を簡単にするために、ノー
ド(通信を行う端末装置)の数が5である場合を例にし
て説明する。但し、実際には、ノードの数はこれに限ら
れるものではない。ループ1はループ状シリアル通信網
の中心となるデータ転送手段としての環状形の伝送路で
あって、同軸ケーブル,光ファイバー,ツイステッドペ
ア線等で構成されている。ノード10,11,12,1
3,14はそれぞれ通信を行う端末装置であり、ここで
は、10〜14の番号がそれぞれのアドレスを示してい
るものとする。
FIG. 2 is a block diagram showing the configuration of a node which is the main part of the loop-shaped serial communication network, and FIG. 3 is a block diagram showing the overall configuration of the loop-shaped serial communication network. Here, FIG.
The configuration of the loop serial communication network will be described with reference to FIG. Here, in order to simplify the description, a case where the number of nodes (terminal devices that perform communication) is 5 will be described as an example. However, actually, the number of nodes is not limited to this. The loop 1 is a ring-shaped transmission line as a data transfer means that is the center of the loop-shaped serial communication network, and is composed of a coaxial cable, an optical fiber, a twisted pair wire, and the like. Nodes 10, 11, 12, 1
Reference numerals 3 and 14 denote terminal devices that perform communication, and here, it is assumed that numbers 10 to 14 indicate respective addresses.

【0029】また、各ノードは、ループ1を接続/切断
するスイッチと、パケット(送信したいデータと相手先
アドレス及び自分のアドレスをつけたひとかたまりデー
タ)の送受信を制御する送受信デバイスと、スイッチを
制御すると共にパケットの管理を行うCPUを有してい
る。図2では、ノード10を例示しており、スイッチ1
0a,送受信デバイス10b,CPU10cが示されて
いる。
Each node controls a switch for connecting / disconnecting the loop 1, a transmission / reception device for controlling transmission / reception of packets (data to be transmitted, a destination address and a lump of data with its own address), and a switch. It also has a CPU for managing packets. In FIG. 2, the node 10 is illustrated, and the switch 1
0a, a transmitting / receiving device 10b, and a CPU 10c are shown.

【0030】ここでは、ループ1上で反時計回りでデー
タが伝達されるものとする。尚、ループ1上を伝達され
るデータは、パケットとして扱われるものとする。従っ
て、各ノードは、ループ1を介して伝達されてきたパケ
ットが自分宛か否かを知ることができ、自分宛でないパ
ケットは次のノードに伝えるようにする。
Here, it is assumed that data is transmitted counterclockwise on loop 1. Data transmitted on the loop 1 is treated as a packet. Therefore, each node can know whether or not the packet transmitted via the loop 1 is addressed to itself, and the packet not addressed to itself is transmitted to the next node.

【0031】また、この実施例ではノードのいずれか特
定のノードをホスト(制御ノード)として定める。そし
て、通常状態では制御ノードのみが通信を開始する権限
を有するようにする。すなわち、ホストのみが各ノード
に対して自由なタイミングで送信を行うことができ、通
信を送られたノードがホストに通信を返すことで1組の
通信が完了する。従って、ホスト以外のノードは返信と
いう形でしか送信を開始することができない。
Further, in this embodiment, one of the specific nodes is defined as a host (control node). Then, in the normal state, only the control node has the authority to start communication. That is, only the host can perform transmission to each node at free timing, and the node to which the communication is sent returns the communication to the host, thereby completing one set of communication. Therefore, nodes other than the host can start transmission only in the form of a reply.

【0032】また、通常状態以外の状態(この実施例で
は調停状態と呼ぶ)では、いずれかの一般ノードが送信
要求パケットをホストに対して送信し、許可された時点
で送信を行って1組の通信が完了する。
Further, in a state other than the normal state (which is called an arbitration state in this embodiment), one of the general nodes transmits a transmission request packet to the host, and when the transmission is permitted, the transmission is carried out for one set. Communication is completed.

【0033】ここでは、ノード10が制御ノードとして
のホストであるものとし、他のノード11〜14が一般
ノードであるとする。次に、一般ノードの処理手順を示
すフローチャートの図4と、制御ノードの処理手順を示
すフローチャートの図5とを用いて、本発明の一実施例
のループ状シリアル通信手順について説明する。
Here, it is assumed that the node 10 is a host as a control node and the other nodes 11 to 14 are general nodes. Next, with reference to FIG. 4 which is a flowchart showing the processing procedure of the general node and FIG. 5 which is a flowchart showing the processing procedure of the control node, the loop serial communication procedure of the embodiment of the present invention will be described.

【0034】ここで、図4及び図5を用いてループ状シ
リアル通信手順の流れについて説明する。ここで、図4
は制御ノード以外の一般ノード(以下、単にノードとい
う)の通信手順を示している。また、図5は制御ノード
側の通信手順を示している。
Here, the flow of the loop serial communication procedure will be described with reference to FIGS. 4 and 5. Here, FIG.
Indicates a communication procedure of a general node (hereinafter, simply referred to as a node) other than the control node. Further, FIG. 5 shows a communication procedure on the control node side.

【0035】ホストが送信を行いたい場合(図5ステッ
プ(1))には、調停状態であれば調停終了信号を送信
してから(図5ステップ(2),(3))、送りたい内
容のデータを含んだパケットの送信を行う(図5ステッ
プ(4))。また、調停状態でなければ、そのままパケ
ットの送信を行う。
When the host wants to perform transmission (step (1) in FIG. 5), if the host is in an arbitration state, it transmits an arbitration end signal (steps (2) and (3) in FIG. 5), and then the content to be transmitted The packet including the data of is transmitted (step (4) in FIG. 5). If it is not in the arbitration state, the packet is transmitted as it is.

【0036】特に積極的に送信を行う必要がなくなれ
ば、調停開始パケットを各ノードに対して送信して(図
5ステップ(6))調停モードに移行したことを通知す
る。この調停開始パケットは各ノードに対して共通なも
のである。
When it becomes unnecessary to particularly actively transmit, an arbitration start packet is transmitted to each node (step (6) in FIG. 5) to notify that the mode has been changed to the arbitration mode. This arbitration start packet is common to each node.

【0037】何らかのパケットを受信したノード(図4
ステップ(1))は、そのパケットの宛先アドレスを調
べ(図4ステップ(2))、他のノード宛のパケットで
あれば次のノードへ転送する(図4ステップ(3))。
また、受信したパケットが調停開始パケットであれば
(図4ステップ(4))、スイッチをループ切断状態に
して調停モードで待機する(図4ステップ(5))。
The node that received any packet (see FIG.
In step (1), the destination address of the packet is checked (step (2) in FIG. 4), and if the packet is addressed to another node, it is transferred to the next node (step (3) in FIG. 4).
If the received packet is an arbitration start packet (step (4) in FIG. 4), the switch is put in the loop disconnection state and the arbitration mode is waited (step (5) in FIG. 4).

【0038】すなわち、各ノードのスイッチをループ切
断状態にし、送受信デバイスの受信端子Rから受信した
パケットについて、自分宛であればCPUで処理し、他
のノード宛のパケットであれば責任を持って次のノード
に転送する状態になる。
That is, the switch of each node is set to the loop disconnection state, and the packet received from the reception terminal R of the transmission / reception device is processed by the CPU if it is addressed to itself, and responsibly if the packet is addressed to another node. It is ready to be transferred to the next node.

【0039】この調停モードの状態で、送信を行いたい
(図4ステップ(8))ノードは、送信要求パケットを
送信する(図4ステップ(9),(10))。この送信
要求パケットは宛先アドレス,送信元アドレス,送信要
求を示すデータ,予めノード毎に定められたレベル情報
が含まれているが、一般のデータを含んだパケットより
は極めてサイズの小さいパケットである。従って、調停
モード中における各ノードの負担は極めて小さいものに
限定される。
In this arbitration mode, the node that wants to transmit (step (8) in FIG. 4) transmits a transmission request packet (steps (9) and (10) in FIG. 4). This transmission request packet includes a destination address, a source address, data indicating a transmission request, and level information predetermined for each node, but it is a packet having a much smaller size than a packet including general data. . Therefore, the load on each node in the arbitration mode is limited to a very small one.

【0040】尚、送信要求パケットに含まれるレベル情
報としては、送信元ノード名(番号)や送信内容に応じ
て定められたデータなどが考えられる。これにより、送
信要求パケットがほぼ同時に発生した場合に、制御ノー
ドが優先順位を定めることが可能になる。但し、このレ
ベル情報のサイズがあまり大きくなると、調停モード中
に複数のノードからの送信要求パケットが衝突する可能
性が大きくなることが予想されるので、レベル情報につ
いては最小限の情報に抑える必要がある。
As the level information included in the transmission request packet, the source node name (number) and data determined according to the transmission content can be considered. This allows the control node to set the priority order when the transmission request packets are generated almost at the same time. However, if the size of this level information becomes too large, it is expected that the transmission request packets from multiple nodes will collide during the arbitration mode, so it is necessary to keep the level information to a minimum. There is.

【0041】調停モード中(図5ステップ(5))に、
このような送信要求パケットを受信した(図5ステップ
(5))ホストは調停終了パケットを各ノードに対して
送信する(図5ステップ(8))。
During the arbitration mode (step (5) in FIG. 5),
Upon receiving such a transmission request packet (step (5) in FIG. 5), the host transmits an arbitration end packet to each node (step (8) in FIG. 5).

【0042】この調停終了パケットを受けた各ノードは
スイッチをループ接続状態にして調停モードから通常モ
ードに戻る(図4ステップ(6),(7))。そして、
ホストは、送信要求パケットを出力したノード(要求ノ
ード))と通信を行うようにする(図5ステップ
(9),図4ステップ(11),(12),(1
3))。調停モード中にいくつかのノードから送信要求
パケットが送信された場合には、送信要求パケットに含
まれるレベル情報を参照してホストが優先順位を定める
ようにする。従って、このレベル情報により調停が速や
かに行なわれるようになる。そして、例えば優先順位に
従って送信を許可することが可能である。
Receiving this arbitration end packet, each node sets the switch in a loop connection state and returns from the arbitration mode to the normal mode (steps (6) and (7) in FIG. 4). And
The host communicates with the node (requesting node) that has output the transmission request packet (step (9) in FIG. 5, steps (11), (12), and (1) in FIG. 4).
3)). When a transmission request packet is transmitted from some nodes in the arbitration mode, the host determines the priority by referring to the level information included in the transmission request packet. Therefore, the arbitration can be quickly performed by this level information. Then, for example, it is possible to permit the transmission according to the priority order.

【0043】必要な通信が終わると、要求ノードはスイ
ッチをループ接続状態にして通常状態に戻る(図4ステ
ップ(14))。従って、以上のように調停モードを設
け、ホストは調停モード中の送信要求パケットを検出,
調停することで、ホスト以外の一般ノードからの要求で
いつでも送信を行うことができるようになる。この結
果、ホストが一定周期で一般ノードを呼ぶ必要がなくな
り、ホストの負担及びループの使用頻度が減る。そし
て、一般ノードにとっては、データ衝突を避けるための
操作は送信要求パケットに対してだけになり、それ以外
のパケットではスイッチをループ接続状態にしておけば
よく、各一般ノードの負担が軽減される。
When the required communication is completed, the requesting node switches the switch to the loop connection state and returns to the normal state (step (14) in FIG. 4). Therefore, the arbitration mode is provided as described above, and the host detects the transmission request packet in the arbitration mode,
By arbitrating, it becomes possible to perform transmission at any time by a request from a general node other than the host. As a result, the host does not need to call the general node at regular intervals, and the load on the host and the frequency of loop usage are reduced. Then, for the general node, the operation for avoiding the data collision is only for the transmission request packet, and for the other packets, the switch may be in the loop connection state, which reduces the load on each general node. .

【0044】尚、以上の実施例においては、ホストと一
般ノードとの間の通信を行う場合について説明をしてき
た。このようなホスト〜一般ノードの通信に代えて、各
ノード間(一般ノード同士)の通信を行うようにするこ
とも可能である。
In the above embodiments, the case where the communication between the host and the general node is performed has been described. Instead of such communication between the host and the general node, communication between the respective nodes (general nodes) may be performed.

【0045】このように一般ノード同士の通信を行う場
合にも、調停開始及び終了のパケットを送信する制御ノ
ード(ホストまたはアービタ(arbiter ))が必要であ
ることは上述の各実施例と同様である。そして、この制
御ノードが送信要求パケットを送信したノードに許可を
与えるようにする。ホスト〜一般ノードの通信の場合に
は送信許可後に返信という形で通信を行ったが、ノード
間の通信を行う場合にも制御ノードから送信要求パケッ
トを送信したノードに対して送信許可信号(送信許可パ
ケット等)を送るようにする。そして、この送信許可信
号を受けたノードが他のノードに対して通信を行なうよ
うにする。
As described above, it is necessary to have a control node (host or arbiter) for transmitting arbitration start and end packets even when performing communication between general nodes. is there. Then, this control node gives permission to the node that transmitted the transmission request packet. In the case of communication from the host to the general node, communication was performed in the form of a reply after permitting transmission, but when communicating between nodes, the control node also transmits a transmission permission signal (transmission) to the node that transmitted the transmission request packet. Permission packet). Then, the node that receives this transmission permission signal communicates with other nodes.

【0046】ここに示した一般ノード同士の通信を行う
場合、送信要求パケットに含まれるレベル情報として
は、上述の一般ノードと制御ノードとの通信の実施例の
説明と同様に単純に送信元ノード名(番号)を示すだけ
のもの、送信元ノード名と送信相手先ノード名を示すも
の、または、送信したい内容(エラー(error :誤り)
の内容等)をある程度組み込むことなど、種々の変形や
内容の追加が可能である。これにより、ノード間の通信
について、制御ノードが送信許可と優先順位とを定める
ことが可能になる。但し、このレベル情報のサイズがあ
まり大きくなると、調停モード中に複数のノードからの
送信要求パケットが衝突する可能性が大きくなることが
予想されるので、レベル情報については最小限の情報に
抑える必要がある。
When the general nodes shown here are communicated with each other, the level information included in the transmission request packet is simply the source node as in the above description of the embodiment of the communication between the general node and the control node. Name (number) only, source node name and destination node name, or what you want to send (error: error)
The contents can be incorporated to some extent, and various modifications and contents can be added. This allows the control node to determine transmission permission and priority for communication between nodes. However, if the size of this level information becomes too large, it is expected that the transmission request packets from multiple nodes will collide during the arbitration mode, so it is necessary to keep the level information to a minimum. There is.

【0047】また、以上の各実施例において、調停開始
パケットと調停終了パケットとは、1度で全ノードに共
通に伝達される形のもの(共通パケット)でも良いが、
ホストやアービタが個別に各ノードに送信する形式のも
のでも良い。
Further, in each of the above embodiments, the arbitration start packet and the arbitration end packet may be of a form that is commonly transmitted to all nodes at once (common packet).
The format may be such that the host or arbiter individually transmits to each node.

【0048】以上詳細に説明したように、複数のノード
がループ状に接続されたループ状シリアル通信網におけ
る通信手順であって、ホストとなる制御ノードから調停
モードであることを示す特定の通信があった後に、制御
ノード以外の送信を行いたいノードは送信要求パケット
を制御ノードに対して送出し、前記送信要求パケットを
送出したノードであって、制御ノードからの送信許可信
号を受けたノードが送信を行うことを特徴とするループ
状シリアル通信手順によれば、これにより、ループ上で
のデータ衝突を回避しつつ、いずれのノードからでも送
信を開始することが可能になる。
As described in detail above, in the communication procedure in the loop serial communication network in which a plurality of nodes are connected in a loop, a specific communication indicating that the control node as the host is in the arbitration mode is performed. After that, the node other than the control node that wants to transmit transmits a transmission request packet to the control node, and the node that has transmitted the transmission request packet and that has received the transmission permission signal from the control node is According to the loop-shaped serial communication procedure characterized by performing transmission, it becomes possible to start transmission from any node while avoiding data collision on the loop.

【0049】また、複数のノードがループ状に接続され
たループ状シリアル通信網であって、他のノードからの
送信を許可可能な状態のときに調停モードであることを
示す調停開始パケットを各ノードに対して送出し、各ノ
ードから送信要求パケットを受けたときに調停を行って
送信を許可するノードに対して送信許可信号を送出する
制御ノードと、調停開始パケットを受けてからデータ送
信を行う要求があるときに送信要求パケットを制御ノー
ドに対して送出し、制御ノードからの送信許可信号を受
けてから送信を行うノードと、を備えたことを特徴とす
るループ状シリアル通信網によれば、制御ノード以外の
一般ノードからの要求でいつでも送信を行うことができ
るようになり、ホストが一定周期で一般ノードを呼ぶ必
要がなくなり、制御ノードの負担及びループの使用頻度
が減る。そして、一般ノードにとっては、データ衝突を
避けるための操作は送信要求パケットに対してだけにな
り、それ以外のパケットではスイッチをループ接続状態
にしておけばよく、各一般ノードの負担が軽減される。
Further, in a loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and an arbitration start packet indicating that the arbitration mode is in the arbitration mode when transmission from another node can be permitted. A control node that sends to a node and sends a transmission enable signal to a node that performs arbitration and permits transmission when receiving a transmission request packet from each node and data transmission after receiving an arbitration start packet. A loop-type serial communication network characterized by comprising a node that transmits a transmission request packet to a control node when there is a request to perform, and transmits after receiving a transmission permission signal from the control node. In this case, it becomes possible to transmit at any time by a request from a general node other than the control node, which eliminates the need for the host to call the general node in a fixed cycle, and The frequency of use of the burden and the loop of the node is reduced. Then, for the general node, the operation for avoiding the data collision is only for the transmission request packet, and for the other packets, the switch may be in the loop connection state, which reduces the load on each general node. .

【0050】そして、複数のノードがループ状に接続さ
れたループ状シリアル通信網であって、他のノードから
の送信を許可可能な状態のときに調停モードであること
を示す調停開始パケットを各ノードに対して送出し、各
ノードから送信要求パケットを受けたときに、この送信
要求パケット内のレベル情報に応じて調停を行うことで
送信を許可するノードを決定し、送信を許可するノード
に対して送信許可信号を送出する制御ノードと、調停開
始パケットを受けてからデータ送信を行う要求があると
きには予め定められたレベル情報を含む送信要求パケッ
トを制御ノードに対して送出し、制御ノードからの送信
許可信号を受けてから送信を行うノードと、を備えたこ
とを特徴とするループ状シリアル通信網によれば、制御
ノード以外の一般ノードからの要求でいつでも送信を行
うことができるようになり、制御ノードが一定周期で一
般ノードを呼ぶ必要がなくなり、ホストの負担及びルー
プの使用頻度が減る。そして、一般ノードにとっては、
データ衝突を避けるための操作は送信要求パケットに対
してだけになり、それ以外のパケットではスイッチをル
ープ接続状態にしておけばよく、各一般ノードの負担が
軽減される。また、一般ノードからの送信開始要求パケ
ットが競合した場合であっても、レベル情報に基づいて
調停を行うことが容易になる。
An arbitration start packet indicating that the arbitration mode is in the loop serial communication network in which a plurality of nodes are connected in a loop and when transmission from another node can be permitted is transmitted. When sending to a node and receiving a transmission request packet from each node, arbitration is performed according to the level information in this transmission request packet to determine the nodes to which the transmission is permitted, and to the nodes that permit the transmission. To the control node which sends a transmission permission signal to the control node, and when there is a request to perform data transmission after receiving the arbitration start packet, the control node sends a transmission request packet containing predetermined level information to the control node. According to a loop-shaped serial communication network characterized by including a node that transmits after receiving a transmission permission signal of Will be able to transmit at any time request from over de, it eliminates the need for the control node is called a normal node at a constant period, reducing the frequency of use of the burden and the loop of the host. And for general nodes,
The operation for avoiding data collision is only for the transmission request packet, and for the other packets, the switch may be in the loop connection state, which reduces the load on each general node. Further, even when the transmission start request packets from the general nodes compete, it becomes easy to perform arbitration based on the level information.

【0051】更に、複数のノードがループ状に接続され
たループ状シリアル通信網であって、他のノードからの
送信を許可可能な状態のときに調停モードであることを
示す調停開始パケットを各ノードに対して送出し、各ノ
ードから送信要求パケットを受けたときに調停を行って
送信を許可するノードに対して送信許可信号を送出する
制御ノードと、調停開始パケットを受けてからデータ送
信を行う要求があるときに送信要求パケットを制御ノー
ドに対して送出し、制御ノードからの送信許可信号を受
けてから制御ノード以外の他のノードに対して送信を行
うノードと、を備えたことを特徴とするループ状シリア
ル通信網によれば、制御ノード以外の一般ノードからの
要求で一般ノード間で送信を行うことができるようにな
り、制御ノードの負担及びループの使用頻度が減る。そ
して、一般ノードにとっては、データ衝突を避けるため
の操作は送信要求パケットに対してだけになり、それ以
外のパケットではスイッチをループ接続状態にしておけ
ばよく、各一般ノードの負担も軽減される。
Further, in a loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and an arbitration start packet indicating that the arbitration mode is in an arbitration mode when transmission from another node can be permitted. A control node that sends to a node and sends a transmission enable signal to a node that performs arbitration and permits transmission when receiving a transmission request packet from each node and data transmission after receiving an arbitration start packet. A node that sends a transmission request packet to the control node when there is a request to perform, and that transmits to a node other than the control node after receiving a transmission permission signal from the control node. According to the characteristic loop-shaped serial communication network, it becomes possible to perform transmission between general nodes in response to a request from a general node other than the control node. The frequency of use of the collateral and the loop is reduced. Then, for the general node, the operation for avoiding the data collision is only for the transmission request packet, and for the other packets, the switch may be in the loop connection state, and the load on each general node is reduced. .

【0052】[0052]

【発明の効果】以上詳細に説明したように、本発明のル
ープ状シリアル通信手順及びループ状シリアル通信網で
は、ホストとなる制御ノードから調停モードであること
を示す特定の通信があった後に、制御ノード以外の送信
を行いたいノードは送信要求パケットを制御ノードに対
して送出し、前記送信要求パケットを送出したノードで
あって、制御ノードからの送信許可信号を受けたノード
が送信を行うことを特徴とするループ状シリアル通信手
順によれば、これにより、ループ上でのデータ衝突を回
避しつつ、いずれのノードからでも制御ノード若しくは
他の一般のノードに対して送信を開始することが可能に
なる。
As described above in detail, in the loop-shaped serial communication procedure and loop-shaped serial communication network of the present invention, after the specific communication indicating the arbitration mode from the host control node, A node other than the control node that wants to transmit transmits a transmission request packet to the control node, and the node that has transmitted the transmission request packet and that has received the transmission permission signal from the control node performs transmission. According to the loop-like serial communication procedure characterized by this, it is possible to start transmission from any node to the control node or other general nodes while avoiding data collision on the loop. become.

【0053】また、送信開始要求パケットにノード番号
等のレベル情報を付加することで、一般ノードからの送
信開始要求が競合した場合であっても送信開始するノー
ドの優先順位を制御ノードが判断することが容易にな
り、調停を速やかに行えるようになる。
Further, by adding level information such as the node number to the transmission start request packet, the control node determines the priority of the node which starts the transmission even when the transmission start requests from the general nodes conflict. It becomes easier and arbitration can be performed quickly.

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

【図1】本発明の一実施例における制御ノードと一般ノ
ードとの処理手順であって、図1(a)は制御ノード側
から送信を行う場合の処理手順を示すフローチャートで
あり、図1(b)は一般ノード側から送信を行う場合の
処理手順を示すフローチャートである。
FIG. 1 is a flowchart showing a processing procedure between a control node and a general node according to an embodiment of the present invention, wherein FIG. 1A is a flowchart showing the processing procedure when transmission is performed from the control node side. b) is a flow chart showing a processing procedure when transmission is performed from the general node side.

【図2】本発明の一実施例で用いられるノードの構成を
示した構成図である。
FIG. 2 is a configuration diagram showing a configuration of a node used in an embodiment of the present invention.

【図3】本発明のループ状シリアル通信網の構成例を示
す構成図である。
FIG. 3 is a configuration diagram showing a configuration example of a loop-shaped serial communication network of the present invention.

【図4】本発明の一実施例における制御ノードの処理手
順を示すフローチャートである。
FIG. 4 is a flowchart showing a processing procedure of a control node according to an embodiment of the present invention.

【図5】本発明の一実施例における一般ノードの処理手
順を示すフローチャートである。
FIG. 5 is a flowchart showing a processing procedure of a general node according to an embodiment of the present invention.

【図6】従来のループ状シリアル通信網の構成例を示す
構成図である。
FIG. 6 is a configuration diagram showing a configuration example of a conventional loop serial communication network.

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

1 ループ 10〜14 ノード 10a スイッチ 10b 送受信デバイス 10c CPU 1 loop 10 to 14 nodes 10a switch 10b transmitting / receiving device 10c CPU

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のノードがループ状に接続されたル
ープ状シリアル通信網における通信手順であって、 ホストとなる制御ノードから調停モードであることを示
す特定の通信があった後に、 制御ノード以外の送信を行いたいノードは送信要求パケ
ットを制御ノードに対して送出し、 前記送信要求パケットを送出したノードであって、制御
ノードからの送信許可信号を受けたノードが送信を行う
ことを特徴とするループ状シリアル通信手順。
1. A communication procedure in a loop-shaped serial communication network in which a plurality of nodes are connected in a loop, wherein a control node is provided after a specific communication indicating that it is in an arbitration mode from a control node serving as a host. Other than the above, the node that wants to transmit transmits a transmission request packet to the control node, and the node that has transmitted the transmission request packet and that has received the transmission permission signal from the control node performs transmission. Loop-like serial communication procedure.
【請求項2】 複数のノードがループ状に接続されたル
ープ状シリアル通信網であって、 他のノードからの送信を許可可能な状態のときに調停モ
ードであることを示す調停開始パケットを各ノードに対
して送出し、各ノードから送信要求パケットを受けたと
きに調停を行って送信を許可するノードに対して送信許
可信号を送出する制御ノードと、 調停開始パケットを受けてからデータ送信を行う要求が
あるときに送信要求パケットを制御ノードに対して送出
し、制御ノードからの送信許可信号を受けてから送信を
行うノードと、を備えたことを特徴とするループ状シリ
アル通信網。
2. A loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and an arbitration start packet indicating that the arbitration mode is in an arbitration mode when transmission from another node can be permitted. A control node that sends a transmission request signal to a node, performs arbitration when receiving a transmission request packet from each node, and sends a transmission permission signal to the node that permits transmission, and data transmission after receiving an arbitration start packet. A loop-shaped serial communication network, comprising: a node that transmits a transmission request packet to a control node when there is a request to perform, and transmits after receiving a transmission permission signal from the control node.
【請求項3】 複数のノードがループ状に接続されたル
ープ状シリアル通信網であって、 他のノードからの送信を許可可能な状態のときに調停モ
ードであることを示す調停開始パケットを各ノードに対
して送出し、各ノードから送信要求パケットを受けたと
きに、この送信要求パケット内のレベル情報に応じて調
停を行うことで送信を許可するノードを決定し、送信を
許可するノードに対して送信許可信号を送出する制御ノ
ードと、 調停開始パケットを受けてからデータ送信を行う要求が
あるときには予め定められたレベル情報を含む送信要求
パケットを制御ノードに対して送出し、制御ノードから
の送信許可信号を受けてから送信を行うノードと、を備
えたことを特徴とするループ状シリアル通信網。
3. A loop-shaped serial communication network in which a plurality of nodes are connected in a loop, and an arbitration start packet indicating that the arbitration mode is in an arbitration mode when transmission from another node can be permitted. When sending to a node and receiving a transmission request packet from each node, arbitration is performed according to the level information in this transmission request packet to determine the nodes to which the transmission is permitted, and to the nodes that permit the transmission. To the control node, which sends a transmission permission signal to the control node, and when there is a request to perform data transmission after receiving the arbitration start packet, the control node sends a transmission request packet containing predetermined level information to the control node. And a node which transmits after receiving the transmission permission signal of the loop serial communication network.
【請求項4】 複数のノードがループ状に接続されたル
ープ状シリアル通信網であって、 他のノードからの送信を許可可能な状態のときに調停モ
ードであることを示す調停開始パケットを各ノードに対
して送出し、各ノードから送信要求パケットを受けたと
きに調停を行って送信を許可するノードに対して送信許
可信号を送出する制御ノードと、 調停開始パケットを受けてからデータ送信を行う要求が
あるときに送信要求パケットを制御ノードに対して送出
し、制御ノードからの送信許可信号を受けてから制御ノ
ード以外の他のノードに対して送信を行うノードと、を
備えたことを特徴とするループ状シリアル通信網。
4. A loop serial communication network in which a plurality of nodes are connected in a loop, and an arbitration start packet indicating that the arbitration mode is in an arbitration mode when transmission from another node is permitted. A control node that sends a transmission request signal to a node, performs arbitration when receiving a transmission request packet from each node, and sends a transmission permission signal to the node that permits transmission, and data transmission after receiving an arbitration start packet. A node that sends a transmission request packet to the control node when there is a request to perform, and that transmits to a node other than the control node after receiving a transmission permission signal from the control node. A characteristic loop-shaped serial communication network.
JP28352794A 1994-11-17 1994-11-17 Loop shaped serial communication procedure and loop shaped serial communication network Pending JPH08149148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28352794A JPH08149148A (en) 1994-11-17 1994-11-17 Loop shaped serial communication procedure and loop shaped serial communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28352794A JPH08149148A (en) 1994-11-17 1994-11-17 Loop shaped serial communication procedure and loop shaped serial communication network

Publications (1)

Publication Number Publication Date
JPH08149148A true JPH08149148A (en) 1996-06-07

Family

ID=17666695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28352794A Pending JPH08149148A (en) 1994-11-17 1994-11-17 Loop shaped serial communication procedure and loop shaped serial communication network

Country Status (1)

Country Link
JP (1) JPH08149148A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6356568B1 (en) 1997-06-27 2002-03-12 Yazaki Corporation Communication method and communication system
EP3285438A4 (en) * 2015-03-30 2018-07-11 Honda Motor Co., Ltd. Communication system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6356568B1 (en) 1997-06-27 2002-03-12 Yazaki Corporation Communication method and communication system
EP3285438A4 (en) * 2015-03-30 2018-07-11 Honda Motor Co., Ltd. Communication system
US10447527B2 (en) 2015-03-30 2019-10-15 Honda Motor Co., Ltd. Communication system

Similar Documents

Publication Publication Date Title
US4560985A (en) Dual-count, round-robin distributed arbitration technique for serial buses
KR920001552B1 (en) Local area network system with a multi-computer system coupled method and method for controlling the same
JPH06261052A (en) Flow control device of shared bus
JPS63149939A (en) Token passing method for communication network and the communication network
US6657973B1 (en) Communications node, network system and method of controlling network system
JPH02246444A (en) Data transmission mechanism and system therefor
JPH02228854A (en) Data communication system and data communication method
US5442631A (en) Communication control device
US6490293B1 (en) Serial data communication bus system
JPH08149148A (en) Loop shaped serial communication procedure and loop shaped serial communication network
GB2301995A (en) Software driver for a system bus
JP2001325212A (en) Method and device for transmitting data block from source processor to destination processor in multiprocessor system
EP0169324B1 (en) Switching protocol with retry
KR940010847B1 (en) Bus holding relay apparatus
JP3154626B2 (en) Serial transmission device
JP2758752B2 (en) Common bus contention arbitration method
JPH06110831A (en) Data transfer device
JPH04106651A (en) Controller for system bus
US6865630B2 (en) Apparatus and method of preventing congestion in message transmission system
JP2000207352A (en) Memory access contention control method, circuit therefor and data processor
JP2839991B2 (en) Communication control method
JPH03270431A (en) Interprocessor communication system
KR100275069B1 (en) A method sending message between nodes by using hsb interface
JPH0414339A (en) Terminal equipment
JPS62181551A (en) Gate way device