JPH0119672B2 - - Google Patents

Info

Publication number
JPH0119672B2
JPH0119672B2 JP3176482A JP3176482A JPH0119672B2 JP H0119672 B2 JPH0119672 B2 JP H0119672B2 JP 3176482 A JP3176482 A JP 3176482A JP 3176482 A JP3176482 A JP 3176482A JP H0119672 B2 JPH0119672 B2 JP H0119672B2
Authority
JP
Japan
Prior art keywords
transmission
station
data
speed scan
command
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
Application number
JP3176482A
Other languages
Japanese (ja)
Other versions
JPS58150345A (en
Inventor
Mitsuo Matsumoto
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
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP3176482A priority Critical patent/JPS58150345A/en
Publication of JPS58150345A publication Critical patent/JPS58150345A/en
Publication of JPH0119672B2 publication Critical patent/JPH0119672B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/427Loop networks with decentralised control
    • H04L12/433Loop networks with decentralised control with asynchronous transmission, e.g. token ring, register insertion

Description

【発明の詳細な説明】 a 技術分野 本発明はデータ伝送方法に係り、中央管理局か
らの指令により高速スキヤンと低速スキヤンのブ
ロードキヤストモードで各局が順次に送信するル
ープ状データ伝送方法に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a data transmission method, and more particularly to a loop data transmission method in which each station sequentially transmits data in a broadcast mode of high-speed scan and low-speed scan based on instructions from a central management station.

b 従来技術 従来、1本のループ状伝送路を時分割で各局が
共同使用する場合回線占有局を決定する方法とし
ては固定割り当て方式とポーリング方式とがあ
る。
b. Prior Art Conventionally, when each station uses a single loop-shaped transmission line in common in a time-division manner, there are fixed allocation methods and polling methods for determining a station that occupies a line.

固定割り当て方式は1フレームを分割し、各分
割時間スロツトを各局に固定的に割り当てて、各
局は自局固有スロツトに自局データを乗せて送信
する方法である。この方法は各局が送信データが
ない時も回線の一定時間を必ず占有するので回線
がデータを伝送していない時間が存在し、回線の
データ伝送効率が非常に悪いと云う欠点を持つ。
The fixed allocation method is a method in which one frame is divided, each divided time slot is fixedly allocated to each station, and each station transmits its own data in its own slot. This method has the disadvantage that each station always occupies a certain amount of time on the line even when there is no data to be transmitted, so there are times when the line is not transmitting data, and the data transmission efficiency of the line is very poor.

一方、ポーリング方式は回線占有局を中央管理
局(以後単に中央局とする)が管理する方法で、
回線が空くと中央局は送信要求のある子局を捜す
ため、ポーリング命令を伝送ループに送出する。
各子局はこのポーリング命令を受けると、送信す
るデータを持つ子局は自局名アドレスと送信優先
レベルを中央局へ返送する。中央局はポーリング
時の各子局からの送信要求を解析し各局が均等に
送信権を得るような方法で次の回線占有局を決定
し、次のセレクト命令に回線占有子局名をつけて
送出する。この占有子局名を受信した子局は以後
のデータ送信権を得て、データを回線に送出しデ
ータ送出が終了した時点で中央局へ回線が空いた
ことを完了命令で通知する。このポーリング方式
ではポーリング命令、セレクト命令、完了命令な
どの制御命令の伝送がひんぱんに回線を占有し、
やはり回線のデータ伝送効率が悪くなる欠点を持
つ。
On the other hand, the polling method is a method in which the line-occupying station is managed by a central management station (hereinafter referred to simply as the central station).
When the line becomes free, the central station sends a polling command to the transmission loop to search for slave stations requesting transmission.
When each slave station receives this polling command, the slave station that has data to transmit returns its own station name address and transmission priority level to the central station. The central station analyzes the transmission requests from each slave station during polling, determines the next line-occupying station in such a way that each station equally obtains the right to transmit, and attaches the line-occupying slave station name to the next select command. Send. The slave station that receives this exclusive slave station name obtains the right to transmit subsequent data, sends data to the line, and when the data transmission is completed, notifies the central station that the line is free with a completion command. In this polling method, the transmission of control commands such as poll commands, select commands, and completion commands frequently occupies the line.
It still has the disadvantage that the data transmission efficiency of the line deteriorates.

c 発明の目的 本発明の目的はデータ伝送路を有効に使うため
に、自局送信データのないときは直ちに次の局へ
送信権を渡し、伝送データが常に伝送路を占有す
るようにして伝送効率を上げるループ状データ伝
送方法を提供するにある。
c. Purpose of the Invention The purpose of the present invention is to use the data transmission path effectively by immediately passing the transmission right to the next station when there is no data to be transmitted from the own station, and transmitting data so that the transmission data always occupies the transmission path. An object of the present invention is to provide a loop data transmission method that increases efficiency.

d 発明の構成 上記目的を達成するため、本発明は、高速スキ
ヤンモードと低速スキヤンモードの2つのモード
で各子局がデータ送信できるようにしている。
d. Structure of the Invention In order to achieve the above object, the present invention enables each slave station to transmit data in two modes: high-speed scan mode and low-speed scan mode.

高速スキヤンモードは一定周期内に各子局の送
信要求が必ず1回サービスされ、一定時間毎にデ
ータ送信を必要とする場合や緊急性の高いデータ
伝送に有効である。
In the high-speed scan mode, each slave station's transmission request is always serviced once within a fixed period, and is effective in cases where data transmission is required at fixed intervals or in highly urgent data transmission.

全子局の高速スキヤン送信サービスは上記一定
周期内に終了し、一定周期内の空き時間を低速ス
キヤンモードの緊急性の低い送信データを伝送す
るようにしている。
The high-speed scan transmission service of all slave stations ends within the above-mentioned fixed period, and the free time within the fixed period is used to transmit less urgent transmission data in the low-speed scan mode.

第1図は本発明のループ状データ伝送方法を適
用するデータ伝送システムの概略構成図である。
中央管理局SVCと複数(n個)の子局ST1〜STo
を1本の伝送路DLでループ状に接続し、相互に
データを授受を行う構成である。
FIG. 1 is a schematic diagram of a data transmission system to which the loop data transmission method of the present invention is applied.
Central control station SVC and multiple (n) slave stations ST 1 to ST o
are connected in a loop through a single transmission path DL, and data is exchanged between them.

第2図は第1図の構成の中央管理局SVC(以後
単にSVC局と記す)と複数(n個)の子局ST1
STo(以後単にST1〜STo局とする)の動作を説明
するための動作タイミング図である。同図に於て
aはSVC局の送信端を基準にした各伝送フレー
ムのタイムスロツトを示す。同図cはSVC局か
ら送信される伝送フレームの状態を示し、d〜g
は少しづつ時間遅れを持つてST1〜STo局から送
信される伝送フレームの状態を示す。同図bは
STo局から送信されSVC局で受信する伝送フレー
ムを示す。
Figure 2 shows the central management station SVC (hereinafter simply referred to as SVC station) with the configuration shown in Figure 1 and a plurality of (n) slave stations ST 1 to
FIG. 2 is an operation timing diagram for explaining the operation of ST o (hereinafter simply referred to as ST 1 to ST o stations). In the figure, a indicates the time slot of each transmission frame based on the transmitting end of the SVC station. Figure c shows the status of the transmission frame transmitted from the SVC station, and d to g.
indicates the status of transmission frames transmitted from stations ST 1 to ST o with slight time delays. Figure b is
This shows a transmission frame transmitted from the ST o station and received by the SVC station.

第3図は上記伝送フレームの詳細図で〔フレー
ム同期フラグ〕+〔命令語〕+〔送信局名〕+〔デー
タ〕で構成する。
FIG. 3 is a detailed diagram of the above transmission frame, which is composed of [frame synchronization flag] + [command word] + [transmission station name] + [data].

e 発明の作用 まず第2図aの#1フレームタイムスロツトに
於いてSVC局は第2図cのように、低速スキヤ
ンモードと送信許容トークンの命令語を含む
#1フレームをST1局へ送信する。ST1局は命令
語,を検出して、自局が低速スキヤンで送信
するデータがあるかどうかを判断し、もしなけれ
ば、第2図dのように命令語,を変更せずに
ST2局へ単に中継する。ST2局は命令語,を
検出して、自局が低速スキヤンで送信するデータ
を持つているか判断し、もしあれば第2図eのよ
うに送信許容トークンをから〓に変更し、命令
語,〓と送信局名#2と低速スキヤン送信デー
タをこの#1フレームに乗せてST3局に送信す
る。ST3局は命令〓を検出し、自局は中継モード
になり、受信したフレームを単に中継してST4
へ送信すると同時に自局の#2局用の低速スキヤ
ンデータ受信メモリに記憶する。以下ST4〜STo
局は同様に命令〓を検出し、自局の#2局用の低
速スキヤンデータ受信メモリにST2局からの送信
データを記憶し、下流局へフレーム信号を中継す
る。第2図gのSTo局で中継されたST2局からの
送信データ,〓#2はSVC局の受信端に第2
図bのように到達する。SVC局はこの受信フレ
ームを遅らして、#1フレームタイムスロツトで
#1フレームが完全に送信し終つた時刻から引き
続き#2フレームとして第2図cのように、この
ST2局からの送信データフレームを中継してST1
へ送信する。この時SVC局は低速スキヤンが中
断することを示す命令語を追加してST1局へ送
信する。ST1局は命令語、〓を検出し自局の#2
局用の低速スキヤンデータ受信メモリに記憶する
と同時にこのフレームを中継してST2局へ送信す
る。かくしてST2局でブロードキヤスト送信され
たデータはST2局以外の全ステーシヨンの#2局
用の低速スキヤンデータ受信メモリに記憶され
る。
e Effect of the Invention First, in the #1 frame time slot of Figure 2a, the SVC station transmits the #1 frame containing the command word of slow scan mode and transmission permission token to the ST1 station, as shown in Figure 2c . do. ST 1 station detects the command word and determines whether there is data to be transmitted by its own station by low-speed scan, and if there is no data, the command word is not changed as shown in Figure 2 d.
Simply relay to ST 2 stations. The ST 2 station detects the command word, determines whether it has data to transmit by slow scan, and if so, changes the transmission permission token from to 〓 as shown in Figure 2 e, and sends the command word. , 〓, transmitting station name #2, and low-speed scan transmission data are placed on this #1 frame and transmitted to ST 3 station. The ST 3 station detects the command 〓, and its own station enters the relay mode, and simply relays the received frame and transmits it to the ST 4 station, and at the same time stores it in its low-speed scan data reception memory for the #2 station. Below ST 4 ~ ST o
The station similarly detects the command 〓, stores the transmission data from the ST 2 station in its low-speed scan data reception memory for station #2, and relays the frame signal to the downstream station. Transmission data from ST 2 station relayed by ST o station in Figure 2 g, 〓 #2 is the second
Arrive as shown in Figure b. The SVC station delays this received frame and continues to receive this frame as the #2 frame from the time when the #1 frame has been completely transmitted in the #1 frame time slot, as shown in Figure 2c.
ST 1 relays the transmitted data frame from ST 2 stations
Send to. At this time, the SVC station adds a command indicating that the low-speed scan is to be interrupted and sends it to the ST 1 station. ST 1 station detects the command word 〓 and sends #2 of own station
This frame is stored in the station's low-speed scan data reception memory and simultaneously relayed and transmitted to the ST 2 station. In this way, the data broadcasted by the ST 2 station is stored in the low-speed scan data reception memory for the #2 station of all stations other than the ST 2 station.

さて、該フレームがST2局で受信されると、
ST2局は自局が送信したデータが一巡したことを
検知し、このフレームの命令語を,,に変
更してST3局へ送信する。ST3局は命令がこの
フレームにあることを検知し、命令語が,で
あるにもかかわらずこの命令,,を単に
ST4局へ中継送信する。(命令がなければ普通
の動作モードとなり、ST3局が低速送信データを
持てば命令,〓とし、送信局名#3と送信デー
タをこのフレームに乗せるが、今の場合命令の
ため命令,,を中継する。)ST3局はこの
時、命令,,を検知し、送信権が中断され
たことを記憶するために低速スキヤン送信許容ト
ークンを記憶する。ST4〜STo局も同様に命令
,,を中継し、下流局へ送信すると同時に
低速スキヤン送信許容トークンを記憶する。
Now, when the frame is received by ST 2 station,
The ST 2 station detects that the data it sent has completed its cycle, changes the command word of this frame to , and transmits it to the ST 3 station. The ST 3 station detects that the command is in this frame, and simply executes this command, even though the command word is .
ST Relay transmission to 4 stations. (If there is no command, it will be in normal operation mode, and if ST 3 station has low-speed transmission data, it will be a command, 〓, and the transmitting station name #3 and transmission data will be placed on this frame, but in this case, it is a command, so it is a command, , ) The ST 3 station then detects the command, , and stores the slow scan transmission permission token to remember that the transmission right has been interrupted. Stations ST 4 to ST o similarly relay the command, , and store the low-speed scan transmission permission token at the same time as transmitting it to the downstream station.

SVC局は,命令の#2フレームの送信を
終つた時点の第2図aの#3フレームタイムスロ
ツトから低速スキヤンモードを中断し、高速スキ
ヤンモードに入り、#3フレームとして第2図c
のように命令,をST1局へ送信する。ST1
は命令,を検知して、自局が高速スキヤンで
送信するデータがあるかどうかを判断し、もしな
ければ第2図dのように命令,を変更せずに
ST2局へ中継送信する。ST2はは命令,を検
知し、高速スキヤンで送信するデータがあるかど
うかを判断し、もしあれば第2図eのように送信
許容トークンをから〓に変更した命令,〓と
送信局名#2と高速スキヤン送信データをこのフ
レームに乗せてST3局に送信する。ST3〜ST1
の各局は〓命令を検知し、自局は中継モードとな
り、受信フレームを単に中継して下流局へ送信す
ると同時に、#2局用の高速スキヤンデータ受信
メモリに記憶する。かくしてST2局からブロード
キヤストされた高速スキヤン送信データは全局の
#2局用の高速スキヤンデータ受信メモリに記憶
される。
When the SVC station finishes transmitting the #2 frame of the command, it interrupts the low-speed scan mode from the #3 frame time slot in Figure 2a, enters the high-speed scan mode, and starts the #3 frame as shown in Figure 2c.
Send a command like this to ST 1 station. ST 1 station detects the command, determines whether it has data to transmit by high-speed scanning, and if there is no data, it does not change the command as shown in Figure 2 (d).
ST Relay transmission to 2 stations. ST 2 detects the command, determines whether there is data to be transmitted by high-speed scanning, and if there is, changes the transmission permission token from 〓 to 〓 as shown in Figure 2 e, and sends the command 〓 and the transmitting station name. #2 and high-speed scan transmission data are placed on this frame and transmitted to ST 3 station. Each station ST 3 to ST 1 detects the command, enters the relay mode, and simply relays the received frame and transmits it to the downstream station, and at the same time stores it in the high-speed scan data reception memory for station #2. In this way, the high-speed scan transmission data broadcast from the ST 2 station is stored in the high-speed scan data reception memory for station #2 of all stations.

さて、該ST2局より送信されたフレームが、一
巡して来て、ST2局に受信されると、ST2局は命
令語を,に変更してST3局に送信し、送信許
容トークンをST3局へ渡す。もしST3局に高速ス
キヤン送信データがあれば、ST3局は命令を,
〓に変更し、送信局名#3と送信データをこのフ
レームに乗せて送信する。このST3局からのブロ
ードキヤスト送信データは各局を一巡し、再び
ST3局に戻つて来る。この一巡経過中に各ステー
シヨンの#3用高速スキヤンデータ受信メモリに
このST3局の送信データが記憶される。以下同様
にして送信許容トークンを検知した局は高速スキ
ヤン送信データを送り、これを受けた全局はその
送信局用の高速スキヤンデータ受信メモリに記憶
する。
Now, when the frame transmitted from the ST 2 station comes around and is received by the ST 2 station, the ST 2 station changes the command word to , sends it to the ST 3 station, and receives a transmission permission token. is passed to ST 3 station. If the ST 3 station has high-speed scan transmission data, the ST 3 station will send the command,
〓 and transmit the transmitting station name #3 and transmit data on this frame. Broadcast transmission data from these three ST stations goes around each station and is sent again.
Come back to ST 3 station. During this round, the transmission data of ST 3 is stored in the #3 high speed scan data reception memory of each station. Thereafter, in the same manner, the station that detects the transmission permission token sends high-speed scan transmission data, and all stations that receive this data store it in the high-speed scan data reception memory for that transmitting station.

このようにしてST4〜STo局に送信許容トーク
ンが行き、最後にSTo局が送信許容トークンを
SVC局へ渡す命令,をSTo局が送信すると、
SVC局はこの命令を検知して#1′フレームタイム
スロツトで第2図cのように高速スキヤンモード
を中断し、再び低速スキヤンモードに変更し、命
令語,,をST1局へ送信する。はポーリ
ングモードを意味し、前回の低速スキヤンモード
で中断された局に低速スキヤンモードの送信権を
渡すための(低速スキヤン再開)命令コードであ
る。ST1局は命令がこのフレームにあることを
検知し、命令,であるにもかかわらずこれら
の命令を単にST2局へ中継送信する(命令がな
ければ普通の動作モードとなり、低速スキヤン送
信データをST1局が持てば命令,〓とし送信局
名#1と低速スキヤン送信データをこのフレーム
に乗せるが今の場合命令のため、命令,,
を中継する。)ST2局も同様に命令′,,
を単にST3局へ中継送信する。ST3局は前に説明
したように#2フレームタイムスロツトで送信権
が中断されたことを記憶する。低速スキヤン送信
許容トークンを保持している。このトークンを持
つST3局は命令,,を検知し、自局が低速
スキヤンモードで送信したいデータを持つている
か判断し、もしあれば第2図fのように送信許容
トークンをから〓に変更し、命令語,,〓
と送信局名#3と低速スキヤン送信データをこの
#1′フレームに乗せてST4局へ送信する。(もし
低速スキヤン送信データがなければST3局は単に
命令,,をST4局へ中継送信し、ST4局が
保持している低速スキヤン送信許容トークンで
ST4局がこの#1′フレームに自局送信データを乗
せることになる。)ST4局は命令,,〓を検
知すると、このフレームを下流局へ単に中継送信
すると同時に#3局用の低速スキヤンデータ受信
メモリに記憶し、また以前#2フレームタイムス
ロツトで記憶した低速スキヤン送信許容トークン
をリセツトする。
In this way, the transmission permission token goes from ST 4 to ST o station, and finally the ST o station sends the transmission permission token.
When the ST o station sends a command to pass to the SVC station,
The SVC station detects this command, interrupts the high-speed scan mode in the #1' frame time slot as shown in FIG . means polling mode, and is an instruction code for passing the low-speed scan mode transmission right to the station that was interrupted in the previous low-speed scan mode (resuming low-speed scan). The ST 1 station detects that commands are present in this frame and simply relays these commands to the ST 2 station even though they are commands (if there are no commands, it will be in normal operation mode and will send low-speed scan transmission data) If ST 1 station has it, it is a command, and the transmitting station name #1 and low-speed scan transmission data are placed in this frame, but in this case it is a command, so it is a command, ,
to be relayed. ) ST 2 station also sends the command ′,,
is simply relayed to ST 3 stations. The ST 3 station remembers that the right to transmit was interrupted in the #2 frame time slot as explained previously. Holds a slow scan transmission permission token. The ST 3 station that has this token detects the command , , judges whether it has data that it wants to send in low-speed scan mode, and if so, changes the transmission permission token from 〓 to 〓 as shown in Figure 2 f. , imperative word,,〓
, transmitting station name #3 and low-speed scan transmission data are placed on this #1' frame and transmitted to ST 4 station. (If there is no slow scan transmission data, the ST 3 station simply relays the command, ) to the ST 4 station, and uses the slow scan transmission permission token held by the ST 4 station.
The ST 4 stations will put their own transmission data on this #1′ frame. ) When the ST 4 station detects the command,, Reset the send permission token.

以下、ST5〜STo局は同様に命令,,〓を
検知し、このフレームを単に下流局へ中継送信す
ると同時に自局の#3局用低速スキヤンデータ受
信メモリに記憶し、また以前記憶した低速スキヤ
ン送信許容トークンをリセツトする。このST3
からの送信データを持つ#1′フレームがSTo局か
らSVC局の受信端に第2図bのように到達する。
SVC局はこの受信フレームを遅らして、#1′フレ
ームタイムスロツトで#1′フレームがSVC局より
完全に送信し終つた時刻から#2′フレームとして
この受信フレーム,,〓#3をST1局へ中継
送信するが、この#2′フレームタイムスロツトで
SVC局は命令コードだけを除いた普通の低速
スキヤンモードのフレーム,〓#3でST1局へ
送信する。この#2′フレームはST1局、ST2局で
中継送信され、それぞれ自局の#3局用低速スキ
ヤンデータ受信メモリに記憶される。ST3局はこ
の#2′フレームを受信すると、自局送信データが
全局にブロードキヤストされたことを検知し、こ
のフレームの命令語を,に変更し、低速スキ
ヤン送信許容トークンを下流局へ渡す。ST4局以
下の下流局の中低速スキヤン送信データのある局
がこのトークンを受信し、ブロードキヤスト送信
する普通の低速スキヤンモードとなり最初の説
明の#1フレームタイムスロツトと同じモードに
戻る。
Hereafter, ST 5 to ST o stations similarly detect the commands, , 〓, and simply relay and transmit this frame to the downstream station, and at the same time store it in their own station's low-speed scan data reception memory for station #3, and also store the previously stored low-speed scan data reception memory. Reset the slow scan transmission permission token. The #1' frame containing the transmission data from the ST 3 station arrives from the ST o station to the receiving end of the SVC station as shown in Figure 2b.
The SVC station delays this received frame, and from the time when the #1' frame has been completely transmitted from the SVC station in the #1' frame time slot, this received frame, , = #3 is sent as the #2' frame from the time when the # 1 ' frame is completely transmitted from the SVC station. It is relayed to the station, but in this #2′ frame time slot.
The SVC station sends a normal low-speed scan mode frame with only the command code removed, #3, to the ST 1 station. This #2' frame is relayed and transmitted by the ST 1 station and the ST 2 station, and is stored in the slow scan data reception memory for the #3 station of each own station. When the ST 3 station receives this #2′ frame, it detects that its own transmission data has been broadcast to all stations, changes the command word of this frame to , and passes the low-speed scan transmission permission token to the downstream station. . ST 4 stations or less downstream stations that have medium-low speed scan transmission data receive this token and switch to normal low speed scan mode for broadcast transmission, returning to the same mode as #1 frame time slot in the first explanation.

さて、第2図のタイミング図に於いて、SVC
局は高速スキヤンモードと低速スキヤンモードを
決定するように動作し、任意の高速スキヤンモー
ドから次の高速スキヤンモードになる時間は定周
期となるようにする。この定周期中には各ステー
シヨン(ST1局〜STo局)が全べて高速スキヤン
送信データを持つていても全局がサービスされる
ようにnフレームの伝送に要する時間以上にす
る。SVC局の動作を要約すれば一定周期毎のフ
レームに対し命令語,を出し、次のフレーム
に対し命令語,を出し、これ以後SVC局の
受信端に,が受信されたとき命令語,,
を出力し、前記一定周期が来たらそのフレーム
に命令語,を出すサイクリツクな動作をくり
返えすことと、受信フレームを遅らせて、次の送
信フレームタイムスロツトに引続き中継すること
を実行すれば良い。
Now, in the timing diagram of Figure 2, SVC
The station operates to determine a high-speed scan mode and a low-speed scan mode, and the time from any high-speed scan mode to the next high-speed scan mode is set at regular intervals. During this fixed period, even if all the stations ( ST1 station to ST0 station) have high-speed scan transmission data, the time is set to be longer than the time required to transmit n frames so that all stations are served. To summarize the operation of the SVC station, it issues a command word for each frame at a fixed period, a command word for the next frame, and after that, when the receiving end of the SVC station receives the command word,...
It is only necessary to repeat the cyclic operation of outputting a command word to that frame when the above-mentioned fixed period has elapsed, and delaying the received frame and continuing to relay it to the next transmitted frame time slot. .

f 発明の実施例 第4図は本発明による子局の構成の一実施例で
ある。
f Embodiment of the Invention FIG. 4 shows an embodiment of the configuration of a slave station according to the present invention.

1フレームの形式が第3図のようなシリアルデ
ータが受信データ1として受信されると、フラグ
検出器2はフレーム先頭のフレーム同期フラグを
検出し、タイミング発生器3を初期化する。タイ
ミング発生器3はシリアルデータビツトが来る毎
に第3図に示す〜タイムスロツト、 SA タ
イムスロツト、 DA タイムスロツトのビツト位
置を判別するためのタイミング信号をロジツク回
路8に出力する。まず、タイムスロツトで命令
語を受信すると、これをフリツプフロツプ4に
記憶し以下同様にして命令語,,を各々フ
リツプフロツプ5,6,7に記憶し、次のフレー
ムまで保持する。これらの保持した命令語を状態
信号としてロジツク回路8に入力し命令語の組合
せにより次の様に動作する。
When serial data having the format of one frame as shown in FIG. 3 is received as received data 1, the flag detector 2 detects the frame synchronization flag at the beginning of the frame and initializes the timing generator 3. The timing generator 3 outputs timing signals to the logic circuit 8 for determining the bit positions of the ~ time slot, SA time slot, and DA time slot shown in FIG. 3 every time a serial data bit arrives. First, when a command word is received at a time slot, it is stored in the flip-flop 4, and in the same manner, the command words, . These held command words are input to the logic circuit 8 as status signals, and the logic circuit 8 operates as follows depending on the combination of command words.

〔〕 命令語,を受信のとき タイムスロツトで命令語を受信すると、ロ
ジツク回路8は高速スキヤン送信要求信号18が
高速スキヤンデータ送信の要求を出しているかを
判断し、もし要求があれば、ロジツク回路8の出
力“a”がこのタイムスロツトで“1”とな
り、排他的論理和回路(以後EX−OR回路とす
る)10は受信データを反転した信号〓として
送信データ15に送信する。また、このとき自局
が送信していることを記憶する送信FF9をセツ
トする。次の SA タイムスロツトではロジツク
回路8の出力“b”が“1”になり自局名12を
AND回路11,OR回路14を通して送信する。
このときインバータ23によつてAND回路21
のゲートを閉じる。次の DA タイムスロツトで
はロジツク回路8の出力“d”が“1”になり共
通メモリ17の高速スキヤンメモリ17Hの自局
アドレス部分の送信データをAND回路13、OR
回路14を通して送信する。このときインバータ
22によつてAND回路21のゲートを閉じる。
[] When a command word is received When a command word is received in the time slot, the logic circuit 8 determines whether the high-speed scan transmission request signal 18 issues a request for high-speed scan data transmission, and if there is a request, the logic circuit 8 The output "a" of the circuit 8 becomes "1" in this time slot, and the exclusive OR circuit (hereinafter referred to as EX-OR circuit) 10 inverts the received data and transmits it to the transmitted data 15 as a signal. Also, at this time, a transmission FF9 is set to remember that the own station is transmitting. In the next SA time slot, the output “b” of logic circuit 8 becomes “1” and own station name 12 is set.
It is transmitted through an AND circuit 11 and an OR circuit 14.
At this time, the AND circuit 21 is
Close the gate. In the next DA time slot, the output "d" of the logic circuit 8 becomes "1", and the transmission data of the local address part of the high-speed scan memory 17H of the common memory 17 is sent to the AND circuit 13 and the OR circuit.
It is transmitted through circuit 14. At this time, the gate of the AND circuit 21 is closed by the inverter 22.

ここで、共通メモリ17の構成を要約すると、
該メモリ17は高速スキヤンメモリ17Hと低速
スキヤンメモリ17L用に各々、各局のメモリエ
リヤが第4図に示す如く用意されて居り、この中
自局の局番号に一致するメモリエリヤは自局送信
用データが入つて居り、他の局番号のメモリエリ
ヤは他局からの送信データを受信する高速スキヤ
ンデータ受信メモリ、低速スキヤンデータ受信メ
モリに割り当てられる。
Here, to summarize the configuration of the common memory 17,
In the memory 17, memory areas for each station are prepared for a high-speed scan memory 17H and a low-speed scan memory 17L, as shown in FIG. Memory areas containing data and other station numbers are allocated to high-speed scan data reception memory and low-speed scan data reception memory, which receive transmission data from other stations.

このメモリ17の内容は図示しないインタフエ
ースを介して外部装置とのデータの授受が行なわ
れ、自局送信データがメモリ17に書き込み後、
高速スキヤン送信要求信号18、又は低速スキヤ
ン送信要求信号19を出す。また、他局の全局の
最新送信データが記憶されている低速スキヤンデ
ータ受信メモリはインタフエースを介して読み出
される。
The contents of this memory 17 are exchanged with an external device via an interface (not shown), and after the own station transmission data is written in the memory 17,
A high-speed scan transmission request signal 18 or a low-speed scan transmission request signal 19 is issued. Further, the low-speed scan data reception memory in which the latest transmission data of all other stations is stored is read out via the interface.

さて前に戻つて、もし高速スキヤン送信要求信
号18が要求を出していなければ、ロジツク回路
8の出力“a”はタイムスロツトで“0”とな
り受信した命令語は変更せずに中継送信され、
以後の SA , DA タイムスロツトでは中継モ
ードをとるがこの SA , DA の部分の送信デ
ータは下流局で無視される。
Now, going back to the previous step, if the high-speed scan transmission request signal 18 does not issue a request, the output "a" of the logic circuit 8 becomes "0" at the time slot, and the received command word is relayed without being changed.
The relay mode is used in the subsequent SA and DA time slots, but the transmitted data in the SA and DA portions are ignored by downstream stations.

〔〕 送信FF9がリセツト時に命令語,〓
を受信のとき、 タイムスロツトで命令語〓が受信されると、
ロジツク回路8の“a”出力は“0”となり命令
語〓は中継送信され、以後の SA タイムスロツ
ト、 DA タイムスロツトのシリアルデータも
EX−OR回路10、AND回路21、OR回路14
を通つて中継送信される。このとき、 SA タイ
ムスロツトで第3図の送信局名がアドレスレジス
タ16に検出され該アドレスレジスタ16は共通
メモリ17の送信局名に対応したアドレスを指定
し、次の DA タイムスロツトで高速スキヤンデ
ータを指定した共通メモリ17の高速スキヤンメ
モリ17Hに書き込む。
[] Command word when sending FF9 is reset, 〓
When the command word 〓 is received in the time slot,
The “a” output of the logic circuit 8 becomes “0”, the command word is relayed, and the subsequent serial data of the SA time slot and DA time slot are also transmitted.
EX-OR circuit 10, AND circuit 21, OR circuit 14
relayed through. At this time, the transmitting station name shown in Figure 3 is detected in the address register 16 in the SA time slot, the address register 16 specifies the address corresponding to the transmitting station name in the common memory 17, and the high-speed scan data is stored in the next DA time slot. is written into the high-speed scan memory 17H of the designated common memory 17.

〔〕 送信FF9がセツト時に命令語,〓を
受信のとき、 タイムスロツトで送信FF9をリセツトし、
同時に命令語〓をに変更して送信する。 SA ,
DA タイムスロツトでは中継モードをとるが
この部分の送信は下流局に対し無意味である。
[] When the transmitting FF9 receives the command word 〓 at the time of setting, reset the transmitting FF9 at the time slot,
At the same time, change the command word 〓 to 〓 and send it. SA,
The relay mode is used in the DA time slot, but the transmission of this part is meaningless to downstream stations.

〔〕 命令語,を受信のとき、 命令語をに替え高速スキヤンを低速スキヤ
ンに替えた状態で〔〕項と同じ動作をする。
[] When receiving the command word, performs the same operation as in [] with the command word changed to and high-speed scan changed to low-speed scan.

〔〕 送信FF9がリセツト時に命令語,〓
を受信のとき、 命令語をに替え高速スキヤンを低速スキヤ
ンに替えた状態で〔〕項と同じ動作をする。
[] Command word when sending FF9 is reset, 〓
When receiving , the command word is changed to , high-speed scan is changed to low-speed scan, and the same operation as in [ ] is performed.

〔〕 送信FF9がセツト時に命令語,〓を
受信のとき、 命令語をと替え〔〕項と同じ動作をす
る。
[] When the transmitting FF9 receives the command word 〓 when set, the command word is replaced and the same operation as in [] is performed.

〔〕 命令語,,を受信のとき、 タイムスロツトで命令語をそのまま送信し
低速スキヤン送信許容トークンFF20をセツト
する。以後の SA , DA タイムスロツトは中
継モードをとるがこの部分は下流局に対し無意味
である。
[] When receiving the command word, , transmits the command word as it is in the time slot and sets the low-speed scan transmission permission token FF20. The subsequent SA and DA time slots are in relay mode, but this part is meaningless for downstream stations.

〔〕 送信FF9がリセツト時に命令語,,
〓を受信のとき、 タイムスロツトで命令語をそのまま送信し
以後の SA , DA タイムスロツトのシリアル
データを中継送信する。この時、 SA タイムス
ロツトで送信局名がアドレスレジスタ16に入
り、次の DA タイムスロツトで低速スキヤンデ
ータがアドレスレジスタ16で指定された低速ス
キヤンメモリ17Lに書き込まれる。
[] Command word when transmitting FF9 is reset.
When receiving 〓, the command word is transmitted as is in the time slot, and the serial data in the subsequent SA and DA time slots is relayed and transmitted. At this time, the transmitting station name is entered into the address register 16 at the SA time slot, and the low-speed scan data is written into the low-speed scan memory 17L specified by the address register 16 at the next DA time slot.

〔〕 送信FF9がセツト時に命令語,,
〓を受信のとき、 タイムスロツトで命令語〓を反転したを送
信し、また、送信FF9はリセツトする。 SA ,
DA タイムスロツトは中継モードをとるがこ
の部分は下流局に対し無意味である。
[] Command word when transmitting FF9 is set.
When receiving 〓, the inverted command word 〓 is transmitted in the time slot, and the transmitting FF9 is reset. SA,
The DA time slot operates in relay mode, but this part is meaningless for downstream stations.

〔〕 トークンFF20がリセツト時に命令
語,,を受信のとき、 タイムスロツトで命令語をそのまま送信し
SA , DA タイムスロツトは中継モードをと
るがこの部分は下流局に対し無意味である。
[] When the token FF20 receives a command word, , at the time of reset, it transmits the command word as it is in the time slot.
The SA and DA time slots are in relay mode, but this part is meaningless for downstream stations.

〔〕 トークンFF20がセツト時に命令語
,,を受信のとき、 タイムスロツトで命令語が検知され低速ス
キヤン送信要求信号19が要求を出して居ればロ
ジツク回路8は出力“a”を“1”にし命令語
を〓に反転して送信し送信FF9をセツトし、低
速スキヤン送信許容トークンFF20をリセツト
する。次の SA タイムスロツトで自局名12を
送信し、 DA タイムスロツトで共通メモリ17
の低速スキヤンメモリ17Lの自局送信用データ
をAND回路13を通して送信する。また、低速
スキヤン送信要求信号19が要求を出して居なけ
れば、命令語をそのまま中継送信し、低速スキ
ヤン送信許容トークンFF20をリセツトする。
次の SA , DA タイムスロツトでは中継モー
ドをとるが、この部分は下流局に対し無意味とな
る。
[] When the token FF 20 receives a command word when it is set, if the command word is detected in the time slot and the low-speed scan transmission request signal 19 is issuing a request, the logic circuit 8 sets the output "a" to "1". The command word is inverted to 〓 and transmitted, the transmission FF9 is set, and the low-speed scan transmission permission token FF20 is reset. Transmit own station name 12 in the next SA time slot, and read common memory 17 in the DA time slot.
The data for local transmission from the low-speed scan memory 17L is transmitted through the AND circuit 13. Further, if the low-speed scan transmission request signal 19 does not issue a request, the command word is relayed as is and the low-speed scan transmission permission token FF20 is reset.
In the next SA and DA time slots, relay mode is used, but this part is meaningless for downstream stations.

〔XII〕 命令語,,〓を受信したとき、 タイムスロツトで命令語〓をそのまま中継送
信し、低速スキヤン送信許容トークンFF20を
リセツトし、以後 SA , DA タイムスロツト
は中継モードで送信する。同時に SA タイムス
ロツトの送信局名がアドレスレジスタ16に入
り、次の DA タイムスロツトの受信データがア
ドレスレジスタ16で指定した共通メモリ17の
低速スキヤンメモリ17Lに書き込む。
[XII] When the command word ,,〓 is received, the command word 〓 is relayed as is in the time slot, the low-speed scan transmission permission token FF20 is reset, and the SA and DA time slots are thereafter transmitted in relay mode. At the same time, the transmitting station name of the SA time slot is entered into the address register 16, and the received data of the next DA time slot is written to the low-speed scan memory 17L of the common memory 17 specified by the address register 16.

g 発明の効果 本発明のループ状データ伝送方法によれば一定
周期毎に全ての局が高速スキヤンモードで高速ス
キヤンデータを伝送する機会が必ず1回与えられ
高速スキヤンモードで伝送する高速スキヤンデー
タのないときは直ちに送信権を次局へ渡しその分
だけ余分に低速スキヤンモードで低速スキヤンデ
ータを伝送する機会が与えられ伝送効率の向上し
たループ状データ伝送方法を提供することができ
る。
g. Effects of the Invention According to the loop-shaped data transmission method of the present invention, all stations are always given one opportunity to transmit high-speed scan data in high-speed scan mode every fixed period. If not, the transmission right is immediately handed over to the next station, giving an opportunity to transmit the low-speed scan data in the low-speed scan mode, thereby providing a loop data transmission method with improved transmission efficiency.

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

第1図は本発明のループ状データ伝送方法の概
略構成図、第2図はそのタイミング図、第3図は
伝送フレームの詳細図、第4図は本発明による子
局の一実施例を示した図である。 1……受信データ、3……タイミング発生器、
8……ロジツク回路、9……送信FF、12……
自局名、15……送信データ、16……アドレス
レジスタ、17……共通メモリ、18……送信
要求、19……送信要求、20……トークン
FF。
FIG. 1 is a schematic configuration diagram of the loop data transmission method of the present invention, FIG. 2 is a timing diagram thereof, FIG. 3 is a detailed diagram of a transmission frame, and FIG. 4 is an embodiment of a slave station according to the present invention. This is a diagram. 1... Received data, 3... Timing generator,
8...Logic circuit, 9...Transmission FF, 12...
Local station name, 15...Transmission data, 16...Address register, 17...Common memory, 18...Transmission request, 19...Transmission request, 20...Token
FF.

Claims (1)

【特許請求の範囲】 1 中央管理局と複数の子局をデータ伝送路でル
ープ状に接続し相互にデータの授受を行うループ
状データ伝送方法に於て、 中央管理局は、一定周期内にデータ送信要求が
サービスされる高速スキヤン指令を送信許容トー
クンと共に送信し、全子局の高速スキヤン送信サ
ービスが終了したことを示す高速スキヤンモード
送信許容トークンを受信したとき、前記一定周期
内の空き時間を優先度の低いデータ送信要求にサ
ービスする低速スキヤン指令を前記送信許容トー
クンと共に送信し、所定の時刻に達したら低速ス
キヤン中断指令を送信し、 各子局は、上流局から送出された伝送フレーム
の受信信号に送信許容トークンが含まれている場
合、前記高速スキヤンモード及び低速スキヤンモ
ードのいずれかのモードに対応した自局送信デー
タを送信許容トークンを含まない伝送フレームで
下流局へ送信し、ループを一巡して自局に該伝送
フレームが受信されたとき送信許容トークンを該
伝送フレームに含めて下流局に送信し、前記受信
信号に前記低速スキヤン中断指令が含まれている
とき送信許容トークンを得ても送信を一旦中断し
て該送信許容トークンを保持し、前記受信信号に
前記低速スキヤン指令が含まれているとき送信許
容トークンを保持して居れば一旦中断した送信を
再開し、前記受信信号に送信許容トークンを含ま
ないときその伝送フレームのデータを自局受信メ
モリに記憶するように構成したことを特徴とする
ループ状データ伝送方法。
[Claims] 1. In a loop data transmission method in which a central management station and a plurality of slave stations are connected in a loop through a data transmission path and mutually exchange data, the central management station transmits data within a certain period. When a high-speed scan command for which a data transmission request is serviced is transmitted together with a transmission permission token, and a high-speed scan mode transmission permission token indicating that the high-speed scan transmission service of all slave stations has been completed is received, the free time within the above-mentioned fixed period A low-speed scan command to service low-priority data transmission requests is transmitted together with the transmission permission token, and when a predetermined time is reached, a low-speed scan interrupt command is transmitted, and each slave station receives the transmission frame transmitted from the upstream station. If the received signal of includes a transmission permission token, the local station transmits data corresponding to either the high speed scan mode or the slow scan mode to the downstream station in a transmission frame that does not include the transmission permission token, When the transmission frame is received by the own station after going around the loop, a transmission permission token is included in the transmission frame and transmitted to the downstream station, and when the received signal includes the low-speed scan interruption command, the transmission permission token is sent. Even if the transmission is received, the transmission is temporarily interrupted and the transmission permission token is held, and when the received signal includes the low-speed scan command, if the transmission permission token is held, the transmission that was once interrupted is resumed, and the transmission permission token is held. A loop data transmission method characterized in that when a received signal does not include a transmission permission token, the data of the transmission frame is stored in its own reception memory.
JP3176482A 1982-03-02 1982-03-02 Loop-shaped data transmission method Granted JPS58150345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3176482A JPS58150345A (en) 1982-03-02 1982-03-02 Loop-shaped data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3176482A JPS58150345A (en) 1982-03-02 1982-03-02 Loop-shaped data transmission method

Publications (2)

Publication Number Publication Date
JPS58150345A JPS58150345A (en) 1983-09-07
JPH0119672B2 true JPH0119672B2 (en) 1989-04-12

Family

ID=12340097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3176482A Granted JPS58150345A (en) 1982-03-02 1982-03-02 Loop-shaped data transmission method

Country Status (1)

Country Link
JP (1) JPS58150345A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0771099B2 (en) * 1986-07-15 1995-07-31 沖電気工業株式会社 Token passing data communication terminal device

Also Published As

Publication number Publication date
JPS58150345A (en) 1983-09-07

Similar Documents

Publication Publication Date Title
US4780814A (en) Global serial channel for microcontroller
US5065397A (en) Data synchronous transfer system using a fiber distributed data exchange interface
KR920005880B1 (en) Method for transmission of cyclic data
CA1252549A (en) Queueing protocol
US5377189A (en) Hybrid data communications systems
US4665518A (en) Synchronous/asynchronous communication system
US4682324A (en) Implicit preemptive lan
US4604742A (en) Loop type data transmission system
JPH0319745B2 (en)
JPH0761077B2 (en) Method and apparatus for coordinating access in a communication system
JPH021652A (en) Information transmission system
JPH0119672B2 (en)
WO2017145292A1 (en) Time-synchronous slave apparatus and communication control method
KR0150233B1 (en) Bus occupation arbitration apparatus in common bus
JP2823548B2 (en) how to access
JPH03266542A (en) Time synchronizing system
JPH077954B2 (en) Control device
CA1286807C (en) Synchronous/asynchronous communication system
JPS60256252A (en) Cyclic transmission system
JPS63119342A (en) Control system for loop one circulation delay
JPS62284538A (en) Transmission system
JPS61172454A (en) Transmission system of ring network
JPS6084654A (en) Data transfer processing system
JPS59158158A (en) Data transmission system of multiple address communication
JPH0149065B2 (en)