JPH07101879B2 - Data control method - Google Patents

Data control method

Info

Publication number
JPH07101879B2
JPH07101879B2 JP12934987A JP12934987A JPH07101879B2 JP H07101879 B2 JPH07101879 B2 JP H07101879B2 JP 12934987 A JP12934987 A JP 12934987A JP 12934987 A JP12934987 A JP 12934987A JP H07101879 B2 JPH07101879 B2 JP H07101879B2
Authority
JP
Japan
Prior art keywords
data
communication
control device
sub
address
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
JP12934987A
Other languages
Japanese (ja)
Other versions
JPS63294027A (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.)
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 JP12934987A priority Critical patent/JPH07101879B2/en
Publication of JPS63294027A publication Critical patent/JPS63294027A/en
Publication of JPH07101879B2 publication Critical patent/JPH07101879B2/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 control system in a bus system in which a plurality of communication control devices are connected via a communication line.

従来の技術 従来の分散型制御方式を採用するバスシステムにおいて
は、通信制御装置から送られてきたデータの内容を解析
し、その内容によりどの他の通信制御装置に対して送信
するかを判断して、別のデータを生成して送信する手順
が多く用いられており、通信制御装置がデータ制御シー
ケンスを管理する方法がとられていた。
2. Description of the Related Art In a conventional bus system that adopts a distributed control method, the content of data sent from a communication control device is analyzed and the other communication control device is determined based on the content. Therefore, a procedure of generating and transmitting another data is often used, and a method in which the communication control device manages the data control sequence has been adopted.

発明が解決しようとする問題点 しかしながらこのような方式においてはすべての通信制
御装置がデータの制御シーケンス管理能力を持つ事が必
要なため、このようなシーケンス管理能力を持たない通
信制御装置はバスシステムに接続できない、という問題
点があった。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention However, in such a system, it is necessary for all communication control devices to have a data control sequence management capability. Therefore, a communication control device that does not have such a sequence management capability is a bus system. There was a problem that I could not connect to.

本発明は上記問題点を解消し、簡単な処理の分散型制御
方式を得ることを目的とする。
An object of the present invention is to solve the above problems and to obtain a distributed control system with simple processing.

問題点を解決するための手段 本発明は上記問題点を解決するために、通信データを制
御コード部と通信データ部で構成し、前記通信データ部
をアドレスデータとコマンドデータ及びエンドオブデー
タからなる複数の副データ部で構成し、前記通信データ
を受信した通信制御装置はその通信データの先頭の副デ
ータ部におけるコマンドデータを当該通信制御装置に対
するものと判断し、その内容を処理した後、当該副デー
タ部を除き、次の副データ部に含まれるアドレスデータ
によって前記制御コード部を再偏し、当該アドレスデー
タで示される他通信制御装置に通信データを転送するも
のである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention comprises communication data composed of a control code part and a communication data part, and the communication data part is composed of a plurality of address data, command data and end of data. Of the sub-data section of the communication data, the communication control apparatus which has received the communication data determines that the command data in the sub-data section at the head of the communication data is for the communication control apparatus, and after processing the contents, Excluding the data part, the control code part is rebiased by the address data included in the next sub-data part, and the communication data is transferred to the other communication control device indicated by the address data.

作用 本発明は上記したデータ伝送方式により通信制御装置が
データシーケンス管理を行なう必要がなく、通信制御装
置のデータ処理手順を軽減する事ができる。
The present invention does not require the communication control device to manage the data sequence by the above-mentioned data transmission method, and can reduce the data processing procedure of the communication control device.

実 施 例 第1図に通信データ構成を示す。通信データは大きく分
けて送り元アドレス1、相手先アドレス2、コントロー
ルコード3から成る制御コード部14と通信データ部13か
ら構成される。前記送り元アドレス1は前記通信データ
がどこから送られたかを示し、前記相手先アドレス2は
どのアドレスを持つ通信制御装置に送るか、又前記コン
トロールコードは前記通信データの制御属性を示し前記
通信データ部13はその制御内容を示す。前記通信データ
部13は副データ部〜で構成され各副データ部は副相
手先アドレスデータ、コマンドデータ、エンドオブデー
タから構成されている。
Practical example Figure 1 shows the communication data structure. The communication data is roughly divided into a sender address 1, a destination address 2, and a control code section 14 including a control code 3 and a communication data section 13. The source address 1 indicates where the communication data is sent from, the destination address 2 indicates which address the communication control device has, and the control code indicates the control attribute of the communication data. The section 13 shows the control contents. The communication data section 13 is composed of sub data sections 1 to 3, each sub data section being composed of sub destination address data, command data, and end of data.

副データ部の場合、エンドオブデータ6はデータの終
りを示し、データ4は副データ部の先頭バイトを示し
前記エンドオブデータ6まで任意数だけ続く。副相手先
アドレス7はそれ以降エンドオブデータ6までのデータ
を送るべき相手通信制御装置のアドレスを示す。
In the case of the sub data part, the end of data 6 indicates the end of the data, the data 4 indicates the head byte of the sub data part, and the end of data 6 is continued by an arbitrary number. The sub-destination address 7 indicates the address of the partner communication control device to which the data up to the end of data 6 is to be sent thereafter.

第2図はバスシステム構成の一例を示す。このバスシス
テムは通信回線15に通信制御装置16、通信制御装置18、
通信制御装置20を介してそれぞれ端末17、端末19、端末
21が接続されているものとする。端末17から通信制御装
置16を介して通信データ22を、これを受けて端末19から
通信制御装置18、通信回線15を介して通信データ23を、
これを受けて端末21から通信制御装置20、通信回線15を
介して通信データ24を最終的に端末17に送信する場合を
考える。
FIG. 2 shows an example of a bus system configuration. This bus system includes a communication line 15, a communication controller 16, a communication controller 18,
Terminal 17, terminal 19, terminal via the communication control device 20, respectively
21 shall be connected. Communication data 22 from the terminal 17 via the communication control device 16, receiving the communication data 22 from the terminal 19 via the communication control device 18 and the communication line 15,
Receiving this, consider a case where the terminal 21 finally transmits the communication data 24 to the terminal 17 via the communication control device 20 and the communication line 15.

第3図イ〜ハに通信データの内容を示す。前記通信デー
タ22、前記通信データ23、前記通信データ24は第1図で
示した通信データ構成になっている。前記通信データ22
は送信元アドレスが25、送り先アドレスが26、コントロ
ールコード27は特定の制御コードを示す。データ部は副
データ部(a)35、副データ部(b)36、副データ部
(c)37から構成されている。
The contents of communication data are shown in FIGS. The communication data 22, the communication data 23, and the communication data 24 have the communication data structure shown in FIG. Communication data 22
Indicates the source address is 25, the destination address is 26, and the control code 27 is a specific control code. The data section includes a sub data section (a) 35, a sub data section (b) 36, and a sub data section (c) 37.

副データ部(a)35はデータ(D)28,29と副データ部
の終りを示すエンドオブデータ(EOD)30から成り、ア
ドレス値Aを持つ前記通信制御装置16がアドレス値Bを
持つ通信制御装置18に送るべき通信データを示す。通信
制御装置16が送信した通信データ22を受信した通信制御
装置18は副データ部35が自分あてのデータ部と判断し
前記EOD30を除いたD28,D29のみを前記端末19に伝送す
る。そして副データ部36の先頭部に示されている副ア
ドレス値C31を次に送るべき相手アドレスと判断し、そ
れ以降のデータ全てを送るべきデータ内容として通信デ
ータ23として再構成して通信回線15に出力する。通信デ
ータ23を受信した前記通信制御装置20は副データ部38
で示されるデータ(D)32を端末21に伝送すべきデータ
と判断しデータ(D)32を端末21に伝達すると共に端末
(C)40の先頭に示されるデータ値(A)33を次に送る
べき相手先アドレス値、残りデータを次に送るべきデー
タと判断して通信データ24を再構成し通信制御装置16に
送信する。前記通信データ24を受信した通信制御装置16
は副データ部(C)39で示されるデータ(D)34を端末
17に送るべきデータと判断し端末17に伝達する。通信制
御装置17は副データ部39以降のデータがないので一連
の動作を終了する。
The sub data part (a) 35 comprises data (D) 28, 29 and end of data (EOD) 30 indicating the end of the sub data part, and the communication control device 16 having the address value A controls communication with the address value B. 3 shows communication data to be sent to the device 18. The communication control device 18, which has received the communication data 22 transmitted by the communication control device 16, determines that the sub data part 35 is the data part for itself and transmits only D28 and D29 excluding the EOD30 to the terminal 19. Then, the sub-address value C31 shown at the beginning of the sub-data section 36 is determined as the partner address to be sent next, and all the subsequent data is reconfigured as the communication data 23 as the data content to be sent and the communication line 15 Output to. Upon receipt of the communication data 23, the communication control device 20 receives the sub-data section 38.
The data (D) 32 indicated by is judged to be the data to be transmitted to the terminal 21, the data (D) 32 is transmitted to the terminal 21, and the data value (A) 33 indicated at the beginning of the terminal (C) 40 is next determined. It determines that the destination address value to be sent and the remaining data are the data to be sent next, and reconstructs the communication data 24 and sends it to the communication control device 16. The communication control device 16 that has received the communication data 24
Is the terminal for the data (D) 34 indicated by the sub-data section (C) 39
It judges that the data should be sent to 17, and transmits it to the terminal 17. The communication control device 17 ends the series of operations because there is no data after the sub data part 39.

発明の効果 以上のように本発明は、各々通信制御装置を有する複数
個の端末機器が通信回線を介して接続されるバスシステ
ムにおいて、1つの通信制御装置から他の複数の通信制
御装置に一連の制御シーケンスをもって通信パケットに
おいて制御コード部に続くデータ部が複数組のアドレス
データとコマンドデータ及びエンドオブデータから構成
され、前記通信データを受信した通信制御装置が当該装
置で処理すべきデータを除いてそれに続いて示されてい
るアドレスデータを持つ他通信制御装置に対してその通
信データにおけるアドレスデータを制御コード部に変換
し前記通信データ部を短く再構成して送信し、順次前記
通信データ部がなくなるまで前記通信データ部の受け渡
しを行なうことを特徴とするデータ制御方式である。こ
の方式を採用することによりデータシーケンス処理能力
を持たない通信制御装置でも簡単な処理のみで分散型制
御方式によるバスシステムを構築することができる。
EFFECTS OF THE INVENTION As described above, in the bus system in which a plurality of terminal devices each having a communication control device are connected via a communication line, one communication control device is connected to a plurality of other communication control devices. The data part following the control code part in the communication packet having the control sequence of is composed of a plurality of sets of address data, command data and end of data, except for the data to be processed by the communication control device which has received the communication data. Subsequent to the other communication control device having the address data shown, the address data in the communication data is converted into a control code part, the communication data part is reconfigured to be transmitted, and the communication data part is sequentially transmitted. The data control method is characterized in that the communication data section is passed until it is exhausted. By adopting this method, it is possible to construct a bus system by the distributed control method even with a communication control device having no data sequence processing capability with only simple processing.

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

第1図は本発明における通信データ構成図、第2図は本
発明の一実施例のデータ制御方式を用いたバスシステム
構成図、第3図は同データ制御方式の一例の説明図であ
る。 15……通信回線、16,18,20……通信制御装置、17,19,21
……端末。
FIG. 1 is a communication data configuration diagram in the present invention, FIG. 2 is a bus system configuration diagram using a data control system of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of an example of the data control system. 15 …… communication line, 16,18,20 …… communication control device, 17,19,21
...... Terminal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】各々通信制御装置を有する複数個の端末機
機が通信回線を介して接続されるバスシステムにおい
て、通信データを制御コード部と通信データ部で構成
し、前記通信データ部をアドレスデータとコマンドデー
タ及びエンドオブデータからなる複数の副データ部で構
成し、前記通信データを受信した通信制御装置はその通
信データ中の通信データ部の先頭の副データ部における
コマンドデータを当該通信制御装置に対するものと判断
し、その内容を処理した後、当該副データ部を除き、次
の副データ部に含まれるアドレスデータによって前記制
御コード部を再編し、当該アドレスデータで示される他
の通信制御装置に通信データを転送することを特徴とす
るデータ制御方式。
1. In a bus system in which a plurality of terminals each having a communication control device are connected via a communication line, communication data comprises a control code section and a communication data section, and the communication data section is addressed. The communication control device, which is composed of a plurality of sub-data parts including data, command data, and end of data, receives the communication data, and the command data in the sub-data part at the head of the communication data part in the communication data is the communication control device. After processing the content of the sub-data part, the control code part is reorganized by the address data included in the next sub-data part, and the other communication control device indicated by the address data is processed. A data control method characterized in that communication data is transferred to.
JP12934987A 1987-05-26 1987-05-26 Data control method Expired - Fee Related JPH07101879B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12934987A JPH07101879B2 (en) 1987-05-26 1987-05-26 Data control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12934987A JPH07101879B2 (en) 1987-05-26 1987-05-26 Data control method

Publications (2)

Publication Number Publication Date
JPS63294027A JPS63294027A (en) 1988-11-30
JPH07101879B2 true JPH07101879B2 (en) 1995-11-01

Family

ID=15007408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12934987A Expired - Fee Related JPH07101879B2 (en) 1987-05-26 1987-05-26 Data control method

Country Status (1)

Country Link
JP (1) JPH07101879B2 (en)

Also Published As

Publication number Publication date
JPS63294027A (en) 1988-11-30

Similar Documents

Publication Publication Date Title
JPS58500349A (en) Data processing system using broadcast packet switching
JPH07101879B2 (en) Data control method
JPS59114941A (en) Programmable controller
JPS6261961B2 (en)
JPH0229259B2 (en)
JPH0644763B2 (en) Data transfer method
JPH0514365A (en) Scan transmission system
JPS58161551A (en) Communication device
JPS63288317A (en) Printer
JPH0568071A (en) Data transmission system
JPS60114049A (en) Communication control equipment
JPH022246A (en) Communication network control method
JPS62100048A (en) System for sending large amount data in parallel
JPS60245345A (en) Processing system of packet communication
JPH0523098B2 (en)
JPS62285551A (en) Data transmission equipment
JP2001146044A (en) Image forming apparatus
JPH03108927A (en) Frame transfer system
JPH05191413A (en) Transceiver equipment
JPH0746807B2 (en) Time division multiplex transmission system
JPH04148259A (en) Communication processing system
JPH0478249A (en) Communication control method
JPH04241659A (en) Remote job transferring system
JPS59119439A (en) Buffer busy avoiding system
JPS6471361A (en) Communication protocol processor

Legal Events

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