JPH02222240A - Transmission method for hierarchical system - Google Patents

Transmission method for hierarchical system

Info

Publication number
JPH02222240A
JPH02222240A JP4226389A JP4226389A JPH02222240A JP H02222240 A JPH02222240 A JP H02222240A JP 4226389 A JP4226389 A JP 4226389A JP 4226389 A JP4226389 A JP 4226389A JP H02222240 A JPH02222240 A JP H02222240A
Authority
JP
Japan
Prior art keywords
station
slave
transmission
data
master station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4226389A
Other languages
Japanese (ja)
Inventor
Koji Nakai
康二 仲井
Koji Nakanishi
孝司 中西
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP4226389A priority Critical patent/JPH02222240A/en
Priority to CA002005324A priority patent/CA2005324A1/en
Publication of JPH02222240A publication Critical patent/JPH02222240A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enhance the convergence of outgoing data and to built up the system with low cost by adopting the broadcast system for outgoing transmission and adopting the polling response system for incoming transmission so as to send data. CONSTITUTION:A slave station address in common is set to all slave stations S1-SN, which are in standby in the reception mode and when a broadcast frame 102 is received from a master station M, a slave station address specific to each station is set and they are in standby in the transmission mode. When a polling frame from the master station M is received by each wave station, the slave stations S1-SN reply response frames 104, 106 and 108 to the master station M, and in standby in the reception mode while the common slave station address is set again. Thus, the convergence of outgoing data (arrival of data with less time difference to each slave station) sent from the master station to the slave stations S1-SN is enhanced and the system is built up with low cost.

Description

【発明の詳細な説明】[Detailed description of the invention] 【°産業上の利用分野】[°Industrial application field]

本発明は上位コンピュータとしてのマスタ局と、複数の
下位コンピュータ(または制御装置)としてのスレーブ
局とが共通の伝送路に接続されてなる階層型システムに
おける、マスタ局とスレーブ局との間の交信方法(伝送
方法)に関するもので、特にマスタ局からスレーブ局へ
送信される下りデータの線束性(即ち各スレーブ局への
時間差の少ないデータの到達)を高め、かつシステムを
低価格で構築し得るようにした階層型システム伝送方法
に関する。 なお以下各図において同一の符号は同一もしくは相当部
分を示す。
The present invention relates to communication between a master station and slave stations in a hierarchical system in which a master station as a higher-level computer and slave stations as multiple lower-level computers (or control devices) are connected to a common transmission path. It relates to a method (transmission method), in particular, it improves the flux of the downlink data transmitted from the master station to the slave stations (i.e., data arrives at each slave station with little time difference), and it is possible to construct a system at a low cost. The present invention relates to a hierarchical system transmission method. Note that in the following figures, the same reference numerals indicate the same or corresponding parts.

【従来の技術】[Conventional technology]

第3図、第4図は共通の伝送路に接続された多数局間の
従来の伝送方式の説明図で、第3図はブロードキャスト
方式の、第4図はセレクティング・レスポンス方式の説
明図である。 第3図において(1)、 (2)、 (3)はそれぞれ
対等の局としてのステーションSTI、ST2.STN
の交信のタイムチャート(シーケンス)である。なおこ
のブロードキャスト伝送方式ではN個の局がそれぞれマ
スタ局のように他局に対する送信権を持つことができる
ので、この各局を便宜上ステーションと呼ぶものである
。また同図を含む以下の各図の交信シーケンスにおいて
基線の上側は当該ステ−シゴン(または局)の送信のタ
イミングを示し、同じく基線の下側は当該ステーション
(または局)の受信のタイミングを示すものとする。 第3図を説明すると、初期マスタ局であるステーション
STI は、ブロードキャストを行う旨の信号と各局宛
の送信データを所定の順序で配列したデータからなるブ
ロードキャストフレーム501を送信する。そのブロー
ドキャストフレーム501は他の各ステーションST2
〜STNに受信される。ステーションSTIはブロード
キャストフレーム501を送信する時、同時にステーシ
ョンST2にトークン(送信権)を渡す。トークンを受
取ったステーションST2は次にマスタ局となり、ブロ
ードキャストフレーム502およびステーションST3
へのトークンを送信する。このようにして順番にマスタ
局が移動し、データ伝送が行われる。 なおこのようなトークンの移動方式をトークンパス方式
という。 このブロードキャスト伝送方式の利点は各局(ステーシ
ョン)へのデータの同時到達が可能なことである。 次に第4図において(1)、 (2)、 (3)はそれ
ぞれマスタ局M、スレーブ局Sl、スレーブ局SNの交
信シーケンスを示す、このセレクティング・レスポンス
伝送方式においては、マスタ局Mがスレーブ局5l−3
Nを順次指定することによって、この指定のつど、当該
のスレーブ局とマスタ局との間で交信が行われる。即ち
第4図において、マスタ局Mはスレーブ局S1に、この
局S1を指定するアドレスと、セレクティング・レスポ
ンス方式で伝送を行う旨のコマンドと、この局31向け
の送信データとからなるセレクティングフレーム601
を送信する。セレクティングフレーム601を受取った
スレーブ局S1は返信を行う旨の信号と、マスタ局への
送信データとからなるレスポンスフレーム602をマス
タ局Mに送信する。次にマスタ局Mはスレーブ局S2に
前記と同様なセレクティングフレーム603を送信し、
スレーブ局S2からレスポンスフレーム604を受信す
る。このようにしてマスタ局Mが順にスレーブ局に対し
セレクティングフレームを送りデータ伝送を行う。 このセレクティング・レスポンス伝送方式の利点はスレ
ーブ局のハードウェアおよびソフトウェアが比較的単純
になることである。
Figures 3 and 4 are explanatory diagrams of conventional transmission methods between multiple stations connected to a common transmission path. Figure 3 is an illustration of the broadcast method, and Figure 4 is an explanatory diagram of the selecting response method. be. In FIG. 3, stations (1), (2), and (3) are stations STI, ST2, and ST2, respectively, as equal stations. STN
This is a time chart (sequence) of communication. In this broadcast transmission system, each of the N stations can have the right to transmit to other stations like a master station, so each station is called a station for convenience. In addition, in the communication sequences in the following figures, including this figure, the upper side of the baseline indicates the timing of transmission by the station (or station) in question, and the lower side of the baseline indicates the timing of reception by the station (or station) in question. shall be taken as a thing. To explain FIG. 3, station STI, which is an initial master station, transmits a broadcast frame 501 consisting of a signal indicating that a broadcast is to be performed and transmission data addressed to each station arranged in a predetermined order. The broadcast frame 501 is transmitted to each other station ST2.
~ Received by STN. When station STI transmits broadcast frame 501, it simultaneously passes a token (transmission right) to station ST2. Station ST2, which received the token, then becomes the master station and transmits the broadcast frame 502 and station ST3.
Send a token to . In this way, the master station moves in order and data transmission is performed. Note that this token movement method is called a token pass method. The advantage of this broadcast transmission system is that data can reach each station simultaneously. Next, in FIG. 4, (1), (2), and (3) show the communication sequences of master station M, slave station SL, and slave station SN, respectively. In this selecting response transmission method, master station M Slave station 5l-3
By sequentially specifying N, communication is performed between the slave station and the master station each time N is specified. That is, in FIG. 4, the master station M sends a selecting message to the slave station S1, which consists of an address specifying this station S1, a command to perform transmission using the selecting response method, and transmission data for this station 31. frame 601
Send. Slave station S1, which has received selecting frame 601, transmits to master station M a response frame 602 consisting of a signal indicating that a reply is to be made and data to be sent to the master station. Next, the master station M transmits a selecting frame 603 similar to the above to the slave station S2,
A response frame 604 is received from slave station S2. In this way, the master station M sequentially sends the selecting frame to the slave stations and performs data transmission. The advantage of this selecting response transmission method is that the hardware and software of the slave station is relatively simple.

【発明が解決しようとする課題】[Problem to be solved by the invention]

しかしながら前述したブロードキャスト伝送方式には、
次のような問題がある。即ちすべての局がマスタ局とな
り得るためにハードウェアが複雑でコスト高となり、ま
たトークンの移動などの処理を各局が行わなければなら
ないため、ソフトウェアの負担が大きくなる。 他方、前述したセレクティング・レスポンス伝送方式に
も次のような問題がある。即ちスレーブ局のハードウェ
アおよびソフトウェアが比較的単純になるが、各スレー
ブ局へのデータの同時到達ができない。 一般に上位コンピュータ(マスタ局)から下位コンピュ
ータ(スレーブ局)に指令を渡す場合、特に下位コンピ
ュータが制御装置の時にはデータの線束性が重要となる
が、上述のようにブロードキャスト伝送方式ではデータ
の線束性はよいが伝送装置のコストが高くなり1.ソフ
トウェアの負担も大きくなる。他方、セレクティング・
レスポンス伝送方式ではシステムが低コストになるがデ
ータの線束性が保たれない。 そこで本発明は特に重要な下りデータ(制御装置への指
令)をブロードキャスト方式で送信し、特に線束性を必
要としない上りデータをポーリング・レスポンス方式で
交信する階層型システムの伝送方法を堤供することによ
り前記の問題を解消することを課題とする。
However, the broadcast transmission method mentioned above has
There are the following problems. That is, since all stations can act as master stations, the hardware becomes complicated and costly, and each station must perform processing such as token movement, which increases the burden on the software. On the other hand, the aforementioned selecting response transmission method also has the following problems. That is, the hardware and software of the slave stations are relatively simple, but data cannot reach each slave station at the same time. Generally, when passing commands from a higher-level computer (master station) to a lower-level computer (slave station), data flux characteristics are important, especially when the lower-level computer is a control device, but as mentioned above, in the broadcast transmission method, data flux characteristics This is good, but the cost of the transmission equipment increases.1. The burden on the software will also increase. On the other hand, selecting
Although the response transmission method reduces system cost, it does not maintain data flux. Therefore, the present invention provides a transmission method for a hierarchical system in which particularly important downlink data (commands to a control device) is transmitted using a broadcast method, and uplink data that does not particularly require flux characteristics is communicated using a polling response method. The object of the present invention is to solve the above problem.

【課題を解決するための手段】[Means to solve the problem]

前記の課題を解決するために本発明の方法は、「マスタ
局(Mなど)と複数のスレーブ局(Sl〜SNなど)と
が共通の伝送路を介して互に交信する階層型システムの
伝送方法であって、前記マスタ局は(ブロードキャスト
伝送方式により)前記の各スレーブ局宛のデータを所定
の順序で一括して同時に全てのスレーブ局に送信し、か
つ(ポーリング・レスポンス伝送方式により)前記の各
スレーブ局を順次1つづつ指定して、当該のスレーブ局
からその局のデータを受信するように1するものとする
。 送方法。
In order to solve the above-mentioned problems, the method of the present invention provides a method for transmitting a hierarchical system in which a master station (such as M) and a plurality of slave stations (such as SL to SN) communicate with each other via a common transmission path. In the method, the master station simultaneously transmits the data addressed to each of the slave stations in a predetermined order to all the slave stations simultaneously (by using a polling response transmission method), and (by using a polling response transmission method) One by one, each slave station is specified one by one, and the data of that station is received from the slave station.Transmission method.

【作 用】[For use]

すべてのスレーブ局は初め各局共通のスレーブ局アドレ
スを設定し、受信モードで待期する。ここで上位局から
ブロードキャストフレームを受信すると、スレーブ局は
各局固有のスレーブ局アドレスを設定し、送信モードで
待期する。そして上位局から各局間けのポーリングフレ
ームを受信すると、各スレーブ局は上位局へレスポンス
フレームを返信し、共通のスレーブ局アドレスを再び設
定し受信モードで待期するという動作を繰返す。
All slave stations initially set a common slave station address and wait in reception mode. When the slave station receives a broadcast frame from the upper station, it sets a slave station address unique to each station and waits in transmission mode. When each slave station receives an inter-station polling frame from the upper station, each slave station returns a response frame to the upper station, sets the common slave station address again, and repeats the operation of waiting in reception mode.

【実施例】【Example】

次に第1図および第2図に基づいて本発明の詳細な説明
する。第1図は本発明の一実施例としての伝送方法の説
明図で、同図(1)、 (2)、 (3)はそれぞれマ
スタ局M、スレーブ局St、スレーブ局SNの交信シー
ケンスを示し、同図(4)、 (5)はそれぞれスレー
ブ局51.SNの送、受信モードの時間的推移を示す。 第1図を説明すると、マスタ局Mである上位コンピュー
タは、初めに全スレー7局向はイニシャルフレーム10
1を送信し、伝送路上に接続されているスレーブ局を特
定するなどのイニシャライズを行う。これにより全スレ
ー1局31〜SNは受信モードとなり、スレーブ局アド
レス“0“で待期する(期間TI)。次にマスタ局Mは
アドレス″0”のスレーブ局を指定したブロードキャス
トフレーム102を送信する。なおこのブロードキャス
トフレーム102には所定長の各スレーブ局Sl〜SN
向けのデータが順番に配列されている。従って各スレー
ブ局31〜SNはそれぞれ自局宛てのデータをこのブロ
ードキャストフレーム102から読出すことができる。 このようにしてブロードキャストフレーム102を正常
に受信した各スレーブ局5l−3Nは受信モードとなり
、各局固有のスレーブ局アドレスで待期する(期間T2
)。次にマスタ局Mはスレーブ局Sl向けのポーリング
フレーム103を送信し、スレーブ局S1に対し送信要
求を行う。 ポーリングフレーム103を受信したスレーブ局S1は
マスタ局Mに対しレスポンスフレーム104を送信し、
再び受信モードに移る (期間T3)。マスタ局Mはス
レーブ局82〜SNに対しても順番に同じことを行う。 このようにしてスレーブ局SNまでのこの交信が終了す
ると、マスタ局Mは再びブロードキャストフレーム10
2を送信する。このようにして下り送信はブロードキャ
スト方式の、また上り送信はポーリング・レスポンス方
式の伝送動作を繰返し行う。 第2図は第1図の伝送におけるマスタ局Mとスレーブ局
5l−3N間のデータの流れを示す。即ちマスタ局Mか
らのブロードキャストフレーム102は全スレー1局5
l−3Nに到達する。しかしスレーブ局Sl、 S2.
 S Nのレスポンスフレーム104.106.108
はマスタ局Mにしか到達しない。
Next, the present invention will be explained in detail based on FIGS. 1 and 2. FIG. 1 is an explanatory diagram of a transmission method as an embodiment of the present invention, and (1), (2), and (3) in the figure show communication sequences of master station M, slave station St, and slave station SN, respectively. , (4) and (5) in the same figure are respectively slave stations 51. It shows the time transition of SN transmission and reception modes. To explain Fig. 1, the host computer which is the master station M initially sets the initial frame 10 for all seven slave stations.
1 to perform initialization such as specifying the slave station connected to the transmission path. As a result, all slave stations 31 to SN enter the reception mode and wait at the slave station address "0" (period TI). Next, the master station M transmits a broadcast frame 102 specifying the slave station with address "0". Note that this broadcast frame 102 has a predetermined length of each slave station Sl to SN.
The data for each is arranged in order. Therefore, each slave station 31 to SN can read data destined for itself from this broadcast frame 102. Each slave station 5l-3N that has successfully received the broadcast frame 102 in this way enters the reception mode and waits at the slave station address unique to each station (period T2
). Next, the master station M transmits a polling frame 103 intended for the slave station S1, and requests transmission to the slave station S1. Slave station S1 that received polling frame 103 transmits response frame 104 to master station M,
Switch to reception mode again (period T3). The master station M performs the same thing in order for the slave stations 82 to SN. When this communication up to the slave station SN is completed in this way, the master station M again uses the broadcast frame 10.
Send 2. In this way, transmission operations are repeatedly performed using the broadcast method for downlink transmission and the polling and response method for uplink transmission. FIG. 2 shows the flow of data between master station M and slave stations 5l-3N in the transmission shown in FIG. That is, the broadcast frame 102 from the master station
1-3N is reached. However, slave stations Sl, S2.
SN response frame 104.106.108
reaches only master station M.

【発明の効果】【Effect of the invention】

本発明によれば上位コンピュータと複数の下位コンピュ
ータ(制御装置)とが互いに共通の伝送路を介して交信
する階層型システムにおいて、下り送信にブロードキャ
スト方式を用い、上り送信にはポーリング・レスポンス
方式を用いてデータ伝送を行うこととしたので、下りデ
ータの線束性を高め得ると共に、システムを低コストで
構築することができる。なおこの線束性は例えば、鉄鋼
などのプロセスラインにおいて、複数のモータの制御装
置に上位コンピュータから速度指令を与える時などに有
効である。
According to the present invention, in a hierarchical system in which a higher-level computer and a plurality of lower-level computers (control devices) communicate with each other via a common transmission path, a broadcast method is used for downlink transmission, and a polling response method is used for uplink transmission. Since data transmission is carried out using the above-described method, it is possible to improve the flux of downlink data and to construct a system at low cost. Note that this flux property is effective, for example, when a host computer gives a speed command to a control device for a plurality of motors in a process line for steel or the like.

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

第1図は本発明の一実施例としての伝送方法を示すタイ
ムチャート、第2図は本発明における伝送データの流れ
を示す図、第3図はブロードキャスト伝送方式の説明図
、第4図はセレクティング・レスポンス伝送方式の説明
図である。 M:マスタ局、5l−8Nニスレ一プ局、101:イニ
シャルフレーム、102  ニブロードキャストフレー
ム、103ニスレープ局Sl向はポーリングフレーム、
104ニスレープ局S1からのレスボンスフレーム、1
05ニスレープ局S2向はポーリングフレーム、106
:スレーブ局S2からのレスポンスフレーム、107:
スレーブ局SN向はポーリングフレーム、108  ニ
スレープ局SNからのレス2図
Figure 1 is a time chart showing the transmission method as an embodiment of the present invention, Figure 2 is a diagram showing the flow of transmission data in the present invention, Figure 3 is an explanatory diagram of the broadcast transmission method, and Figure 4 is the selection diagram. FIG. 2 is an explanatory diagram of a response transmission method. M: Master station, 5l-8N Nislep station, 101: Initial frame, 102 Nibroadcast frame, 103 Polling frame for Nislep station Sl,
104 Response frame from Nisrep station S1, 1
05 For Nislepe station S2, polling frame, 106
:Response frame from slave station S2, 107:
Polling frame for slave station SN, 108 Figure 2 of response from Nislep station SN

Claims (1)

【特許請求の範囲】 1)マスタ局と複数のスレーブ局とが共通の伝送路を介
して互に交信する階層型システムの伝送方法であって、 前記マスタ局は前記の各スレーブ局宛のデータを所定の
順序で一括して同時に全てのスレーブ局に送信し、 かつ前記の各スレーブ局を順次1つづつ指定して、当該
のスレーブ局からその局のデータを受信するようにした
ことを特徴とする階層型システムの伝送方法。
[Claims] 1) A transmission method for a hierarchical system in which a master station and a plurality of slave stations communicate with each other via a common transmission path, wherein the master station transmits data addressed to each of the slave stations. is simultaneously transmitted to all slave stations in a predetermined order, and each slave station is designated one by one in order to receive the data from that slave station. A transmission method for a hierarchical system.
JP4226389A 1989-02-22 1989-02-22 Transmission method for hierarchical system Pending JPH02222240A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4226389A JPH02222240A (en) 1989-02-22 1989-02-22 Transmission method for hierarchical system
CA002005324A CA2005324A1 (en) 1989-02-22 1989-12-13 Method for sticking a belt-like member and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4226389A JPH02222240A (en) 1989-02-22 1989-02-22 Transmission method for hierarchical system

Publications (1)

Publication Number Publication Date
JPH02222240A true JPH02222240A (en) 1990-09-05

Family

ID=12631147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4226389A Pending JPH02222240A (en) 1989-02-22 1989-02-22 Transmission method for hierarchical system

Country Status (1)

Country Link
JP (1) JPH02222240A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0496541A (en) * 1990-08-13 1992-03-27 Matsushita Electric Ind Co Ltd Communication controller
JP2019012500A (en) * 2017-07-03 2019-01-24 村田機械株式会社 Traveling vehicle system and control method for traveling vehicle system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5166705A (en) * 1974-12-06 1976-06-09 Hitachi Ltd DEETADENSO HOSHIKI
JPS57203195A (en) * 1981-06-08 1982-12-13 Hokushin Electric Works System for transmitting data between instruments
JPS59254A (en) * 1982-06-25 1984-01-05 Fujitsu Ltd Simultaneous multiple address data transfer controlling system to plural terminals connected to same circuit
JPS63146635A (en) * 1986-12-10 1988-06-18 Fujitsu Ltd Data link control system
JPS63234646A (en) * 1987-03-23 1988-09-29 Matsushita Electric Ind Co Ltd Multiple address communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5166705A (en) * 1974-12-06 1976-06-09 Hitachi Ltd DEETADENSO HOSHIKI
JPS57203195A (en) * 1981-06-08 1982-12-13 Hokushin Electric Works System for transmitting data between instruments
JPS59254A (en) * 1982-06-25 1984-01-05 Fujitsu Ltd Simultaneous multiple address data transfer controlling system to plural terminals connected to same circuit
JPS63146635A (en) * 1986-12-10 1988-06-18 Fujitsu Ltd Data link control system
JPS63234646A (en) * 1987-03-23 1988-09-29 Matsushita Electric Ind Co Ltd Multiple address communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0496541A (en) * 1990-08-13 1992-03-27 Matsushita Electric Ind Co Ltd Communication controller
JP2019012500A (en) * 2017-07-03 2019-01-24 村田機械株式会社 Traveling vehicle system and control method for traveling vehicle system

Similar Documents

Publication Publication Date Title
JPH0567092B2 (en)
JPH02222240A (en) Transmission method for hierarchical system
JPH0358214B2 (en)
JPS62159549A (en) Data transfer system
JP3350398B2 (en) Two-way communication method
JPH0644763B2 (en) Data transfer method
JPS6229335A (en) Communication control method
JPH05327734A (en) Multi-address communication system
JP3067155B2 (en) Data transfer device
JPH02217039A (en) Poling/selecting control procedure system
JPH03136431A (en) Data communication method
JP2935242B2 (en) Wireless communication system
JPS63288317A (en) Printer
JPH06232882A (en) Time division multiplex communication system
JPS6229342A (en) Multiple address communication system
JPS62299139A (en) Multiple address communication system
JPH01103046A (en) Communication control system
JPS62298245A (en) Polling method
JPH01300720A (en) Communicating system for moving body
JPS60178747A (en) One-to-multitude type data communication method
JPS63299625A (en) Data transfer system
JPH04144447A (en) Polling system
JPS61274447A (en) Communication system
JPH01291547A (en) Data transmission system
JPH01264330A (en) Method for controlling multi-address response in local area network