JPS63215241A - Loop type lan and its controller - Google Patents

Loop type lan and its controller

Info

Publication number
JPS63215241A
JPS63215241A JP62047767A JP4776787A JPS63215241A JP S63215241 A JPS63215241 A JP S63215241A JP 62047767 A JP62047767 A JP 62047767A JP 4776787 A JP4776787 A JP 4776787A JP S63215241 A JPS63215241 A JP S63215241A
Authority
JP
Japan
Prior art keywords
loop
signal
data
node
acquisition
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
JP62047767A
Other languages
Japanese (ja)
Inventor
Yutaka Takizawa
滝沢 豊
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.)
Amada Co Ltd
Original Assignee
Amada 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 Amada Co Ltd filed Critical Amada Co Ltd
Priority to JP62047767A priority Critical patent/JPS63215241A/en
Publication of JPS63215241A publication Critical patent/JPS63215241A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To smoothly attain data relay and quick loop acquisition with a simple equipment by forming a communication line by an optical fiber, providing a couple of photoelectric converters on each node, juxtaposing the subloop of a similar constitution with the main loop of the constitution to above and using the subloop so as to acquire a loop. CONSTITUTION:Each node has an LAN controller LCT and a terminal control section 71. A loop acquisition signal reception section 55 monitors a back loop 3B when no loop acquisition signal Dc of other node exists, loop switches 49, 51 are switched from the relay state into the acquisition state and its own logic address is sent continuously to the loop 3B. When the logic address in the returned signal Dc is coincident with its own logic address, the loop acquisition is finished. When the loop acquisition is successful, the reception bit in the signal Dc is set prior to the transmission of a frame and the signal Dc added with its own address number is transmitted continuously. The signal Dc flows through the loop 3B, is received by the reception section 55 of other node and all other nodes enter the reception state. Then the frame transmission to the main loop 3M is started and after the end of transmission, the switches 49, 51 are thrown to the position of the repeater side.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、ループ式LAN (ローカルエリアネット
ワークシステム)及びそのilJ III M M k
: IIIする。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) This invention relates to a loop type LAN (local area network system) and its ilJ III M M k
: III.

(従来の技術) 適宜数のターミナルと接続されるノードを光フフイバ等
データ通信回線でループ状に接続したループ式LANは
、拡張性、汎用性に優れているところから、FA用又は
OA用としてよく利用されている。
(Prior art) A loop type LAN, in which an appropriate number of terminals and connected nodes are connected in a loop through a data communication line such as optical fiber, is suitable for FA or OA because it has excellent expandability and versatility. It is often used.

ここに、従来よりのループ式L A Nは、フレーム形
成されたデータの送信先アドレスを各ノードで判別し、
前記アドレスが自己に対するものであれば自己のノード
に取り込むと共に、そうでなければ当該フレームをつぎ
のノードへ伝送するというデータ中継方式が採用されて
いる。
Here, in the conventional loop type LAN, each node determines the destination address of the data formed into a frame,
A data relay method is adopted in which if the address is for the node itself, it is fetched into the node itself, and if not, the frame is transmitted to the next node.

又、従来のループ式LANは、通信回線の競合を避ける
ため、トークンバス方式を採用したものが主流を占めて
いる。
Furthermore, in order to avoid competition in communication lines, conventional loop LANs have mostly adopted a token bus system.

このトークンバス方式は、ループ回線にいわゆるトーク
ンを巡回させ、このトークンを得たノードにのみデータ
送信の権利を与えるようにしたものである。
In this token bus system, a so-called token is circulated through a loop line, and only the node that obtains this token is given the right to transmit data.

(発明が解決しようとする問題点) しかしながら、上記の如ぎ、従来のループ式LANにあ
っては、中継点にデータバッファを介在させるため、又
、トークンバス方式を採用しているがため、次の如きの
問題点がある。
(Problems to be Solved by the Invention) However, as described above, in the conventional loop type LAN, because a data buffer is interposed at the relay point and a token bus method is adopted, There are the following problems.

即ち、従来よりのデータの中継方式にあっては、各ノー
ドで送信先アドレスを判定するため、アドレス判定時間
に中継ノード数を乗じただけの旺延が生じ、データ伝送
効率が悪くなっている。
In other words, in the conventional data relay method, each node determines the destination address, which causes a delay equal to the address determination time multiplied by the number of relay nodes, resulting in poor data transmission efficiency. .

又、回11i1!!49方式としてのトークンバス方式
にあっては、トークン管理用のいわゆるミニコン以−L
のコンピュータが必要であり、そのハード及びソフトの
負担が多大である。
Also, episode 11i1! ! In the token bus method as a 49 method, a so-called minicomputer for token management is used.
This requires a large number of computers, and the burden on the hardware and software is enormous.

更に、このトークンバス方式にあっては、トークンの巡
回を持ち、トークンを得た後でなければデータを送信す
ることができないので、その分だけデータ送信の開始時
刻が遅れている。
Furthermore, in this token bus system, the tokens circulate and data cannot be transmitted until after the token is obtained, so the start time of data transmission is delayed by that amount.

そこで、この発明は、簡易な装置で迅速なループ獲得作
業を行うきことができ、かつデータ中継を円滑に行うこ
とができるループ式LAN及びその制t[l装置を提供
することを目的とする。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a loop type LAN and its control device that can quickly perform loop acquisition work with a simple device and can perform data relay smoothly. .

[発明の構成〕 (問題点を解決するための手段) 上記目的を達成するためのこの発明は、適宜数のターミ
ナルと接続可能のノードをデータ通信回線でループ状に
接続して成るループ式LANにおいて、 前記データ通信回線を光ファイバで形成し、各ノードに
、前記光ファイバと接続されデータバッフ戸を介するこ
となく一方の光ファイバから来た光信号を電気信号に変
換すると共に変換された電気信号を他方の光ファイバに
光信号で出力する一対の光電気変換器を設け、 前記光ファイバ及び前記一対の光電気変換器で構成され
るメインループに対しこれと同様構成のサブループを並
設し、 各ノードに、前記サブループに対しループを獲得したい
旨の信号及びループを獲得している旨の信号を出力し前
記サブループに自己が出力した信号が現われるのを待っ
てループ獲得を行うループ獲得制御部、及び該制御部に
よってループ獲得が行われたとき前記メインループに送
信先付のデータを出力する一方、前記メインループに自
己宛データが現われたときこのデータ取り込んで所定の
ターミナルへ出力Jるデータ制御部を設けたことを特徴
とする。
[Structure of the Invention] (Means for Solving the Problems) To achieve the above object, the present invention provides a loop type LAN in which an appropriate number of terminals and connectable nodes are connected in a loop through a data communication line. The data communication line is formed of an optical fiber, and each node is connected to the optical fiber and converts the optical signal coming from one of the optical fibers into an electrical signal without passing through a data buffer door, and also transmits the converted electrical signal. A pair of opto-electrical converters that output signals as optical signals to the other optical fiber are provided, and a sub-loop having a similar configuration is arranged in parallel to the main loop composed of the optical fiber and the pair of opto-electric converters. , Loop acquisition control that outputs to each node a signal indicating that it wants to acquire a loop for the subloop and a signal that the loop is acquired, and acquires the loop after waiting for the signal output by itself to appear in the subloop. When loop acquisition is performed by the control unit and the control unit, data with a transmission destination is output to the main loop, and when self-addressed data appears in the main loop, this data is captured and output to a predetermined terminal. It is characterized by having a data control section.

(作用) この発明では、一対の光電気変換器は、データバッフ7
を介することなく高速にデータを中継する。
(Function) In the present invention, the pair of opto-electrical converters are connected to the data buffer 7.
Relay data at high speed without going through it.

又、データ通信用のメインループに対しループ獲得制御
用のサブループが設けられ、該サブループと接続される
ループ獲得制御部は、前記サブループに対しループをI
I得したい旨の信号及びループを獲得している旨の信号
を出力し前記リブループに自己が出力した信号が現われ
るのをまってループ獲得を行う。
Further, a subloop for loop acquisition control is provided for the main loop for data communication, and a loop acquisition control unit connected to the subloop controls the loop I for the subloop.
It outputs a signal indicating that it wants to gain and a signal indicating that it is acquiring a loop, and waits for the signal it outputs to appear on the rib loop before acquiring the loop.

(実施例) 第1図はこの発明の一実施例を示ずループ式LANのシ
ステム構成図である。
(Embodiment) FIG. 1 is a system configuration diagram of a loop type LAN, showing an embodiment of the present invention.

図示のように、本例に示すLANは、複数のノード1を
相方向光フアイバペア3でループ状に接続して構成され
、各ノード1には、端子5を介して最大6台のターミナ
ル7が接続できるようになっている。
As shown in the figure, the LAN shown in this example is configured by connecting a plurality of nodes 1 in a loop with mutual optical fiber pairs 3, and each node 1 has a maximum of six terminals 7 connected via terminals 5. It is now possible to connect.

第2図は、前記ノード1の内部構造を示1ブロック図C
ある。
FIG. 2 is a block diagram C showing the internal structure of the node 1.
be.

ノード1は、前記相方向光フアイバペア3と接続される
光電気変換器9.11、及び前記ターミナル7と接続さ
れるR3−232Gインターフエイス13を有し、MP
U15と接続されるシステムバス17にROM19.R
AM21の他、多数の制御要素23〜39を接続して構
成されている。
The node 1 has an opto-electrical converter 9.11 connected to the directional optical fiber pair 3 and an R3-232G interface 13 connected to the terminal 7,
A ROM19. R
In addition to the AM 21, it is configured by connecting a large number of control elements 23 to 39.

前記相方向光フアイバペア3は、反時計回り及び時計回
りに光を通過させるメインループ3M。
The mutually directional optical fiber pair 3 is a main loop 3M through which light passes counterclockwise and clockwise.

及びサブループとしてのバラ−クループ3Bを備えて成
り、前記光電気変換器9は、これらループ3M、3Bと
の間で光電気変換を行う。メインループ3Mはデータ通
信用のものであり、バックル−13Bはメインループ3
Mの回線獲得を制御するめだ本例で特に設けられたもの
である。
and a barrier loop 3B as a sub-loop, and the opto-electric converter 9 performs opto-electric conversion between these loops 3M and 3B. Main loop 3M is for data communication, and buckle-13B is for main loop 3.
This is especially provided in this example to control the line acquisition of M.

MPU (マイクロプロセッシングユニット)15は、
データ格納用のRAM21を利用し、ROM19から読
み出した命令を実行する。
The MPU (microprocessing unit) 15 is
Using the RAM 21 for data storage, instructions read from the ROM 19 are executed.

L E 0.23は、通信回線の状態表示や初期設定の
内容を表示するためのものである。SW(スイッチ)は
ターミナル7等の接続作業を行うとき、各チャンネルの
リセットや初期設定の操作を行うためのものである。
L E 0.23 is for displaying the status of the communication line and the contents of initial settings. The SW (switch) is used to reset each channel and perform initial setting operations when connecting the terminal 7 and the like.

DMAC(ダイレクト・メモリ・アクセス・コントロー
ラ)は、MPU15に代り、データ転送を高速に行うた
めのものである。
A DMAC (direct memory access controller) is used instead of the MPU 15 to transfer data at high speed.

高速同期通信1/F (インタフェイス)29及びルー
プ通信コントローラ31は、ループ利用権の調停及びル
ープ回線の送受信作業を行うためのものである。
The high-speed synchronous communication 1/F (interface) 29 and the loop communication controller 31 are for arbitrating the right to use the loop and for transmitting and receiving the loop line.

各種PTM (プログラマブル・タイマ)33゜35.
37は、定時割込み信号及び非同期通信のボーレートを
発生するためのものである。
Various PTM (programmable timers) 33°35.
37 is for generating a regular interrupt signal and a baud rate for asynchronous communication.

非同期通信1/F39は、ターミナル7とノード1間の
シリアルデータ通信を行うためのものである。R823
2CI/Fは、前記非同期通信I/「をR8232CM
格に合わせるためのものである。
The asynchronous communication 1/F 39 is for serial data communication between the terminal 7 and the node 1. R823
2CI/F is the asynchronous communication I/" R8232CM
It is meant to suit the occasion.

第3図及び第5図は前記ノード1の制御機能を示Jブロ
ック図であり、第3図はL A N f、II Ill
装置のブロック図、第5図はターミナル制御部のブロッ
ク図である。第4図及び第6図はパックループ38及び
メインループ3Mに流されるそれぞれの信号の説明図で
ある。
3 and 5 are block diagrams showing the control functions of the node 1, and FIG.
FIG. 5 is a block diagram of the terminal control section. FIG. 4 and FIG. 6 are explanatory diagrams of respective signals sent to the pack loop 38 and the main loop 3M.

第1図に示すノード1は、第3図に示すLAN&lJ御
装X L 0丁と、ターミナル制御部71とを合成して
構成されるものである。ここに、この発明の要旨はルー
プ獲得方式を主体に構成されるため、本実施例ではルー
プ獲得処理を行うループ通信部としての機fm部分のみ
をL A N gA御装置と呼ノυでいる。
The node 1 shown in FIG. 1 is constructed by combining the LAN&lJ system shown in FIG. 3 and a terminal control section 71. Here, since the gist of the present invention is mainly constituted by a loop acquisition method, in this embodiment, only the function fm part as a loop communication unit that performs loop acquisition processing is referred to as the L A N gA control device. .

第3図に示すように、L A N i制御装首LCTは
、前記光電気変換器9.11を機能分けして構成される
パックループ30の光送受信部41.43と、メインル
ープの光送受信部45.47とを有している。
As shown in FIG. 3, the LAN i control neck LCT includes an optical transceiver section 41.43 of the pack loop 30, which is configured by dividing the opto-electrical converter 9.11 into functions, and an optical transmitter/receiver section 41.43 of the main loop. It has transmitting/receiving sections 45 and 47.

パックループ光送信部41には、パックループ回線制御
のためのパックループスイッチ49が備えられ、又、メ
インループ光送信部45にはメインループ回線aIIl
tIIのためのメインループスイッチ51が備えられて
いる。これらスイッチ49,51の作用については第7
図で詳述する。
The pack-loop optical transmitter 41 is equipped with a pack-loop switch 49 for pack-loop line control, and the main-loop optical transmitter 45 is equipped with a main-loop line aIIl.
A main loop switch 51 for tII is provided. Regarding the actions of these switches 49 and 51, see the seventh section.
This is explained in detail in the figure.

又、LANυ制御装置LCTは、ループ獲得用の信号O
cを送受信する送受信部53.55と、前記ターミナル
7と接続さるターミナル制御部71(第5図にて詳述す
る)に対しフレームDFを送受信する送受信部57.5
9及びフレームDFの監視部61を有している。
In addition, the LANυ control device LCT outputs a signal O for loop acquisition.
a transmitting/receiving section 53.55 that transmits and receives the frame DF, and a transmitting/receiving section 57.5 that transmits and receives the frame DF to and from the terminal control section 71 (described in detail in FIG. 5) connected to the terminal 7.
9 and a frame DF monitoring unit 61.

更に、LAN制御装置LCTは、前記バックル−138
及びメインループ3Mに対しクロック信号CLKF3 
、CLKMを出力するクロック63を有している。参照
符号CLKは、送受信のためのその他のクロック信号を
示している。
Furthermore, the LAN control device LCT has the buckle-138.
and clock signal CLKF3 for main loop 3M.
, CLKM. Reference code CLK indicates other clock signals for transmission and reception.

第4図に示すように、前記ループ゛獲得信号送信部53
で発生される信号DCは、先頭の同期検出用ビット65
に次いで他のノードに受信指令を行うめたの受信制御用
ビット67、ループ獲得したい旨の13号及びループを
獲得した旨の意味を含めた自己の論理番地69から成る
As shown in FIG. 4, the loop acquisition signal transmitter 53
The signal DC generated at the top synchronization detection bit 65
Next, it consists of a reception control bit 67 for issuing a reception command to other nodes, No. 13 indicating that a loop is to be acquired, and its own logical address 69 that includes the meaning of acquiring a loop.

フレーム送信部57は、第6図に示すフレームDFを送
信するのみならず前記ループスイッチ49.51を連動
制御するための信号Sの出力機能を有している。
The frame transmitter 57 not only transmits the frame DF shown in FIG. 6, but also has a function of outputting a signal S for interlocking control of the loop switches 49 and 51.

上記機構成のLAN制御装置LCTの作用は第7図以下
で詳述する。
The operation of the LAN control device LCT having the above-mentioned configuration will be explained in detail below in FIG.

一方、第5図に示すように、ターミナル制御部71は、
L A N till Ill装置LOTに対しフレー
ムDFを送受信するためのバッファ73.75を有し、
又、ターミナル7間でのデータ通信を行うため、送受信
バッファBR,BTを備えたチ11ンネル(C)11〜
CH6)を有している。図示の矢印はデータの流れを示
すものである。
On the other hand, as shown in FIG. 5, the terminal control section 71
It has buffers 73 and 75 for transmitting and receiving frames DF to and from the L A N till Ill device LOT,
In addition, in order to perform data communication between terminals 7, channels (C) 11 to 11 equipped with transmitting and receiving buffers BR and BT are provided.
CH6). The illustrated arrows indicate the flow of data.

ターミナル制御部71の作用は次の通りである。The operation of the terminal control section 71 is as follows.

まず、ターミナル7からのデータ受信は割り込み処理で
実施される。受信したデータは受信バッファSRに順次
格納され、1ブロック分のデータが格納されると送信先
アドレスを判別し、同一ノード内のターミナル7であれ
ば、受信バッファ 3Hの内容を該当チャンネルの送信
バッファBTへ転送する。
First, data reception from the terminal 7 is performed by interrupt processing. The received data is sequentially stored in the reception buffer SR, and when one block of data is stored, the destination address is determined, and if it is terminal 7 in the same node, the contents of the reception buffer 3H are stored in the transmission buffer of the corresponding channel. Transfer to BT.

又、送信先が他のノードに接続されているターミナル宛
のデータブ〔lツクである場合には、フレーム送信バッ
ファ73に格納する。フレーム送信バッファ773へ格
納されたデータは、第6図に示ずように、先頭にフレー
ム先頭であることのフラグFSが付けられ、次いで送信
先の論理番地A。
If the destination is a data block addressed to a terminal connected to another node, it is stored in the frame transmission buffer 73. As shown in FIG. 6, the data stored in the frame transmission buffer 773 has a flag FS attached to the beginning indicating that it is the beginning of a frame, and then a logical address A of the transmission destination.

データ性質を示すコマンドC,データ(DATA)、デ
ータの信頼性のチェックのためのCRC,ぞして最後に
フレーム後端であることを示ずフラグFOが付けられる
A command C indicating data properties, data (DATA), a CRC for checking reliability of the data, and finally a flag FO indicating that it is the rear end of the frame are attached.

このようにして形成されたフレームDFは、後述するル
ープ制御作業の債、第3図に示したフレーム送信157
、メインループ3Mを介して所定のノードに送られる。
The frame DF formed in this way is used for the loop control work described later, and the frame transmission 157 shown in FIG.
, and is sent to a predetermined node via the main loop 3M.

一方、メインループ3Mからの受信バッファ75へのデ
ータ受信は、DMA027の作用でDMA転送される。
On the other hand, data received from the main loop 3M to the reception buffer 75 is transferred by DMA using the action of DMA027.

単位フレームの受信が終了すると割り込み信号が発生し
、ここでエラーチェックが行われ次いで正常ならばその
行先が判別され、各ターミナル7の送信用バッファへB
Tへ転送され、以後、1バイト単位で順次ターミナル7
へ送信される。
When the reception of a unit frame is completed, an interrupt signal is generated, an error check is performed here, and if the unit frame is normal, its destination is determined, and B is sent to the transmission buffer of each terminal 7.
It is then transferred to terminal 7 in 1-byte units.
sent to.

第7図〜第9図は、LANfijJ111vtii&L
c1−17)作用を示す説明図であり、第7図はループ
獲得処理のフローチャート、第8図はループ獲得処理の
説明図である。
Figures 7 to 9 show LANfijJ111vtii&L
c1-17)) FIG. 7 is a flowchart of loop acquisition processing, and FIG. 8 is an explanatory diagram of loop acquisition processing.

第5図に示したターミナル7は、ターミナル制御部71
の該当チャンネルの受信バッファ8r+ヘデータを送り
、フレーム送信バッファ73で送り先アドレス等位して
フレームDFを形成する。
The terminal 7 shown in FIG.
The data is sent to the reception buffer 8r+ of the corresponding channel, and the destination address is matched in the frame transmission buffer 73 to form a frame DF.

第7図のステップ701にJ3いて、前記ループ獲得信
号受信部55は、パックループ光受信部43を介して、
常時パックループ3Bを監視し、他ノードが出力してい
る信号DCが検出されないならば、ステップ702へ移
行する。
At step J3 in step 701 in FIG.
The pack loop 3B is constantly monitored, and if the signal DC output from another node is not detected, the process moves to step 702.

ステップ702では、ループスイッチ49.51を中継
状II(第8図に示した状態)から取得状態に切り換え
る。この操作を行うことにより、メインループ3M及び
パックループ3Bに対し送信を行う状態となる。
In step 702, the loop switch 49.51 is switched from the relay state II (the state shown in FIG. 8) to the acquisition state. By performing this operation, it becomes possible to send data to the main loop 3M and pack loop 3B.

ステップ703では、他ノードにループが使用中になっ
たことを知らせるためにパックループ3Bへ自己の論理
番地を連続的に送信する。
In step 703, it continuously transmits its own logical address to the packed loop 3B to notify other nodes that the loop is in use.

ステップ704では、パックルーフ3Bを一周して、も
どって来た信号DC中の論Tg!番地が自己のものであ
るかどうかを判別する。自己の論理番地と一致した場合
には、メインループ3Mを他のノードが使用しでいない
と解釈し、ループ獲得を終了し、ステップ709へ移行
する。
In step 704, the logic Tg! in the signal DC that has gone around the pack roof 3B and returned! Determine whether the address is yours. If it matches its own logical address, it interprets that the main loop 3M is not being used by another node, ends the loop acquisition, and moves to step 709.

ただし、ステップ704において他ノードの論理番地が
検出された場合には、メインループ3Mの獲得を同時的
に要求している他ノードが有ると解釈し、ステップ70
5へ移行する。
However, if the logical address of another node is detected in step 704, it is interpreted that there is another node requesting acquisition of the main loop 3M at the same time, and step 704
Move to 5.

ステップ705では、受信したノードの論理番地から、
自己と他ノードとの優先順位を判断する。
In step 705, from the logical address of the received node,
Determine the priority order between self and other nodes.

優先順位は論理番地が小さいほど高いことに取り決めら
れている。
It is agreed that the smaller the logical address, the higher the priority.

ステップ705で、他ノードの方が優先順位が高いこと
が判断された場合には、ループの獲得を締めて、ステッ
プ706に移行し、ここでループスイッチ49.51を
中継側に戻し、次いでスイッチ707で信号Qcの送出
を停止する。
If it is determined in step 705 that another node has a higher priority, loop acquisition is closed and the process moves to step 706, where the loop switches 49 and 51 are returned to the relay side, and then the switch At 707, the transmission of the signal Qc is stopped.

一方、ステップ709では、ループ獲得、の成功に鑑み
てフレーム[)Fの送信に先立ち信号[)C中の受信ビ
ット67をオンとして、自己の論理番地を付けた信号D
Cを連続して送信する。この信号DCはパックルーフ3
Bを流れ、他ノードのループ獲得信号受信部5で受信さ
れ、他の全ノードは受信体制に入る。
On the other hand, in step 709, in view of the success of loop acquisition, the receive bit 67 in the signal [)C is turned on prior to transmitting the frame [)F, and the signal D with its own logical address is turned on.
Send C continuously. This signal DC is pack roof 3
B, and is received by the loop acquisition signal receiving unit 5 of the other node, and all other nodes enter the reception system.

ステップ710では、メインループ3MへフレームDF
の送信を開始する。
In step 710, the frame DF is sent to the main loop 3M.
Start sending.

ステップ711では、フレームDFの送信終了を判断し
、全フレームDFの送信終了後、ステップ712へ移行
する。
In step 711, it is determined whether the transmission of the frame DF has been completed, and after the transmission of all frames DF has been completed, the process moves to step 712.

ステップ712では、ループスイッチ49.51を中継
側に切換える。
In step 712, the loop switches 49 and 51 are switched to the relay side.

ステップ713では、信号□cの送信を中止し、フレー
ム送信作業を終了する。
In step 713, the transmission of the signal □c is stopped, and the frame transmission work is ended.

次にノード1の実際の作動例をタイムチャートを用いて
説明する。
Next, an example of the actual operation of the node 1 will be explained using a time chart.

第9図は、(I)自己のノードからループM青信号を出
力したにも拘らず他のノードからのループ獲得信号が検
出されループ開放する場合、(n)ループ獲得の成功に
基きフレームの送受信を行う場合、(I[I)フレーム
伝送が終了しループ開放する場合の3条件について、送
信ノード1丁及び受信ノードIR(ok) 、 1R(
NG )の各条件下おける制御状態の一例を示すタイム
チャートである。
FIG. 9 shows (I) when a loop acquisition signal from another node is detected and the loop is released even though the loop M green signal has been output from the own node, and (n) frame transmission and reception based on successful loop acquisition. When performing (I[I), for the three conditions when frame transmission is completed and the loop is opened, one transmitting node and one receiving node IR(ok), 1R(
3 is a time chart showing an example of a control state under each condition of NG).

受信ノード1R(ok) 、 IR(N a )はそれ
ぞれアドレス一致、不一致の場合を区分けして示したも
のである。
The receiving nodes 1R(ok) and IR(N a ) are shown by classifying cases of address matching and non-matching, respectively.

■、同時獲得を検出しループ開放する例(状態1)フレ
ームを送信するために、ループ獲得信号がパックループ
3u上に存在す るかどうかを調べたところ、他のノー ドからの信号[)Cが検出されたので、ループは使用中
であると判断した。
■Example of detecting simultaneous acquisition and opening the loop (state 1) In order to send a frame, we checked whether a loop acquisition signal existed on the pack loop 3u, and found that the signal [)C from other nodes was Since it was detected, the loop was determined to be in use.

(状態2)再度、ループの使用状態を確認し!こところ
、ループ狽g+信号[)Cは検出されなかったので、ル
ープは未使用状態で あると判断した。
(Status 2) Check the usage status of the loop again! However, since the loop g+signal [)C was not detected, it was determined that the loop was in an unused state.

(状態3)そこで、ループスイッチ49.51を取得状
態に切り換えた。
(State 3) Therefore, the loop switches 49 and 51 were switched to the acquisition state.

(・状態4)次に、パックループ3Bへ、自己のノード
論理番地をセットした旨のループ 獲得信号DCを連続送信した。
(State 4) Next, a loop acquisition signal DC indicating that its own node logical address has been set is continuously transmitted to the packed loop 3B.

(状態5)バックル−613Bへ送信したループ獲得信
号DCが、ループ回線を一周して 検出された。
(State 5) The loop acquisition signal DC sent to the buckle-613B was detected after going around the loop line.

(状ff16)検出された獲得信号[)Cのノード論理
番地を調べたところ、他ノードの値が 検出された。そこで、ループ獲得を同 時に始めたノード1があると判断し、 自己との優先順位の比較を行った。
(Status ff16) When the node logical address of the detected acquisition signal [)C was checked, the value of another node was detected. Therefore, it was determined that there was a node 1 that started loop acquisition at the same time, and the priority was compared with itself.

(状態7)優先順位を比較した結果、他ノードの方が優
先順位が高いと判断されたので、ループスイッチ49.
51を中継状態 にもどし、次いでループ獲得信@Dc の発信を停止した。
(State 7) As a result of comparing the priorities, it was determined that the other node had a higher priority, so loop switch 49.
51 was returned to the relay state, and then the transmission of the loop acquisition signal @Dc was stopped.

■、ループ獲得に基きフレーム伝送する例■−1フレー
ム送信ノード (状態8)〜(状fffi 11 )前記状態2〜状B
5と同じである。
■Example of frame transmission based on loop acquisition ■-1 Frame sending node (state 8) to (state fffi 11) State 2 to state B
Same as 5.

(状fffi12)検出されたループ獲得信号□c上の
ノード論理番地を調べたところ、自己の 値と一致した。
(Status fffi12) When the node logical address on the detected loop acquisition signal □c was checked, it matched with its own value.

(状態13)シたがって、ループを独占的に獲得できた
と判断し、メインループ3Mへの フレーム送イΔに先立ち、他ノードのフレーム受信部5
9の受信動作を行わせ るため、受信制御信号を出力した。
(State 13) Therefore, it is determined that the loop has been acquired exclusively, and prior to sending the frame to the main loop 3M, the frame receiving unit 5 of the other node
In order to perform the receiving operation of 9, a receiving control signal was output.

(状態14)これにて弛ノードの受信態勢が整ったので
、フレームDFをメインループー 3Mへ送信した。
(State 14) Now that the relaxation node is ready for reception, it transmits the frame DF to the main loop-3M.

ll−2フレーム受信ノード(アドレス一致)(状態2
2)状態13で、ループを獲得したノードが受信制御信
号を出力した結果、受信 側ノードのフレーム受信部59が動作 を開始した。
ll-2 frame receiving node (address match) (state 2
2) In state 13, the node that acquired the loop outputs a reception control signal, and as a result, the frame receiving unit 59 of the receiving node starts operating.

(状923)その後、メインループ3Mからフレーム[
)Fが受信された。フレームの先頭フラグの次は、送り
先アドレスとなっ ており、この値を自己ノードアドレス と比較して、一致したので以後の受信 を続けている。
(923) Then, from the main loop 3M, the frame [
)F was received. Next to the head flag of the frame is the destination address, and this value is compared with the own node address, and since they match, subsequent reception continues.

(状H20メインループ3Mより送られて来たフレーム
DFの終了フラグを受信した。
(Received the end flag of frame DF sent from main loop 3M.

(状ff125)終了フラグ受信と同時に割込みを発生
した。
(Status ff125) An interrupt was generated at the same time as the completion flag was received.

(状態26)受信終了割込みと同時に、フレーム受信部
の動作を停止した。
(State 26) At the same time as the reception end interrupt, the operation of the frame reception unit is stopped.

ll−3フレーム受信ノード(アドレス不一致)(状態
27)状態22と同じである。
ll-3 frame receiving node (address mismatch) (state 27) Same as state 22.

(状態28)フレーム先頭フラグFsの次にある送り先
アドレス八を自己ノードアドレス と比較し、不一致であると判断した。
(State 28) The destination address 8 following the frame head flag Fs is compared with the own node address, and it is determined that they do not match.

(状態29)メインループ3Mより送られて来たフレー
ムOFの受信を中止するために、 フレーム受信部59の動作を停止さ「 た。
(State 29) The operation of the frame receiving unit 59 was stopped in order to stop receiving the frame OF sent from the main loop 3M.

■、フレーム伝送終了に暴きループ開放する例(状B1
5)フレームOFの終了フラグFeの送信を終了した。
■Example of opening the loop at the end of frame transmission (case B1
5) The transmission of the end flag Fe of the frame OF has ended.

(状B16)フレームl)Fの送信を終了すると同時に
フレーム送信終了割込みを発生した。
(B16) A frame transmission end interrupt was generated at the same time as the transmission of frame l)F was completed.

(状j[17及び18)フレームDFの送信を終了した
ので速やかにループを開放するために ループスイッチ49.51を中継状態 にした。
(Condition j [17 and 18) Since the transmission of the frame DF has been completed, the loop switches 49 and 51 are put into the relay state in order to immediately open the loop.

(状態19)ループ獲得信号1)cの発信を停止した。(State 19) The transmission of the loop acquisition signal 1)c has been stopped.

(状[20)受信!IJ御信号を元の状態にもどした。(Statement [20) Received! The IJ control signal was returned to its original state.

(状態21)割込み処理を終了した。(State 21) Interrupt processing has ended.

以上の通り、本例では、パックループ3B、及びLAN
制御装r!RLcT中に置かれたループ獲得信号送受信
部53.55の作業によってループ獲得が迅速に行われ
る。
As mentioned above, in this example, pack loop 3B and LAN
Control equipment r! Loop acquisition is quickly performed by the operation of the loop acquisition signal transmitting/receiving units 53 and 55 placed in the RLcT.

又、LAN制御装置LOTは構成容易であるので、安価
に製作することが可能である。
Furthermore, since the LAN control device LOT is easy to configure, it can be manufactured at low cost.

更に、ループ内にはデータバッファが介在されないので
、データ中継が円滑に行われ、データ伝送効率が高くな
る。
Furthermore, since no data buffer is interposed in the loop, data relay is performed smoothly and data transmission efficiency is increased.

以上水した実施例では、相方向光ファイバ3を ゛用い
、ループ獲得用の信号をパックループ3Bに流すように
したが、メインループ及びサブループの信号流れ方向は
同一方向であって良い。
In the embodiment described above, the phase-directional optical fiber 3 is used to flow the signal for loop acquisition to the pack loop 3B, but the signal flow direction of the main loop and the sub-loop may be the same direction.

なお、この発明は上記実施例に限定されるものではなく
、適宜の設計的変更を行うことにより、他の@様でも実
施し得るものである。
It should be noted that this invention is not limited to the above-mentioned embodiments, but can be implemented in other @s by making appropriate design changes.

[発明の効果] 以上の通り、この発明によれば、データ送信用ループの
回線獲得手段を、該ループと平行に配設した回線獲得用
のサブループと、該ループにループ獲得信号を流すL 
A N tiII御装置で構成したので、各ノードは、
空き回線を所望のときに迅速に獲得することができる。
[Effects of the Invention] As described above, according to the present invention, the line acquisition means of the data transmission loop includes a sub-loop for line acquisition arranged in parallel with the loop, and an L through which a loop acquisition signal is passed through the loop.
Since it is configured with A N tiII control device, each node is
A vacant line can be quickly obtained when desired.

又、この発明では、各ノードにおけるデータをバッファ
を介することなく直接中継することとしたので、高効率
のデータ伝送が行える。
Further, in the present invention, since data at each node is directly relayed without going through a buffer, highly efficient data transmission can be performed.

【図面の簡単な説明】[Brief explanation of the drawing]

図面はいずれもこの発明の実施例を示し、第1図はLA
Nのシステム構成図、第2図はノードのハード構成を示
すブロック図、第3図はLAN制御装置の機能を示すブ
ロック図、第4図はループ獲得信号の説明図、第5図は
ターミナル制御部の機能を示すブロック図、第6図はフ
レーム構成の説明図、第7図はループ獲得処理の70−
チせ−ト、第8図は各部の信号状態を示すタイムチャー
ト、第9図はL A N t、II御装置の作、用を示
す説明図である。 1・・・ノード 3・・・相方向光フアイバペア 3M・・・メインループ 3B・・・パックループ 7・・・ターミナル 49・・・パックループスイッチ 51・・・メインループスイッヂ 53・・・ループ獲得信号送信部 55・・・ループ獲得信号受信部 S・・・ループスィッチ1Ilj御信号DC・・・ルー
プ獲得信号 DF・・・フレーム LCT・・・LAN制御装置
The drawings all show embodiments of the invention, and FIG.
N system configuration diagram, Figure 2 is a block diagram showing the hardware configuration of the node, Figure 3 is a block diagram showing the functions of the LAN control device, Figure 4 is an explanatory diagram of the loop acquisition signal, and Figure 5 is the terminal control. 6 is an explanatory diagram of the frame structure, and FIG. 7 is a block diagram showing the functions of the section 70-
FIG. 8 is a time chart showing the signal status of each part, and FIG. 9 is an explanatory diagram showing the operation of the L A N t, II control device. 1... Node 3... Directional optical fiber pair 3M... Main loop 3B... Pack loop 7... Terminal 49... Pack loop switch 51... Main loop switch 53... Loop Acquisition signal transmitter 55...Loop acquisition signal receiver S...Loop switch 1Ilj control signal DC...Loop acquisition signal DF...Frame LCT...LAN control device

Claims (3)

【特許請求の範囲】[Claims] (1)適宜数のターミナルと接続可能のノードをデータ
通信回線でループ状に接続して成るループ式LANにお
いて、 前記データ通信回線を光ファイバで形成し、各ノードに
、前記光ファイバと接続されデータバッファを介するこ
となく一方の光ファイバから来た光信号を電気信号に変
換すると共に変換された電気信号を他方の光ファイバに
光信号で出力する一対の光電気変換器を設け、 前記光ファイバ及び前記一対の光電気変換器で構成され
るメインループに対しこれと同様構成のサブループを並
設し、 各ノードに、前記サブループに対しループを獲得したい
旨の信号及びループを獲得している旨の信号を出力し前
記サブループに自己が出力した信号が現われるのを待っ
てループ獲得を行うループ獲得制御部、及び該制御部に
よってループ獲得が行われたとき前記メインループに送
信先付のデータを出力する一方、前記メインループに自
己宛データが現われたときこのデータを取り込んで所定
のターミナルへ出力するデータ制御部を設けたことを特
徴とするループ式LAN。
(1) In a loop type LAN in which an appropriate number of terminals and connectable nodes are connected in a loop through a data communication line, the data communication line is formed of an optical fiber, and each node is connected to the optical fiber. A pair of opto-electrical converters are provided that convert an optical signal coming from one optical fiber into an electrical signal without going through a data buffer, and output the converted electrical signal as an optical signal to the other optical fiber, A sub-loop with a similar configuration is installed in parallel to the main loop consisting of the pair of opto-electrical converters, and a signal is sent to each node indicating that the sub-loop wants to acquire a loop and that the loop has been acquired. a loop acquisition control unit that outputs a signal and acquires a loop by waiting for the signal output by itself to appear in the subloop, and when the control unit acquires a loop, transmits data with a transmission destination to the main loop. The loop type LAN is characterized in that it is provided with a data control unit which outputs data addressed to itself and also captures data addressed to itself when it appears in the main loop and outputs the data to a predetermined terminal.
(2)前記ループを獲得したい旨の信号は自己の優先順
位を示す信号であり、前記ループ獲得制御部は、前記サ
ブループに現われる自己以外の優先順位に対し、自己の
優先順位の方が高いときのみ前記ループ獲得中である旨
の信号を継続して出力する特許請求の範囲第1項記載の
ループ式LAN。
(2) The signal to the effect that the loop is to be acquired is a signal indicating its own priority, and the loop acquisition control unit is configured to control when the loop acquisition control unit has a higher priority than the priority of other parties appearing in the sub-loop. 2. The loop type LAN according to claim 1, wherein the loop type LAN continuously outputs a signal indicating that the loop is being acquired.
(3)適宜数のターミナルと接続可能のノードを光ファ
イバから成るメインループ及びサブループでループ状に
接続して成るループ式LANの制御装置において、 各ノードに備えられ、前記メインループ及びサブループ
の光ファイバとそれぞれ接続されデータバッファを介す
ることなく一方の光ファイバから来た信号を電気信号に
変換すると共に変換された電気信号を他方の光ファイバ
に光信号で出力する二対の光電気変換器と、前記サブル
ープに対しループを獲得したい旨の信号及びループを獲
得している旨の信号を出力し前記サブループに自己が出
力した信号が現われるのを待ってループ獲得を行うルー
プ獲得制御と、該制御部によってループ獲得が行われた
とき前記メインループに送信先付のデータを出力する一
方、前記メインループに自己宛データが現われたときこ
のデータを取り込んで所定のターミナルへ出力するデー
タ制御部とを備えたことを特徴とするループ式LAN制
御装置。
(3) In a loop-type LAN control device in which an appropriate number of terminals and connectable nodes are connected in a loop through a main loop and sub-loop consisting of optical fibers, each node is provided with an optical fiber of the main loop and the sub-loop. two pairs of opto-electrical converters that are connected to each fiber and convert the signal coming from one optical fiber into an electrical signal without going through a data buffer, and output the converted electrical signal to the other optical fiber as an optical signal; , a loop acquisition control that outputs a signal to the subloop to the effect that it wants to acquire a loop and a signal to the effect that the loop has been acquired, and acquires the loop by waiting for the signal output by itself to appear in the subloop; a data control unit that outputs data with a destination to the main loop when a loop acquisition is performed by the main loop, and captures this data when self-addressed data appears in the main loop and outputs it to a predetermined terminal; A loop type LAN control device characterized by comprising:
JP62047767A 1987-03-04 1987-03-04 Loop type lan and its controller Pending JPS63215241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62047767A JPS63215241A (en) 1987-03-04 1987-03-04 Loop type lan and its controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62047767A JPS63215241A (en) 1987-03-04 1987-03-04 Loop type lan and its controller

Publications (1)

Publication Number Publication Date
JPS63215241A true JPS63215241A (en) 1988-09-07

Family

ID=12784524

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62047767A Pending JPS63215241A (en) 1987-03-04 1987-03-04 Loop type lan and its controller

Country Status (1)

Country Link
JP (1) JPS63215241A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05219080A (en) * 1991-09-05 1993-08-27 Internatl Business Mach Corp <Ibm> Data communication network and method of arbitrating token-ring
KR100427512B1 (en) * 2001-09-10 2004-04-30 주식회사데이콤 IP leased line using Metro LAN
WO2008001420A1 (en) * 2006-06-26 2008-01-03 Mitsubishi Electric Corporation Communication node and token issuing method and token ring communication method in ring-shaped communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5138905A (en) * 1974-09-30 1976-03-31 Hokushin Electric Works Deetahaiueino senjukenkokanseigyohoshiki
JPS57127342A (en) * 1981-01-30 1982-08-07 Nec Corp Branchable multiplex loop transmitter
JPS61191141A (en) * 1985-02-19 1986-08-25 Fuji Electric Co Ltd System for moving use right of loop transmission line

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5138905A (en) * 1974-09-30 1976-03-31 Hokushin Electric Works Deetahaiueino senjukenkokanseigyohoshiki
JPS57127342A (en) * 1981-01-30 1982-08-07 Nec Corp Branchable multiplex loop transmitter
JPS61191141A (en) * 1985-02-19 1986-08-25 Fuji Electric Co Ltd System for moving use right of loop transmission line

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05219080A (en) * 1991-09-05 1993-08-27 Internatl Business Mach Corp <Ibm> Data communication network and method of arbitrating token-ring
KR100427512B1 (en) * 2001-09-10 2004-04-30 주식회사데이콤 IP leased line using Metro LAN
WO2008001420A1 (en) * 2006-06-26 2008-01-03 Mitsubishi Electric Corporation Communication node and token issuing method and token ring communication method in ring-shaped communication system
US8213455B2 (en) 2006-06-26 2012-07-03 Mitsubishi Electric Corporation Communication node, and token issuing method and token-ring communication method in ring communication system
US8351459B2 (en) 2006-06-26 2013-01-08 Mitsubishi Electric Corporation Communication node, and token issuing method and token-ring communication method in ring communication system
TWI427974B (en) * 2006-06-26 2014-02-21 Mitsubishi Electric Corp Communication node, and token ring communication method
US8687647B2 (en) 2006-06-26 2014-04-01 Mitsubishi Electric Corporation Communication node, and token issuing method and token-ring communication method in ring communication system

Similar Documents

Publication Publication Date Title
AU630222B2 (en) Data synchronous transfer system using a fiber distributed data exchange interface
JP2630358B2 (en) Method and apparatus for performing restricted token operation in an FDDI ring network
US5400323A (en) Method for controlling the insertion of stations into FDDI network
JPS61500092A (en) Data link extension for data communication networks
US20100111082A1 (en) Packet Switching Device and Local Communication Network With Such a Packet Switching Device
US6181708B1 (en) Lossless arbitration scheme and network architecture for collision based network protocols
KR100391024B1 (en) Two-pin distributed ethernet bus architecture
JPS63215241A (en) Loop type lan and its controller
JP3538243B2 (en) LAN adapter device and LAN system
US5442631A (en) Communication control device
JPS63193741A (en) Method of constituting mutual connections between digital signal switches, networks including digital switches and a plurality of digital devices
JPS60236340A (en) Communication system
JPS62261250A (en) Mechanism for facilitating exchange of data and non-encoded information in communication network
US20060209879A1 (en) Switch system and loop transfer method
JP6478244B2 (en) Communication interface device
JPS62261247A (en) Data transmission system
KR900006971B1 (en) Method and arrangement for communicating between processors having variable priorties
JP2000261452A (en) Network system and terminal
KR100232870B1 (en) Mii-ir bus connection apparatus
JPS62175050A (en) Transmitting right request signal transmitting system
JPS6348933A (en) Loop communication system
JPS59207763A (en) Loop type full duplex communication system of data transmission line
JPS5859647A (en) Transmitting and receiving device of transmission right signal
JPH03270431A (en) Interprocessor communication system
JPS62281538A (en) Network connection system