JPH0771099B2 - Token passing data communication terminal device - Google Patents

Token passing data communication terminal device

Info

Publication number
JPH0771099B2
JPH0771099B2 JP61164648A JP16464886A JPH0771099B2 JP H0771099 B2 JPH0771099 B2 JP H0771099B2 JP 61164648 A JP61164648 A JP 61164648A JP 16464886 A JP16464886 A JP 16464886A JP H0771099 B2 JPH0771099 B2 JP H0771099B2
Authority
JP
Japan
Prior art keywords
transmission
signal processing
processing procedure
frame
control unit
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
JP61164648A
Other languages
Japanese (ja)
Other versions
JPS6320935A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP61164648A priority Critical patent/JPH0771099B2/en
Publication of JPS6320935A publication Critical patent/JPS6320935A/en
Publication of JPH0771099B2 publication Critical patent/JPH0771099B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、データ通信方式に係り、とくに、ループ状の
共通伝送路に複数の端末装置が接続され、端末装置の相
互の間で送信権すなわちフリートークンを受け渡すこと
によって通信を行なう、いわゆるトークンパッシング方
式によるデータ通信方式の端末装置に関する。
Description: TECHNICAL FIELD The present invention relates to a data communication system, and in particular, a plurality of terminal devices are connected to a common loop-shaped transmission line, and transmission rights are transmitted between the terminal devices. That is, the present invention relates to a terminal device of a data communication system by a so-called token passing system, which communicates by passing a free token.

(従来の技術) 従来、トークンパッシング方式の通信アルゴリズムすな
わち信号処理手順として3種類の方式が提案されてい
る。たとえば、日経エレクトロニクス、1983.3.14号
「バスとリングを軸に現場への浸透を図るローカルネッ
トワーク」第163〜166頁参照。その1つは、あるノード
において送信フレームの先頭が戻ったときにフリートー
クンを送出するシングルトークン方式、他の1つは、あ
るノードにおいて送信フレームをすべて引き取ってから
フリートークンを送出するシングルパケット方式、最後
に、あるノードにおいて送信フレームを送出してすぐフ
リートークンを送出するマルチトークン方式である。こ
れら各方式の名称は、山本他による「優先権を考慮した
トークンリングネットワークの性能評価」電子通信学会
技術報告、第83巻、第190号、SE−128による。
(Prior Art) Conventionally, three types of systems have been proposed as a token passing communication algorithm, that is, a signal processing procedure. See, for example, Nikkei Electronics, March 14, 1983, "Local Network for Penetrating Sites through Buses and Rings," pages 163-166. One is a single token method in which a node sends a free token when the head of a transmission frame returns, and the other is a single packet method in which a node collects all transmission frames and then sends a free token. Finally, it is a multi-token system in which a node sends a transmission frame and then immediately sends a free token. The name of each of these methods is based on "Performance Evaluation of Token Ring Network Considering Priority" by IEICE Technical Report, Volume 83, No. 190, SE-128 by Yamamoto et al.

(発明が解決しようとする問題点) 従来のトークンパッシングデータ通信システムでは、個
々のシステムでこれら3つのアルゴリズムのいずれをと
るかが固定的に定まっていた。したがって、そのシステ
ム含まれる各ノード装置は、そのシステムに応じたアル
ゴリズムを固定的に実現するようハードウエアが構成さ
れていた。つまり、これら3方式はそれぞれ、専用のハ
ードウエア構成を有するノード装置にて実現されてい
た。
(Problems to be Solved by the Invention) In the conventional token passing data communication system, it is fixedly determined which of these three algorithms is to be applied to each system. Therefore, each node device included in the system is configured with hardware so as to fixedly implement an algorithm according to the system. That is, each of these three methods has been realized by a node device having a dedicated hardware configuration.

このような従来の状況では、ある通信アルゴリズム方式
のノード装置をそのまま他の方式のトークンリングに適
用することができなかった。これは、ノード装置を供給
する製造者側からみれば、3種類のトークンリング方式
に応じて異なるハードウエア構成のノード装置を用意、
提供せねばならず、装置の供給を非効率化していた。ま
た、あるシステムに使用されているノード装置を何らか
の事情により他のシステムに転用することもできなかっ
た。
In such a conventional situation, a node device of a certain communication algorithm system cannot be directly applied to a token ring of another system. From the manufacturer side that supplies node devices, this is because node devices with different hardware configurations are prepared according to the three types of token ring systems.
It had to be provided, making the equipment supply inefficient. Also, the node device used in one system could not be diverted to another system due to some circumstances.

本発明はこのような従来技術の欠点を解消し、いずれの
通信アルゴリズム方式のトークンリングシステムにも共
通に適用可能なトークンパッシングデータ通信方式の端
末装置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above drawbacks of the prior art and to provide a terminal device of a token passing data communication system that can be commonly applied to any communication algorithm system token ring system.

(問題点を解決するための手段) 本発明は上述の問題点を解決するために、複数の端末装
置がループ状の共通伝送路に接続され、端末装置が送信
権を得ることによって伝送フレームの形式でデータを送
信するトークンパッシングデータ通信方式の端末装置
は、共通伝送路に接続され伝送フレームおよび送信権を
受信する受信手段と、共通伝送路に接続され、受信した
送信権および送信要求に応動して、共通伝送路について
所定の信号処理手順に従って伝送フレーム共通伝送路に
送信する送信手段と、受信手段に接続され、送信手段の
送出した伝送フレームの共通伝送路からの戻りを監視す
る監視手段とを有し、送信手段は、信号処理手順をプロ
グラム可能な記憶手段を含み、プログラムされた信号処
理手順に従って伝送フレームの共通伝送路への送信を実
行する。
(Means for Solving Problems) In order to solve the above-mentioned problems, the present invention connects a plurality of terminal devices to a loop-shaped common transmission line, and the terminal devices acquire a transmission right to transmit a transmission frame. A terminal device of the token passing data communication system that transmits data in a format is connected to a common transmission line and receives a transmission frame and a transmission right, and is connected to the common transmission line and responds to the received transmission right and a transmission request. Then, transmitting means for transmitting to the transmission frame common transmission path according to a predetermined signal processing procedure for the common transmission path, and monitoring means connected to the receiving means and monitoring the return of the transmission frame sent by the transmission means from the common transmission path. And the transmission means includes a storage means capable of programming the signal processing procedure, and a common transmission path of the transmission frame according to the programmed signal processing procedure. To send to.

(作 用) 本発明によれば、共通伝送路の信号処理手順方式に従っ
て、たとえばシングルトークン方式、シングルパケット
方式およびマルチトークン方式のいずれかに応じた信号
処理手順が記憶手段に設定される。たとえばシングルト
ークン方式では、監視手段が送信フレームの先頭部分の
戻りを検出してから送信権を送出するよう、送信手段が
記憶手段の信号処理手順に従って送信の実行を行なう。
またシングルパケット方式では、監視手段が送信フレー
ムの末尾部分の戻りを検出してから送信権を送出するよ
う、送信手段が記憶手段の信号処理手順に従って送信の
実行を行なう。同様にマルチトークン方式では、送信フ
レームの送出を終了するとすぐ送信権を送出するよう、
送信手段が記憶手段の信号処理手順に従って送信の実行
を行なう。
(Operation) According to the present invention, the signal processing procedure according to the signal processing procedure method of the common transmission line, for example, the single token method, the single packet method, or the multi-token method is set in the storage means. For example, in the single token system, the transmitting means executes the transmission in accordance with the signal processing procedure of the storing means so that the monitoring means detects the return of the head portion of the transmission frame and then transmits the transmission right.
Further, in the single packet method, the transmitting means executes the transmission in accordance with the signal processing procedure of the storing means so that the monitoring means detects the return of the end portion of the transmission frame and then transmits the transmission right. Similarly, in the multi-token method, as soon as the transmission of the transmission frame ends, the transmission right is transmitted,
The transmission means executes the transmission according to the signal processing procedure of the storage means.

(実施例) 次に添付図面を参照して本発明によるトークンパッシン
グデータ通信方式の実施例を詳細に説明する。
(Embodiment) Next, an embodiment of a token passing data communication system according to the present invention will be described in detail with reference to the accompanying drawings.

たとえば第2図(a)に示すように、本発明によるトー
クンパッシングデータ通信方式の特定の実施例では、ル
ープ状の共通伝送路すなわちループ5に複数のノード装
置すなわち端末装置10が接続されている。ノード装置10
は銅実施例では、A〜Dの4箇所に配置され、ホスト機
がこれに接続される。
For example, as shown in FIG. 2A, in a specific embodiment of the token passing data communication system according to the present invention, a plurality of node devices, that is, terminal devices 10 are connected to a loop-shaped common transmission line, that is, loop 5. . Node device 10
In the copper embodiment, are arranged at four positions A to D, and the host machine is connected thereto.

リング5には、伝送フレーム7に先立って送信権すなわ
ちフリートークン6が伝送される。伝送フレーム7は、
第6図に示すように、フレーム7の先頭を示すヘッダH,
これに続いて着信ノードないしは端末装置のアドレスを
示す着信アドレスDA、さらに発信ノードないしは端末装
置のアドレスを示す発信アドレスSA、そのあとに伝送す
べきデータD,最後に伝送フレーム7の終了を示す終了フ
ィールドEから構成されている。
The transmission right, that is, the free token 6, is transmitted to the ring 5 prior to the transmission frame 7. The transmission frame 7 is
As shown in FIG. 6, a header H, which indicates the beginning of the frame 7,
This is followed by a destination address DA indicating the address of the destination node or terminal device, a source address SA indicating the address of the source node or terminal device, data D to be transmitted thereafter, and finally an end indicating the end of the transmission frame 7. It is composed of field E.

各ノードA〜Dに配置されるノード装置10は、第1図に
示すように、基本的には、フレーム・送信権受信制御部
104,送信制御部110,戻りフレーム受信制御部113,および
メモリ118と、それらの関連回路とが図示のように接続
されて構成されている。
As shown in FIG. 1, the node device 10 arranged in each of the nodes A to D basically has a frame / transmission right reception control unit.
104, a transmission control unit 110, a return frame reception control unit 113, a memory 118, and their related circuits are connected as shown in the figure.

共通伝送路5は、シフトレジスタ101に接続され、シフ
トレジスタ101にて直列信号が並列信号に変換される。
これはレジスタ102に一時的に蓄積され、セレクタ(SEL
1)103にてフレーム・送信権受信制御部104または戻り
フレーム受信制御部113のいずれかに転送される。その
切換え制御はSEL1制御部115にて制御される。
The common transmission line 5 is connected to the shift register 101, and the shift register 101 converts a serial signal into a parallel signal.
This is temporarily stored in the register 102, and the selector (SEL
1) At 103, the frame / transmission right reception control unit 104 or the return frame reception control unit 113 transfers the frame. The switching control is controlled by the SEL1 control unit 115.

フレーム・送信権受信制御部104は、伝送路5から受信
したフレーム7やフリートークン6と送信要求に応じて
LEL1制御部115や送信制御部110を制御する機能部であ
り、その出力線126は第2のセレクタ(SEL2)106および
受信FIFO(ファーストイン・ファーストアウトメモリ)
116に接続されている。
The frame / transmission right reception control unit 104 responds to the frame 7 or the free token 6 received from the transmission path 5 and the transmission request.
It is a functional unit that controls the LEL1 control unit 115 and the transmission control unit 110, and its output line 126 has a second selector (SEL2) 106 and a reception FIFO (first-in first-out memory).
It is connected to 116.

送信制御部110は本発明の重要部分をなす機能部であ
り、フリートークン6の受信や送信要求132に基づいて
フリートークン6の伝送フレーム7の送信を制御する。
送信制御部110は制御プログラム部202を有し、これは、
本ノード装置10が適用されるループないしはトークンリ
ング5の通信アルゴリズムすなわち信号処理手順を実現
する制御プログラムが格納される記憶装置である。制御
プログラム部202は、たとえば読出し専用記憶装置(RO
M)またはプログラム可能な論理アレイ(PLA)などのプ
ログラム可能な記憶装置にて有利に構成される。
The transmission control unit 110 is a functional unit that forms an important part of the present invention, and controls the reception of the free token 6 and the transmission of the transmission frame 7 of the free token 6 based on the transmission request 132.
The transmission control unit 110 has a control program unit 202, which is
The storage device stores a control program that implements a communication algorithm of the loop or token ring 5 to which the node device 10 is applied, that is, a signal processing procedure. The control program unit 202 is, for example, a read-only storage device (RO
M) or a programmable storage device such as a programmable logic array (PLA).

なお本明細書において、用語「記憶装置」は、ROMなど
の通常の記憶装置のみならず、所望の論理シーケンスに
プログラム可能な回路、たとえばPLAなどを包含する広
義に解釈するものとする。同様に用語「プログラム可
能」も、プログラムステップを蓄積可能な状態のみなら
ず、入出力の対応関係が所望に応じて設定可能な場合を
含むように解釈するものとする。
In this specification, the term “memory device” is to be broadly interpreted to include not only a normal memory device such as a ROM but also a circuit programmable to a desired logic sequence, such as a PLA. Similarly, the term “programmable” is to be construed to include not only the state in which program steps can be stored but also the case where the input / output correspondence can be set as desired.

送信制御部110は、制御プログラム部202の出力をラッチ
するフリップフロップ201,制御プログラムの状態遷移番
号(SEQNO)を選択するセレクタ(SEL3)203、フリート
ークン6を送出する送信権送出回路121が図示のように
接続されて構成されている。
The transmission control unit 110 includes a flip-flop 201 that latches the output of the control program unit 202, a selector (SEL3) 203 that selects the state transition number (SEQNO) of the control program, and a transmission right transmission circuit 121 that transmits the free token 6. Are connected and configured as follows.

戻りフレーム受信制御部113は、送出したフレーム7の
ループ5からの戻りを監視する機能部であり、フレーム
終了フィールドEを検出するフレーム終了フィールド検
出回路128,および受信フレーム7の先頭部分、たとえば
その送信アドレスSAの自己ノードアドレスとの一致を検
出するSA一致検出回路127が図示のように接続されて構
成されている。
The return frame reception control unit 113 is a functional unit that monitors the return of the transmitted frame 7 from the loop 5, and includes a frame end field detection circuit 128 that detects the frame end field E, and the head portion of the received frame 7, for example, its An SA coincidence detection circuit 127 for detecting the coincidence of the transmission address SA with its own node address is connected and configured as shown.

共通伝送路107に送信すべきフリートークン6,および伝
送フレーム7は、セレクタ(SEL2)106からシフトレジ
スタ107に転送される。セレクタ106は、フリートークン
6および伝送フレーム7のいずれを送信するかを選択す
る選択回路であり、その選択はSEL2制御部112によって
制御される。シフトレジスタ107は、その出力側が共通
伝送路5に接続され、並列データを直列データに変換し
て伝送路5に送出する回路である。
The free token 6 and the transmission frame 7 to be transmitted to the common transmission path 107 are transferred from the selector (SEL2) 106 to the shift register 107. The selector 106 is a selection circuit that selects which of the free token 6 and the transmission frame 7 is transmitted, and the selection is controlled by the SEL2 control unit 112. The shift register 107 is a circuit whose output side is connected to the common transmission line 5 and which converts parallel data into serial data and sends the serial data to the transmission line 5.

伝送データDはメモリ118に格納される。メモリ118は、
メモリバス117によって受信FIFO 116および送信FIFO 10
8に接続されている。受信FIFO 116および送信FIFO 108
は、共通伝送路5とメモリバス117との間のデータ転送
速度の差を調整するメモリであり、伝送路5から受信し
たデータは受信FIFO 116に、またこれに送信すべきデー
タは送信FIFO 108に一時格納される。
The transmission data D is stored in the memory 118. The memory 118 is
Receive FIFO 116 and Transmit FIFO 10 via Memory Bus 117
Connected to 8. Receive FIFO 116 and Transmit FIFO 108
Is a memory that adjusts the difference in data transfer rate between the common transmission path 5 and the memory bus 117. The data received from the transmission path 5 is received by the reception FIFO 116, and the data to be transmitted to this is transmitted by the transmission FIFO 108. Is temporarily stored in.

なお、ノード装置10は全体の通信動作を総括、制御する
ホスト機の全体制御部に接続され、これは蓄積プログラ
ム方式にて制御を実行する。しかし、図および説明の複
雑化を避けるため、この機能部は図示されていない。
The node device 10 is connected to the overall control unit of the host machine that controls the overall communication operation, and executes control by the storage program method. However, this functional part is not shown in order to avoid complication of the drawing and description.

ところで、ノード装置10をマルチトークン方式のノード
に適用する場合は、第3,2図に示す入出力論理を制御プ
ログラム部202に設定する。マルチトークン方式の場合
の動作シーケンスを第3.1図に示す。第3.1図以降の図に
おいて、円内の数字は前述の状態遷移番号SEQNOに対応
している。
By the way, when the node device 10 is applied to a multi-token node, the input / output logic shown in FIGS. 3 and 2 is set in the control program unit 202. Figure 3.1 shows the operation sequence for the multi-token method. In the figures after FIG. 3.1, the numbers in the circles correspond to the above-mentioned state transition number SEQNO.

マルチトークン方式では、送信フレーム7を送出した直
後にフリートークン6が送出される。ノード装置10にお
けるその信号処理手順は次のようである。まず、第2図
(a)に示すようにフリートークン6がループ5を巡回
しているとき、各ノードA〜Dにおけるフリートークン
6の処理を説明する。リング5より直列信号の形でフリ
ートークン6がノードAに到来すると、そのノード装置
10のシフトレジスタ101でこれが受信され、並列信号に
変換される。これはレジスタ102に保持される。
In the multi-token system, the free token 6 is transmitted immediately after the transmission frame 7 is transmitted. The signal processing procedure in the node device 10 is as follows. First, the processing of the free token 6 in each of the nodes A to D when the free token 6 is circulating in the loop 5 as shown in FIG. 2A will be described. When the free token 6 arrives at the node A from the ring 5 in the form of a serial signal, the node device
This is received by 10 shift registers 101 and converted into parallel signals. This is held in the register 102.

セレクタ103は通常状態では接続点b側を選択するよう
に設定されている。そこで、並列信号に変換されたフリ
ートークン6は、フレーム・送信権受信制御部104に入
力される。フレーム・送信権受信制御部104では、伝送
路5から受信したのがフリートークン6であるかフレー
ム7であるかの判定が行なわれる。
The selector 103 is set to select the connection point b side in the normal state. Therefore, the free token 6 converted into the parallel signal is input to the frame / transmission right reception control unit 104. The frame / transmission right reception control unit 104 determines whether it is the free token 6 or the frame 7 that is received from the transmission path 5.

フリートークン6の受信が検出されると、全体制御部か
らの送信要求132があるか否かの判定が行なわれる。送
信要求132が出ていないときは、受信したフリートーク
ン6は、フレーム・送信権受信制御部104から信号線105
を介してセレクタ106の入力aへ送られる。セレクタ106
は通常状態では接続点a側を選択するように設定されて
いる。そこでこのフリートークン6はそのままシフトレ
ジスタ107へ出力され、直接信号に変換されてループ5
へ送出される。このような処理手順が各ノードA〜Dの
ノード装置10にて実行される。
When the reception of the free token 6 is detected, it is determined whether or not there is a transmission request 132 from the overall control unit. When the transmission request 132 is not issued, the received free token 6 is transmitted from the frame / transmission right reception control unit 104 to the signal line 105.
Is sent to the input a of the selector 106 via. Selector 106
Is set to select the connection point a side in the normal state. Therefore, this free token 6 is directly output to the shift register 107, directly converted into a signal, and then the loop 5
Sent to. Such a processing procedure is executed by the node device 10 of each of the nodes A to D.

第2図(b)に示すように、たとえばノードAがフリー
トークン6を受けて(同図(a))送信権を獲得し、デ
ータを送信しようとする場合を説明する。ノードAのノ
ード装置10にループ5よりフリートークン6が到来する
と、これはシフトレジスタ101により並列信号に変換さ
れ、レジスタ102に保持される。セレクタ103は通常状態
では接続点b側を選択するように設定されているので、
フリートークン6はフレーム・送信権受信制御部104に
転送される。同制御部104は、このとき受けた信号がフ
レーム7のヘッダHであるかフリートークン6であるか
を判定する。フリートークン6の受信が検出されると、
全体制御部からの送信要求132があるか否かの判定が行
なわれる。送信要求132があると、フレーム・送信権受
信制御部104はこれをフレーム7のヘッダHに変換して
信号線105を介してセレクタ106の入力aへ送る。セレク
タ106は通常状態では接続点a側が選択されているの
で、このヘッダHはシフトレジスタ107へ導かれ、直列
信号に変換されてループ5へ送出される。
As shown in FIG. 2B, a case where node A receives a free token 6 (FIG. 2A), acquires a transmission right, and tries to transmit data will be described. When the free token 6 arrives at the node device 10 of the node A from the loop 5, this is converted into a parallel signal by the shift register 101 and held in the register 102. Since the selector 103 is set to select the connection point b side in the normal state,
The free token 6 is transferred to the frame / transmission right reception control unit 104. The control unit 104 determines whether the signal received at this time is the header H of the frame 7 or the free token 6. When the reception of free token 6 is detected,
It is determined whether or not there is a transmission request 132 from the overall control unit. When there is a transmission request 132, the frame / transmission right reception control unit 104 converts this into the header H of the frame 7 and sends it to the input a of the selector 106 via the signal line 105. Since the connection point a side is selected in the selector 106 in the normal state, the header H is guided to the shift register 107, converted into a serial signal, and sent to the loop 5.

このフレーム・送信権受信制御部104におけるフリート
ークン6のヘッダHへの交換と同時に、フレーム・送信
権受信制御部104は制御線109により送信制御部110を起
動する。信号線105を経由して送出されたヘッダHがセ
レクタ106を通過後、送信制御部110は信号線130によっ
てSEL2制御部112を起動する。これによってSEL2制御部1
12はセレクタ106の接続点をa側からb側に切り換え
る。そこで送信制御部110は、送信FIFO108からデータD
を取り出し、データの送信を開始する。送信制御部110
は、ヘッダHに続けて、着信アドレスDA、発信アドレス
SAおよび終了フィールドEを付加するなどして、伝送フ
レーム7を組み立てて送信を行なう。
Simultaneously with the exchange of the free token 6 for the header H in the frame / transmission right reception control unit 104, the frame / transmission right reception control unit 104 activates the transmission control unit 110 through the control line 109. After the header H sent out via the signal line 105 passes through the selector 106, the transmission control unit 110 activates the SEL2 control unit 112 via the signal line 130. This allows SEL2 control unit 1
Reference numeral 12 switches the connection point of the selector 106 from a side to b side. Therefore, the transmission controller 110 sends the data D from the transmission FIFO 108.
To start sending data. Transmission control unit 110
Is header H, followed by incoming address DA and outgoing address
The transmission frame 7 is assembled and transmitted by adding the SA and the end field E.

フレーム・送信権受信制御部104の制御線109の起動によ
る送信制御部110の起動とともに、SEL1制御部115も起動
され、これに応動して同制御部115はセレクタ103の接続
点をb側からa側に切り換える。これによって、戻りフ
レーム受信制御部113がセレクタ103を介してレジスタ10
2に接続され、ループ5を巡回したフレーム7の戻りの
監視が行なわれる。
When the transmission control unit 110 is activated by the activation of the control line 109 of the frame / transmission right reception control unit 104, the SEL1 control unit 115 is also activated. In response to this, the control unit 115 makes the connection point of the selector 103 from the b side. Switch to side a. As a result, the return frame reception control unit 113 causes the register 10 via the selector 103.
The return of the frame 7 which is connected to 2 and circulates in the loop 5 is monitored.

第3.1図の動作フローを参照して、マルチトークン方式
の場合の送信制御部110の動作を詳述する。通常状態で
は、送信制御部110の制御プログラム部202の状態遷移番
号出力SEQNOは、第3.2図の入出力論理表における第4項
の状態、すなわち2進の「11」すなわち10進の「3」に
セットされている。すなわち第3.1図(c)のフローを
繰り返す。なお、以降の入出力論理表における「*」は
“don,t care"ビットを示す。
The operation of the transmission control unit 110 in the multi-token system will be described in detail with reference to the operation flow of FIG. In the normal state, the state transition number output SEQNO of the control program unit 202 of the transmission control unit 110 is the state of the fourth item in the input / output logic table of FIG. 3.2, that is, binary “11”, that is, decimal “3”. Is set to. That is, the flow of FIG. 3.1 (c) is repeated. In the following input / output logic table, "*" indicates a "don, t care" bit.

フレーム7を送信する際、送信制御部110のセレクタ203
は、それまで通常状態として接続点a側が選択されてい
たが、フレーム・送信権受信制御部104によって制御線1
09が起動されると、所定の期間、接続点b側に切り換え
られる。接続点b側には2進数「00」が固定的に入力さ
れているので、セレクタ203から制御プログラム部202の
状態遷移番号入力SEQNOが「00」にセットされる。
When transmitting the frame 7, the selector 203 of the transmission control unit 110
The connection point a side was selected as the normal state until then, but the frame / transmission right reception control unit 104 controls the control line 1
When 09 is activated, it is switched to the connection point b side for a predetermined period. Since the binary number "00" is fixedly input to the connection point b side, the state transition number input SEQNO of the control program section 202 from the selector 203 is set to "00".

このとき、送信要求132がオン、すなわち送信要求信号S
RDYが「1」であるので(300),制御プログラム部202
は第3.2図の入出力論理表における第1項の状態をと
る。すなわち、制御プログラム部202の状態遷移番号出
力SEQNOは2進の「00」、信号S−OUTが「1」すなわち
オンになる(302)。そこでフリップフロップ201がこの
状態にセットされ、信号S−OUTに応動してSEL2制御部1
12はセレクタ106の接続点をa側からb側に切り換え
る。そこで送信制御部110は、送信FIFO 108からデータ
Dを取り出し、データを送信する。この状態遷移「0」
は、送信要求信号SRDYがオフするまで継続し、送信制御
部110はデータの送信を続ける。すなわち第3.1図(a)
のフローを繰り返す。
At this time, the transmission request 132 is turned on, that is, the transmission request signal S
Since RDY is "1" (300), control program section 202
Takes the state of the first item in the input / output logic table in Figure 3.2. That is, the state transition number output SEQNO of the control program unit 202 is binary "00", and the signal S-OUT is "1", that is, turned on (302). Therefore, the flip-flop 201 is set to this state, and in response to the signal S-OUT, the SEL2 control unit 1
Reference numeral 12 switches the connection point of the selector 106 from a side to b side. Therefore, the transmission control unit 110 takes out the data D from the transmission FIFO 108 and transmits the data. This state transition "0"
Continues until the transmission request signal SRDY turns off, and the transmission control unit 110 continues transmitting data. That is, Fig. 3.1 (a)
Repeat the flow of.

フレーム終了フィールドEが送信FIFO 108から送出され
ると(第2図(b))、送信要求信号SRDYは全体制御部
によってオフにされる。制御プログラム部202は第3.2図
の入出力論理表における第2項の状態をとる。すなわ
ち、制御プログラム部210の状態遷移番号出力SEQNOは2
進の「01」となる。セレクタ203の接続状態は、接続点
a側を選択する状態に復帰しているので、状態遷移番号
出力SEQNO「01」がセレクタ203を介して制御プログラム
部202の同入力SEQNOに帰還される。したがって、制御プ
ログラム部202は同入出力論理表における第3項の状態
に移り(第3.2図)、信号T−SENDが「1」すなわちオ
ンになる(304)。そこでフリップフロップ201がこの状
態にセットされ、信号T−SENDに応動して、送信権制御
部121がフリートークン6の送出を開始するとともに、S
EL2制御部112はセレクタ106の接続点をc側に切り換え
る。そこでフリートークン6が送信権送出回路121から
セレクタ106を経由してループ5上に送信される。
When the frame end field E is transmitted from the transmission FIFO 108 (FIG. 2 (b)), the transmission request signal SRDY is turned off by the overall control unit. The control program section 202 assumes the state of the second item in the input / output logic table of FIG. That is, the state transition number output SEQNO of the control program unit 210 is 2
It will be a "01" of Susumu. Since the connection state of the selector 203 has returned to the state of selecting the connection point a side, the state transition number output SEQNO “01” is fed back to the same input SEQNO of the control program unit 202 via the selector 203. Therefore, the control program unit 202 shifts to the state of the third item in the same input / output logic table (Fig. 3.2), and the signal T-SEND becomes "1", that is, turned on (304). Therefore, the flip-flop 201 is set to this state, and in response to the signal T-SEND, the transmission right control unit 121 starts transmitting the free token 6 and S
The EL2 control unit 112 switches the connection point of the selector 106 to the c side. Then, the free token 6 is transmitted from the transmission right transmission circuit 121 to the loop 5 via the selector 106.

フリートークン6の送出後セレクタ106の接続点はa側
に復帰する。遷移状態「3」に移行すると、送信制御部
110は前述のようにこの「アイドル状態」を継続する第
3.1図(c))。これによって、フレーム7の送信終了
後直ちにフリートークン7を送出するマルチトークン方
式が実現される。
After sending the free token 6, the connection point of the selector 106 returns to the a side. When transitioning to the transition state “3”, the transmission control unit
110 is the first to continue this "idle state" as described above.
Figure 3.1 (c)). As a result, a multi-token system is realized in which the free token 7 is sent out immediately after the transmission of the frame 7 is completed.

送信したフレーム7はループ5を一巡して再び送信ノー
ドAに戻る(第2図(b)〜(d))。その際、セレク
タ103の接続点はa側に選択されているので、戻りフレ
ーム受信制御部113は、戻ってきたフレーム7を廃棄す
る。同制御部113のフレーム終了検出回路128は、受信フ
レーム7の終了フィールドEを検出するまでフレーム7
の廃棄を行ない、同フレーム7の最後まで廃棄が完了す
ると、制御縁129を起動する。SEL1制御部115はこれに応
動してセレクタ103を接続点b側に切り換える。これに
よってノード装置10は、通常のフレーム、フリートーク
ン受信状態に復帰する。
The transmitted frame 7 goes around the loop 5 and returns to the transmitting node A again (FIGS. 2B to 2D). At this time, since the connection point of the selector 103 is selected to the side a, the return frame reception control unit 113 discards the returned frame 7. The frame end detection circuit 128 of the control unit 113 continues until the end field E of the received frame 7 is detected.
When the discard is completed until the end of the same frame 7, the control edge 129 is activated. In response to this, the SEL1 control unit 115 switches the selector 103 to the connection point b side. As a result, the node device 10 returns to the normal frame and free token reception state.

さて、ノード装置10をシングルトークン方式のノードに
適用する場合は、第4.2図に示す入出力論理を制御プロ
グラム部202に設定する。その動作シーケンスを第4.1図
に示す。マルチトークンの場合と同様の手順にてループ
5上より到来したフリートークン6がノードAのノード
装置10において獲得される。これは、フレーム・送信権
受信制御部104にてフレーム7のヘッダHに変換され、
信号線105を介してセレクタ106へ送られる。セレクタ10
6は通常状態では接続点a側が選択されているので、こ
のヘッダHはシフトレジスタ107へ導かれ、直列信号に
変換されてループ5へ送出される。
When the node device 10 is applied to a single token type node, the input / output logic shown in FIG. 4.2 is set in the control program unit 202. The operation sequence is shown in Figure 4.1. The free token 6 arrived from the loop 5 is acquired in the node device 10 of the node A by the same procedure as in the case of the multi-token. This is converted into the header H of the frame 7 by the frame / transmission right reception control unit 104,
It is sent to the selector 106 via the signal line 105. Selector 10
Since the connection point a side of 6 is selected in the normal state, the header H is guided to the shift register 107, converted into a serial signal, and sent to the loop 5.

このフレーム・送信権受信制御部104におけるフリート
ークン6のヘッダHへの変換と同時に、フレーム・送信
権受信制御部104は制御線109により送信制御部110を起
動する。信号線105を経由して送出されたヘッダHがセ
レクタ106を通過後、送信制御部110は信号線130によっ
てSEL2制御部112を起動する。これによってSEL2制御部1
12はセレクタ106の接続点をa側からb側に切り換え
る。そこで送信制御部110は、送信FIFO 108からデータ
Dを取り出し、データの送信を開始する。送信制御部11
0は、ヘッダHに続けて、着信アドレスDA、発信アドレ
スSAおよび終了フィールドEを付加するなどして伝送フ
レーム7を組み立てて送信を行なう。
At the same time as the conversion of the free token 6 into the header H in the frame / transmission right reception control unit 104, the frame / transmission right reception control unit 104 activates the transmission control unit 110 through the control line 109. After the header H sent out via the signal line 105 passes through the selector 106, the transmission control unit 110 activates the SEL2 control unit 112 via the signal line 130. This allows SEL2 control unit 1
Reference numeral 12 switches the connection point of the selector 106 from a side to b side. Therefore, the transmission control unit 110 takes out the data D from the transmission FIFO 108 and starts data transmission. Transmission control unit 11
In 0, the header H is followed by the incoming address DA, the outgoing address SA, and the end field E to assemble the transmission frame 7 and transmit it.

フレーム・送信権受信制御部104の制御線109の起動によ
る送信制御部110の起動とともに、SEL1制御部115も起動
され、これに応動して同制御部115はセレクタ103の接続
点をb側からa側に切り換える。これによって、戻りフ
レーム受信制御部113がセレクタ103を介してレジスタ10
2に接続され、ループ5を巡回したフレーム7の戻りの
監視が行なわれる。
When the transmission control unit 110 is activated by the activation of the control line 109 of the frame / transmission right reception control unit 104, the SEL1 control unit 115 is also activated. In response to this, the control unit 115 makes the connection point of the selector 103 from the b side. Switch to side a. As a result, the return frame reception control unit 113 causes the register 10 via the selector 103.
The return of the frame 7 which is connected to 2 and circulates in the loop 5 is monitored.

第4.1図の動作フローを参照して、シングルトークン方
式の場合の送信制御部110の動作を詳述する。通常状態
では、通信制御部110の制御プログラム部202の状態遷移
番号出力SEQNOは、第4.2図の入出力論理表における第5
項の状態、すなわち2進の「11」すなわち10進の「3」
にセットされている。すなわち第4.1図(c)のフロー
を繰り返す。
The operation of the transmission control unit 110 in the case of the single token method will be described in detail with reference to the operation flow of FIG. In the normal state, the state transition number output SEQNO of the control program section 202 of the communication control section 110 is the fifth in the input / output logic table of FIG.
The state of the term, ie binary "11", ie decimal "3"
Is set to. That is, the flow of FIG. 4.1 (c) is repeated.

フレーム7を送信する際、送信制御部110のセレクタ203
は、それまで通常状態として接続点a側が選択されてい
たが、フレーム・送信権受信制御部104によって制御線1
09が起動されると、所定の期間、接続点b側に切り換え
られる。接続点b側には2進数「00」が固定的に入力さ
れているので、セレクタ203から制御プログラム部202の
状態遷移番号入力SEQNOが「00」にセットされる。
When transmitting the frame 7, the selector 203 of the transmission control unit 110
The connection point a side was selected as the normal state until then, but the frame / transmission right reception control unit 104 controls the control line 1
When 09 is activated, it is switched to the connection point b side for a predetermined period. Since the binary number "00" is fixedly input to the connection point b side, the state transition number input SEQNO of the control program section 202 from the selector 203 is set to "00".

このとき、送信要求132がオン、すなわち送信要求信号S
RDYが「1」であるので(300),制御プログラム部202
は第4.2図の入出力論理表における第1項の状態をと
る。すなわち、制御プログラム210の状態遷移番号出力S
EQNOは2進の「00」、信号S−OUTが「1」すなわちオ
ンになる(302)。そこでフリップフロップ201がこの状
態にセットされ、信号S−OUTに応動してSEL2制御部112
はセレクタ106の接続点をa側からb側に切り換える。
そこで送信制御部110は、送信FIFO 108からデータDを
取り出し、データを送信する。この状態遷移「0」は、
送信要求信号SRDYがオフするまで継続し、送信制御部11
0データの送信を続ける。すなわち第4.1図(a)のフロ
ーを繰り返す。
At this time, the transmission request 132 is turned on, that is, the transmission request signal S
Since RDY is "1" (300), control program section 202
Takes the state of the first item in the input / output logic table in Fig. 4.2. That is, the state transition number output S of the control program 210
EQNO is binary "00", and the signal S-OUT is "1", that is, turned on (302). Therefore, the flip-flop 201 is set to this state, and the SEL2 control unit 112 responds to the signal S-OUT.
Switches the connection point of the selector 106 from the side a to the side b.
Therefore, the transmission control unit 110 takes out the data D from the transmission FIFO 108 and transmits the data. This state transition "0" is
It continues until the transmission request signal SRDY turns off, and the transmission control unit 11
0 Continue sending data. That is, the flow of FIG. 4.1 (a) is repeated.

フレーム終了フィールドEが送信FIFO 108から送出され
ると、送信要求信号SRDYは全体制御部によってオフにさ
れる。制御プログラム部202は第4.2図の入出力論理表に
おける第2項の状態をとる。すなわち、制御プログラム
部210の状態遷移番号出力SEQNOは2進の「01」となる。
セレクタ203の接続状態は、接続点a側を選択する状態
に復帰しているので、状態遷移番号出力SEQNO「01」が
セレクタ203を介して制御プログラム部202の同入力SEQN
Oに帰還される。
When the frame end field E is transmitted from the transmission FIFO 108, the transmission request signal SRDY is turned off by the overall control unit. The control program unit 202 assumes the state of the second item in the input / output logic table of FIG. That is, the state transition number output SEQNO of the control program section 210 is binary "01".
Since the connection state of the selector 203 has returned to the state of selecting the connection point a side, the state transition number output SEQNO “01” is transmitted to the same input SEQN of the control program unit 202 via the selector 203.
Returned to O.

戻りフレーム受信制御部113は送信フレーム7の戻りを
監視している。そのSA一致検出回路127はフレーム7の
送信アドレスSAの受信を監視している。送信アドレスSA
が受信されないがぎりその制御出力線SAFが起動されな
いので、制御プログラム部201への入力遷移状態番号SEQ
NOは「01」、すなわち入出力論理表の第4項の状態をと
り続ける(第4.1図(b))。
The return frame reception control unit 113 monitors the return of the transmission frame 7. The SA coincidence detection circuit 127 monitors the reception of the transmission address SA of frame 7. Sending address SA
Since the control output line SAF is not activated unless is received, the input transition state number SEQ to the control program unit 201 SEQ
NO keeps "01", that is, the state of the fourth item of the input / output logic table (Fig. 4.1 (b)).

SA一致検出回路127がループ5を巡回して戻ってきたフ
レーム7の先頭部分、すなわちこの場合は送信アドレス
SAを検出すると、同回路127は信号線SAFをオン、すなわ
ち「1」とする(310)。したがって、制御プログラム
部202は同入出力論理表における第3項の状態に移り
(第4.2図)、信号T−SENDが「1」すなわちオンにな
る(312)。そこでフリップフロップ201がこの状態にセ
ットれ、信号T−SENDに応動して、送信権制御部121が
フリートークン6の送出を開始するとともに、SEL2制御
部112はセレクタ106の接続点をc側に切り換える。そこ
でフリートークン6が送信権送出回路121からセレクタ1
06を経由してループ5上に送信される。
The SA match detection circuit 127 circulates in the loop 5 and returns from the beginning of the frame 7, that is, the transmission address in this case.
When SA is detected, the circuit 127 turns on the signal line SAF, that is, sets it to "1" (310). Therefore, the control program unit 202 shifts to the state of the third term in the same input / output logic table (Fig. 4.2), and the signal T-SEND is "1", that is, turned on (312). Therefore, the flip-flop 201 is set to this state, and in response to the signal T-SEND, the transmission right control unit 121 starts transmitting the free token 6, and the SEL2 control unit 112 sets the connection point of the selector 106 to the c side. Switch. Therefore, the free token 6 is sent from the transmission right transmission circuit 121 to the selector 1
Sent on Loop 5 via 06.

フリートークン6の送出後セレクタ106の接続点はa側
に復帰する。遷移状態「3に移行すると、送信制御部11
0は前述のようにこの「アイドル状態」を継続する(第
4.1図(c))。これによって、フレーム7の先頭部分
を受信後フリートークン7を送出するシングルトークン
方式が実現される。
After sending the free token 6, the connection point of the selector 106 returns to the a side. When transitioning to the transition state “3, the transmission control unit 11
0 continues this "idle state" as described above (No.
4.1 (c)). As a result, the single token method in which the free token 7 is sent out after receiving the head portion of the frame 7 is realized.

送信したフレーム7はループ5を一巡して再び送信ノー
ドAに戻るが、セレクタ103の接続点はa側に選択され
ているので、戻りフレーム受信制御部113は、戻ってき
たフレーム7を廃棄する。同制御部113のフレーム終了
検出回路128は、受信フレーム7の最後までの廃棄を終
了すると、制御線129を付勢する。SEL1制御部115はこれ
に応動してセレクタ103を接続点b側に切り換える。こ
れによってノード装置10は、通常のフレーム、フリート
ークン受信状態に復帰する。
The transmitted frame 7 goes back through the loop 5 and returns to the transmitting node A again, but since the connection point of the selector 103 is selected to the side a, the return frame reception control unit 113 discards the returned frame 7. . The frame end detection circuit 128 of the control unit 113 activates the control line 129 when the discard of the received frame 7 until the end is completed. In response to this, the SEL1 control unit 115 switches the selector 103 to the connection point b side. As a result, the node device 10 returns to the normal frame and free token reception state.

ところで、ノード装置10をシングルパケット方式のノー
ドに適用する場合は、第5.2図に示す入出力論理を制御
プログラム部202に設定する。その動作シーケンスを第
5.1図に示す。マルチトークンの場合と同様の手順にて
ループ5上より到来したフリートークン6がノードAの
ノード装置10において獲得される。これは、フレーム・
送信権受信制御部104にてフレーム7のヘッダHに変換
され、信号線105を介してセレクタ106へ送られる。セレ
クタ106は通常状態では接続点a側が選択されているの
で、このヘッダHはシフトレジスタ107へ導かれ、直列
信号に変換されてループ5へ送出される。
By the way, when the node device 10 is applied to a single packet type node, the input / output logic shown in FIG. 5.2 is set in the control program unit 202. The operation sequence is
Shown in Figure 5.1. The free token 6 arrived from the loop 5 is acquired in the node device 10 of the node A by the same procedure as in the case of the multi-token. This is a frame
The transmission right reception control unit 104 converts the header H of the frame 7 and sends it to the selector 106 via the signal line 105. Since the connection point a side is selected in the selector 106 in the normal state, the header H is guided to the shift register 107, converted into a serial signal, and sent to the loop 5.

このフレーム・送信権受信制御部104におけるフリート
ークン6のヘッダHへの交換と同時に、フレーム・送信
権受信制御部104は制御線109により送信制御部110を起
動する。信号線105を経由して送出されたヘッダHがセ
レクタ106を通過後、送信制御部110は信号線130によっ
てSEL2制御部112を起動する。これによってSEL2制御部1
12はセレクタ106の接続点をa側からb側に切り換え
る。そこで送信制御部110は、送信FIFO 108からデータ
Dを取り出し、データの送信を開始する。送信制御部11
0は、ヘッダHに続けて、着信アドレスDA、発信アドレ
スSAおよび終了フィールドEを付加するなどして伝送フ
レーム7組み立てて送信を行なう。
Simultaneously with the exchange of the free token 6 for the header H in the frame / transmission right reception control unit 104, the frame / transmission right reception control unit 104 activates the transmission control unit 110 through the control line 109. After the header H sent out via the signal line 105 passes through the selector 106, the transmission control unit 110 activates the SEL2 control unit 112 via the signal line 130. This allows SEL2 control unit 1
Reference numeral 12 switches the connection point of the selector 106 from a side to b side. Therefore, the transmission control unit 110 takes out the data D from the transmission FIFO 108 and starts data transmission. Transmission control unit 11
When 0 is added to the header H, the incoming address DA, the outgoing address SA and the end field E are added, and the transmission frame 7 is assembled and transmitted.

フレーム・送信権受信制御部104の制御線109の起動によ
る送信制御部110の起動とともに、SEL1制御部115も起動
され、これに応動して同制御部115はセレクタ103の接続
点をb側からa側に切り換える。これによって、戻りフ
レーム受信制御部113がセレクタ103を介してレジスタ10
2に接続され、ループ5を巡回したフレーム7の戻りの
監視が行なわれる。
When the transmission control unit 110 is activated by the activation of the control line 109 of the frame / transmission right reception control unit 104, the SEL1 control unit 115 is also activated. In response to this, the control unit 115 makes the connection point of the selector 103 from the b side. Switch to side a. As a result, the return frame reception control unit 113 causes the register 10 via the selector 103.
The return of the frame 7 which is connected to 2 and circulates in the loop 5 is monitored.

第5.1図の動作フローを参照して、シングルパケット方
式の場合の送信制御部110の動作を詳述する。通常状態
では、送信制御部110の制御プログラム部202の状態遷移
番号出力SEQNOは、第5.2図の入出力論理表における第5
項の状態、すなわち2進の「11」すなわち10進の「3」
にセットされている。すなわち第5.1図(c)のフロー
を繰り返す。
The operation of the transmission control unit 110 in the case of the single packet method will be described in detail with reference to the operation flow of FIG. In the normal state, the state transition number output SEQNO of the control program unit 202 of the transmission control unit 110 is the 5th state in the input / output logic table of FIG.
The state of the term, ie binary "11", ie decimal "3"
Is set to. That is, the flow of FIG. 5.1 (c) is repeated.

フレーム7を送信する際、送信制御部110のセレクタ203
は、それまで通常状態として接続点a側が選択されてい
たが、フレーム・送信権受信制御部104によって制御線1
09が起動されると、所定の期間、接続点b側に切り換え
られる。接続点b側には2進数「00」が固定的に入力さ
れているので、セレクタ203から制御プログラム部202の
状態遷移番号入力SEQNOが「00」にセットされる。
When transmitting the frame 7, the selector 203 of the transmission control unit 110
The connection point a side was selected as the normal state until then, but the frame / transmission right reception control unit 104 controls the control line 1
When 09 is activated, it is switched to the connection point b side for a predetermined period. Since the binary number "00" is fixedly input to the connection point b side, the state transition number input SEQNO of the control program section 202 from the selector 203 is set to "00".

このとき、送信要求132がオン、すなわち送信要求信号S
RDYが「1」であるので(300),制御プログラム部202
は第5.2図の入出力論理表における第1項の状態をと
る。すなわち、制御プログラム部210の状態遷移番号出
力SEQNOは2進の「00」、信号S−OUTが「1」すなわち
オンになる(302)。そこでフリップフロップ201がこの
状態にセットされ、信号S−OUTに応動してSEL2制御部1
12はセレクタ106の接続点をa側からb側に切り換え
る。そこで送信制御部110は、送信FIFO 108からデータ
Dを取り出し、データを送信する。この状態遷移「0」
は、送信要求信号SRDYがオフするまで継続し、送信制御
部110はデータの送信を続ける。すなわち第5.1図(a)
のフローを繰り返す。
At this time, the transmission request 132 is turned on, that is, the transmission request signal S
Since RDY is "1" (300), control program section 202
Takes the state of the first item in the input / output logic table in Figure 5.2. That is, the state transition number output SEQNO of the control program section 210 is binary "00", and the signal S-OUT is "1", that is, turned on (302). Therefore, the flip-flop 201 is set to this state, and in response to the signal S-OUT, the SEL2 control unit 1
Reference numeral 12 switches the connection point of the selector 106 from a side to b side. Therefore, the transmission control unit 110 takes out the data D from the transmission FIFO 108 and transmits the data. This state transition "0"
Continues until the transmission request signal SRDY turns off, and the transmission control unit 110 continues transmitting data. That is, Figure 5.1 (a)
Repeat the flow of.

フレーム終了フィールドEが送信SFIFO 108から送出さ
れると、送信要求信号SRDYは全体制御部によってオフに
される。制御プログラム部202は第5.2図の入出力論理表
における第2項の状態をとる。すなわち、制御プログラ
ム部210の状態遷移番号出力SEQNOは2進の「01」とな
る。セレクタ203の接続状態は、接続点a側を選択する
状態に復帰しているので、状態遷移番号出力SEQNO「0
1」がセレクタ203を介して制御プログラム部202の同入
力SEQNOに帰還される。
When the frame end field E is transmitted from the transmission SFIFO 108, the transmission request signal SRDY is turned off by the overall control unit. The control program unit 202 takes the state of the second item in the input / output logic table of FIG. That is, the state transition number output SEQNO of the control program section 210 is binary "01". Since the connection state of the selector 203 has returned to the state of selecting the connection point a side, the state transition number output SEQNO “0
1 ”is fed back to the same input SEQNO of the control program section 202 via the selector 203.

戻りフレーム受信制御部113は送信フレーム7の戻りを
監視している。そのフレーム終了フィールド検出回路12
8はフレーム7の終了フィールドEの受信を監視してい
る。終了フィールドEが受信されないかぎりその制御出
力線129すなわち信号R−ENDが起動されないので、制御
プログラム部201への入力遷移状態番号SEQNOは「01」、
すなわち入出力論理表の第4項の状態をとり続ける(第
5.1図(b))。
The return frame reception control unit 113 monitors the return of the transmission frame 7. The end-of-frame field detection circuit 12
8 is monitoring the reception of the end field E of frame 7. Since the control output line 129, that is, the signal R-END is not activated unless the end field E is received, the input transition state number SEQNO to the control program section 201 is "01",
That is, the state of the fourth item of the input / output logic table is kept (the fourth item).
5.1 (b)).

フレーム終了フィールド検出回路128がループ5を巡回
して戻ってきたフレーム7終了フィールドEを検出する
と、同回路128は信号線R−ENDをオン、すなわち「1」
とする(320)。したがって、制御プログラム部202は同
入出力論理表における第3項の状態に移り(第5.2
図)、信号T−SENDが「1」すなわちオンになる(32
2)。そこでフリップフロップ201がこの状態にセットさ
れ、信号T−SENDに応動して、送信権制御部121がフリ
ートークン6の送出を開始するとともに、SEL2制御部11
2はセレクタ106の接続点をc側に切り換える。そこでフ
リートークン6が送信権送出回路121からセレクタ106を
経由してループ5上に送信される。
When the frame end field detection circuit 128 detects the frame 7 end field E which has returned after circulating through the loop 5, the circuit 128 turns on the signal line R-END, that is, "1".
(320). Therefore, the control program unit 202 shifts to the state of the third item in the same input / output logical table (see 5.2.
In the figure, the signal T-SEND is "1", that is, turned on (32
2). Therefore, the flip-flop 201 is set to this state, and in response to the signal T-SEND, the transmission right control unit 121 starts transmitting the free token 6 and the SEL2 control unit 11
2 switches the connection point of the selector 106 to the c side. Then, the free token 6 is transmitted from the transmission right transmission circuit 121 to the loop 5 via the selector 106.

フリートークン6の送出後セレクタ106の接続点はa側
に復帰する。遷移状態「3」に移行すると、送信制御部
110は前述のようにこの「アイドル状態」を継続する第
5.1図(c))。これによって、フレーム7の終了フィ
ールドEを受信後フリートークン7を送出するシングル
パケット方式が実現される。
After sending the free token 6, the connection point of the selector 106 returns to the a side. When transitioning to the transition state “3”, the transmission control unit
110 is the first to continue this "idle state" as described above.
5.1 (c)). This realizes the single packet method in which the free token 7 is transmitted after receiving the end field E of the frame 7.

受信したフレーム7はループ5を一巡して再び送信ノー
ドAに戻るが、セレクタ103の接続点はa側に選択され
ているので、戻りフレーム受信制御部113は、戻ってき
たフレーム7を廃棄する。同制御部113のフレーム終了
検出回路128は、受信フレーム7の最後まで廃棄を終了
すると、制御線129を付勢する。SEL1制御部115はこれに
応動してセレクタ103を接続点b側に切り換える。これ
によってノード装置10は、通常のフレーム、フリートー
クン受信状態に復帰する。
The received frame 7 goes back through the loop 5 and returns to the transmitting node A again, but since the connection point of the selector 103 is selected to the side a, the return frame reception control unit 113 discards the returned frame 7. . The frame end detection circuit 128 of the control unit 113 activates the control line 129 when the discard of the received frame 7 is completed. In response to this, the SEL1 control unit 115 switches the selector 103 to the connection point b side. As a result, the node device 10 returns to the normal frame and free token reception state.

(発明の効果) このように本発明によれば、端末装置におけるフレーム
送信機能部分にプログラム可能な記憶装置を使用し、そ
のアルゴリズムの内容をトークンリングの信号処理手順
方式に応じて設定することにより、信号処理手順方式の
如何によらず共通のハードウエアの端末装置を提供する
ことができる。つまり、いずれの通信アルゴリズム方式
のトークンリングシステムにも共通に適用可能である。
As described above, according to the present invention, the programmable storage device is used for the frame transmission function part of the terminal device, and the content of the algorithm is set according to the token ring signal processing procedure system. It is possible to provide a common hardware terminal device regardless of the signal processing procedure system. In other words, it can be commonly applied to any communication algorithm type token ring system.

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

第1図は本発明によるトークンパッシングデータ通信方
式を実現するノード装置の実施例を示す機能ブロック
図、 第2図は本発明によるトークンパッシングデータ通信方
式を説明するための説明図、 第3.1図、第4.1図および第5.1図は、本実施例における
それぞれマルチトークン方式、シングルトークン方式お
よびシグルパケット方式における同ノード装置の送信制
御部の動作フロー図、 第3.2図、第4.2図および第5.2図は、本実施例における
それぞれマルチトークン方式、シングルトークン方式お
よびシングルパケット方式における同ノード装置の制御
プログラム部に設定される入出力論理表を示す図、 第6図は同実施例で使用される伝送フレームのフォーマ
ット例を示す図である。 主要部分の符号の説明 5……共通伝送路 7……伝送フレーム 104……フレーム・送信権受信制御部 110……送信制御部 113……戻りフレーム受信制御部 201……フリップフロップ 202……制御プログラム部 203……セレクタ
FIG. 1 is a functional block diagram showing an embodiment of a node device for realizing the token passing data communication system according to the present invention, and FIG. 2 is an explanatory diagram for explaining the token passing data communication system according to the present invention, FIG. 3.1, FIGS. 4.1 and 5.1 are operation flow diagrams of the transmission control unit of the same node device in the multi-token system, the single token system and the sigle packet system, respectively, in FIG. 3.2, FIG. 4.2, FIG. 4.2 and FIG. FIG. 6 is a diagram showing an input / output logical table set in the control program unit of the same node device in the multi-token system, the single-token system and the single-packet system in the present embodiment, respectively. FIG. 6 is a transmission frame used in the embodiment. It is a figure which shows the example of a format of. Explanation of code of main part 5 …… Common transmission line 7 …… Transmission frame 104 …… Frame / transmission right reception control unit 110 …… Transmission control unit 113 …… Return frame reception control unit 201 …… Flip-flop 202 …… Control Program section 203 …… Selector

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】複数の端末装置がループ状の共通伝送路に
接続され、該端末装置が送信権を得ることによって伝送
フレームの形式でデータを送信するトークンパッシング
データ通信方式の端末装置において、該装置は、 前記共通伝送路に接続され、伝送フレームおよび送信権
を受信する受信手段と、 該受信手段および前記共通伝送路に接続され、該受信手
段にて受信した送信権および送信要求に応動して、該共
通伝送路についてトークンリングの信号処理手順方式に
応じた所定の信号処理手順に従って伝送フレームを該共
通伝送路に送信する送信手段と、 前記受信手段に接続され、前記送信手段の送出した伝送
フレームの前記共通伝送路からの戻りを監視する監視手
段とを有し、 前記送信手段は、前記信号処理手順をプログラム可能な
記憶手段を含み、前記トークンリングの信号処理手順方
式に応じて前記信号処理手順を該記憶手段に設定し、該
設定された信号処理手順に基づいて、伝送フレームの前
記共通伝送路への送信を実行することを特徴とするトー
クンパッシングデータ通信方式の端末装置。
1. A terminal device of a token passing data communication system, wherein a plurality of terminal devices are connected to a common loop transmission line, and the terminal device obtains a transmission right to transmit data in a transmission frame format. The device is connected to the common transmission path, receives a transmission frame and a transmission right, and is connected to the reception means and the common transmission path and responds to the transmission right and the transmission request received by the reception means. And transmitting means for transmitting a transmission frame to the common transmission path in accordance with a predetermined signal processing procedure corresponding to the token ring signal processing procedure method for the common transmission path, and connected to the receiving means, and sent by the transmission means. Monitoring means for monitoring the return of the transmission frame from the common transmission path, wherein the transmitting means is a storage device capable of programming the signal processing procedure. And a step of setting the signal processing procedure in the storage unit according to the signal processing procedure method of the token ring, and transmitting a transmission frame to the common transmission path based on the set signal processing procedure. A terminal device of a token passing data communication system characterized by:
【請求項2】特許請求の範囲第1項記載の装置におい
て、 前記監視手段は、前記受信した伝送フレームの先頭部分
および終了部分の検出する検出手段を含み、 前記記憶手段は、前記共通伝送路に固有の信号処理手順
の論理をプログラム可能な論理アレイを含み、 前記送信手段は、送信要求および信号処理手順における
現在の状態を保持する保持手段を含み、 該送信手段は、前記プログラム可能な論理アレイにプロ
グラムされたトークンリングの信号処理手順方式に応じ
た信号処理手順に従って、前記検出手段および保持手段
に応動して前記所定の信号処理手順の論理状態を演算
し、その演算結果に応じて伝送フレームの送信の状態遷
移を制御することによって、前記トークンリングの信号
処理手順方式に応じた信号処理手順に従った伝送フレー
ムの送信を行なうことを特徴とする端末装置。
2. The apparatus according to claim 1, wherein the monitoring unit includes a detection unit that detects a leading portion and an ending portion of the received transmission frame, and the storage unit includes the common transmission path. A logic array capable of programming the logic of a signal processing procedure specific to the transmitting means, the transmitting means includes a holding means for holding a transmission request and a current state in the signal processing procedure, and the transmitting means includes the programmable logic. According to a signal processing procedure according to the token ring signal processing procedure system programmed in the array, the logical state of the predetermined signal processing procedure is operated in response to the detection means and the holding means, and the signal is transmitted according to the operation result. By controlling the state transition of the frame transmission, the transmission frame according to the signal processing procedure according to the signal processing procedure method of the token ring. A terminal device characterized by transmitting a frame.
【請求項3】特許請求の範囲第1項記載の装置におい
て、 前記監視手段は、前記受信した伝送フレームの先頭部分
および終了部分を検出する検出手段を含み、 前記記憶手段は、前記共通伝送路に固有の信号処理手順
の論理を格納する読出し専用記憶装置を含み、 前記送信手段は、送信要求および信号処理手順における
現在の状態を保持する保持手段を含み、 前記送信手段は、該読出し専用記憶装置に格納されたト
ークンリングの信号処理方式に応じた信号処理手順に従
って、前記検出手段および保持手段に応動して前記所定
の信号処理手順の論理状態を演算し、その演算結果に応
じて伝送フレームの送信の状態遷移を制御することによ
って、前記トークンリングの信号処理手順に応じた信号
処理手順に従った伝送フレームの送信を行なうことを特
徴とする端末装置。
3. The apparatus according to claim 1, wherein the monitoring unit includes a detection unit that detects a head portion and an end portion of the received transmission frame, and the storage unit includes the common transmission path. A read-only storage device for storing the logic of a signal processing procedure specific to the above, the transmission means includes a holding means for holding a transmission request and a current state in the signal processing procedure, and the transmission means includes the read-only storage. In accordance with a signal processing procedure according to a token ring signal processing method stored in the device, a logical state of the predetermined signal processing procedure is calculated in response to the detection means and the holding means, and a transmission frame is calculated according to the calculation result. By controlling the state transition of the transmission of the transmission frame, the transmission frame is transmitted according to the signal processing procedure corresponding to the signal processing procedure of the token ring. And a terminal device.
JP61164648A 1986-07-15 1986-07-15 Token passing data communication terminal device Expired - Lifetime JPH0771099B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61164648A JPH0771099B2 (en) 1986-07-15 1986-07-15 Token passing data communication terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61164648A JPH0771099B2 (en) 1986-07-15 1986-07-15 Token passing data communication terminal device

Publications (2)

Publication Number Publication Date
JPS6320935A JPS6320935A (en) 1988-01-28
JPH0771099B2 true JPH0771099B2 (en) 1995-07-31

Family

ID=15797172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61164648A Expired - Lifetime JPH0771099B2 (en) 1986-07-15 1986-07-15 Token passing data communication terminal device

Country Status (1)

Country Link
JP (1) JPH0771099B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0828734B2 (en) * 1989-06-09 1996-03-21 日本電気株式会社 Data transfer control method for slotted loop network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58150345A (en) * 1982-03-02 1983-09-07 Toshiba Corp Loop-shaped data transmission method
JPS61125253A (en) * 1984-11-20 1986-06-12 Fujitsu Ltd Medium access control system

Also Published As

Publication number Publication date
JPS6320935A (en) 1988-01-28

Similar Documents

Publication Publication Date Title
JP2515313B2 (en) Packet switching network
CA1227556A (en) Data signal switching systems
US4939752A (en) Distributed timing recovery for a distributed communication system
US5404461A (en) Broadcast/switching apparatus for executing broadcast/multi-cast transfers over unbuffered asynchronous switching networks
CA2131080C (en) Path changing system and method for use in atm communication apparatus
US4352180A (en) Digital time-division multiplex telecommunication system
US4542380A (en) Method and apparatus for graceful preemption on a digital communications link
KR100297970B1 (en) ATM cell transmission system
RU2117405C1 (en) Communication system
EP0936779B1 (en) Network system
JPS60500117A (en) Method and apparatus for bus contention resolution
US5754549A (en) Inexpensive two-way communications switch
US7151752B2 (en) Method for the broadcasting of a data packet within a switched network based on an optimized calculation of the spanning tree
US6819675B2 (en) Self-route multi-memory expandable packet switch with overflow processing means
US6553035B1 (en) Apparatus and method for queuing data
JPH0771099B2 (en) Token passing data communication terminal device
US4282400A (en) Signaling unit for interchange of data with multipoint line selection units and data terminals
US4858228A (en) Communication system employing multi-conjunction architecture
US5734836A (en) Method of preventing double data reception in selective reception communication system
JP3728937B2 (en) Ring network data transmission system
US7130302B2 (en) Self-route expandable multi-memory packet switch
JP2559952B2 (en) Broadcast and multi-exchange network
JP3886666B2 (en) Network system
JP3035949B2 (en) Switching control method of master device
JP2715137B2 (en) Communication network control method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term