JPH0496541A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPH0496541A
JPH0496541A JP21450990A JP21450990A JPH0496541A JP H0496541 A JPH0496541 A JP H0496541A JP 21450990 A JP21450990 A JP 21450990A JP 21450990 A JP21450990 A JP 21450990A JP H0496541 A JPH0496541 A JP H0496541A
Authority
JP
Japan
Prior art keywords
slave stations
master station
data
station
slave
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
JP21450990A
Other languages
Japanese (ja)
Inventor
Tokio Chiba
千葉 登喜雄
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP21450990A priority Critical patent/JPH0496541A/en
Publication of JPH0496541A publication Critical patent/JPH0496541A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To reduce transmission time and reply time by sending a simultaneous reception command simultaneously from a master station to plural slave stations, sending a data simultaneously, applying polling sequentially to them and collecting the result of reception of a data of each slave station by the master station. CONSTITUTION:A master station 1 sends a selecting signal to slave stations 40-4n simultaneously. Each of the slave stations 40-4n receives the selecting signal to discriminate the content. Then the master station 1 sends a data block to a line sequentially. All the slave stations 40-4n receive a data block from the master station 1 simultaneously. When the end of the transmission of all data blocks is discriminated, polling to collect the result of reception by the master station 1 is given to the slave stations 40-4n. The slave stations 40-n discriminate whether or not a final data block is normally received and sends the result of discrimination to the master station 1 when the polling to its own station is received.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、1つの主局から発せられるデータを複数の従
局で同時に受信するための通信制御装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a communication control device for simultaneously receiving data from a single master station at a plurality of slave stations.

従来の技術 従来、この種の通信制御装置は、送信データを特定の大
きさにブロック化して相手方へ送信している。例えば、
主局から従局ヘデータを送信する場合、第5図に示すよ
うに、主局から特定の従局ヘセレクティング信号を送信
し、これに対し、従局から主局へアクノリッジ(ACK
)信号を返信し、これを確認した主局がデータブロック
(ETB )を当該従局へ送信する。
2. Description of the Related Art Conventionally, this type of communication control device blocks transmission data into blocks of a specific size and transmits the blocks to the other party. for example,
When transmitting data from a master station to a slave station, as shown in Figure 5, the master station transmits a selecting signal to a specific slave station, and in response, the slave station sends an acknowledgment (ACK) signal to the master station.
) signal, and the master station confirms this and sends a data block (ETB) to the slave station.

この1ブロツクのデータの受信を完了した従局は、主局
にACK信号を送信し、これを受けた主局が2番目のデ
ータブロックを従局へ送信する。以後、同様にして最終
データブロックまでを順次送信する。こののち、他の従
局に対するデータ送信が実行される。
The slave station, which has completed receiving this one block of data, transmits an ACK signal to the master station, and upon receiving this, the master station transmits the second data block to the slave station. Thereafter, data blocks up to the final data block are sequentially transmitted in the same manner. After this, data transmission to other slave stations is executed.

このように、従来の通信制御装置にあっては、1つの従
局ヘブロック単位で全データを送信した後、他の従局へ
順次データを送信するように構成されており、主局は全
データを従局の数だけ繰り返して送信している。
In this way, conventional communication control devices are configured to transmit all data to one slave station in block units and then sequentially transmit data to other slave stations, and the master station transmits all data to the slave stations. It is sent repeatedly for the number of times.

発明が解決しようとする課題 しかし、以上のような従来例の構成では、主局から従局
へ送信を行う場合、従局の数だけデータ送信を繰り返し
て送信する必要があり、全従局にデータが整うには以下
のような待ち時間Wtが生じていた。
Problems to be Solved by the Invention However, in the conventional configuration as described above, when transmitting from a master station to slave stations, it is necessary to repeat data transmission for the number of slave stations, and it is difficult to send data to all slave stations. The following waiting time Wt occurred.

Wt=(A+B)xCxD   ・・・(1)ここで、
A:1ブロツクの送信時間 B:1ブロック送信に対する応答 受信時間 C:送信ブロック数 D=従局数 例えば、9600bpsの通信速度により、従局10台
に256KBのデータを1ブロツクとして送信したとす
ると、A=270mS、B=30ras、C=1000
.D=10となり、はぼ待ち時間は50分になる。
Wt=(A+B)xCxD...(1) Here,
A: Transmission time of 1 block B: Response reception time for 1 block transmission C: Number of transmitted blocks D = Number of slave stations For example, if 256 KB of data is transmitted as 1 block to 10 slave stations at a communication speed of 9600 bps, then A =270mS, B=30ras, C=1000
.. D=10, and the waiting time becomes 50 minutes.

このようなことから、特に従局数が多い場合、ハードウ
ェアのコストダウンを図る必要性から従局自身が稼働す
るために必要なプログラム、テーブルファイルなどをイ
ンストールする手段を設けず、主局から回線経由で直接
ダウンロードするようなシステムにおいては、上記の待
ち時間Wtを無視することはできない。
For this reason, especially when there are a large number of slave stations, due to the need to reduce hardware costs, there is no way to install the programs, table files, etc. necessary for the slave stations to operate themselves, and the master station connects them via the line. In a system that directly downloads data, the above waiting time Wt cannot be ignored.

本発明は、上記従来技術の問題を解決するものであり、
多量のデータを複数の従局へ短時間に送信できるように
した通信制御装置を提供することを目的とするものであ
る。
The present invention solves the problems of the prior art described above,
It is an object of the present invention to provide a communication control device that can transmit a large amount of data to a plurality of slave stations in a short time.

課題を解決するための手段 本発明は、上記従来技術の問題を解決するため、主局か
ら複数の従局へ同時に一斉受信指令を送出し、次いで一
斉にデータを送出した後、上記各従局を順次ポーリング
し、上記各従局のデータ受信結果を上記主局に収集させ
る制御手段を設けたものである。
Means for Solving the Problems In order to solve the problems of the prior art described above, the present invention transmits simultaneous reception commands from a master station to a plurality of slave stations at the same time, and after transmitting data all at once, the present invention transmits a simultaneous reception command to multiple slave stations in turn. A control means is provided for polling and causing the master station to collect data reception results from each of the slave stations.

作用 したがって、本発明に゛よれば、主局から従局ヘデータ
を一斉に送信した後、従局は主局に対して応答を行うこ
となく、各従局が一斉にデータブロックを受信する。こ
の受信が正常に行われたか否かが主局からのポーリング
に応じて主局へ受信結果が送出される。したがって、応
答時間が削減され、主局の1回の送信によって全従局に
データが整うので、送信回数の削減を図ることができる
Therefore, according to the present invention, after data is transmitted from the master station to the slave stations all at once, each slave station receives the data block at the same time without making any response to the master station. A reception result is sent to the main station in response to polling from the main station to determine whether or not this reception has been performed normally. Therefore, the response time is reduced, and data is prepared for all slave stations by one transmission from the master station, so it is possible to reduce the number of transmissions.

実施例 以下、本発明の実施例について図面を参照しながら説明
する。
EXAMPLES Hereinafter, examples of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例における通信制御装置のブロ
ック図、第2図は本発明によるポーリング処理を示すフ
ローチャート、第3図は一斉セレクティング(−斉受信
指令であり、通常のセレクティングとは異なる)のシー
ケンスを示す説明図、第4図は一斉セレクティングにお
けるデータブロックの送信および受信のシーケンスを示
す説明図である。
FIG. 1 is a block diagram of a communication control device according to an embodiment of the present invention, FIG. 2 is a flowchart showing polling processing according to the present invention, and FIG. FIG. 4 is an explanatory diagram showing the sequence of transmitting and receiving data blocks in simultaneous selection.

第1図に示すように、主局1である中央処理装置には、
本発明による第1の通信制御装置2が接続され、この通
信制御装置2にはn個の第2の通信制御装置30〜3n
が1本の回線にマルチドロップに並列接続され、その各
々にデータ入力および主局1へのデータ送信を行う従局
40〜4n(#O〜#n)が並列に接続されている。
As shown in Figure 1, the central processing unit, which is the main station 1, has
A first communication control device 2 according to the present invention is connected, and n second communication control devices 30 to 3n are connected to the first communication control device 2 according to the present invention.
are connected in parallel in a multi-drop manner to one line, and slave stations 40 to 4n (#O to #n) for inputting data and transmitting data to the master station 1 are connected in parallel to each of them.

以」二の構成において、以下、その動作について第2図
ないし第4図を参照しながら説明する。
The operation of the second configuration will be explained below with reference to FIGS. 2 to 4.

まず、第4図に示すように、従局40〜4nに対し、主
局1側からセレクティング信号を一斉に送信する(ステ
ップ21)。このセレクテイング信号は、第3図に示す
ように、セレクテイング符号と従局アドレス(アドレス
の0〜nが通常セレクティングを示し、Xが一斉セレク
ティングを示す)が対になっている。従局40〜4nの
各々はセレクティング信号を受信し、その内容を判断す
る。その後、主局1はデータブロックを順に回線へ送出
する。全従局40〜4nは一斉に主局1からのデータブ
ロックを受信する(ステップ22)。
First, as shown in FIG. 4, a selecting signal is transmitted from the main station 1 to the slave stations 40 to 4n all at once (step 21). As shown in FIG. 3, this selecting signal is a pair of a selecting code and a slave station address (addresses 0 to n indicate normal selection, and X indicates simultaneous selection). Each of the slave stations 40 to 4n receives the selecting signal and determines its content. Thereafter, the main station 1 sequentially sends the data blocks to the line. All the slave stations 40 to 4n simultaneously receive the data block from the master station 1 (step 22).

全データブロックの送信の終了が判定されるとぐステッ
プ23)、従局40〜4nに受信結果を主局1に収集す
るためのポーリングを行う(ステップ24)。従局40
〜4nは最終のデータブロックを正常に受信したか否か
を判定しくステップ25)、自局のポーリングを受信し
た時点で判定結果を主局1へ送信する。主局1は従局4
0〜4nからの受信結果が異常の場合、最初からデータ
送信をステップ21に戻って再実行する。
As soon as it is determined that the transmission of all data blocks has been completed (step 23), polling is performed for the slave stations 40 to 4n to collect the reception results to the master station 1 (step 24). Follower 40
-4n determines whether or not the last data block has been received normally (step 25), and transmits the determination result to the main station 1 upon receiving its own polling. Master station 1 is slave station 4
If the reception result from 0 to 4n is abnormal, the process returns to step 21 and re-executes data transmission from the beginning.

また、受信結果が正常であった場合、従局40〜4nの
すべてから受信結果を受けたか否かを判定しくステップ
26)、未終了の場合にはステップ24へ戻って以降の
処理を実行する。すべて終了の場合は処理を終了する。
Further, if the reception result is normal, it is determined whether or not reception results have been received from all of the slave stations 40 to 4n (step 26), and if the reception result has not been completed, the process returns to step 24 to execute the subsequent processing. If all are completed, the process ends.

以」二より明らかなように、本発明は比較的回線品質が
高いシステムに有効であるが、全従局がデータの整うま
での待ち時間は、次のようになる。
As is clear from the following, the present invention is effective in a system with relatively high line quality, but the waiting time until all slave stations have their data ready is as follows.

待ち時間Wt=AXC・・・(2) ただし、A:1ブロック送信時間 C:送信ブロック数 この結果、式(1)に示した従来の待ち時間に比べ、約
1/D(従局数)の時間に削減することが可能になる。
Waiting time Wt=AXC...(2) However, A: 1 block transmission time C: Transmission block number As a result, compared to the conventional waiting time shown in equation (1), approximately 1/D (number of slave stations) It becomes possible to save time.

発明の詳細 な説明したように本発明によれば、主局から複数の従局
へ同時に一斉受信指令を送出し、次いで一斉にデータを
送出した後、上記各従局を順次ポーリングし、上記各従
局のデータ受信結果を上記主局に収集させる制御手段を
設けるようにしたので、主局からの1回の送信によって
全従局にデータが整うので、送信回数を削減することが
でき、したがって、送信時間および応答時間を削減し、
これにより待ち時間の短縮が可能になる。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, a master station simultaneously sends a simultaneous reception command to a plurality of slave stations, and after transmitting data all at once, each of the slave stations is polled in turn, and Since a control means is provided to cause the master station to collect data reception results, data is prepared in all slave stations by one transmission from the master station, so the number of transmissions can be reduced, and therefore the transmission time and Reduce response time,
This makes it possible to shorten waiting time.

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

第1図は本発明の一実施例における通信制御装置のブロ
ック図、第2図は本発明によるポーリング処理を示すフ
ローヂャート、第3図は一斉セレクティングのシーケン
スを示す説明図、第4図は一斉セレクティングにおける
データブロックの送信および受信のシーケンスを示す説
明図、第5図は主局と従局間の従来の通信シーケンスを
示す説明図である。 1・・・主局、2.30〜3n・・・通信制御装置、4
0〜/In・・・従局。
FIG. 1 is a block diagram of a communication control device according to an embodiment of the present invention, FIG. 2 is a flowchart showing polling processing according to the present invention, FIG. 3 is an explanatory diagram showing a simultaneous selection sequence, and FIG. 4 is a simultaneous selection sequence. FIG. 5 is an explanatory diagram showing a sequence of data block transmission and reception in selecting. FIG. 5 is an explanatory diagram showing a conventional communication sequence between a master station and a slave station. 1...Main station, 2.30-3n...Communication control device, 4
0~/In...Subordinate station.

Claims (1)

【特許請求の範囲】[Claims] 主局から複数の従局へ同時に一斉受信指令を送出し、次
いで一斉にデータを送出した後、上記各従局を順次ポー
リングし、上記各従局のデータ受信結果を上記主局に収
集させる制御手段を設けたことを特徴とする通信制御装
置。
A control means is provided that simultaneously sends a simultaneous reception command from the master station to a plurality of slave stations, then polls each of the slave stations in sequence after transmitting the data all at once, and causes the master station to collect the data reception results of each of the slave stations. A communication control device characterized by:
JP21450990A 1990-08-13 1990-08-13 Communication controller Pending JPH0496541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21450990A JPH0496541A (en) 1990-08-13 1990-08-13 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21450990A JPH0496541A (en) 1990-08-13 1990-08-13 Communication controller

Publications (1)

Publication Number Publication Date
JPH0496541A true JPH0496541A (en) 1992-03-27

Family

ID=16656899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21450990A Pending JPH0496541A (en) 1990-08-13 1990-08-13 Communication controller

Country Status (1)

Country Link
JP (1) JPH0496541A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6309021B1 (en) 1998-12-18 2001-10-30 Ikeda Bussan Co., Ltd. Movement device for automobile seat and automobile seat
JP2003046559A (en) * 2001-07-26 2003-02-14 Nec Corp Atm communication device and cell receiving method
US6880012B1 (en) * 2000-08-02 2005-04-12 International Business Machines Corporation System, method, and program for establishing modem communication between a master computer system and a plurality of slave computer systems through a common serial communication channel

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59254A (en) * 1982-06-25 1984-01-05 Fujitsu Ltd Simultaneous multiple address data transfer controlling system to plural terminals connected to same circuit
JPS63234646A (en) * 1987-03-23 1988-09-29 Matsushita Electric Ind Co Ltd Multiple address communication system
JPH02222240A (en) * 1989-02-22 1990-09-05 Fuji Electric Co Ltd Transmission method for hierarchical system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59254A (en) * 1982-06-25 1984-01-05 Fujitsu Ltd Simultaneous multiple address data transfer controlling system to plural terminals connected to same circuit
JPS63234646A (en) * 1987-03-23 1988-09-29 Matsushita Electric Ind Co Ltd Multiple address communication system
JPH02222240A (en) * 1989-02-22 1990-09-05 Fuji Electric Co Ltd Transmission method for hierarchical system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6309021B1 (en) 1998-12-18 2001-10-30 Ikeda Bussan Co., Ltd. Movement device for automobile seat and automobile seat
US6880012B1 (en) * 2000-08-02 2005-04-12 International Business Machines Corporation System, method, and program for establishing modem communication between a master computer system and a plurality of slave computer systems through a common serial communication channel
JP2003046559A (en) * 2001-07-26 2003-02-14 Nec Corp Atm communication device and cell receiving method

Similar Documents

Publication Publication Date Title
EP0777948B1 (en) Duplicate message detection method and apparatus
JP2002027539A (en) Support of link level of wireless data
US5251214A (en) Method for transmitting data to a plurality of data stations
JPH0496541A (en) Communication controller
AU606156B2 (en) Multiport/multidrop computer communications
CN113965432B (en) Control system for two-channel CAN bus communication
CA2414039A1 (en) Auto-detecting universal appliance communication controller
JPS62237835A (en) Data communication control method
JP2525669B2 (en) Communications system
CN114097588B (en) Networking method and device of irrigation device
JPH06309015A (en) Programmable controller
JPH02217039A (en) Poling/selecting control procedure system
JP2973936B2 (en) Data transmission method
JPH10233792A (en) Polling system/method
JPS62200839A (en) Link unit for programmable controller
JPH0630506B2 (en) Serial communication device
JPH04360259A (en) Transmission control system by polling
JPS63312740A (en) Selective multiple address communication system
JPS63215242A (en) Data collecting system
JPH03254544A (en) Multi-point communication system
JPH01261038A (en) Polling system
JPH02220585A (en) Transmittal confirmation system at simultaneous multiple address communication
JPH0420143A (en) Multi-address communication replay system and its circuit
JPH02174446A (en) File reception confirming system
JP2000253465A (en) Monitor and control device and its method