JPH0535939B2 - - Google Patents

Info

Publication number
JPH0535939B2
JPH0535939B2 JP11617985A JP11617985A JPH0535939B2 JP H0535939 B2 JPH0535939 B2 JP H0535939B2 JP 11617985 A JP11617985 A JP 11617985A JP 11617985 A JP11617985 A JP 11617985A JP H0535939 B2 JPH0535939 B2 JP H0535939B2
Authority
JP
Japan
Prior art keywords
response
data
command
master station
station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP11617985A
Other languages
Japanese (ja)
Other versions
JPS61274447A (en
Inventor
Koji Demachi
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP11617985A priority Critical patent/JPS61274447A/en
Publication of JPS61274447A publication Critical patent/JPS61274447A/en
Publication of JPH0535939B2 publication Critical patent/JPH0535939B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、シリアル伝送パケツト交換方式の通
信方式に関し、更に詳しくは、ラインアクセス制
御にラインアイドルタイマを用いるとともに、ス
レープステーシヨンからデータ付きレスポンを受
信できるようにした通信方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a serial transmission packet-switched communication method, and more specifically, it uses a line idle timer for line access control, and a response with data from a slave station. This relates to a communication method that allows the reception of .

(従来の技術) 従来のこの種の通信方式においては、マスタス
テーシヨンとスレープステーシヨン、あるいはそ
の両方の機能を有するステーシヨンが複数台通信
線によつて接続され、マスタステーシヨンが、ス
レープステーシヨンの1つに対してコマンドフレ
ーム(CUI)を送信し、スレープステーシヨン
は、このコマンドフレームを受信後、返信データ
の準備ができるまで、レスポンスフレームのプリ
アンプル(RA)を送信し続け、準備が終了後デ
ータ(RUI)を送信する。第4図は、この通信方
式を示すものである。一方、マスタステーシヨン
は、コマンドフレームを送信後、無応答タイマを
起動し、レスポンスフレームのプリアンプルを受
信すると、この無応答タイマを停止させ、データ
の到着を持つようになつている。
(Prior Art) In this type of conventional communication system, a plurality of master stations and slave stations, or stations having the functions of both, are connected by communication lines, and the master station is connected to one of the slave stations. After receiving this command frame, the slave station continues to send a response frame preamble (RA) until the reply data is ready, and after the preparation is completed. Send data (RUI). FIG. 4 shows this communication method. On the other hand, after transmitting a command frame, the master station starts a no-response timer, and when it receives a preamble of a response frame, it stops this no-response timer and waits for data to arrive.

(発明が解決しようとする問題点) このような従来の通信方式においては、レスポ
ンスフレームのフレーム長は、スレープステーシ
ヨンでの返信データの準備にかかる時間に依存し
て長くなる。このために、バスリピータ等、フレ
ームのデータ部の他に、プリアンプル等も忠実に
伝える必要がある機器または、受信データを再び
自分のクロツクで送出する機器では、プリアンプ
ルを含めた最大フレーム長を考慮した大容量のデ
ータバツフアを備えなくてはならず、それだけコ
ストアツプになるうえに、バスリピータの伝達遅
延の増大をきたすという問題点があつた。
(Problems to be Solved by the Invention) In such conventional communication systems, the frame length of the response frame increases depending on the time required to prepare reply data at the slave station. For this reason, in devices such as bus repeaters that need to faithfully transmit the preamble in addition to the data part of the frame, or devices that send out received data again using their own clock, the maximum frame length including the preamble is It is necessary to provide a large-capacity data buffer in consideration of the above, which not only increases the cost but also increases the transmission delay of the bus repeater.

本発明は、このような問題点に鑑みてなされた
もので、その目的は、データ付きレスポンスフレ
ームのプリアンプルを最少限にすることにより、
レスポンスフレームのフレーム長を短かくし、バ
スリピータ内のデータバツフアの容量を最少限に
抑え、バス・リピータのコストのコストの低減と
バス・リピータによる伝達遅延の低減を達成しよ
うとするものである。
The present invention was made in view of these problems, and its purpose is to minimize the preamble of a response frame with data.
This aims to shorten the frame length of the response frame, minimize the capacity of the data buffer in the bus repeater, and thereby reduce the cost of the bus repeater and the transmission delay caused by the bus repeater.

(問題点を解決するための手段) 前記した問題点を解決するための本発明は、ラ
インアクセス制御にラインアイドルタイマを用い
たシリアル伝送パケツト交換方式の通信方式であ
つて、マスタステーシヨンはコマンド送信後無応
答タイマを起動しスレープステーシヨンからのレ
スポンスを持ち、スレープステーシヨンはデータ
付きレスポンスを要求するコマンドを受信すると
まず受信待機要求を返信し、レスポンスデータの
準備を行ない、その間マスタステーシヨンは前記
ラインアイドルタイマより短かい一定時間間隔で
レスポンス督促コマンドを送信し、スレープステ
ーシヨンは前記レスポンスデータの準備が終了す
るとマスタステーシヨンからのレスポンス督促コ
マンドに対してデータ付レスポンスを返信するこ
とを特徴とする。
(Means for Solving the Problems) The present invention for solving the above-mentioned problems is a serial transmission packet-switched communication system using a line idle timer for line access control, in which the master station transmits commands. After starting the no-response timer and receiving a response from the slave station, when the slave station receives a command requesting a response with data, it first returns a reception standby request and prepares the response data, while the master station receives the response from the slave station. The slave station transmits a response prompting command at fixed time intervals shorter than a line idle timer, and when the slave station completes the preparation of the response data, it returns a response with data to the response prompting command from the master station. .

(実施例) 第1図は本発明が適用される通信系の概念図で
ある。図において、S11,S12…S21,S22…はいず
れも通信ステーシヨンであつて、通信ステーシヨ
ンS11,S12…は第1のバスラインL1に接続され、
また通信ステーシヨンS21,S22…は第2のバスラ
インL2に接続されている。BR1は第1のバスラ
インL1に接続されたバスリピータ、BR2は第2
のバスラインL2に接続されたバスリピータで、
互いに延長ラインLoを介して接続されている。
(Embodiment) FIG. 1 is a conceptual diagram of a communication system to which the present invention is applied. In the figure, S11 , S12 ... S21 , S22 ... are all communication stations, and the communication stations S11 , S12 ... are connected to the first bus line L1 ,
Furthermore, the communication stations S 21 , S 22 . . . are connected to the second bus line L 2 . BR1 is the bus repeater connected to the first bus line L 1 , BR2 is the bus repeater connected to the second
bus repeater connected to bus line L 2 of
They are connected to each other via an extension line Lo.

このような構成の通信系において、第1のバス
ラインに接続される通信ステーシヨンのいずれか
1つが、例えばマスタステーシヨンとなり、第2
のバスラインに接続される通信ステーシヨンのい
ずれか1つが、例えばスレープステーシヨンとな
つて、両者間でパケツト交換方式の通信が行なえ
るようになつている。ここでラインアクセス制御
には、ラインアイドルタイマが用いられている。
In a communication system with such a configuration, one of the communication stations connected to the first bus line serves as a master station, and the second
Any one of the communication stations connected to the bus line serves as, for example, a slave station, so that packet-switched communication can be performed between the two stations. Here, a line idle timer is used for line access control.

第2図及び第3図は本発明の通信方式を説明す
るための動作説明図である。
FIGS. 2 and 3 are operation explanatory diagrams for explaining the communication system of the present invention.

ここでは、第1のバスラインL1に接続される
通信ステーシヨンS11がマスタステーシヨン、第
2のバスラインL2に接続される通信ステーシヨ
ンS21がスレープステーシヨンとなり、マスタス
テーシヨンS11がスレープステーシヨンS21に対し
てデータ付きレスポンスの返信を要求する通信を
行なう場合を示している。
Here, the communication station S11 connected to the first bus line L1 is the master station, the communication station S21 connected to the second bus line L2 is the slave station, and the master station S11 is the slave station. A case is shown in which communication is performed to request station S 21 to return a response with data.

まず、マスタステーシヨンがスレープステーシ
ヨン宛のデータ付きレスポンスを要求するコマン
ド(CUI)を送信する。この時、無応答タイマ
TNを起動し、時間監視をしながらスレープステ
ーシヨンからの応答を待つ。このコマンドは、バ
スリピータBR1、延長ラインLo、バスリピータ
BR2を通つてスレープステーシヨンS22に伝えら
れる。
First, the master station sends a command (CUI) to the slave station requesting a response with data. At this time, no response timer
Start T N and wait for a response from the slave station while monitoring the time. This command applies to bus repeater BR1, extension line Lo, bus repeater
It is transmitted to the slave station S 22 through BR2.

スレープステーシヨンS22は、コマンド(CUI)
を受信し、そのコマンドが自局宛でかつ、データ
付きレスポンスを要求するコマンド(CUI)であ
ることを認識すると、レスポンス受信待機要求
(RUW)を返信し、マスタステーシヨンS11に対
してレスポンスの受信待機状態に入ることを要求
する。続いて、このスレープステーシヨンは、マ
スタステーシヨンが受信待機状態にある間に受信
したコマンドに対する返信データの準備を行な
い、データ付きレスポンスのフレームを生成す
る。この間、スレープステーシヨンは、バスライ
ン上のすべてのフレームを無視する。レスポンス
フレーム生成後、スレープステーシヨンは、マス
タステーシヨンからのレスポンス督促コマンド
(CUE)の受信を待つ。
Slape Station S 22 Command (CUI)
When the command is addressed to the station itself and recognizes that it is a command (CUI) that requests a response with data, it returns a response reception standby request (RUW) and sends a response request to the master station S 11 . Requests to enter reception standby state. Subsequently, this slave station prepares reply data for the command received while the master station is in a reception standby state, and generates a response frame with data. During this time, the slave station ignores all frames on the bus line. After generating the response frame, the slave station waits to receive a response prompting command (CUE) from the master station.

一方、マスタステーシヨンS11は、レスポンス
受信待機要求(RUW)を受信すると、無応答タ
イマTNを停止させ、続いて受信待機タイマTW
起動する。この受信待機タイマTWの時限値は、
ラインアクセス制御を行なうラインアイドルタイ
マの時限値より短かい時間tWが設定されている。
この受信待機タイマTWがタイムアツプすると、
マスタステーシヨンは、レスポンス督促コマンド
(CUE)を送信し、スレープステーシヨンS21
対してレスポンスを要求する。ここで、スレープ
ステーシヨンが、既にレスポンスフレームを生成
している場合は、スレープステーシヨンは、レス
ポンス督促コマンド(CUE)に対し、データ付
きレスポンス(RUI)を返信する。スレープステ
ーシヨンが、まだレスポンスフレームを生成し終
つていない場合は、レスポンス督促コマンド
(CUE)に対するレスポンスは何も返信しない。
この場合、マスタステーシヨンは、再び受信待機
タイマTWを起動し、これがタイムアツプ後(tW
後)に、レスポンス督促コマンド(CUE)の再
送を行なう。
On the other hand, upon receiving the response reception standby request (RUW), the master station S11 stops the no-response timer TN , and then starts the reception standby timer TW . The time limit value of this reception standby timer T W is
A time t W is set that is shorter than the time limit value of the line idle timer that performs line access control.
When this reception standby timer T W times out,
The master station sends a response prompting command (CUE) to request a response from the slave station S21 . Here, if the slave station has already generated a response frame, the slave station returns a response with data (RUI) in response to the response prompting command (CUE). If the slave station has not yet generated a response frame, it will not send any response to the response prompting command (CUE).
In this case, the master station starts the reception standby timer T W again, and after this time-up (t W
(after), the response prompting command (CUE) is retransmitted.

マスタステーシヨンは、この動作を規定回数繰
返して行ない、その間、スレープステーシヨンか
らデータ付レスポンス(RUI)が返信されない場
合、スレープステーシヨンが無応答であると判断
し、通信をアポートする。
The master station repeats this operation a predetermined number of times, and if a response with data (RUI) is not returned from the slave station during that time, it determines that the slave station is not responding and aborts communication.

(発明の効果) 以上説明したように、本発明の通信方式によれ
ば、通信フレームの最大フレーム長を最小限にす
ることができ、その結果としてバスリピータ等の
機器に内蔵するデータバツフアの容量を、必要最
少限に抑えることができ、バスリピータのコスト
の低減及びデータバツフアによる伝達遅延を低減
できるという効果がある。
(Effects of the Invention) As explained above, according to the communication method of the present invention, the maximum frame length of communication frames can be minimized, and as a result, the capacity of data buffers built into devices such as bus repeaters can be reduced. , can be suppressed to the necessary minimum, which has the effect of reducing the cost of the bus repeater and the transmission delay due to the data buffer.

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

第1図は、本発明が適用される通信系の概念
図、第2図及び第3図は本発明の通信方式の動作
説明図、第4図は従来の通信方式の動作説明図で
ある。 S11,S12…S21,S22……通信ステーシヨン、
L1,L2……バスライン、Lo……延長ライン、BR
1,BR2……バスリピータ。
FIG. 1 is a conceptual diagram of a communication system to which the present invention is applied, FIGS. 2 and 3 are diagrams for explaining the operation of the communication system of the present invention, and FIG. 4 is a diagram for explaining the operation of the conventional communication system. S11 , S12 ... S21 , S22 ...Communication station,
L 1 , L 2 ... bus line, Lo ... extension line, BR
1, BR2...Bus repeater.

Claims (1)

【特許請求の範囲】[Claims] 1 ラインアクセス制御にラインアイドルタイマ
を用いたシリアル伝送パケツト交換方式の通信方
式であつて、マスタステーシヨンはコマンド送信
後無応答タイマを起動しスレープステーシヨンか
らのレスポンスを待ち、スレープステーシヨンは
データ付きレスポンスを要求するコマンドを受信
するとまず受信待機要求を返信し、レスポンスデ
ータの準備を行ない、その間マスタステーシヨン
は前記ラインアイドルタイマより短かい一定時間
間隔でレスポンス督促コマンドを送信し、スレー
プステーシヨンは前記レスポンスデータの準備が
終了するとマスタステーシヨンからのレスポンス
督促コマンドに対してデータ付レスポンスを返信
することを特徴とする通信方式。
1 This is a serial transmission packet-switched communication method that uses a line idle timer for line access control. After sending a command, the master station starts a no-response timer and waits for a response from the slave station. When a command requesting a response is received, the master station first returns a reception standby request and prepares response data. During this time, the master station transmits a response reminder command at a fixed time interval shorter than the line idle timer, and the slave station A communication method characterized in that when the preparation of response data is completed, a response with data is returned in response to a response prompting command from the master station.
JP11617985A 1985-05-29 1985-05-29 Communication system Granted JPS61274447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11617985A JPS61274447A (en) 1985-05-29 1985-05-29 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11617985A JPS61274447A (en) 1985-05-29 1985-05-29 Communication system

Publications (2)

Publication Number Publication Date
JPS61274447A JPS61274447A (en) 1986-12-04
JPH0535939B2 true JPH0535939B2 (en) 1993-05-27

Family

ID=14680754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11617985A Granted JPS61274447A (en) 1985-05-29 1985-05-29 Communication system

Country Status (1)

Country Link
JP (1) JPS61274447A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3023029B2 (en) * 1992-02-06 2000-03-21 三菱電機株式会社 Communication method between cards in shelf configuration

Also Published As

Publication number Publication date
JPS61274447A (en) 1986-12-04

Similar Documents

Publication Publication Date Title
JPH0248841A (en) Transmission right control system in bus type lan
JPH0535939B2 (en)
EP0268664B1 (en) A method of coupling a data transmitter unit to a signal line and an apparatus for performing the invention
JPH0220026B2 (en)
JPS5918896B2 (en) Jibun Katsuei Seitu Shinboshiki
JPH03270432A (en) Local area network
JPH0730576A (en) Transmission system
JPH06164603A (en) Transmission system for time division multiplex transmitting device
JPH0644763B2 (en) Data transfer method
JPS62219825A (en) Gateway of load control system
JPH02222240A (en) Transmission method for hierarchical system
JP3067159B2 (en) Method and apparatus for controlling signal direction of packet switching apparatus
JPS63135037A (en) Establishing method for data link
JPS60180251A (en) Simultaneous polling system
JP2000004246A (en) Supervisory and control method for communication equipment
JPH05216819A (en) Transfer control system for packet bus
JPH0365702B2 (en)
JP4218152B2 (en) Communication method and communication system
JPS6255740B2 (en)
JP2935242B2 (en) Wireless communication system
JPS63138743U (en)
JPS61278243A (en) Communication system
JPS6072451A (en) Block transfer system in unconfirming transfer
JPH05160873A (en) Communication controller
JPH0734190B2 (en) Communication control device in data transmission system