JP2552646B2 - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JP2552646B2
JP2552646B2 JP60048844A JP4884485A JP2552646B2 JP 2552646 B2 JP2552646 B2 JP 2552646B2 JP 60048844 A JP60048844 A JP 60048844A JP 4884485 A JP4884485 A JP 4884485A JP 2552646 B2 JP2552646 B2 JP 2552646B2
Authority
JP
Japan
Prior art keywords
data
transmission
device number
time
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.)
Expired - Fee Related
Application number
JP60048844A
Other languages
Japanese (ja)
Other versions
JPS61208336A (en
Inventor
晴聖 大屋
留美子 秋元
勝利 田上
良一 土屋
一男 中村
勇人 宗行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PPONDA GIKEN KOGYO KK
Oki Electric Industry Co Ltd
Original Assignee
PPONDA GIKEN KOGYO KK
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PPONDA GIKEN KOGYO KK, Oki Electric Industry Co Ltd filed Critical PPONDA GIKEN KOGYO KK
Priority to JP60048844A priority Critical patent/JP2552646B2/en
Priority to DE8686103347T priority patent/DE3685761T2/en
Priority to CA000503974A priority patent/CA1261021A/en
Priority to EP86103347A priority patent/EP0194674B1/en
Priority to US06/839,781 priority patent/US4771423A/en
Publication of JPS61208336A publication Critical patent/JPS61208336A/en
Application granted granted Critical
Publication of JP2552646B2 publication Critical patent/JP2552646B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、伝送路によりループ状に連結された複数の
データ送受信装置のデータ伝送を制御するデータ伝送方
法に関するものである。
Description: TECHNICAL FIELD The present invention relates to a data transmission method for controlling data transmission of a plurality of data transmission / reception devices connected in a loop by a transmission path.

(従来の技術) 従来、この種の伝送方法としては、例えば「自動車技
術Vol.38,No.2」(1984年発行、第215頁〜第221頁)に
記載され、多重ハーネスシステムに適用されたものがあ
る。
(Prior Art) Conventionally, this type of transmission method is described in, for example, “Automotive Technology Vol.38, No.2” (issued in 1984, pages 215 to 221) and applied to a multiple harness system. There is something.

この方法は、第3図に示すように、複数のデータ送受
信装置(以下、単に装置という)(N1〜Nn)が伝送路
(1)によりループ状に連結されたループネットワーク
を用い、これらの装置(N1〜Nn)のうち、伝送路(1)
の管理権を持つマスタ装置(N1)が各装置(N2〜Nn)へ
ポーリング要求(P)を送信し、これを管理権を持たな
い各スレーブ側の装置(N2〜Nn)が受信することによ
り、スレーブ側の装置(N2〜Nn)が、順次、自己を表示
する装置番号(A)と伝送データ(D)を伝送路(1)
上に送出していた。例えば、各装置(N1〜N3)の装置番
号(A)および伝送データ(D)を第4図に示すよう
に、装置番号(A)および伝送データ(D)がそれぞれ
送出されると、所定の監視時間(t1)を経過した後に、
マスタ装置(N1)からポーリング要求(P)を送出し、
このポーリング要求(P)をスレーブ側の各装置(N2
Nn)がそれぞれ受信し、さらに監視時間(t0)の経過後
に、次のスレーブ側の装置,例えば、No.2の装置(N2
が装置番号(A)および伝送データ(D)を伝送路
(1)上に送出するものである。
This method uses a loop network in which a plurality of data transmission / reception devices (hereinafter simply referred to as devices) (N 1 to Nn) are connected in a loop by a transmission line (1) as shown in FIG. Transmission path (1) among devices (N 1 to Nn)
Master device with administrative rights (N 1) transmits a respective device (N 2 ~Nn) polling request to the (P), apparatus for each slave with no control over this (N 2 ~Nn) is received By doing so, the slave side devices (N 2 to Nn) sequentially transmit the device number (A) and the transmission data (D) indicating themselves to the transmission line (1).
Had sent out above. For example, when the device number (A) and the transmission data (D) of each device (N 1 to N 3 ) are transmitted as shown in FIG. 4, when the device number (A) and the transmission data (D) are respectively sent, After a predetermined monitoring time (t 1 ) has passed,
The master device (N 1 ) sends a polling request (P),
This polling request (P) is sent to each device (N 2 ~
Nn) respectively, and after the monitoring time (t 0 ) elapses, the next slave device, for example, the No. 2 device (N 2 )
Sends the device number (A) and the transmission data (D) onto the transmission line (1).

(発明が解決しようとする問題点) ところが、上記従来のデータ伝送方法においては、マ
スタ装置からのポーリング要求の送信、スレーブ側の装
置でのポーリング要求の受信に基づいて伝送順序が決定
されるため、伝送効率が低く、また、装置の故障や外部
からのノイズによる異常が発生した場合には、マスタ装
置の機能が停止し、ポーリング要求を送信できなくなる
ため、その後のデータ伝送が停止状態となる虞があっ
た。
(Problems to be Solved by the Invention) However, in the above-mentioned conventional data transmission method, the transmission order is determined based on the transmission of the polling request from the master device and the reception of the polling request at the slave side device. , The transmission efficiency is low, and when an abnormality occurs due to a device failure or noise from the outside, the function of the master device stops and it becomes impossible to send polling requests, so the subsequent data transmission is stopped. I was afraid.

(発明の目的) 本発明は、上記問題点を解決し、マスタ装置からスレ
ーブ側の各装置へのポーリング要求に基づく方法を用い
ずに伝送効率を高めるとともに、異常発生によるデータ
伝送の停止を防止できるデータ伝送方法を提供すること
を目的とする。
(Object of the Invention) The present invention solves the above problems, improves transmission efficiency without using a method based on a polling request from a master device to each device on the slave side, and prevents stop of data transmission due to an abnormality. It is an object of the present invention to provide a data transmission method that can be performed.

(問題点を解決するための手段) 本発明のデータ伝送方法は、各データ送受信装置間で
データ伝送路に装置番号および伝送データを送出する使
用順位を求め設定するとともに、各データ送受信装置に
それぞれ監視時間t1、伝送データ終了監視タイマt2、異
常時の装置番号受信監視タイマt3、正常時の装置番号受
信監視タイマt4およびデータ終了監視タイマt5の各種監
視タイマを備え、この各種監視タイマの監視時間経過に
基づき、全てのデータ送受信装置が正常の状態には、任
意のデータ送受信装置NKの装置番号AKおよび伝送データ
DKを受信後に起動される監視時間t1が経過後、受信した
装置番号AKに基づいて次順位のデータ送受信装置NK+1
ら装置番号AA+1および伝送データDK+1を送出するステッ
プ1を備える。
(Means for Solving Problems) A data transmission method according to the present invention finds and sets a device number and a use order for transmitting transmission data to a data transmission path between the data transmission / reception devices, and sets the data transmission / reception devices to the respective data transmission / reception devices. It is equipped with various monitoring timers such as monitoring time t 1 , transmission data end monitoring timer t 2 , abnormal device number reception monitoring timer t 3 , normal device number reception monitoring timer t 4 and data end monitoring timer t 5. Based on the monitoring time elapsed by the monitoring timer, if all data transceivers are in normal status, the device number A K and transmission data of any data transceiver N K
After the monitoring time t 1 that is activated with D K after receiving, the device number A A + 1 and transmission data D K + 1 from the data transceiver N K + 1 of the following order based on the received apparatus number A K Step 1 of sending out is provided.

また、本発明のデータ伝送方法は、任意のデータ送受
信装置NKの装置番号AKが送信され、伝送データDKが送信
されない異常の状態には、装置番号AK受信後に起動され
る伝送データ終了監視タイマt2の時間経過に続く、監視
時間t1の1/2の時間経過後(t2+t1/2)に受信した装置
番号AKに基づいて次順位のデータ送受信装置NK+1から装
置番号AK+1および伝送データDK+1を送出するステップ2
を備える。
The transmission data the data transmission method of the present invention, device number A K any data transceiver N K is transmitted, the transmission data D K is the abnormality in the state of not being transmitted, which is activated after receiving unit number A K completion monitoring following the time course of the timer t 2, data transceiver having the next order based on the device number a K received after lapse half the time of monitoring time t 1 (t 2 + t 1 /2) N K + step 2 sending the device number a K + 1 and the transmission data D K + 1 from 1
Is provided.

さらに、本発明のデータ伝送方法は、ステップ2にお
いて、伝送データ終了監視タイマt2の時間内に伝送デー
タDKが送信されず、伝送データ終了監視タイマt2の時間
経過に続いて起動される異常時の装置番号受信監視タイ
マt3の時間内に次順位のデータ送受信装置NK+1から装置
番号AK+1が送信されない異常の状態には、異常時の装置
番号受信監視タイマt3に続いて起動されるデータ終了監
視タイマt5および監視時間t1の時間経過後に、装置番号
AKに基づいてデータ送受信装置NK+2から装置番号AK+2
よび伝送データDK+2を送出するステップ3を備える。
Further, the data transmission method of the present invention, in step 2, not transmitted data D K is transmitted within the time transmitted data completion monitoring timer t 2, it is activated following the time course of the transmission data completion monitoring timer t 2 In the abnormal state where the device number reception monitoring timer t 3 at the time of abnormality does not transmit the device number A K + 1 from the next data transmission / reception device N K + 1 , the device number reception monitoring timer at the time of abnormality t 3 After the end of the data end monitoring timer t 5 and the monitoring time t 1
The method comprises step 3 of transmitting the device number A K + 2 and the transmission data D K + 2 from the data transmitting / receiving device N K + 2 based on A K.

さらに、本発明のデータ伝送方法は、任意のデータ送
受信装置NKの装置番号AKおよび伝送データDKが送信さ
れ、次順位のデータ送受信装置NK+1から装置番号AK+1
送信されない異常の状態には、装置番号AKおよび伝送デ
ータDKを受信後に起動される正常時の装置番号受信監視
タイマt4の時間経過に続いて起動されるデータ終了監視
タイマt5および監視時間t1の時間経過後に、装置番号AK
に基づいてデータ送受信装置NK+2から装置番号AK+2およ
び伝送データDK+2を送出するステップ4を備える。
Further, the data transmission method of the present invention, device number A K and the transmission data D K any data transceiver N K is sent, the device number A K + 1 is transmitted from the data transceiver N K + 1 of the next rank The abnormal status that is not displayed is the data end monitoring timer t 5 and the monitoring time which are started after the time of the normal device number reception monitoring timer t 4 started after receiving the device number AK and the transmission data D K. After the time t 1 , the device number A K
Step 4 of transmitting the device number A K + 2 and the transmission data D K + 2 from the data transmitting / receiving device N K + 2 based on the above.

(作用) 本発明のデータ伝送方法は上記ステップ1を備えたの
で、先順位のデータ送受信装置から装置番号および伝送
データのデータ伝送が正常に行われると、このデータ送
受信装置の装置番号に基づいて予め使用順位が設定され
た次順位のデータ送受信装置が監視時間経過後に装置番
号および伝送データを送出することができる。
(Operation) Since the data transmission method of the present invention includes the above step 1, when the data transmission of the device number and the transmission data is normally performed from the preceding data transmission / reception device, based on the device number of this data transmission / reception device. The data transmission / reception device of the next order in which the order of use is set in advance can send the device number and the transmission data after the monitoring time has elapsed.

また、本発明のデータ伝送方法は上記ステップ2を備
えたので、先順位のデータ送受信装置から装置番号のデ
ータ伝送は正常に行われるが、伝送データ終了監視タイ
マt2の時間内に伝送データが送出されない異常状態に
は、伝送データ終了監視タイマt2の時間経過に続く、監
視時間t1の1/2の時間経過後(t2+t1/2)に受信した装
置番号に基づいて次順位のデータ送受信装置から装置番
号および伝送データ送出することができる。
Further, since the data transmission method of the present invention includes the above step 2, the data transmission of the device number is normally performed from the preceding data transmission / reception device, but the transmission data is not transmitted within the time of the transmission data end monitoring timer t 2. the not sent the abnormal state continues over time of the transmission data completion monitoring timer t 2, the following order based on the device number received after lapse half the time of monitoring time t 1 (t 2 + t 1 /2) The device number and the transmission data can be transmitted from the data transmitting / receiving device.

さらに、本発明のデータ伝送方法は上記ステップ3を
備えたので、ステップ2において、伝送データ終了監視
タイマt2の時間内に先順位のデータ送受信装置から伝送
データが送信されず、伝送データ終了監視タイマt2の時
間経過に続いて起動される異常時の装置番号受信監視タ
イマt3の時間内に次順位のタイマ送受信装置から装置番
号が送信されない異常状態には、異常時の装置番号受信
監視タイマt3に続いて起動されるデータ終了監視タイマ
t5および監視時間t1の時間経過後に、次々順位のデータ
送受信装置の装置番号に基づいて次々順位のデータ送受
信装置から装置番号および伝送データを送出することが
できる。
Furthermore, since the data transmission method of the present invention includes the above step 3, in step 2, the transmission data is not transmitted from the preceding data transmitter / receiver within the time of the transmission data end monitoring timer t 2 , and the transmission data end monitoring is performed. Device number reception monitoring at the time of abnormality that is activated following the elapse of timer t 2 In the abnormal state where the device number is not transmitted from the next timer transmitting / receiving device within the time of timer t 3 , the device number reception monitoring at the time of abnormality is performed. Data end monitoring timer activated after timer t 3
After the elapse of t 5 and the monitoring time t 1, the device number and the transmission data can be transmitted from the next-order data transmitting / receiving device based on the device number of the next-order data transmitting / receiving device.

また、本発明のデータ伝送方法は上記ステップ4を備
えたので、先順位のデータ送受信装置の装置番号および
伝送データが送信され、次順位のデータ送受信装置から
装置番号が送信されない異常の状態には、先順位のデー
タ送受信装置からの装置番号および伝送データを受信後
に起動される正常時の装置番号受信監視タイマt4の時間
経過に続いて起動されるデータ終了監視タイマt5および
監視時間t1の時間経過後に、先順位のデータ送受信装置
の装置番号に基づいて次々順位のデータ送受信装置から
装置番号および伝送データを送出することができる。
Further, since the data transmission method of the present invention includes the above step 4, in the abnormal state where the device number and the transmission data of the data transmitter / receiver of the preceding order are transmitted and the device number is not transmitted from the data transmitter / receiver of the next order. , The data end monitoring timer t 5 and the monitoring time t 1 that are started after the time of the device number reception monitoring timer t 4 in a normal state that is started after receiving the device number and the transmission data from the preceding data transmission / reception device After the elapse of time, the device number and the transmission data can be sent from the data transmitter / receiver of the next order based on the device number of the data transmitter / receiver of the preceding order.

(実施例) 以下に本発明の一実施例を添付図面に基づいて詳細に
説明する。
(Example) Hereinafter, one example of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明の正常時におけるデータ伝送方法を示
すタイミングチャートであり、第2図は本発明の異常時
におけるデータ伝送方法を示すタイミングチャートであ
る。
FIG. 1 is a timing chart showing a data transmission method at a normal time of the present invention, and FIG. 2 is a timing chart showing a data transmission method at an abnormal time of the present invention.

本実施例のデータ伝送方法において、各データ送受信
装置N1〜Nnは伝送路(1)の使用順位が予め設定されて
いる。
In the data transmission method of this embodiment, the order of use of the transmission path (1) is preset for each of the data transmission / reception devices N 1 to N n .

また、各データ送受信装置N1〜Nn(以下、装置N1〜Nn
と称する)から送出されるデータ長も予め等しく設定さ
れていることが望ましい。
In addition, each data transmission / reception device N 1 to N n (hereinafter, device N 1 to N n
It is desirable that the data length sent from each of the above) is also set in advance.

各装置N1〜Nnは、装置番号A1〜Anおよび伝送データD1
〜Dnのデータを伝送路(1)に送出するよう構成されて
おり、任意の装置NKは装置番号AKに続いて伝送データDK
を伝送路(1)に送出する。
Each device N 1 to N n has a device number A 1 to A n and transmission data D 1
~ D n of data is transmitted to the transmission line (1), and any device N K follows the device number A K and then the transmission data D K.
Is transmitted to the transmission line (1).

また、各装置N1〜Nnは、それぞれ監視時間t1、伝送デ
ータ終了監視タイマt2、異常時の装置番号受信監視タイ
マt3、正常時の装置番号受信監視タイマt4およびデータ
終了監視タイマt5の各種監視タイマを備える。
Further, each of the devices N 1 to N n has a monitoring time t 1 , a transmission data end monitoring timer t 2 , an abnormal device number reception monitoring timer t 3 , a normal device number reception monitoring timer t 4 and a data end monitoring. Various monitoring timers of timer t 5 are provided.

なお、監視時間t1は所定の固定した時間に設定し、伝
送データ終了監視タイマt2は装置番号受信後からの伝送
データ長さ(伝送データDKの伝送時間)に監視時間t1
1/2(t1/2)を加算した時間、異常時の装置番号受信監
視タイマt3は伝送データ終了監視タイマt2のタイムアウ
ト後から伝送データの1キャラクタ分受信完了までの時
間、正常時の装置番号受信監視タイマt4は伝送データ受
信完了後から次の伝送データ1キャラクタ分受信完了ま
での時間、データ終了監視タイマt5は異常時の装置番号
受信監視タイマt3のタイムアウト後から残りの伝送デー
タ受信完了時間にそれぞれ設定する。
The monitoring time t 1 is set to a predetermined fixed time, and the transmission data end monitoring timer t 2 is set to the transmission data length (transmission time of the transmission data D K ) after the device number is received and the monitoring time t 1 is
1/2 (t 1/2) time obtained by adding the, device number reception monitoring timer t 3 during abnormal time until one character reception completion of the transmission data after the timeout of the transmission data completion monitoring timer t 2, the normal The device number reception monitoring timer t 4 is the time from the completion of reception of the transmission data to the completion of reception of the next transmission data for one character, and the data end monitoring timer t 5 remains after the timeout of the device number reception monitoring timer t 3 at the time of abnormality. It is set to the transmission data reception completion time.

監視時間t1は、任意の装置NKの装置番号AKおよび伝送
データDKを受信した後に起動される。
Monitoring time t 1 is activated the device number A K and the transmission data D K of any device N K after receiving.

伝送データ終了監視タイマt2は、任意の装置NKの装置
番号AKを受信した後に起動される。
Transmission data completion monitoring timer t 2 is started after receiving the device number A K any device N K.

異常時の装置番号受信監視タイマt3は、伝送データ終
了監視タイマt2内に任意の装置NKの伝送データDKが受信
されない場合に、伝送データ終了監視タイマt2のタイム
アップに続いて起動される。
Abnormal time unit number reception monitoring timer t 3, when the transmission data D K of any device N K transmission data completion monitoring timer t in 2 is not received, following the timeout of the transmission data completion monitoring timer t 2 Is activated.

正常時に装置番号受信監視タイマt4は、監視時間t1
同様に、任意の装置NKの装置番号AKおよび伝送データDK
を受信した後に起動される。
Device ID reception monitoring timer t 4 in the normal, similar to the monitoring time t 1, the device number of any device N K A K and the transmission data D K
Will be started after receiving.

第1図において、最初のデータ送受信装置N1から装置
番号A1および伝送データD1が伝送路(1)に出力される
と、データ送受信装置N2〜Nnは装置番号A1および伝送デ
ータD1を受信する。
In FIG. 1, when the device number A 1 and the transmission data D 1 are output from the first data transmitting / receiving device N 1 to the transmission line (1), the data transmitting / receiving devices N 2 to N n have the device number A 1 and the transmission data. Receive D 1 .

データ送受信装置N1〜Nnは全て正常なので、データ送
受信装置N2は装置番号A1および伝送データD1を受信後、
装置番号A1に基づいて監視時間t1経過後に装置番号A2
よび伝送データD2を伝送路(1)に送出する。
Since the data transceivers N 1 to N n are all normal, the data transceiver N 2 receives the device number A 1 and the transmission data D 1 , and
Based on the device number A 1 , the device number A 2 and the transmission data D 2 are sent to the transmission path (1) after the monitoring time t 1 has elapsed.

同様に、データ送受信装置N1、N3〜Nnは装置番号A2
よび伝送データD2を受信し、データ送受信装置N3は装置
番号A2に基づいて監視時間t1経過後に装置番号A3および
伝送データD3を伝送路(1)に送出する。
Similarly, the data transmission / reception devices N 1 , N 3 to N n receive the device number A 2 and the transmission data D 2 , and the data transmission / reception device N 3 determines the device number A after the elapse of the monitoring time t 1 based on the device number A 2. 3 and the transmission data D 3 are transmitted to the transmission line (1).

このように、データ送受信装置N1〜Nnは、順次自装置
の装置番号および伝送データを伝送路(1)に送出する
ことができる。
In this way, the data transmitting / receiving devices N 1 to N n can sequentially send the device number of the self device and the transmission data to the transmission line (1).

図2において、先順位のデータ送受信装置NKから装置
番号AKのデータ伝送は正常に行われるが、伝送データ終
了監視タイマt2の時間内に伝送データDKが送出されない
異常状態の場合には、データ送受信装置NK+1は装置番号
AKを受信後、伝送データ終了監視タイマt2の時間経過に
続く、監視時間t1の1/2の時間経過後(t2+t1/2)に受
信した装置番号AKに基づいて次順位のデータ送受信装置
NK+1から装置番号および伝送データを送出することがで
きる。
2, although the data transmission of the previous ranking data transceiver N K from the device number A K is successful, if the abnormal state in which the transmission data D K is not sent within the time transmitted data completion monitoring timer t 2 Is the data transceiver N K + 1 is the device number
After receiving the A K, following the time course of the transmission data completion monitoring timer t 2, based on the device number A K received after lapse half the time of monitoring time t 1 (t 2 + t 1 /2) Next Rank data transmitter and receiver
The device number and transmission data can be sent from N K + 1 .

このように、データ送受信装置NKから装置番号AKを受
信後の時間(t2+t1/2)経過後に、送受信装置NK+1から
装置番号および伝送データを送出可能なので、図1に示
す正常時と同じタイミングで送受信装置NK+1からデータ
を送出することができる。
Thus, data transceiver N K from device number A K the post reception time (t 2 + t 1/2 ) after, since the transceiver N K + 1 possible delivery device number and transmission data, in FIG. 1 Data can be transmitted from the transmission / reception device N K + 1 at the same timing as the normal time shown.

次に、伝送データ終了監視タイマt2の時間内に伝送デ
ータ伝送データDKが送信されず、伝送データ終了監視タ
イマt2の時間経過に続いて起動される異常時の装置番号
受信監視タイマt3の時間内に次順位のデータ送受信装置
NK+1から装置番号AK+1が送信されない異常の状態の場合
には、異常時の装置番号受信監視タイマt3に続いて起動
されるデータ終了監視タイマt5および監視時間t1の時間
経過後に、装置番号AKに基づいてデータ送受信装置NK+2
から装置番号AK+2および伝送データDK+2を送出すること
ができる。
Next, when the transmission data end monitoring timer t 2 is not transmitted, the transmission data transmission data D K is not transmitted, and the device number reception monitoring timer t is activated when the transmission data end monitoring timer t 2 is activated after the time elapses. Data transmitter / receiver of next rank within 3 hours
In the abnormal state where the device number A K + 1 is not transmitted from N K + 1, the data end monitoring timer t 5 and the monitoring time t 1 that are activated following the device number reception monitoring timer t 3 at the time of the error after a time, the data transmission and reception based on the device number a K device N K + 2
The device number A K + 2 and the transmission data D K + 2 can be transmitted from.

このように、データ送受信装置NK+2は装置番号AKを受
信後、伝送データ終了監視タイマt2、異常時の装置番号
受信監視タイマt3、データ終了監視タイマt5および監視
時間t1の時間経過後(t2+t3+t5+t1)に、装置番号お
よび伝送データを送出可能なので、図1に示す正常時と
同じタイミングで送受信装置NK+2からデータを送出する
ことができる。
As described above, the data transmitter / receiver N K + 2 receives the device number A K , and then transmits the transmission data end monitoring timer t 2 , the device number reception monitoring timer t 3 at abnormal time, the data end monitoring timer t 5 and the monitoring time t 1 Since the device number and the transmission data can be sent after the lapse of time (t 2 + t 3 + t 5 + t 1 ), the sending and receiving device N K + 2 can send the data at the same timing as in the normal state shown in FIG. .

また、任意のデータを送受信装置NKの装置番号Aおよ
び伝送データDKが送信され、次順位のデータを送受信装
置NK+1から装置番号AK+1が送信されない異常の状態に
は、装置番号AKおよび伝送データDKを受信後に起動され
る正常時の装置番号受信監視タイマt4の時間経過に続い
て起動されるデータ終了監視タイマt5および監視時間t1
の時間経過後に、装置番号AKに基づいてデータ送受信装
置NK+2から装置番号AK+2および伝送データDK+2を送出す
ることができる。
Further, in an abnormal state where the device number A and the transmission data D K of the transmitting / receiving device N K are transmitted as arbitrary data, and the device number A K + 1 is not transmitted from the transmitting / receiving device N K + 1 as the next-order data, A data end monitoring timer t 5 and a monitoring time t 1 that are activated after the device number reception monitoring timer t 4 has started in a normal state that is activated after receiving the device number A K and transmission data D K.
After time elapses, it is possible to deliver the device number A K + 2 and transmission data D K + 2 from the data transceiver N K + 2 based on the unit number A K.

このように、データ送受信装置NK+2は装置番号AKおよ
び伝送データDKを受信後、正常時の装置番号受信監視タ
イマt4、データ終了監視タイマt5および監視時間t1の時
間経過後(t4+t5+t1)に、装置番号および伝送データ
を送出可能なので、図1に示す正常時と同じタイミング
で送受信装置NK+2からデータを送出すことができる。
In this way, the data transmitter / receiver N K + 2 receives the device number A K and the transmission data D K, and then, when the device number reception monitoring timer t 4 , the data end monitoring timer t 5 and the monitoring time t 1 have elapsed in the normal state. Later (t 4 + t 5 + t 1 ), the device number and the transmission data can be sent, so that the data can be sent from the transmitting / receiving device NK + 2 at the same timing as in the normal state shown in FIG.

(発明の効果) 以上説明したように本発明によれば、各データ送受信
装置で予め伝送路の使用順位を設定するとともに各デー
タ送受信装置から送出される装置番号および伝送データ
を監視する各種の監視タイマを設定しておくことによ
り、マスタ装置からのポーリング要求が不要となり、伝
送路の伝送密度が高まり、伝送効率を向上することが可
能となり、また、ループ上のいかなるデータ送受信装置
に異常が発生した場合でも、データ伝送の停止を防止す
ることができる。さらに、先順位のデータ送受信装置の
異常時には、この先順位の装置のデータ送信用の時間の
経過(空白時間)を待たずに次順位のデータ送受信装置
にデータの送信をさせることが可能となるるので、デー
タ伝送の停止を防止できるばかりでなく異常時の浪費時
間も少なくすることができる。又、タイマをデータ監視
タイマと装置番号監視タイマと別々に設けたので2台以
上の送受信装置に異常が発生した場合でも次順位の装置
にデータの送信をさせることが可能となる。従って、ル
ープ状の伝送路を有する種々の情報通信システムに適用
できる利点がある。
(Effects of the Invention) As described above, according to the present invention, various monitoring is performed in which the order of use of transmission paths is set in advance in each data transmitting / receiving device and the device number and transmission data sent from each data transmitting / receiving device are monitored. By setting the timer, the polling request from the master device becomes unnecessary, the transmission density of the transmission path increases, it is possible to improve the transmission efficiency, and any data transmission / reception device on the loop has an abnormality. Even in this case, the stop of data transmission can be prevented. Further, when the data transmission / reception device of the preceding order has an abnormality, it is possible to cause the data transmission / reception device of the next order to transmit data without waiting for the lapse of the data transmission time (blank time) of the device of the preceding order. Therefore, not only the stop of the data transmission can be prevented but also the time wasted in the event of an abnormality can be reduced. Further, since the timers are separately provided for the data monitoring timer and the device number monitoring timer, even if an error occurs in two or more transmitting / receiving devices, it is possible to cause the next device to transmit data. Therefore, there is an advantage that it can be applied to various information communication systems having a loop-shaped transmission path.

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

第1図および第2図は本発明の一実施例に係り、各々正
常時および異常時におけるデータ伝送方法を説明するた
めのタイムチャート、第3図および第4図は従来例に係
り、第3図はループ状の伝送路を示す概略図、第4図
は、データ伝送方法を説明するためのタイムチャートで
ある。 (1)……伝送路 (N1)〜(NK),(NK+1),(NK+2)〜(Nn)……デー
タ送受信装置 (A),(D)……装置番号および伝送データ(デー
タ) (t1)……監視時間 t2……伝送データ終了監視タイマ,t3……異常時の装置
番号受信監視タイマ,t4……正常時の装置番号受信監視
タイマ,t5……データ終了監視タイマ
1 and 2 relate to an embodiment of the present invention, and are time charts for explaining a data transmission method in a normal state and an abnormal state, respectively, and FIGS. 3 and 4 are related to a conventional example. FIG. 4 is a schematic diagram showing a loop-shaped transmission path, and FIG. 4 is a time chart for explaining a data transmission method. (1) ... Transmission path (N 1 ) to (N K ), (N K + 1 ), (N K + 2 ) to (N n ) ... Data transmitting / receiving device (A), (D) ... Device Number and transmission data (data) (t 1 ) ... Monitoring time t 2 ...... Transmission data end monitoring timer, t 3 ...... Abnormal device number reception monitoring timer, t 4 ...... Normal device number reception monitoring timer , t 5 …… Data end monitoring timer

フロントページの続き (72)発明者 秋元 留美子 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (72)発明者 田上 勝利 朝霞市膝折町1−1―28 (72)発明者 土屋 良一 富士見市関沢3−37―24 (72)発明者 中村 一男 越谷市川柳町3−176―2 (72)発明者 宗行 勇人 富士見市渡戸3−10―5 (56)参考文献 特開 昭57−208746(JP,A)Front Page Continuation (72) Inventor Rumiko Akimoto 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (72) Inventor Masaru Tagami 1-1-28 Kashiori-cho, Asaka-shi (72) Inventor Ryoichi Tsuchiya 3-37-24 Sekizawa, Fujimi-shi (72) Inventor Kazuo Nakamura 3-176-2 Kawayanagi-cho, Koshigaya-shi (72) Hayato Muneyuki 3-10-5 Watato, Fujimi-shi (56) References JP 57 -208746 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のデータ送受信装置をループ状に連結
した伝送路を介して前記各データ送受信装置間でデータ
の送受信を行うデータ伝送方法において、 前記各データ送受信装置間でデータ伝送路に装置番号お
よび伝送データを送出する使用順位を予め設定するとと
もに、前記各データ送受信装置にそれぞれ監視時間t1
伝送データ終了監視タイマt2、異常時の装置番号受信監
視タイマt3、正常時の装置番号受信監視タイマt4および
データ終了監視タイマt5の各種監視タイマを備え、この
各種監視タイマの監視時間経過に基づき以下のステップ
で前記各データ送受信装置の正常および異常を検出する
ことにより、ループ上のいかなるデータ送受信装置に異
常が発生しても予め設定された使用順位に基づいて所定
のデータ送信タイミング時に装置番号および伝送データ
を送出することを特徴とするデータ伝送方法。 ステップ1:全てのデータ送受信装置が正常の状態には、
任意のデータ送受信装置NKの装置番号AKおよび伝送デー
タDKを受信後に起動される監視時間t1が経過後、受信し
た装置番号AKに基づいて次順位のデータ送受信装置NK+1
から装置番号AK+1および伝送データDK+1を送出する。 ステップ2:任意のデータ送受信装置NKの装置番号AKが送
信され、伝送データDKが送信されない異常の状態には、
装置番号AK受信後に起動される伝送データ終了監視タイ
マt2の時間経過に続く、監視時間t1の1/2の時間経過後
(t2+t1/2)に受信した装置番号AKに基づいて次順位の
データ送受信装置NK+1から装置番号AA+1および伝送デー
タDK+1を送出する。 ステップ3:ステップ2において、伝送データ終了監視タ
イマt2の時間内に伝送データDKが送信されず、伝送デー
タ終了監視タイマt2の時間経過に続いて起動される異常
時の装置番号受信監視タイマt3の時間内に次順位のデー
タ送受信装置NK+1から装置番号AK+1が送信されない異常
の状態には、異常時の装置番号受信監視タイマt3に続い
て起動されるデータ終了監視タイマt5および監視時間t1
の時間経過後に、装置番号AKに基づいてデータ送受信装
置NK+2から装置番号AK+2および伝送データDK+2を送出す
る。 ステップ4:任意のデータ送受信装置NKの装置番号AKおよ
び伝送データDKが送信され、次順位のデータ送受信装置
NK+1から装置番号AK+1が送信されない異常の状態には、
装置番号AKおよび伝送データDKを受信後に起動される正
常時の装置番号受信監視タイマt4の時間経過に続いて起
動されるデータ終了監視タイマt5および監視時間t1の時
間経過後に、装置番号AKに基づいてデータ送受信装置N
K+2から装置番号AK+2および伝送データDK+2を送出す
る。
1. A data transmission method for transmitting and receiving data between each of the data transmission / reception devices via a transmission line in which a plurality of data transmission / reception devices are connected in a loop, wherein the data transmission / reception device is provided on the data transmission line. Numbers and the order of use for transmitting the transmission data are set in advance, and the monitoring time t 1 is set in each of the data transmitting / receiving devices,
It is equipped with various monitoring timers such as transmission data end monitoring timer t 2 , abnormal device number reception monitoring timer t 3 , normal device number reception monitoring timer t 4 and data end monitoring timer t 5 , and the monitoring time of these various monitoring timers By detecting the normality and abnormality of each of the data transmitting / receiving devices in the following steps based on the progress, even if any data transmitting / receiving device on the loop has an abnormality, the predetermined data transmission timing is based on the preset order of use. A data transmission method characterized in that a device number and transmission data are transmitted at times. Step 1: If all data transmitters / receivers are normal,
After the monitoring time t 1 that is activated with device numbers A K and the transmission data D K any data transceiver N K after the reception, data transmission and receiving apparatus having the next order on the basis of the received apparatus number A K N K + 1
Device number A K + 1 and transmission data D K + 1 . Step 2: Arbitrary data sending / receiving device N K device number A K is transmitted, and transmission data D K is not transmitted.
Device number A K followed over time of the transmission data completion monitoring timer t 2 is started after reception, the device number A K received after lapse half the time of monitoring time t 1 (t 2 + t 1 /2) Based on this, the device number A A + 1 and the transmission data D K + 1 are sent from the next-order data transmitting / receiving device N K + 1 . Step 3: In step 2, the transmission data completion monitoring timer t transmission data D K is not transmitted within a second time, device number received monitored at abnormality which is activated following the time course of the transmission data completion monitoring timer t 2 In the abnormal state where the device number A K + 1 is not transmitted from the next-order data transmitting / receiving device N K + 1 within the time of the timer t 3 , the data activated following the device number reception monitoring timer t 3 at the time of an error End monitoring timer t 5 and monitoring time t 1
After time elapses, it transmits the device number A K + 2 and transmission data D K + 2 from the data transceiver N K + 2 based on the unit number A K. Step 4: device number A K and the transmission data D K any data transceiver N K is sent, the next order of the data transceiver
In the abnormal condition where the device number A K + 1 is not sent from N K + 1 ,
When the device number reception monitoring timer t 4 is activated after the device number AK and the transmission data D K have been normally activated, the data end monitoring timer t 5 and the monitoring time t 1 are activated. Data transmitter / receiver N based on device number A K
K + 2 from the device ID A K + 2 and transmits the transmission data D K + 2.
JP60048844A 1985-03-12 1985-03-12 Data transmission method Expired - Fee Related JP2552646B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP60048844A JP2552646B2 (en) 1985-03-12 1985-03-12 Data transmission method
DE8686103347T DE3685761T2 (en) 1985-03-12 1986-03-12 MULTIPLEXUE TRANSMISSION SYSTEM.
CA000503974A CA1261021A (en) 1985-03-12 1986-03-12 Multiplex transmission system
EP86103347A EP0194674B1 (en) 1985-03-12 1986-03-12 Multiplex transmission system
US06/839,781 US4771423A (en) 1985-03-12 1986-03-13 Multiplex transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60048844A JP2552646B2 (en) 1985-03-12 1985-03-12 Data transmission method

Publications (2)

Publication Number Publication Date
JPS61208336A JPS61208336A (en) 1986-09-16
JP2552646B2 true JP2552646B2 (en) 1996-11-13

Family

ID=12814560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60048844A Expired - Fee Related JP2552646B2 (en) 1985-03-12 1985-03-12 Data transmission method

Country Status (1)

Country Link
JP (1) JP2552646B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2502310B2 (en) * 1987-05-21 1996-05-29 日本電装株式会社 Control device having communication function
JP5085054B2 (en) * 2006-05-30 2012-11-28 サラヤ株式会社 Battery level monitor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57208746A (en) * 1981-06-18 1982-12-21 Toyota Motor Corp Transmission controlling system

Also Published As

Publication number Publication date
JPS61208336A (en) 1986-09-16

Similar Documents

Publication Publication Date Title
US4477809A (en) Method for random-access radio-frequency data communications
US4750109A (en) Method and system for expediting multi-packet messages in a computer network
JP2925678B2 (en) Data communication method and data communication system
US4570257A (en) Communication system with slot time error detection
US4581734A (en) Multipriority communication system
US4677612A (en) Communication system with subdivided transmission cycles
EP1022878B1 (en) Data transmission system
US4513370A (en) Data transfer control system and method for a plurality of linked stations
EP0952706B1 (en) Method for detecting and resolving data corruption in a UART based communication network
EP0094180A2 (en) Dual-count, round-robin distributed arbitration technique for serial buses
US6400725B1 (en) Fairness scheme for a serial interface
US5311172A (en) Communication control system
US5065153A (en) Contention control system
US5289466A (en) Multiplex transmission method
JP2552646B2 (en) Data transmission method
KR0165440B1 (en) Polling communication method
JPS5918896B2 (en) Jibun Katsuei Seitu Shinboshiki
JP2002026951A (en) Optical network system
JPH11275172A (en) System for controlling communication
JP2758762B2 (en) Auto fallback apparatus and method
JP2580393B2 (en) Data transmission method
KR0184194B1 (en) Internal process transmission apparatus using btl logic
JPH0771089B2 (en) Communications system
JPS6245246A (en) Communication control equipment
JPH02114737A (en) Multiple address communication method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees