JPH08251253A - Start-stop type data transmission method - Google Patents

Start-stop type data transmission method

Info

Publication number
JPH08251253A
JPH08251253A JP7055401A JP5540195A JPH08251253A JP H08251253 A JPH08251253 A JP H08251253A JP 7055401 A JP7055401 A JP 7055401A JP 5540195 A JP5540195 A JP 5540195A JP H08251253 A JPH08251253 A JP H08251253A
Authority
JP
Japan
Prior art keywords
data
transmission
data transmission
transmission rate
reception
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
JP7055401A
Other languages
Japanese (ja)
Inventor
Yoshiaki Iwase
芳明 岩瀬
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7055401A priority Critical patent/JPH08251253A/en
Publication of JPH08251253A publication Critical patent/JPH08251253A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To match respective data transmission speeds by judging a transmission side data transmission speed by reception state information decided by the data transmission speeds set on transmission and reception sides. CONSTITUTION: Transmission speed judgement data are transmitted from a transmission side data transmitter 1 to a reception side data transmitter 2 by a transmission speed judgement data transmission part 5a. They are recognized in a transmission speed judgement data recognition part 10a and judged in a judgement part 10b by using a judgement table 11. As a result, when the transmission speeds set on the transmission and reception sides are different, a transmission speed setting part 10d changes the speed on the reception side by the table 11. Then, response data are transmitted to the transmitter 1 by a response part 10c. Thus, in a data transmission part 5e, the send-out of transmission data main body from the transmission side, the confirmation response of the reception side, the send-out of the end data of the transmission side and the ending confirmation send-out of the reception side are performed and data transmission is ended.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、調歩式データ伝送方法
に係わり、特に、送受信装置間におけるデータ伝送速度
の適合方法について改良した調歩式データ伝送方法関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a start-stop data transmission method, and more particularly, to a start-up data transmission method which is an improved method of adapting a data transmission rate between transmitting and receiving devices.

【0002】[0002]

【従来の技術】例えばネットワークを形成した計算機間
のデータ伝送においては、送信側と受信側との通信速度
(つまり、伝送速度又は伝送クロック)が異なると正常
にデータ伝送できないので、両者の伝送速度を合わせる
ようにしている。
2. Description of the Related Art For example, in data transmission between computers forming a network, data cannot be normally transmitted if the communication speed (that is, the transmission speed or the transmission clock) between the transmitting side and the receiving side is different. I am trying to match.

【0003】しかし、現実には様々な伝送処理能力を持
つ情報装置が混在している。そこで、これらの装置を任
意に組み合わせて、データ伝送系を形成した場合、すべ
ての装置間の伝送速度を合わせるため、伝送処理が最低
の装置に合わせて通信速度を決めるようにしている。
However, in reality, information devices having various transmission processing capabilities are mixed. Therefore, when a data transmission system is formed by arbitrarily combining these devices, in order to match the transmission speed among all the devices, the communication speed is determined according to the device with the lowest transmission processing.

【0004】例えば、パソコン同士でのデータ伝送の場
合を考えると、パソコンの伝送処理能力は、CPU性能
・メモリ量などのハードウェア処理能力と同時に動いて
いるソフトウェアの負荷とによって決っている。ハード
ウェアの処理能力が低いか、又、ソフトウェアの負荷が
大きい場合、そのパソコンの伝送処理能力は低く、伝送
速度を遅く設定する必要がある。一方、ハードウェアの
処理能力が高く、ソフトウェアの負荷が小さい場合、そ
のパソコンの伝送速度は、速く設定できる。
For example, considering the case of data transmission between personal computers, the transmission processing capability of the personal computers is determined by the hardware processing capability such as the CPU performance and the amount of memory and the load of software running at the same time. If the processing capability of the hardware is low or the load of the software is heavy, the transmission processing capability of the personal computer is low, and it is necessary to set the transmission speed low. On the other hand, when the processing capacity of the hardware is high and the load of the software is small, the transmission speed of the personal computer can be set high.

【0005】このような伝送処理能力が異なるパソコン
同士を接続した場合、あらゆる組み合わせでデータ伝送
可能とするために、伝送処理能力が最も低い、すなわち
伝送速度の最も遅いパソコンに合わせて伝送速度の設定
を行わなければならない。
When personal computers having different transmission processing capacities are connected to each other, data transmission is possible in all combinations, so that the transmission speed is set according to the personal computer having the lowest transmission processing capacity, that is, the slowest transmission speed. Must be done.

【0006】図23は従来の調歩式データ伝送装置の概
略構成図である。
FIG. 23 is a schematic block diagram of a conventional start-stop data transmission device.

【0007】図23において、送信側データ伝送装置3
0は、CPU31の動作によりメモリ32内の情報を送
受信器33から伝送路34を介して、受信側データ伝送
装置35に送信する。
In FIG. 23, the transmitting side data transmission device 3
0 transmits the information in the memory 32 from the transmitter / receiver 33 to the receiving side data transmission device 35 via the transmission path 34 by the operation of the CPU 31.

【0008】一方、受信側データ伝送装置35は、送受
信装置36で受け取ったデータをCPU37の動作によ
りあるいは送受信装置36から直接にメモリ38内に保
存する。
On the other hand, the reception side data transmission device 35 stores the data received by the transmission / reception device 36 in the memory 38 by the operation of the CPU 37 or directly from the transmission / reception device 36.

【0009】このような送受信システムにおいては、事
前にすべてのデータ伝送装置30,35のデータ伝送速
度が伝送処理能力の最も低い装置に合わせて設定され
る。
In such a transmission / reception system, the data transmission rates of all the data transmission devices 30 and 35 are set in advance according to the device having the lowest transmission processing capacity.

【0010】また、上記送受信システムにおいて、デー
タ伝送におけるデータ本体を伝送する前に、確認キャラ
クタを伝送する方式が採用される場合もある。
Further, in the transmission / reception system, there may be a case where a method of transmitting a confirmation character before transmitting the data main body in the data transmission.

【0011】つまり、上記2つのデータ伝送装置30,
35間において送信側の伝送速度を固定とし、図24に
示すキャラクタ“U”(55H;ここで55Hは16進
数で“U”を表すコードである)を確認キャラクタとし
て送信する。
That is, the two data transmission devices 30,
Between 35, the transmission speed on the transmitting side is fixed, and the character "U"(55H; 55H here is a code representing "U" in hexadecimal) shown in FIG. 24 is transmitted as a confirmation character.

【0012】図25はこのときの確認動作を示すシーケ
ンス図である。
FIG. 25 is a sequence diagram showing the confirmation operation at this time.

【0013】図25において、まず、送信側データ伝送
装置30からキャラクタ“U”が送出される。受信側デ
ータ伝送装置35でキャラクタ“U”を確認できれば、
受信確認信号を送信側データ伝送装置30に返送し、送
信側データ伝送装置30はデータ本体の送信を開始す
る。
In FIG. 25, first, the character "U" is transmitted from the transmission side data transmission device 30. If the character “U” can be confirmed on the receiving side data transmission device 35,
The reception confirmation signal is returned to the transmission side data transmission device 30, and the transmission side data transmission device 30 starts transmission of the data body.

【0014】また、受信側データ伝送装置35側でキャ
ラクタ“U”を確認できない場合は、受信側データ伝送
装置35は、受信速度を変更する。
If the character "U" cannot be confirmed on the receiving side data transmitting apparatus 35 side, the receiving side data transmitting apparatus 35 changes the receiving speed.

【0015】一方、送信側では、一定時間が過ぎ、タイ
ムアウトになると、再び先と同じ伝送速度でキャラクタ
“U”を送信する。
On the other hand, on the transmitting side, when a certain period of time has passed and a timeout occurs, the character "U" is transmitted again at the same transmission rate as before.

【0016】そして、受信側でキャラクタ“U”を確認
できれば、上述した通りにデータ本体の送信を開始す
る。
Then, if the character "U" can be confirmed on the receiving side, the transmission of the data body is started as described above.

【0017】なお、上記2回目のキャラクタ“U”送信
でも受信側で確認できなかった場合、確認できるまでキ
ャラクタ“U”送信及び受信速度変更を繰り返すことに
なる。
When the character "U" cannot be confirmed on the receiving side even after the second transmission of the character "U", the character "U" transmission and the change of the receiving speed are repeated until it is confirmed.

【0018】[0018]

【発明が解決しようとする課題】従来の方法において
は、各伝送装置間の伝送速度設定は、すべてのデータ伝
送装置うちで最低の伝送速度を持つ装置に合わせる必要
がある。
In the conventional method, it is necessary to set the transmission rate between the transmission apparatuses to the one having the lowest transmission rate among all the data transmission apparatuses.

【0019】したがって、より速い伝送速度を持つ装置
同士のデータ伝送であっても、上記最低の伝送速度で伝
送されることになり、各伝送装置の持つ能力が生かされ
ていないという問題点があった。
Therefore, even in the data transmission between the devices having the higher transmission speed, the data is transmitted at the lowest transmission speed, and there is a problem that the capability of each transmission device is not utilized. It was

【0020】一方、キャラクタ“U”を送信して伝送速
度を合わせる方式を用いた場合であっても、伝送速度が
一致するまで何度も送信しなければならないので、この
確認通信に時間がかかるという問題点がある。
On the other hand, even when the method of transmitting the character "U" and adjusting the transmission rate is used, the confirmation communication takes time because the transmission must be repeated until the transmission rates match. There is a problem.

【0021】さらに、図26に示すように、受信側より
も送信側の伝送速度が速いとき、受信したビットを誤認
識してしまうことがあり、正しい通信を実行できない場
合がある。
Further, as shown in FIG. 26, when the transmission speed of the transmission side is higher than that of the reception side, the received bit may be erroneously recognized, and correct communication may not be executed in some cases.

【0022】本発明は、このような実情を考慮してなさ
れたもので、伝送系のデータの伝送速度を予め固定する
ことなく、データ伝送を行う際に、受信側で送信側のデ
ータ伝送速度を判定可能とする調歩式データ伝送方法を
提供し、また、伝送系のデータの伝送速度を予め固定す
ることなく、データ伝送を行う際に、送受信側双方で互
いのデータ伝送速度を判定すると共に、各データ伝送速
度を合わせることを可能とする調歩式データ伝送方法を
提供することを目的とする。
The present invention has been made in consideration of such a situation, and when performing data transmission without previously fixing the data transmission rate of the transmission system, the data transmission rate of the receiving side at the receiving side And a method of determining the start-stop data transmission that enables the transmission / reception side to determine each other's data transmission rate when performing data transmission without previously fixing the transmission system data transmission rate. It is an object of the present invention to provide a start-stop data transmission method that makes it possible to match each data transmission speed.

【0023】[0023]

【課題を解決するための手段】上記課題を解決するため
に、請求項1に対応する発明は、調歩伝送によりデータ
伝送装置間でデータ伝送する調歩式データ伝送方法にお
いて、送信側のデータ伝送装置から伝送速度判定データ
を送信し、受信側のデータ伝送装置で伝送速度判定デー
タを受信し、受信側において、伝送速度判定データにつ
いての識別される受信データ等の受信状態情報を取得
し、送信側で設定されるデータ伝送速度と受信側で設定
されたデータ伝送速度との関係によって決まる受信状態
情報と取得された受信状態情報とに基づいて、送信側の
データ伝送速度を判定することを特徴とした調歩式デー
タ伝送方法である。
In order to solve the above-mentioned problems, the invention according to claim 1 is a start-stop data transmission method for transmitting data between data transmission devices by start-stop transmission, wherein the data transmission device on the transmission side is From the transmission side, the data transmission device on the receiving side receives the transmission rate determination data, and the receiving side acquires the reception status information such as the identified reception data for the transmission rate determination data, and the transmitting side The data transmission rate of the transmission side is determined based on the reception state information determined by the relationship between the data transmission rate set in step 1 and the data transmission rate set on the reception side, and the reception state information acquired. This is a start-stop data transmission method.

【0024】また、請求項2に対応する発明は、請求項
1に対応する発明において、取得された受信状態情報
が、識別された受信データ又は伝送速度判定データを受
信することにより生じるエラーの種類データである調歩
式データ伝送方法である。
The invention according to claim 2 is, in the invention according to claim 1, a type of error that occurs when the acquired reception state information receives the identified reception data or transmission rate determination data. This is a start-stop data transmission method that is data.

【0025】さらに、請求項3に対応する発明は、調歩
伝送によりデータ伝送装置間でデータ伝送する調歩式デ
ータ伝送方法において、送信側のデータ伝送装置から伝
送速度判定データを送信し、受信側のデータ伝送装置で
伝送速度判定データを受信し、受信側において、伝送速
度判定データについての識別された受信データ又は伝送
速度判定データを受信することにより生じるエラーの種
類データ等の受信状態情報を取得し、送信側で設定され
るデータ伝送速度と受信側で設定されるデータ伝送速度
との関係によって決まる受信状態情報と取得された受信
状態情報とに基づいて、送信側のデータ伝送速度を判定
し、この判定結果に基づいて、受信側のデータ伝送速度
を変更し、この変更したデータ伝送速度で、受信側のデ
ータ伝送装置から送信側のデータ伝送装置に応答データ
を返信し、送信側において、応答データについての識別
された応答受信データ又は応答データを受信することに
より生じるエラーの種類データ等の応答受信状態情報を
取得し、送信側で設定されるデータ伝送速度と受信側で
設定されるデータ伝送速度との関係によって決まる受信
状態情報と取得された応答受信状態情報とに基づいて、
受信側のデータ伝送速度を判定し、この判定結果に基づ
いて、送信側のデータ伝送速度を受信側のデータ伝送速
度に一致させる調歩式データ伝送方法である。
Further, in the invention according to claim 3, in the start-stop data transmission method for transmitting data between data transmission devices by start-stop transmission, the transmission speed judgment data is transmitted from the data transmission device on the transmission side, and the transmission speed judgment data is transmitted on the reception side. The data transmission device receives the transmission speed judgment data, and the receiving side acquires the reception status information such as the identified reception data of the transmission speed judgment data or the error type data generated by receiving the transmission speed judgment data. , The data transmission rate of the transmission side is determined based on the reception state information and the acquired reception state information determined by the relationship between the data transmission rate set on the transmission side and the data transmission rate set on the reception side, Based on this judgment result, the data transmission rate on the receiving side is changed, and the data transmission device on the receiving side is changed at this changed data transmission rate. The response data is returned to the data transmission device on the receiving side, and on the transmitting side, the response receiving state information such as the identified response receiving data for the response data or the error type data generated by receiving the response data is acquired, Based on the reception status information and the acquired response reception status information determined by the relationship between the data transmission rate set on the transmission side and the data transmission rate set on the reception side,
This is a start-stop data transmission method in which the data transmission rate of the receiving side is determined and the data transmission rate of the transmitting side is matched with the data transmission rate of the receiving side based on the result of this determination.

【0026】さらにまた、請求項4に対応する発明は、
請求項1〜3に対応する発明において、伝送速度判定デ
ータは、送信側のデータ伝送装置が伝送すべき伝送デー
タ本体の先頭に付加されている調歩式データ伝送方法で
ある。
Furthermore, the invention corresponding to claim 4 is as follows.
In the inventions corresponding to claims 1 to 3, the transmission speed determination data is a start-stop data transmission method in which the transmission side data transmission device is added to the head of the transmission data body to be transmitted.

【0027】一方、請求項5に対応する発明は、請求項
1〜4に対応する発明において、伝送速度判定データ
が、16進数表示で”F8”の1バイトデータである調
歩式データ伝送方法である。
On the other hand, the invention according to claim 5 is the start-stop data transmission method according to the inventions according to claims 1 to 4, wherein the transmission speed judgment data is 1 byte data of "F8" in hexadecimal notation. is there.

【0028】また、請求項6に対応する発明は、請求項
1〜4に対応する発明において、伝送速度判定データ
が、16進数表示で”80”の1バイトデータである調
歩式データ伝送方法である。
The invention according to claim 6 is the start-stop data transmission method according to the inventions according to claims 1 to 4, wherein the transmission speed determination data is 1-byte data of "80" in hexadecimal notation. is there.

【0029】さらに、請求項7に対応する発明は、請求
項1〜4に対応する発明において、伝送速度判定データ
が、16進数表示で”FF”の1バイトデータである調
歩式データ伝送方法である。
Further, the invention according to claim 7 is the start-stop data transmission method according to the inventions according to claims 1 to 4, wherein the transmission speed judgment data is 1-byte data of "FF" in hexadecimal notation. is there.

【0030】さらにまた、請求項8に対応する発明は、
請求項1〜4に対応する発明において、伝送速度判定デ
ータが、16進数表示で”FF”の1バイトデータと1
6進数表示で”80”の1バイトデータとからなる合計
2バイトのデータである調歩式データ伝送方法である。
Furthermore, the invention corresponding to claim 8 is
In the inventions corresponding to claims 1 to 4, the transmission speed judgment data is 1 byte data of "FF" in hexadecimal notation and 1
This is a start-stop type data transmission method which is a total of 2 bytes of data consisting of 1 byte of "80" in hexadecimal notation.

【0031】一方、請求項9に対応する発明は、調歩伝
送によりデータ伝送装置間でデータ伝送する調歩式デー
タ伝送方法において、送信側のデータ伝送速度を判定す
るための判定データとして、それぞれ16進数表示で”
00”の1バイトデータである先頭伝送速度判定データ
と後端伝送速度判定データとを固定長の伝送データ本体
の先後に付加し、各伝送判定データを含む固定長の伝送
データを送信側のデータ伝送装置から送信し、受信側の
前記データ伝送装置で伝送データを受信し、受信側にお
いて、先頭伝送速度判定データについての受信状態情報
に基づき送受信側のデータ伝送速度が一致しているか否
かを判定し、データ伝送速度が一致していないときに
は、受信側において、先頭伝送速度判定データと後端伝
送速度判定データの時間を測定することにより送信側の
データ伝送速度を判定する調歩式データ伝送方法であ
る。
On the other hand, the invention according to claim 9 is a hexadecimal number as the determination data for determining the data transmission rate of the transmitting side in the start-stop data transmission method of transmitting data between data transmission devices by start transmission. In display
The leading transmission rate judgment data and the trailing end transmission rate judgment data, which are 1-byte data of "00", are added after the fixed length transmission data body, and the fixed length transmission data including each transmission judgment data is transmitted to the sender side data. The transmission data is transmitted from the transmission device, the transmission data is received by the data transmission device on the reception side, and the reception side determines whether or not the data transmission rate on the transmission / reception side matches based on the reception state information about the leading transmission rate determination data. If the data transmission rates do not match, the reception side measures the time between the leading transmission rate determination data and the trailing end transmission rate determination data to determine the data transmission rate of the transmitting side. Is.

【0032】[0032]

【作用】したがって、まず、請求項1に対応する発明の
調歩式データ伝送方法においては、調歩式すなわち同期
式のデータ伝送が行われるようになっている。
Therefore, first, in the start-stop data transmission method according to the first aspect of the present invention, start-stop or synchronous data transmission is performed.

【0033】まず、データ伝送装置の送信側から伝送速
度判定データが送信される。このとき、伝送速度判定デ
ータの伝送は、例えば本来伝送すべき伝送データに付加
されたものであってよいし、また、例えば伝送速度判定
データのみが伝送されてもよい。
First, the transmission speed determination data is transmitted from the transmission side of the data transmission device. At this time, the transmission rate determination data may be added to the transmission data to be originally transmitted, or only the transmission rate determination data may be transmitted, for example.

【0034】次に、データ伝送装置の受信側で伝送速度
判定データが受信される。
Next, the transmission speed judgment data is received at the receiving side of the data transmission device.

【0035】そして、受信側において、伝送速度判定デ
ータについての識別された受信データ等の受信状態情報
が取得される。
Then, the receiving side obtains the reception status information such as the identified reception data of the transmission rate determination data.

【0036】ここで、送受信側のデータ伝送速度が同じ
であるとは限らないので、受信側で取得される情報は、
必ずしも送信側が出力した伝送速度判定データと同じに
はならない。つまり、伝送速度判定データを受信側のデ
ータ受信速度を基に読取りを行うので、送受信側のデー
タ伝送速度が異なっていれば、受信側は、送信側が出力
したデータとは異なったデータを受信データとして認識
することになる。
Here, since the data transmission rates of the transmitting and receiving sides are not always the same, the information acquired at the receiving side is
It is not always the same as the transmission rate judgment data output by the transmitting side. In other words, since the transmission rate judgment data is read based on the data reception rate of the receiving side, if the data transmission rate of the transmitting / receiving side is different, the receiving side will receive the data different from the data output by the transmitting side. Will be recognized as.

【0037】しかし、この識別された受信データ等の受
信状態情報は、予め伝送速度判定データの内容が定まっ
ていれば、送信側の設定伝送速度と受信側の設定伝送速
度との関係に対応して定まったものになる。
However, the reception status information such as the identified reception data corresponds to the relationship between the setting transmission rate on the transmitting side and the setting transmission rate on the receiving side if the content of the transmission rate determination data is determined in advance. Will be fixed.

【0038】そこで、これらの関係と上記取得された受
信状態情報とに基づけば、送信側のデータ伝送速度を判
定することができる。
Therefore, the data transmission rate on the transmission side can be determined on the basis of these relations and the received reception state information.

【0039】したがって、判定された送信側のデータ伝
送速度から例えば受信側伝送速度を変更する等の対応が
可能となる。
Therefore, it is possible to take measures such as changing the transmission rate of the receiving side from the determined data transmission rate of the transmitting side.

【0040】また、請求項2に対応する発明の調歩式デ
ータ伝送方法においては、請求項1に対応する発明と同
様に作用する他、受信状態情報として、上記識別された
受信データのみでなく、伝送速度判定データを受信する
ことにより生じるエラーの種類データをも用いているの
で、より確実で広い範囲の送信側のデータ伝送速度判定
が可能となる。
Further, in the start-stop data transmission method of the invention according to claim 2, the same operation as that of the invention according to claim 1 is achieved, and not only the above-identified received data is used as the reception status information, Since the error type data generated by receiving the transmission rate determination data is also used, it is possible to more reliably determine the data transmission rate of the transmitting side in a wide range.

【0041】ここで、上記エラーとして例えばフレーミ
ングエラー,ブレークキャラクタディテクト(ブレーク
エラー)等が考えられる。
Here, as the above error, for example, a framing error, a break character detect (break error), etc. can be considered.

【0042】さらに、請求項3に対応する発明の調歩式
データ伝送方法においては、請求項2に対応する発明と
同様に、まず、受信側で送信側のデータ伝送速度判定が
行われる。
Further, in the start-stop data transmission method of the invention according to claim 3, first, similarly to the invention according to claim 2, the receiving side first determines the data transmission rate of the transmitting side.

【0043】次に、この判定結果に基づき、受信側デー
タ伝送速度の変更が行われる。
Next, based on this determination result, the data transmission rate on the receiving side is changed.

【0044】このとき速度変更は、例えば送信側データ
伝送速度にしてもよいし、受信側で送信側データ伝送速
度を実現できなければ、例えば受信側で設定できる最大
のデータ伝送速度にすればよい。
At this time, the rate change may be made to, for example, the transmission side data transmission rate. If the reception side cannot realize the transmission side data transmission rate, for example, it may be set to the maximum data transmission rate that can be set at the reception side. .

【0045】さらに、この変更したデータ伝送速度で、
受信側から送信側のデータ伝送装置に応答データが返信
される。この応答データは、送信側からの伝送速度判定
データに相当するものである。
Further, with this changed data transmission rate,
Response data is returned from the reception side to the data transmission device on the transmission side. This response data corresponds to the transmission rate judgment data from the transmitting side.

【0046】したがって、送信側では、受信側で行われ
た場合と同様にして、応答データからの応答受信状態情
報を基に、受信側のデータ伝送速度を判定することがで
きる。
Therefore, the transmission side can determine the data transmission rate of the reception side based on the response reception state information from the response data, as in the case of the reception side.

【0047】そして、送信側では、この判定結果に基づ
いて、送信側のデータ伝送速度を受信側のデータ伝送速
度に一致させることが可能となる。
Then, on the transmitting side, it becomes possible to match the data transmission rate on the transmitting side with the data transmission rate on the receiving side, based on the result of this judgment.

【0048】このため、伝送系のうち、最も伝送速度が
遅いデータ伝送装置に伝送系全体を合わせる必要がな
く、各伝送装置の能力に応じて伝送速度を変えることが
でき、各装置の効率的運用が可能となる。
Therefore, it is not necessary to match the entire transmission system to the data transmission device having the slowest transmission speed in the transmission system, and the transmission speed can be changed according to the capability of each transmission device, and the efficiency of each device can be improved. Operation becomes possible.

【0049】さらにまた、請求項4に対応する発明の調
歩式データ伝送方法においては、請求項1〜3に対応す
る発明と同様に作用する他、伝送速度判定データは、送
信側のデータ伝送装置が伝送すべき伝送データ本体の先
頭に付加されているので、仮に当初から送受信側双方の
データ伝送速度が一致していれば、伝送速度の確認とデ
ータ伝送を同時に行うことになり、効率的である。
Furthermore, in the start-stop data transmission method of the invention according to claim 4, the same operation as that of the invention according to claims 1 to 3 is carried out, and the transmission speed judgment data is the transmission side data transmission device. Since it is added to the beginning of the transmission data body to be transmitted, if the data transmission rates of both the transmitting and receiving sides match from the beginning, the transmission rate confirmation and data transmission will be performed at the same time, which is efficient. is there.

【0050】一方、請求項5に対応する発明の調歩式デ
ータ伝送方法においては、請求項1〜4に対応する発明
と同様に作用する他、送速度判定データに16進数表示
で”F8”の1バイトデータが使用されている。
On the other hand, in the start-stop data transmission method of the invention according to claim 5, the same operation as that of the invention according to claims 1 to 4 is performed, and "F8" in hexadecimal notation is displayed in the transmission speed determination data. 1 byte data is used.

【0051】また、請求項6に対応する発明の調歩式デ
ータ伝送方法においては、請求項1〜4に対応する発明
と同様に作用する他、送速度判定データに16進数表示
で”80”の1バイトデータが使用されている。
Further, in the start-stop data transmission method of the invention according to claim 6, the same operation as that of the invention according to claims 1 to 4 is performed, and in addition, "80" in hexadecimal notation is displayed in the transmission speed determination data. 1 byte data is used.

【0052】さらに、請求項7に対応する発明の調歩式
データ伝送方法においては、請求項1〜4に対応する発
明と同様に作用する他、送速度判定データに16進数表
示で”FF”の1バイトデータが使用されている。
Further, in the start-stop data transmission method of the invention according to claim 7, the same operation as the invention according to claims 1 to 4 is performed, and in addition, "FF" in hexadecimal notation is displayed in the transmission speed determination data. 1 byte data is used.

【0053】さらにまた、請求項8に対応する発明の調
歩式データ伝送方法においては、請求項1〜4に対応す
る発明と同様に作用する他、伝送速度判定データに、1
6進数表示で”FF”の1バイトデータと16進数表示
で”80”の1バイトデータとからなる合計2バイトの
データが使用されている。
Furthermore, in the start-stop data transmission method of the invention according to claim 8, the same operation as that of the invention according to claims 1 to 4 is performed, and in addition to the transmission rate determination data, 1
A total of 2 bytes of data consisting of 1-byte data of "FF" in hexadecimal notation and 1-byte data of "80" in hexadecimal notation are used.

【0054】一方、請求項9に対応する発明の調歩式デ
ータ伝送方法においては、送信側のデータ伝送速度を判
定するための判定データとして、それぞれ16進数表示
で”00”の1バイトデータである先頭伝送速度判定デ
ータと後端伝送速度判定データとが固定長の伝送データ
本体の先後に付加されている。
On the other hand, in the start-stop data transmission method of the invention corresponding to claim 9, the determination data for determining the data transmission rate on the transmission side is 1-byte data of "00" in hexadecimal notation. The leading transmission rate determination data and the trailing transmission rate determination data are added after the fixed-length transmission data body.

【0055】次に、各伝送判定データを含む固定長の伝
送データが送信側のデータ伝送装置から送信され、受信
側のデータ伝送装置で前記伝送データが受信される。
Next, fixed length transmission data including each transmission determination data is transmitted from the transmission side data transmission device, and the transmission data is received by the reception side data transmission device.

【0056】そして、受信側においては、先頭伝送速度
判定データについての受信状態情報がエラーでなければ
送受信側のデータ伝送速度が一致していると判定でき
る。
Then, on the receiving side, it can be determined that the data transmission rates on the transmitting and receiving sides are the same unless the reception status information on the leading transmission rate determination data is error.

【0057】そこで、双方のデータ伝送速度が一致して
いないときのみ、送信側伝送速度を調べればよい。
Therefore, the transmission side transmission rate may be checked only when the data transmission rates of both sides do not match.

【0058】具体的には、伝送データが固定長であるこ
とから、受信側において先頭伝送速度判定データと後端
伝送速度判定データの時間を測定することにより送信側
のデータ伝送速度を判定することができる。
Specifically, since the transmission data has a fixed length, the data transmission rate of the transmission side can be determined by measuring the time between the leading transmission rate determination data and the rear end transmission rate determination data at the receiving side. You can

【0059】[0059]

【実施例】以下、本発明の実施例について説明する。Embodiments of the present invention will be described below.

【0060】(第1の実施例)本実施例の調歩式データ
伝送方法は、送信データの本体伝送に先立ち、まず、1
バイトの伝送速度判定データを伝送し、受信側において
伝送速度判定データ受信状況からから伝送速度を判定
し、受信速度(伝送速度)を設定すると共に、判定結果
を送信側に返信して必要があれば送信側の送信速度(伝
送速度)を再設定しようとするものである。
(First Embodiment) In the start-stop data transmission method of the present embodiment, first, 1
It is necessary to transmit the transmission speed judgment data in bytes, judge the transmission speed from the reception status of the transmission speed judgment data, set the reception speed (transmission speed), and send the judgment result back to the sender. For example, the transmission rate (transmission rate) on the transmission side is to be reset.

【0061】図1は本発明に係る第1の実施例の調歩式
データ伝送方法を用いるデータ伝送システムの一例を示
す構成図である。
FIG. 1 is a block diagram showing an example of a data transmission system using the start-stop data transmission method according to the first embodiment of the present invention.

【0062】図1において、一種のネットワークシステ
ムである本実施例のデータ伝送システムは、パソコン,
ワークステーションその他の情報機器からなる送信側デ
ータ伝送装置1及び受信側データ伝送装置2とこれらを
接続する伝送路3とによって構成されている。
In FIG. 1, a data transmission system of this embodiment, which is a kind of network system, is a personal computer,
It is composed of a transmission side data transmission device 1 and a reception side data transmission device 2 which are workstations and other information devices, and a transmission line 3 connecting them.

【0063】送信側データ伝送装置1は、一連のデータ
伝送動作その他送信側データ伝送装置1の制御を行うC
PU4と、伝送データを含む各種データ及び一連のデー
タ伝送動作用のプログラムメモリ5及び判定テーブル6
を保存するメモリ7と、伝送路3を介して受信側データ
伝送装置2に対して調歩式のデータ送受信を行う送受信
部8とその他の図示しない周辺要素とから構成されてい
る。
The data transmission device 1 on the transmission side performs a series of data transmission operations and controls the data transmission device 1 on the transmission side C.
PU4, various data including transmission data, and program memory 5 and determination table 6 for a series of data transmission operations
A memory 7 for storing the data, a transmission / reception unit 8 for transmitting / receiving start-stop data to / from the reception-side data transmission device 2 via the transmission path 3, and other peripheral elements (not shown).

【0064】ここで、プログラムメモリ5には、伝送速
度判定データ送信のための伝送速度判定データ送信部5
aと、応答データ認識部5bと、判定部5cと、伝送速
度設定部5dと、データ伝送部5eとが設けられてい
る。また、判定テーブル6は、受信側データ伝送装置2
から返信された応答データを判定するためのものであ
る。
Here, in the program memory 5, the transmission rate determination data transmitting section 5 for transmitting the transmission rate determination data is provided.
a, a response data recognition unit 5b, a determination unit 5c, a transmission speed setting unit 5d, and a data transmission unit 5e are provided. Further, the determination table 6 is used for the receiving side data transmission device 2
It is for determining the response data returned from the.

【0065】一方、受信側データ伝送装置2は、一連の
データ伝送動作その他受信側データ伝送装置2の制御を
行うCPU9と、各種データ及び一連のデータ伝送動作
用のプログラムメモリ10及び判定テーブル11を保存
するメモリ12と、伝送路3を介して送信側データ伝送
装置1に対して調歩式のデータ送受信を行う送受信部1
3とその他の図示しない周辺要素とから構成されてい
る。
On the other hand, the reception side data transmission device 2 includes a CPU 9 for controlling a series of data transmission operations and other control of the reception side data transmission device 2, a program memory 10 and a judgment table 11 for various data and a series of data transmission operations. A memory 12 for storing and a transmitter / receiver unit 1 for performing start / stop data transmission / reception with respect to a transmission side data transmission apparatus 1 via a transmission line 3.
3 and other peripheral elements (not shown).

【0066】ここで、プログラムメモリ10には、伝送
速度判定データ認識部10aと、伝送速度判定データを
判定する判定部10bと、判定結果返信のための応答部
10cと、伝送速度設定部10dとが設けられている。
Here, in the program memory 10, a transmission rate determination data recognition section 10a, a determination section 10b for determining transmission rate determination data, a response section 10c for returning a determination result, and a transmission rate setting section 10d. Is provided.

【0067】また、判定テーブル11は、送信された伝
送速度判定データを判定するためのものである。
Further, the judgment table 11 is for judging the transmitted transmission speed judgment data.

【0068】なお、図1においては、説明の都合上、送
信側データ伝送装置1と受信側データ伝送装置2とに別
けているが、各データ伝送装置1,2は、送信側,受信
側双方の構成を備え、送受信側の何れとしても機能でき
るものである。
In FIG. 1, for convenience of description, the data transmission device 1 on the transmission side and the data transmission device 2 on the reception side are separated, but each of the data transmission devices 1 and 2 is on both the transmission side and the reception side. It is possible to function as either the transmitting or receiving side.

【0069】また、図1では、データ伝送装置が2台し
か示されていないが、実際には必要に応じて多数台が接
続される。
Although only two data transmission devices are shown in FIG. 1, a large number of data transmission devices are actually connected as needed.

【0070】次に、以上のように構成された本実施例の
データ伝送システムにおける調歩式データ伝送方法につ
いて説明する。
Next, a start-stop data transmission method in the data transmission system of the present embodiment having the above configuration will be described.

【0071】本実施例においては、図2に示すように、
1バイトの伝送速度判定データとしてF8H(16進数
表示、以下同じ)を送信する。
In this embodiment, as shown in FIG.
F8H (hexadecimal number display, the same applies hereinafter) is transmitted as 1-byte transmission speed determination data.

【0072】調歩式のデータ伝送においては、図2に示
されるようにスタートビットSTと、ストップビットS
Pによって同期が取られている。さらに、受信側では1
バイト分だけを有効なものとして取り扱うとする。この
とき、仮に、送信速度と受信速度が異なる場合、スター
トビットSTによって少なくとも最初の同期を取ること
ができるれば、受信された伝送速度判定データが送信し
た伝送速度判定データと異なる1バイトデータとして認
識される。また、1バイトデータとして認識できなけれ
ば、一定のエラーが発生することになる。
In start-stop data transmission, as shown in FIG. 2, a start bit ST and a stop bit S
It is synchronized by P. Furthermore, at the receiving side
Only bytes are treated as valid. At this time, if the transmission speed and the reception speed are different, if at least the first synchronization can be achieved by the start bit ST, the received transmission speed determination data is converted into 1-byte data different from the transmitted transmission speed determination data. Be recognized. If it cannot be recognized as 1-byte data, a certain error will occur.

【0073】ここで、伝送制御判定データとしてF8H
を用いた場合、送信側の伝送速度と受信側の伝送速度に
対して、受信側で認識される1バイトデータあるいはフ
レーミングエラー,ブレークキャラクタディテクト(ブ
レークエラーともいう)等のエラーについて、図3に示
すような関係が成り立つことになる。このテーブルは判
定テーブル11に保存されている。また、同様なテーブ
ルが判定テーブル6にも保存されている。
Here, F8H is used as the transmission control determination data.
3 is used, the error such as 1-byte data or framing error, break character detect (also called break error), etc., which is recognized by the receiving side with respect to the transmitting side transmitting speed and the receiving side transmitting speed is shown in FIG. The relationship as shown is established. This table is stored in the determination table 11. A similar table is also stored in the judgment table 6.

【0074】上記1バイトデータあるいは発生したエラ
ーが受信状態情報もしくは応答受信状態情報の一例であ
る。
The 1-byte data or the error that has occurred is an example of reception status information or response reception status information.

【0075】このような判定テーブルを予め用意し、1
バイトの決められた伝送制御判定データを送受信するこ
とで、送受信側の伝送速度合わせを行うことができる。
Such a determination table is prepared in advance, and 1
By transmitting / receiving the transmission control determination data in which the number of bytes is determined, the transmission speed of the transmitting / receiving side can be adjusted.

【0076】図4は本実施例における一連のデータ伝送
動作の一例を示すシーケンス図である。
FIG. 4 is a sequence diagram showing an example of a series of data transmission operations in this embodiment.

【0077】まず、送信側データ伝送装置1から伝送速
度判定データ送信部5aにより伝送速度判定データF8
Hが送信される。
First, the transmission rate determination data F8 is transmitted from the transmission side data transmission apparatus 1 to the transmission rate determination data transmission section 5a.
H is transmitted.

【0078】次に、受信側データ伝送装置2は、伝送速
度判定データを受けると、受信データの認識、判定、伝
押す速度変更などの一連の動作を図5の流れ図に示すフ
ローに沿って行う。
Next, when receiving the transmission rate determination data, the receiving side data transmission apparatus 2 performs a series of operations such as recognition of the received data, determination, and transmission speed change according to the flow shown in the flow chart of FIG. .

【0079】図5は本実施例の受信側データ伝送装置に
おける伝送速度判定変更処理を示す流れ図である。
FIG. 5 is a flow chart showing the transmission rate judgment change processing in the receiving side data transmission apparatus of this embodiment.

【0080】まず、伝送速度判定データを受け取ると
(ST1)、伝送速度判定データ認識部10aにより、
受信データをサンプリングにかけて認識を行う(ST
2)。
First, when the transmission rate determination data is received (ST1), the transmission rate determination data recognition section 10a
Receiving data is sampled for recognition (ST
2).

【0081】次に認識された受信データは、判定部10
bによって判定テーブル11を用いて判定される(ST
3)。ここで、受信データがF8Hであるならば(ST
3)、送信側と受信側とで設定されている伝送速度は同
じである。したがって、応答部10cにより、F8Hそ
のままが応答データとして応答される(ST5)。
The received data recognized next is determined by the determination unit 10
It is judged using the judgment table 11 by b (ST
3). Here, if the received data is F8H (ST
3) The transmission rates set on the transmitting side and the receiving side are the same. Therefore, the response unit 10c responds as it is to F8H as response data (ST5).

【0082】一方、認識された受信データがF8Hでな
ければ、送信側と受信側とで設定された伝送速度は、異
なったものである(ST3)。
On the other hand, if the recognized received data is not F8H, the transmission rates set on the transmitting side and the receiving side are different (ST3).

【0083】ここで、図6を用い、伝送速度設定が送信
側と受信側とで異なる場合の受信データの認識について
説明する。
Here, the recognition of received data when the transmission rate setting is different between the transmitting side and the receiving side will be described with reference to FIG.

【0084】図6(a)は、送信側伝送速度1200b
ps設定、受信側伝送速度2400bps設定の場合で
ある。ここで、受信側の伝送速度は送信側の2倍なの
で、送信側からF8Hとして送信されたデータは、図に
示すように受信側では80Hとして認識される。
FIG. 6A shows a transmission side transmission rate 1200b.
This is a case where the ps setting and the receiving side transmission speed of 2400 bps are set. Here, since the transmission speed on the receiving side is twice that on the transmitting side, the data transmitted as F8H from the transmitting side is recognized as 80H on the receiving side as shown in the figure.

【0085】また、図6(b)は、送信側4800bp
sで受信側1200bpsの場合である。この場合、受
信側の伝送速度は送信側の1/4なので、図に示すよう
に受信側においてFFHとして認識される。
Further, FIG. 6B shows the transmitting side 4800 bp.
In the case of s, the receiving side is 1200 bps. In this case, the transmission rate on the receiving side is ¼ of that on the transmitting side, so that it is recognized as FFH on the receiving side as shown in the figure.

【0086】したがって、認識された受信データがF8
Hでないとき、伝送速度設定部10dは、判定テーブル
11に基づき、対応する送信側の伝送速度に受信側デー
タ伝送装置2の伝送速度を変更する。また、当該受信側
データ伝送装置2が対応する送信側の伝送速度にできな
いときは、当該データ伝送装置2の最大のデータ伝送速
度に設定する(ST4)。
Therefore, the recognized received data is F8.
When it is not H, the transmission rate setting unit 10d changes the transmission rate of the reception side data transmission apparatus 2 to the corresponding transmission rate of the transmission side based on the determination table 11. If the receiving side data transmission apparatus 2 cannot reach the corresponding transmission side transmission rate, the maximum data transmission rate of the data transmission apparatus 2 is set (ST4).

【0087】そして、応答部10cにより、応答データ
としてF8Hを送信側データ伝送装置1に送信する(S
T5)。
Then, the response section 10c transmits F8H as the response data to the transmission side data transmission apparatus 1 (S
T5).

【0088】応答データが送信されると、図4に示すシ
ーケンス図において、送信側でこれが受信される。送信
側では、この応答データの受信データに基づき、図5で
説明したデータ認識、伝送速度判定と同様な認識、判定
を、判定テーブル6,応答データ認識部5b,判定部5
cにより行う。
When the response data is transmitted, it is received by the transmitting side in the sequence diagram shown in FIG. On the transmission side, based on the received data of the response data, the data recognition and the same recognition and judgment as the transmission speed judgment described in FIG.
c.

【0089】ここで、送信側と受信側の伝送速度にまだ
ずれがある場合とは、受信側データ伝送装置2の伝送速
度を最初に送信側データ伝送装置1が送出したデータ伝
送速度までに上げることができない場合である。
Here, when there is still a difference between the transmission rates of the transmitting side and the receiving side, the transmission rate of the receiving side data transmission apparatus 2 is increased to the data transmission rate which is first sent by the transmitting side data transmission apparatus 1. This is the case when it is not possible.

【0090】したがって、応答データをチェックし、認
識されたデータがF8Hでないとき、送信側では、伝送
速度設定部5dが判定テーブルの内容に基づいて、伝送
速度を変更し、受信側データ伝送装置2の伝送速度に合
わせる。なお、この速度合わせにより、送受信側の伝送
速度が完全に一致するので、ここでは図5のステップS
T5に対応する応答出力は行われない。
Therefore, when the response data is checked and the recognized data is not F8H, the transmission rate setting section 5d on the transmitting side changes the transmission rate based on the contents of the determination table, and the receiving side data transmitting apparatus 2 Match the transmission speed of. Since the transmission speeds on the transmission and reception sides are completely matched by this speed adjustment, here, step S in FIG.
No response output corresponding to T5 is performed.

【0091】応答データチェック、必要な場合の伝送速
度変更後、以下、図4に示すように、データ伝送部5e
による送信側からの伝送すべきデータ本体の送出、受信
側からの確認応答、送信側からの終了データ送出、受信
側からの終了確認送出が行われ、一連のデータ伝送が終
了する。
After checking the response data and changing the transmission rate if necessary, as shown in FIG.
The transmission of the data body to be transmitted from the transmission side, the confirmation response from the reception side, the transmission of the end data from the transmission side, and the transmission of the end confirmation from the reception side are performed, and the series of data transmission ends.

【0092】上述したように、本実施例による調歩式デ
ータ伝送方法では、送信側データ伝送装置1から1バイ
トの“F8H”を伝送速度判定データとして送信し、受
信側で認識された受信データを判定テーブル11で送信
側のデータ伝送速度を判定するようにしたので、伝送系
のデータの伝送速度を予め固定することなく、送信側の
データ伝送速度に合わせて受信側で必要な対応を取るこ
とができる。
As described above, in the start-stop data transmission method according to the present embodiment, 1-byte “F8H” is transmitted from the transmission-side data transmission device 1 as the transmission speed determination data, and the reception data recognized by the reception side is transmitted. Since the determination table 11 determines the data transmission rate of the transmission side, the reception side can take necessary measures according to the data transmission rate of the transmission side without fixing the data transmission rate of the transmission system in advance. You can

【0093】また、上述したように、本実施例による調
歩式データ伝送方法では、認識された受信データにエラ
ーの種類データを含めてこれも判定テーブル6,11の
一部にできるので、より確実、広範囲にデータ伝送速度
を判定することができる。
Further, as described above, in the start-stop data transmission method according to the present embodiment, it is possible to include the error type data in the recognized received data, which can also be included in the judgment tables 6 and 11. The data transmission rate can be determined in a wide range.

【0094】さらに、上述したように、本実施例による
調歩式データ伝送方法では、判定された送信側伝送速度
に、受信側伝送速度を合わせ、又、送信側に合わせられ
ないときは受信側の最大伝送速度に合わせて送信側に応
答データを返信し、送信側において同様な手順により受
信側の伝送速度を判定し、送受信側におけるデータ伝送
装置1,2の伝送速度を一致させるようにしたので、伝
送系のデータの伝送速度を予め固定することなく、デー
タ伝送を行う際に、各データ伝送速度を短時間で合わせ
ることができる。
Further, as described above, in the start-stop data transmission method according to the present embodiment, the transmission speed on the receiving side is matched with the transmission speed on the determined transmission side, or when the transmission rate on the receiving side cannot be adjusted, the transmission rate on the receiving side is changed. Response data is sent back to the transmitting side according to the maximum transmission rate, the transmitting side determines the transmission rate of the receiving side by the same procedure, and the transmission rates of the data transmission devices 1 and 2 on the transmitting and receiving sides are made to match. It is possible to adjust each data transmission rate in a short time when performing data transmission without previously fixing the transmission rate of the data of the transmission system.

【0095】したがって、処理能力の高低が伝送装置に
よって異なるデータ伝送系において、高処理能力装置同
士の通信は高速に、高処理能力装置と低処理能力装置同
士の通信は低処理能力装置側の最大伝送速度で行うこと
ができ、各装置の効率的運用を図ることができる。
Therefore, in a data transmission system in which the level of the processing capacity differs depending on the transmission apparatus, the communication between the high processing capacity apparatuses is high speed, and the communication between the high processing capacity apparatus and the low processing capacity apparatus is the maximum of the low processing capacity apparatus side. Transmission can be performed at a transmission rate, and efficient operation of each device can be achieved.

【0096】(第2の実施例)本実施例の調歩式データ
伝送方法においては、伝送速度判定データと伝送データ
の本体を連続して送出する。
(Second Embodiment) In the start-stop type data transmission method of the present embodiment, the transmission rate judgment data and the main body of the transmission data are continuously transmitted.

【0097】図7(a)は、このときの伝送データフレ
ームの構成を示し、図7(b),図7(c)はシーケン
ス図を示す。なお、本実施例の調歩式データ伝送方法を
用いるデータ伝送システムの構成は、第1の実施例のシ
ステムと同様であるので、詳細説明を省略する。
FIG. 7A shows the structure of the transmission data frame at this time, and FIGS. 7B and 7C show sequence diagrams. The configuration of the data transmission system using the start-stop data transmission method of the present embodiment is the same as that of the system of the first embodiment, so detailed description will be omitted.

【0098】図7(a)において、伝送データフレーム
は、伝送すべきデータの本体である伝送データフレーム
fbの先頭に伝送速度判定データfaが付加されて構成
されている。
In FIG. 7A, the transmission data frame is formed by adding the transmission speed judgment data fa to the beginning of the transmission data frame fb which is the main body of the data to be transmitted.

【0099】次に、本実施例における一連のデータ伝送
動作について、図7(b),図7(c)のシーケンス図
及び図8の流れ図を用いて説明する。
Next, a series of data transmission operations in this embodiment will be described with reference to the sequence diagrams of FIGS. 7B and 7C and the flow chart of FIG.

【0100】まず、図8において、受信側で送信データ
フレームを受け取ると(ST11)、先頭の1バイトデ
ータについての認識を行い(ST12)、判定テーブル
11に基づいてF8Hであるかを判定する(ST1
3)。
First, in FIG. 8, when the receiving side receives the transmission data frame (ST11), the leading 1-byte data is recognized (ST12), and it is determined whether it is F8H based on the determination table 11 ((8)). ST1
3).

【0101】受信データがF8Hすなわち送受信側の伝
送速度が一致していれば(ST13)、伝送データをそ
のまま取り込み、さらに、上記伝送速度判定データfa
が付加されている伝送データフレームを応答データとし
ての送出をする(ST14)。
If the received data is F8H, that is, if the transmission rates on the transmitting and receiving sides are the same (ST13), the transmission data is fetched as it is, and further the transmission rate determination data fa
The transmission data frame added with is transmitted as response data (ST14).

【0102】この場合、図7(b)において、送信側
は、伝送データフレームを応答データとして受け取る
と、最初に送出した伝送データフレームを正常に受け渡
したことを確認できる。以下、送信側は終了データを送
出、受信側は終了データに対する終了確認を返信し、一
連のデータ伝送動作が終了する。
In this case, in FIG. 7B, when the transmission side receives the transmission data frame as the response data, it can confirm that the transmission data frame transmitted first is normally delivered. After that, the transmitting side sends the end data, the receiving side sends back an end confirmation for the end data, and the series of data transmission operation ends.

【0103】一方、図8において、ステップST13で
認識された受信データがF8Hでなければ、受信側デー
タ伝送装置2は、判定テーブル11より送信側の伝送速
度を得る(ST15)。
On the other hand, in FIG. 8, if the reception data recognized in step ST13 is not F8H, the reception side data transmission device 2 obtains the transmission side transmission rate from the determination table 11 (ST15).

【0104】次に、この伝送速度が受信側データ伝送装
置2における最大伝送速度を越えているか否かを判定し
(ST16)、越えていなければ伝送速度を送信側に合
わせ(ST17)、越えていれば受信側の最大伝送速度
に設定する(ST18)。
Next, it is judged whether or not this transmission rate exceeds the maximum transmission rate in the receiving side data transmission device 2 (ST16). If not, the transmission rate is adjusted to the transmitting side (ST17), and it is exceeded. If so, the maximum transmission rate on the receiving side is set (ST18).

【0105】そして、何れの場合も応答データとして1
バイトのF8Hのみを送信側に返送する(ST19)。
In each case, 1 is set as the response data.
Only the byte F8H is returned to the transmitting side (ST19).

【0106】この場合、図7(c)において、送信側
は、応答データとして1バイトの受信データとしてF8
Hを受け取ると、受信側で送信側と同伝送速度に合わせ
たものと判定して、再度伝送データフレームを送出す
る。
In this case, in FIG. 7 (c), the transmitting side uses F8 as the 1-byte received data as the response data.
When H is received, the receiving side determines that the transmission rate is the same as that of the transmitting side, and again transmits the transmission data frame.

【0107】一方、応答データの1バイト目がF8Hで
なければ、送信が正常に行われず、かつ受信側で送信側
と同伝送速度に合わすことができなかったと判定する。
このときは、認識された受信データと判定テーブル6か
ら受信側の伝送速度を判定し、送信側の伝送速度を受信
側に合わせて再度伝送データフレームを送出する。
On the other hand, if the first byte of the response data is not F8H, it is determined that the transmission was not normally performed, and that the receiving side could not match the same transmission speed as the transmitting side.
At this time, the transmission rate of the receiving side is determined from the recognized reception data and the determination table 6, and the transmission data frame is sent again according to the transmission rate of the transmitting side to the receiving side.

【0108】以下、図7(b)の場合と同様に、受信側
は伝送データフレームを返送し、送信側は終了データを
送出し、受信側は終了データに対する終了確認を返信
し、一連のデータ伝送動作が終了する。
Thereafter, as in the case of FIG. 7B, the receiving side returns the transmission data frame, the transmitting side sends the end data, the receiving side returns the end confirmation for the end data, and a series of data. The transmission operation ends.

【0109】上述したように、本実施例による調歩式デ
ータ伝送方法では、伝送速度判定データを伝送データ本
体の先頭に付加し、データ伝送ができればそのまま伝送
し、データ伝送ができなかったときのみ送信側に応答デ
ータを返信するようにしたので、上記実施例と同様の効
果が得られる他、当初から送受信側双方のデータ伝送速
度が一致していれば、伝送速度の確認とデータ伝送を同
時に行うことになり、効率的である。
As described above, in the start-stop data transmission method according to the present embodiment, the transmission speed judgment data is added to the head of the transmission data body, and if the data transmission is possible, the data is transmitted as it is, and it is transmitted only when the data transmission is not possible. Since the response data is sent back to the side, the same effect as the above embodiment can be obtained, and if the data transmission rates of both the transmitting and receiving sides match from the beginning, the transmission rate is confirmed and the data transmission is performed at the same time. It will be efficient.

【0110】(第3の実施例)本実施例に係る調歩式デ
ータ伝送方法においては、図1における判定テーブル
6,11に、伝送速度が9600bps以上であっても
伝送速度判定が可能な図9に示す判定テーブルが加えら
れている。
(Third Embodiment) In the start-stop data transmission method according to the present embodiment, the determination tables 6 and 11 shown in FIG. 1 are shown in FIG. 9 in which the transmission rate can be determined even if the transmission rate is 9600 bps or more. The judgment table shown in is added.

【0111】ここで、データ伝送システムの構成、一連
のデータ伝送動作は、それぞれ図1、図4に示すものと
同様である。
Here, the configuration of the data transmission system and the series of data transmission operations are the same as those shown in FIGS. 1 and 4, respectively.

【0112】図10は、本実施例における判定・速度変
更処理についての流れ図である。
FIG. 10 is a flow chart of the determination / speed change processing in this embodiment.

【0113】図10において、まず、伝送速度判定デー
タを受け取り(ST21)、これにサンプリングをかけ
て(ST22)、判定を行う。ここで、伝送速度の範囲
が図3に示す判定テーブルの範囲を越えていなければ
(ST23)、図3の判定テーブルを用いて(ST2
4)図5のステップST3以下の処理を行う(ST2
7)。
In FIG. 10, first, the transmission rate judgment data is received (ST21), and this is sampled (ST22) to make the judgment. If the range of the transmission rate does not exceed the range of the determination table shown in FIG. 3 (ST23), the determination table of FIG. 3 is used (ST2).
4) Perform processing from step ST3 in FIG. 5 (ST2
7).

【0114】一方、伝送速度の範囲が図3に示す判定テ
ーブルの範囲を越えていれば(ST23)、受信側では
伝送速度を9600bps以上へ切り替えて、応答は送
らずに待機する(ST25)。
On the other hand, if the range of the transmission rate exceeds the range of the determination table shown in FIG. 3 (ST23), the receiving side switches the transmission rate to 9600 bps or more and waits without sending a response (ST25).

【0115】送信側では応答がこない場合には、伝送速
度判定データを受信側へ再送するようになっている。そ
こで、受信側では再送された伝送速度判定データを受け
取ると(ST26)、図9のテーブルに従って伝送速度
を変更し、応答を送る(ST27)。
When the transmitting side does not receive a response, the transmission rate judgment data is retransmitted to the receiving side. Therefore, when the receiving side receives the retransmitted transmission rate judgment data (ST26), it changes the transmission rate according to the table of FIG. 9 and sends a response (ST27).

【0116】上述したように、本実施例による調歩式デ
ータ伝送方法では、受信データが判定不能の場合には、
異なるを伝送速度伝送データを再送してこれにより伝送
速度を判定するようにしたので、上記実施例と同様の効
果が得られる他、データ伝送装置間の伝送速度の差が大
きい場合でも伝送速度の設定変更を確実に行うことがで
きる。
As described above, in the start-stop data transmission method according to this embodiment, if the received data cannot be determined,
Since the transmission rate is determined differently by retransmitting the transmission rate, it is possible to obtain the same effect as that of the above-described embodiment, and even if the difference in the transmission rate between the data transmission devices is large, The setting can be changed reliably.

【0117】なお、本実施例の方法は、第1の実施例の
みでなく、第2の実施例へも適用可能である。
The method of this embodiment can be applied not only to the first embodiment but also to the second embodiment.

【0118】(第4の実施例)本実施例に係る調歩式デ
ータ伝送方法においては、伝送速度判定データを図11
に示すように80Hとし、図1における判定テーブル
6,11として、図12に示す判定テーブルが保存され
ている。
(Fourth Embodiment) In the start-stop data transmission method according to the present embodiment, the transmission speed judgment data is shown in FIG.
As shown in FIG. 12, the determination table shown in FIG. 12 is stored as the determination tables 6 and 11 in FIG.

【0119】ここで、データ伝送システムの構成、一連
のデータ伝送動作は、それぞれ図1、図4に示すものと
同様である。
Here, the configuration of the data transmission system and the series of data transmission operations are the same as those shown in FIGS. 1 and 4, respectively.

【0120】また、受信側データ伝送装置におけるデー
タを受信する伝送速度(受信速度)を4800bpsに
固定とし、送信側からは、伝送速度判定データ(80
H)を送信する。
Further, the transmission rate (reception rate) for receiving data in the receiving side data transmission apparatus is fixed at 4800 bps, and the transmission rate judgment data (80
H) is transmitted.

【0121】図13は、本実施例における判定・速度変
更処理についての流れ図である。
FIG. 13 is a flow chart of the determination / speed change processing in this embodiment.

【0122】まず、伝送速度判定データを受け取ると
(ST31)、受信データにサンプリングをかけて判定
を行う(ST32)。
First, when the transmission rate judgment data is received (ST31), the received data is sampled and judged (ST32).

【0123】認識された受信データが80Hであれば
(ST33)、応答データとして80Hを返し(ST3
5)、認識された受信データが80Hでなければ(ST
33)、図12の判定テーブルに従って伝送速度を変更
し(ST34)、応答データを送信する(ST35)。
If the recognized received data is 80H (ST33), 80H is returned as response data (ST3).
5) If the recognized received data is not 80H (ST
33), the transmission rate is changed according to the determination table of FIG. 12 (ST34), and the response data is transmitted (ST35).

【0124】このとき受信側データ伝送装置2が、伝送
速度判定データを送信した伝送速度まで伝送速度を上げ
ることができない場合は、受信側データ伝送装置2の最
大の伝送速度で応答データを送信する(ST35)。
At this time, if the receiving side data transmission apparatus 2 cannot increase the transmission rate to the transmission rate at which the transmission rate judgment data is transmitted, the response data is transmitted at the maximum transmission rate of the receiving side data transmission apparatus 2. (ST35).

【0125】以下、第1の実施例の場合と同様に、応答
データに対応し、つまり必要であれば図12の判定テー
ブルにより伝送速度を変更し、送信側データ伝送装置1
によるデータ伝送が行われる。
Hereinafter, as in the case of the first embodiment, the transmission speed is changed according to the response data, that is, if necessary, the transmission rate is changed by the determination table of FIG.
Data transmission is performed.

【0126】上述したように、本実施例による調歩式デ
ータ伝送方法では、伝送速度判定データを1バイト80
Hとし、受信側の当初の伝送速度を固定したので、上記
実施例と同様の効果が得られる他、伝送速度の速い装置
から遅い装置への伝送速度判定・変更を確実にかつ広い
範囲で行うことができる。
As described above, in the start-stop data transmission method according to the present embodiment, the transmission speed judgment data is 1 byte 80 bytes.
Since it is set to H and the initial transmission rate on the receiving side is fixed, the same effect as the above embodiment can be obtained, and the transmission rate determination / change from a device having a high transmission speed to a device having a slow transmission speed can be performed reliably and in a wide range. be able to.

【0127】なお、本実施例の方法は、第2の実施例へ
も適用可能である。
The method of this embodiment can also be applied to the second embodiment.

【0128】(第5の実施例)本実施例に係る調歩式デ
ータ伝送方法においては、伝送速度判定データを図14
に示すようにFFHとし、図1における判定テーブル
6,11として、図15に示す判定テーブルが保存され
ている。
(Fifth Embodiment) In the start-stop data transmission method according to the present embodiment, the transmission speed judgment data is shown in FIG.
15 is stored as the determination tables 6 and 11 in FIG. 1.

【0129】ここで、データ伝送システムの構成、一連
のデータ伝送動作は、それぞれ図1、図4に示すものと
同様である。
Here, the configuration of the data transmission system and the series of data transmission operations are the same as those shown in FIGS. 1 and 4, respectively.

【0130】また、受信側データ伝送装置におけるデー
タを受信する伝送速度(受信速度)を38400bps
に固定とし、送信側からは、伝送速度判定データ(FF
H)を送信する。
The transmission rate (reception rate) for receiving data in the receiving side data transmission apparatus is 38400 bps.
The transmission rate judgment data (FF
H) is transmitted.

【0131】図16は、本実施例における判定・速度変
更処理についての流れ図である。
FIG. 16 is a flow chart of the judgment / speed change processing in this embodiment.

【0132】図16において、ステップST41,4
2,45は、図13におけるステップST31,32,
35と同様である。また、ステップST43において、
伝送速度判定データの判定はFFHを基準として行われ
る。さらに、ステップST44において、判定テーブル
11は図15に示すものが用いられる。その他の動作
は、図13におけるステップST33,34とそれぞれ
同様であるのでその説明を省略する。
In FIG. 16, steps ST41, 4
2, 45 denote steps ST31, 32,
The same as 35. Also, in step ST43,
The determination of the transmission rate determination data is performed based on FFH. Further, in step ST44, the determination table 11 shown in FIG. 15 is used. Other operations are the same as those in steps ST33 and ST34 in FIG. 13, and therefore the description thereof will be omitted.

【0133】以下、第1の実施例の場合と同様に、応答
データに対応し、つまり必要であれば図15の判定テー
ブルにより伝送速度を変更し、送信側データ伝送装置1
によるデータ伝送が行われる。
In the following, as in the case of the first embodiment, the transmission data corresponding to the response data, that is, if necessary, the transmission rate is changed by the determination table of FIG.
Data transmission is performed.

【0134】上述したように、本実施例による調歩式デ
ータ伝送方法では、伝送速度判定データを1バイトFF
Hとし、受信側の当初の伝送速度を固定したので、上記
実施例と同様の効果が得られる他、データ伝送装置1,
2間の広範囲な伝送速度判定・変更が可能である。
As described above, in the start-stop data transmission method according to this embodiment, the transmission speed determination data is 1 byte FF.
Since the initial transmission rate on the receiving side is fixed to H, the same effect as that of the above-described embodiment can be obtained, and the data transmission device 1,
It is possible to judge and change a wide range of transmission rates between the two.

【0135】なお、本実施例の方法は、第2の実施例へ
も適用可能で、伝送速度判定データを伝送データフレー
ムへ付加して送信することも可能である。
The method of this embodiment can be applied to the second embodiment, and the transmission rate judgment data can be added to the transmission data frame and transmitted.

【0136】(第6の実施例)本実施例に係る調歩式デ
ータ伝送方法においては、伝送速度判定データを図17
に示すように2バイト分のデータ(FFH、80H)と
する。このときFFHの後のストップビットは1ビット
とする。
(Sixth Embodiment) In the start-stop data transmission method according to the present embodiment, the transmission rate judgment data is shown in FIG.
2 bytes of data (FFH, 80H) as shown in FIG. At this time, the stop bit after FFH is 1 bit.

【0137】また、図1における判定テーブル6,11
として、図18に示す判定テーブルが保存されている。
Further, the judgment tables 6 and 11 in FIG.
As a result, the determination table shown in FIG. 18 is stored.

【0138】ここで、データ伝送システムの構成、一連
のデータ伝送動作は、それぞれ図1、図4に示すものと
同様である。
Here, the configuration of the data transmission system and the series of data transmission operations are the same as those shown in FIGS. 1 and 4, respectively.

【0139】また、受信側データ伝送装置におけるデー
タを受信する伝送速度(受信速度)を38400bps
に固定とし、送信側からは、伝送速度判定データ(FF
H、80H)を送信する。
Further, the transmission rate (reception rate) for receiving data in the receiving side data transmission apparatus is 38400 bps.
The transmission rate judgment data (FF
H, 80H).

【0140】図19は、本実施例における判定・速度変
更処理についての流れ図である。
FIG. 19 is a flow chart of the determination / speed change processing in this embodiment.

【0141】図19において、ステップST51,5
2,56は、図13におけるステップST31,32,
35と同様である。
In FIG. 19, steps ST51, ST5
2, 56 are steps ST31, 32,
The same as 35.

【0142】ステップST53において、認識された受
信データについて、最初のビットがスタートビットST
と判定できた場合には、図18の判定テーブルに従って
伝送速度を受信側の変更し(ST55)、応答データを
送信する(ST56)。
In step ST53, the first bit of the recognized received data is the start bit ST.
If it can be determined that the transmission rate is changed on the receiving side according to the determination table of FIG. 18 (ST55), the response data is transmitted (ST56).

【0143】ステップST53において、特に、送信側
の伝送速度が76800bpsのとき、通常であれば図
20(a)に示すようにビットの認識ができない。しか
し、ビットの判定はそのビットの始めと中間で行われる
ため、仮にビットの始めと終わりが違っていても図20
(b)に示すようにビットの始めと中間が同じレベルで
あればビットの認識がされてしまうため、スタートビッ
トSTが認識される場合もある。
In step ST53, especially when the transmission rate on the transmitting side is 76800 bps, the bits cannot be normally recognized as shown in FIG. 20 (a). However, since the bit determination is performed at the beginning and the middle of the bit, even if the beginning and the end of the bit are different from each other, the bit in FIG.
As shown in (b), if the start and middle of the bit are at the same level, the bit is recognized, so the start bit ST may be recognized.

【0144】スタートビットが認識されなかった場合
(ST53)、スタートビットSTとして認識できるビ
ットのところからデータを読み(ST54)、図18の
判定テーブルに従って伝送速度を変更し(ST55)、
応答データを送信する(ST56)。
If the start bit is not recognized (ST53), the data is read from the bit that can be recognized as the start bit ST (ST54), the transmission rate is changed according to the determination table of FIG. 18 (ST55),
Response data is transmitted (ST56).

【0145】伝送速度判定データを送信した装置が応答
データを受信したとき、図18の判定テーブルからデー
タを送信した時の伝送速度であれば、受信を行う伝送速
度を送信したときの伝送速度へ設定し、違っていれば送
受信とも伝送速度を図18の判定テーブルに従って応答
データを送信した装置の伝送データに変更する。
When the device that has transmitted the transmission rate determination data receives the response data, if the transmission rate is the data transmission rate from the determination table of FIG. 18, the transmission rate at which the reception is performed is changed to the transmission rate when the transmission rate is transmitted. If set, and if they are different, the transmission rate is changed to the transmission data of the device that transmitted the response data according to the determination table of FIG. 18 for both transmission and reception.

【0146】上述したように、本実施例による調歩式デ
ータ伝送方法では、伝送速度判定データを2バイト分
(FFH,80H)とし、受信側の当初の伝送速度を固
定したので、上記実施例と同様の効果が得られる他、デ
ータ伝送装置1,2間の広範囲な伝送速度判定・変更が
可能である。
As described above, in the start-stop data transmission method according to the present embodiment, the transmission speed determination data is 2 bytes (FFH, 80H) and the initial transmission speed on the receiving side is fixed. In addition to the same effect, it is possible to determine and change a wide range of transmission rates between the data transmission devices 1 and 2.

【0147】なお、本実施例の方法は、第2の実施例も
適用可能である。
The method of this embodiment can be applied to the second embodiment.

【0148】(第7の実施例)本実施例に係る調歩式デ
ータ伝送方法においては、図21(a)に示すように伝
送データフレームを固定長とし、固定長の伝送データ本
体fbの前後に伝送速度判定データfa,fcとして0
0Hを付加して送信側から伝送を行うようになってい
る。
(Seventh Embodiment) In the start-stop data transmission method according to the present embodiment, the transmission data frame has a fixed length as shown in FIG. 21 (a), and is placed before and after the fixed-length transmission data body fb. 0 as the transmission speed judgment data fa and fc
0H is added and transmission is performed from the transmitting side.

【0149】また、図1における判定テーブル11内
に、伝送データ本体fb前後の伝送速度判定データf
a,fc(00H)を正しく認識できた場合、送受信側
の伝送速度が同速度であると判定し、フレーミングエラ
ー又はブレークキャラクタディテクト(ブレークエラー
と同じ)が起きたときには、送受信側の伝送速度が同速
度でないと判定できる判定テーブルが保存されている。
Further, in the judgment table 11 in FIG. 1, the transmission speed judgment data f before and after the transmission data body fb are stored.
When a and fc (00H) are correctly recognized, it is determined that the transmission speeds of the transmitting and receiving sides are the same, and when a framing error or break character detect (the same as the break error) occurs, the transmitting speed of the transmitting and receiving sides is A determination table that can determine that the speeds are not the same is stored.

【0150】ここで、データ伝送システムの構成には、
それぞれ図1に示すものに、伝送データフレームの受信
開始から受信終了までの時間計測手段と、時間計測結果
から送信側の伝送速度を算出する伝送速度算出手段とが
付加されている(図示せず)。
Here, in the structure of the data transmission system,
Each of those shown in FIG. 1 is provided with a time measuring means from the reception start of the transmission data frame to the reception end, and a transmission rate calculating means for calculating the transmission rate of the transmission side from the time measurement result (not shown). ).

【0151】さらに、送信側データ伝送装置1は、一定
時間を過ぎても応答データが返送されてこないときに
は、伝送データフレームの再送を行うようになってい
る。
Further, the transmission side data transmission apparatus 1 is adapted to retransmit the transmission data frame when the response data is not returned even after the lapse of a fixed time.

【0152】次に、本実施例における一連のデータ伝送
動作について、図21(b),図21(c)のシーケン
ス図及び図22の流れ図を用いて説明する。
Next, a series of data transmission operations in this embodiment will be described with reference to the sequence diagrams of FIGS. 21 (b) and 21 (c) and the flow chart of FIG.

【0153】図21(b),(c)において、まず、送
信側から伝送データフレームが送出される。
In FIGS. 21B and 21C, first, a transmission data frame is transmitted from the transmitting side.

【0154】図22において、受信側は、伝送データフ
レームを受信すると(ST61)、最初の伝送速度判定
データfa(00H)を認識できるかの判定を行い(S
T62)、認識できれば、フレーミングエラー、ブレー
クキャラクタディテクトが起きるか否か、すなわち伝送
速度判定データfaが00Hと判定できるないか否かを
判定する(ST63)。
In FIG. 22, when the receiving side receives the transmission data frame (ST61), the receiving side determines whether or not the first transmission rate determination data fa (00H) can be recognized (S60).
If it can be recognized, it is determined whether or not a framing error or break character detect occurs, that is, whether or not the transmission rate determination data fa can be determined to be 00H (ST63).

【0155】ここで、フレーミングエラー、ブレークキ
ャラクタディテクトが起きなければ、受信側は送信側に
対して応答データを送出する(ST64)。すなわち、
これは送受信側の伝送速度が同じであって、正常な通信
ができた場合である。
If no framing error or break character detect occurs, the receiving side sends the response data to the transmitting side (ST64). That is,
This is a case where the transmission speeds of the transmitting and receiving sides are the same and normal communication is possible.

【0156】この場合、図21(b)においては、送信
側は応答データを受け取ると通信を継続し、すべてのデ
ータ伝送が終了したら前述の手続きを行って通信を終了
する。
In this case, in FIG. 21B, the transmitting side continues the communication when receiving the response data, and when all the data transmission is completed, the above procedure is carried out to end the communication.

【0157】一方、図22において、ステップST62
で最初の伝送速度判定データfa(00H)を認識でき
ない場合、あるいは、ステップST63でフレーミング
エラー、ブレークキャラクタディテクトが起きた場合、
送られてきたデータの受信が終了するまでの時間を測定
する(ST65)。
On the other hand, in FIG. 22, step ST62.
If the first transmission rate determination data fa (00H) cannot be recognized in step S4, or if a framing error or break character detect occurs in step ST63,
The time until the reception of the sent data is completed is measured (ST65).

【0158】そして、測定した時間から送信側データ伝
送装置1の伝送速度を割り出し、受信側の伝送速度の変
更を行う(ST66)。
Then, the transmission rate of the transmission side data transmission apparatus 1 is calculated from the measured time, and the transmission rate of the reception side is changed (ST66).

【0159】また、送信側データ伝送装置1への応答は
行わない(ST67)。
Further, no response is sent to the transmitting side data transmitting apparatus 1 (ST67).

【0160】この場合、図21(c)において、送信側
は、一定時間を過ぎても応答データが返信されず再送時
間になったら、データ伝送が正常に行われなかったもの
とみなして、伝送データフレームの再送を行う。このと
きは、受信側でデータ伝送速度合わせが行われているの
で、以下、図21(b)の場合と同様に推移する。
In this case, in FIG. 21 (c), the transmission side considers that the data transmission is not normally performed when the response data is not returned even after the lapse of a fixed time and the retransmission time is reached, and the transmission is performed. Retransmit the data frame. At this time, since the data transmission speed is adjusted on the receiving side, the same process as in the case of FIG.

【0161】なお、伝送速度判定データfa,fcとし
て、00Hを使う理由は送信速度より受信速度の方が1
/8まで低くなっても先頭と末尾の存在を正しく伝える
ことが可能なためである。
The reason why 00H is used as the transmission rate judgment data fa and fc is that the reception rate is 1 rather than the transmission rate.
This is because it is possible to correctly convey the existence of the beginning and the end even if the level is lowered to / 8.

【0162】上述したように、本実施例による調歩式デ
ータ伝送方法では、伝送データフレームを固定長とし、
固定長の伝送データ本体fbの前後に伝送速度判定デー
タfa,fcとして00Hを付加し、受信側でエラーが
起きたときには、受信データの時間を測定し、測定時間
から送信側の伝送速度を割り出して、受信側の伝送速度
を合わせるようにしたので、上記実施例と同様の効果が
得られる他、データ伝送装置間の伝送速度判定・変更を
行うことができ、また伝送速度が合っていればそのまま
伝送することができる。
As described above, in the start-stop data transmission method according to this embodiment, the transmission data frame has a fixed length,
00H is added as the transmission rate judgment data fa and fc before and after the fixed length transmission data body fb, and when an error occurs on the receiving side, the time of the receiving data is measured and the transmission rate of the transmitting side is calculated from the measured time. Since the reception side transmission speed is adjusted, the same effect as the above embodiment can be obtained, and the transmission speed between data transmission devices can be determined / changed, and if the transmission speed is matched, It can be transmitted as is.

【0163】なお、本発明は、上記各実施例に限定され
るものでなく、その要旨を逸脱しない範囲で種々に変形
することが可能である。
The present invention is not limited to the above embodiments, but can be variously modified without departing from the scope of the invention.

【0164】[0164]

【発明の効果】以上詳記したように本発明によれば、伝
送系のデータの伝送速度を予め固定することなく、デー
タ伝送を行う際に、受信側で送信側のデータ伝送速度を
判定可能とする調歩式データ伝送方法を提供し、また、
伝送系のデータの伝送速度を予め固定することなく、デ
ータ伝送を行う際に、送受信側双方で互いのデータ伝送
速度を判定すると共に、予めデータ伝送装置間の伝送速
度の設定を行うことなく最も適切な伝送速度に合わせて
データ伝送できる調歩式データ伝送方法を提供すること
ができる。
As described above in detail, according to the present invention, the data transmission rate of the transmission side can be determined by the reception side when performing data transmission without fixing the transmission rate of the data of the transmission system in advance. To provide a start-stop data transmission method,
When data transmission is performed without fixing the data transmission rate of the transmission system in advance, both sides determine the data transmission rate of each other and do not set the transmission rate between the data transmission devices in advance. It is possible to provide a start-stop data transmission method capable of transmitting data at an appropriate transmission rate.

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

【図1】本発明に係る第1の実施例の調歩式データ伝送
方法を用いるデータ伝送システムの一例を示す構成図。
FIG. 1 is a configuration diagram showing an example of a data transmission system using a start-stop data transmission method according to a first embodiment of the present invention.

【図2】同第1の実施例の調歩式データ伝送方法で用い
る伝送速度判定データの一例を示す図。
FIG. 2 is a diagram showing an example of transmission rate determination data used in the start-stop type data transmission method of the first embodiment.

【図3】同第1の実施例で用いるデータ伝送システム内
の判定テーブルの一例を示す図。
FIG. 3 is a diagram showing an example of a determination table in the data transmission system used in the first embodiment.

【図4】同第1の実施例における一連のデータ伝送動作
の一例を示すシーケンス図。
FIG. 4 is a sequence diagram showing an example of a series of data transmission operations in the first embodiment.

【図5】同第1の実施例におけるデータ伝送装置の動作
を示す流れ図。
FIG. 5 is a flowchart showing the operation of the data transmission device in the first embodiment.

【図6】本発明に係る実施例において伝送速度設定が送
信側と受信側とで異なる場合の受信データの認識につい
て説明図。
FIG. 6 is an explanatory diagram for recognizing received data when the transmission rate setting is different between the transmitting side and the receiving side in the embodiment according to the present invention.

【図7】本発明に係る第2の実施例の伝送データフレー
ムの一例を示す図及び一連のデータ伝送動作の一例を示
すシーケンス図。
FIG. 7 is a diagram showing an example of a transmission data frame of a second embodiment according to the present invention and a sequence diagram showing an example of a series of data transmission operations.

【図8】同第2の実施例におけるデータ伝送装置の動作
を示す流れ図。
FIG. 8 is a flowchart showing the operation of the data transmission device according to the second embodiment.

【図9】本発明に係る第3の実施例で用いるデータ伝送
システム内の判定テーブルの一例を示す図。
FIG. 9 is a diagram showing an example of a determination table in the data transmission system used in the third embodiment of the present invention.

【図10】同第3の実施例におけるデータ伝送装置の動
作を示す流れ図。
FIG. 10 is a flowchart showing the operation of the data transmission device according to the third embodiment.

【図11】本発明に係る第4の実施例の調歩式データ伝
送方法で用いる伝送速度判定データの一例を示す図。
FIG. 11 is a diagram showing an example of transmission rate determination data used in the start-stop data transmission method according to the fourth embodiment of the present invention.

【図12】同第4の実施例で用いるデータ伝送システム
内の判定テーブルの一例を示す図。
FIG. 12 is a diagram showing an example of a determination table in the data transmission system used in the fourth embodiment.

【図13】同第4の実施例におけるデータ伝送装置の動
作を示す流れ図。
FIG. 13 is a flowchart showing the operation of the data transmission device according to the fourth embodiment.

【図14】本発明に係る第5の実施例の調歩式データ伝
送方法で用いる伝送速度判定データの一例を示す図。
FIG. 14 is a diagram showing an example of transmission rate determination data used in a start-stop data transmission method according to a fifth embodiment of the present invention.

【図15】同第5の実施例で用いるデータ伝送システム
内の判定テーブルの一例を示す図。
FIG. 15 is a diagram showing an example of a determination table in the data transmission system used in the fifth embodiment.

【図16】同第5の実施例におけるデータ伝送装置の動
作を示す流れ図。
FIG. 16 is a flowchart showing the operation of the data transmission device according to the fifth embodiment.

【図17】本発明に係る第6の実施例の調歩式データ伝
送方法で用いる伝送速度判定データの一例を示す図。
FIG. 17 is a diagram showing an example of transmission rate determination data used in the start-stop data transmission method according to the sixth embodiment of the present invention.

【図18】同第6の実施例で用いるデータ伝送システム
内の判定テーブルの一例を示す図。
FIG. 18 is a diagram showing an example of a determination table in the data transmission system used in the sixth embodiment.

【図19】同第6の実施例におけるデータ伝送装置の動
作を示す流れ図。
FIG. 19 is a flowchart showing the operation of the data transmission device according to the sixth embodiment.

【図20】同第6の実施例における伝送速度判定データ
のスタートビット認識についての説明図。
FIG. 20 is an explanatory diagram of start bit recognition of transmission rate determination data in the sixth embodiment.

【図21】本発明に係る第7の実施例の伝送データフレ
ームの一例を示す図及び一連のデータ伝送動作の一例を
示すシーケンス図。
FIG. 21 is a diagram showing an example of a transmission data frame according to a seventh embodiment of the present invention and a sequence diagram showing an example of a series of data transmission operations.

【図22】同第7の実施例におけるデータ伝送装置の動
作を示す流れ図。
FIG. 22 is a flowchart showing the operation of the data transmission device according to the seventh embodiment.

【図23】従来の調歩式データ伝送装置の概略構成図。FIG. 23 is a schematic configuration diagram of a conventional start-stop data transmission device.

【図24】従来のデータ伝送における確認キャラクタを
示す図。
FIG. 24 is a diagram showing a confirmation character in conventional data transmission.

【図25】従来方法における一連のデータ伝送動作例を
示すシーケンス図。
FIG. 25 is a sequence diagram showing an example of a series of data transmission operations in the conventional method.

【図26】従来方法における確認キャラクタのビット誤
認識を示す説明図。
FIG. 26 is an explanatory diagram showing erroneous bit recognition of a confirmation character in the conventional method.

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

1…送信側データ伝送装置、2…受信側データ伝送装
置、3…伝送路、6…判定テーブル、7…メモリ、8…
送受信器、11…判定テーブル、12…メモリ、13…
送受信器、fa,fc…伝送速度判定データ、fb…伝
送データ本体、ST…スタートビット、SP…ストップ
ビット。
1 ... Transmission side data transmission device, 2 ... Reception side data transmission device, 3 ... Transmission path, 6 ... Judgment table, 7 ... Memory, 8 ...
Transceiver, 11 ... Judgment table, 12 ... Memory, 13 ...
Transmitter / receiver, fa, fc ... Transmission rate judgment data, fb ... Transmission data main body, ST ... Start bit, SP ... Stop bit.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 調歩伝送によりデータ伝送装置間でデー
タ伝送する調歩式データ伝送方法において、 送信側の前記データ伝送装置から伝送速度判定データを
送信し、 受信側の前記データ伝送装置で前記伝送速度判定データ
を受信し、 前記受信側において、前記伝送速度判定データについて
の識別された受信データ等の受信状態情報を取得し、 前記送信側で設定されるデータ伝送速度と前記受信側で
設定されるデータ伝送速度との関係によって決まる受信
状態情報と前記取得された受信状態情報とに基づいて、
前記送信側のデータ伝送速度を判定することを特徴とし
た調歩式データ伝送方法。
1. A start-stop data transmission method for transmitting data between data transmission devices by start-stop transmission, wherein transmission rate determination data is transmitted from the data transmission device on the transmission side, and the transmission rate is transmitted on the data transmission device on the reception side. Receiving judgment data, the receiving side obtains reception status information such as identified reception data for the transmission speed judgment data, and the data transmission rate set by the transmitting side and the receiving side are set by the receiving side. Based on the reception status information and the acquired reception status information determined by the relationship with the data transmission rate,
A start-stop data transmission method, characterized in that the data transmission rate on the transmitting side is determined.
【請求項2】 前記取得された受信状態情報は、前記識
別された受信データ又は前記伝送速度判定データを受信
することにより生じるエラーの種類データであることを
特徴とした請求項1記載の調歩式データ伝送方法。
2. The start-stop method according to claim 1, wherein the acquired reception state information is type data of an error caused by receiving the identified reception data or the transmission rate determination data. Data transmission method.
【請求項3】 調歩伝送によりデータ伝送装置間でデー
タ伝送する調歩式データ伝送方法において、 送信側の前記データ伝送装置から伝送速度判定データを
送信し、 受信側の前記データ伝送装置で前記伝送速度判定データ
を受信し、 前記受信側において、前記伝送速度判定データについて
の識別された受信データ又は前記伝送速度判定データを
受信することにより生じるエラーの種類データ等の受信
状態情報を取得し、 前記送信側で設定されるデータ伝送速度と前記受信側で
設定されるデータ伝送速度との関係によって決まる受信
状態情報と前記取得された受信状態情報とに基づいて、
前記送信側のデータ伝送速度を判定し、 この判定結果に基づいて、前記受信側のデータ伝送速度
を変更し、 この変更したデータ伝送速度で、前記受信側のデータ伝
送装置から前記送信側のデータ伝送装置に応答データを
返信し、 前記送信側において、前記応答データについての識別さ
れた応答受信データ又は前記応答データを受信すること
により生じるエラーの種類データ等の応答受信状態情報
を取得し、 前記送信側で設定されるデータ伝送速度と前記受信側で
設定されるデータ伝送速度との関係によって決まる受信
状態情報と前記取得された応答受信状態情報とに基づい
て、前記受信側のデータ伝送速度を判定し、 この判定結果に基づいて、前記送信側のデータ伝送速度
を前記受信側のデータ伝送速度に一致させることを特徴
とした調歩式データ伝送方法。
3. A start-stop data transmission method for transmitting data between data transmission devices by start-stop transmission, wherein transmission speed determination data is transmitted from the data transmission device on the transmission side, and the transmission speed is transmitted on the data transmission device on the reception side. Receiving the determination data, and on the receiving side, the reception status information such as the identified reception data of the transmission rate determination data or the type data of the error caused by receiving the transmission rate determination data, and the like, On the basis of the reception status information and the acquired reception status information determined by the relationship between the data transmission speed set on the side and the data transmission speed set on the receiving side,
The data transmission rate of the transmission side is determined, the data transmission rate of the reception side is changed based on the determination result, and the data transmission rate of the reception side is changed from the data transmission apparatus of the reception side at the changed data transmission rate. Returning response data to the transmission device, and on the transmitting side, obtain response receiving state information such as identified response receiving data for the response data or error type data generated by receiving the response data, Based on the reception status information determined by the relationship between the data transmission rate set on the transmission side and the data transmission rate set on the reception side, and the acquired response reception state information, the data transmission rate on the reception side is set. A determination is made, and based on this determination result, the data transmission rate of the transmitting side is made to match the data transmission rate of the receiving side. Expression data transmission method.
【請求項4】 前記伝送速度判定データは、前記送信側
のデータ伝送装置が伝送すべき伝送データ本体の先頭に
付加されていることを特徴とした請求項1乃至3のうち
何れか1項記載の調歩式データ伝送方法。
4. The transmission rate determination data is added to the beginning of the transmission data body to be transmitted by the data transmission device on the transmission side, according to any one of claims 1 to 3. Start-stop data transmission method.
【請求項5】 前記伝送速度判定データは、16進数表
示で”F8”の1バイトデータであることを特徴とした
請求項1乃至4のうち何れか1項記載の調歩式データ伝
送方法。
5. The start-stop data transmission method according to claim 1, wherein the transmission speed determination data is 1-byte data of “F8” in hexadecimal notation.
【請求項6】 前記伝送速度判定データは、16進数表
示で”80”の1バイトデータであることを特徴とした
請求項1乃至4のうち何れか1項記載の調歩式データ伝
送方法。
6. The start-stop data transmission method according to claim 1, wherein the transmission speed determination data is 1-byte data of “80” in hexadecimal notation.
【請求項7】 前記伝送速度判定データは、16進数表
示で”FF”の1バイトデータであることを特徴とした
請求項1乃至4のうち何れか1項記載の調歩式データ伝
送方法。
7. The start-stop data transmission method according to claim 1, wherein the transmission speed determination data is 1-byte data of “FF” in hexadecimal notation.
【請求項8】 前記伝送速度判定データは、16進数表
示で”FF”の1バイトデータと16進数表示で”8
0”の1バイトデータとからなる合計2バイトのデータ
であることを特徴とした請求項1乃至4のうち何れか1
項記載の調歩式データ伝送方法。
8. The transmission speed judgment data is "FF" 1-byte data in hexadecimal notation and "8" in hexadecimal notation.
5. A total of 2 bytes of data consisting of 1 "data of 0", and any one of claims 1 to 4.
A start-up type data transmission method according to the item.
【請求項9】 調歩伝送によりデータ伝送装置間でデー
タ伝送する調歩式データ伝送方法において、 送信側のデータ伝送速度を判定するための判定データと
して、それぞれ16進数表示で”00”の1バイトデー
タである先頭伝送速度判定データと後端伝送速度判定デ
ータとを固定長の伝送データ本体の先後に付加し、 前記各伝送判定データを含む固定長の伝送データを前記
送信側のデータ伝送装置から送信し、 受信側の前記データ伝送装置で前記伝送データを受信
し、 前記受信側において、前記先頭伝送速度判定データにつ
いての受信状態情報に基づき送受信側のデータ伝送速度
が一致しているか否かを判定し、 前記データ伝送速度が一致していないときには、前記受
信側において、前記先頭伝送速度判定データと前記後端
伝送速度判定データの時間を測定することにより送信側
のデータ伝送速度を判定することを特徴とした調歩式デ
ータ伝送方法。
9. In the start-stop data transmission method for transmitting data between data transmission devices by start-stop transmission, 1-byte data of "00" in hexadecimal notation is used as determination data for determining the data transmission rate on the transmission side. The leading transmission rate judgment data and the trailing end transmission rate judgment data are added after the fixed-length transmission data body, and the fixed-length transmission data including each of the transmission determination data is transmitted from the transmission side data transmission device. Then, the data transmission device on the reception side receives the transmission data, and the reception side determines whether or not the data transmission rates of the transmission and reception sides match based on the reception state information about the leading transmission rate determination data. However, when the data transmission rates do not match, the reception side determines the start transmission rate determination data and the rear end transmission rate determination data. Start-stop data transmission method characterized by determining the data transmission rate of the sender by measuring the time over data.
JP7055401A 1995-03-15 1995-03-15 Start-stop type data transmission method Pending JPH08251253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7055401A JPH08251253A (en) 1995-03-15 1995-03-15 Start-stop type data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7055401A JPH08251253A (en) 1995-03-15 1995-03-15 Start-stop type data transmission method

Publications (1)

Publication Number Publication Date
JPH08251253A true JPH08251253A (en) 1996-09-27

Family

ID=12997522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7055401A Pending JPH08251253A (en) 1995-03-15 1995-03-15 Start-stop type data transmission method

Country Status (1)

Country Link
JP (1) JPH08251253A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4832612B2 (en) * 2010-03-04 2011-12-07 株式会社 エニイワイヤ Signal transmission method in control / monitor signal transmission system
JP2015119297A (en) * 2013-12-18 2015-06-25 船井電機株式会社 Electronic apparatus, control device and communication method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4832612B2 (en) * 2010-03-04 2011-12-07 株式会社 エニイワイヤ Signal transmission method in control / monitor signal transmission system
JP2015119297A (en) * 2013-12-18 2015-06-25 船井電機株式会社 Electronic apparatus, control device and communication method

Similar Documents

Publication Publication Date Title
US5481562A (en) Multi-mode modem and data transmission method
US5165020A (en) Terminal device session management protocol
US4791566A (en) Terminal device session management protocol
JP3242856B2 (en) Direct spread spectrum communication system
NO318021B1 (en) Protocol for packet data, especially for wireless communication
US7530001B2 (en) Wireless communications system reducing unnecessary retransmission by means of a correlation value of received data with preamble and a method therefor
US5935267A (en) Data communication method and a data communication system for use with a digital network
JPS6113846A (en) Data format detector
JP2000513516A (en) Multiplex communication interface circuit and method
US5966409A (en) Data transmission unit
JPH08251253A (en) Start-stop type data transmission method
JP3433180B2 (en) Transmission device and communication system
US6694386B1 (en) Data transfer apparatus that performs retransmission control and transfers data in real time
JP3255148B2 (en) Communications system
JPH0787084A (en) Isdn data communication terminal equipment
EP0944217A2 (en) Methods for data communication and for generating communication frames
JP2000341251A (en) Data transmission method
JP2650317B2 (en) Broadcast control method in wireless communication system
KR20000059602A (en) apparatus and method for receiving asynchronous packet data in bus system
JP3353759B2 (en) Serial communication method by ATM method
JPH06177941A (en) Home bus controller
JPH05244216A (en) Transfer mode setting system
JPH01295595A (en) Separate type air-conditioner
JPH0637738A (en) Data transmission error control system
JP3369952B2 (en) Communication frame generation method