JPH067652B2 - Communication control device - Google Patents

Communication control device

Info

Publication number
JPH067652B2
JPH067652B2 JP59081795A JP8179584A JPH067652B2 JP H067652 B2 JPH067652 B2 JP H067652B2 JP 59081795 A JP59081795 A JP 59081795A JP 8179584 A JP8179584 A JP 8179584A JP H067652 B2 JPH067652 B2 JP H067652B2
Authority
JP
Japan
Prior art keywords
address
self
priority
serial
bit
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 - Lifetime
Application number
JP59081795A
Other languages
Japanese (ja)
Other versions
JPS60226244A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59081795A priority Critical patent/JPH067652B2/en
Publication of JPS60226244A publication Critical patent/JPS60226244A/en
Publication of JPH067652B2 publication Critical patent/JPH067652B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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/40Bus networks
    • H04L12/407Bus networks with decentralised control
    • H04L12/413Bus networks with decentralised control with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、複数の装置が同時に送信可能な伝送媒体を用
いた通信システムの通信制御装置に係り、特に各装置の
自己アドレスにより伝送媒体上における優先度が決定さ
れる通信制御装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control device of a communication system using a transmission medium that can be simultaneously transmitted by a plurality of devices, and in particular to a communication medium on the transmission medium by the self-address of each device. The present invention relates to a communication control device whose priority is determined.

〔発明の背景〕[Background of the Invention]

マイクロコンピュータを内蔵した家電製品の普及に伴
い、家庭内における各種装置を相互に接続して集中制御
等を行なう、いわゆるホームオートメーションシステム
が種々提案されている。その1つとして、KEC(関西
電子工業振興センター)からホームバスシステム(HB
S)の標準化案が発表されている。これは、1983年9月
30日の電気学会,システム・制御研究会における資料番
号SC−83−41の村田,滑川著「HBS(ホームバスシ
ステム)について」に述べられている。さらに、このシ
ステムのベースバンドにおける制御手順及び衝突検出に
ついては、1983年10月7日の電子工業技術大会コンファ
レンス3Aホームオートメーションシステム資料,本田
著「HBSのベースバンドについて」の頁3A−2−
5,3A−2−6に詳しく述べられている。このHBS
方式を実現する回路ブロック図は第1図のようになって
おり、図において、1は演算処理装置(以下、CPUと
略す)、2は並列データを直列データに変換してホーム
バスへ出力したり、ホームバス上の直列データを並列デ
ータに変換したりするシリアルインターフェース回路、
3はバス上の衝突検出と送信制御を行なう送信制御回
路、4は自己アドレス設定用スイッチ、5は3ステート
バッファ、6はスイッチオフ時にもハイレベルを保つた
めの抵抗、7はデータバス、8はホームバスなどのバス
ラインである。このようなホームバスシステムでは、接
続する装置が容易に増減できるように、各装置に自己ア
ドレス設定用スイッチ4が付いており、装置をホームバ
スに接続する時にユーザが自由に設定できる構成となっ
ている。今、ある情報をホームバス8に送出して他の装
置へ送る場合を考えると、まず、CPU1はスイッチ4
で設定された自己アドレス(第1図では16進の53に設定
されている)をバッファ5を通して読み取る。KECの
HBS方式では前記文献にあるように、情報を自己アド
レス,相手アドレス,制御コード,データ数,データ,
フレームチェックコードから成るパケットという形にし
て送信するため、この読み取った自己アドレスを先頭
に、パケットの各要素を次々にシリアルインターフェー
ス回路2に送り、ここで並列直列変換した後、ホームバ
ス8に順次送出される。この時、送信制御装置3では、
パケット先頭の自己アドレスによって、衝突検出及び送
信制御を行なうわけである。
2. Description of the Related Art With the widespread use of household electric appliances with built-in microcomputers, various so-called home automation systems have been proposed in which various devices in the home are mutually connected to perform centralized control and the like. One of them is the home bus system (HB) from KEC (Kansai Electronics Industry Promotion Center).
S) standardization proposal has been announced. This is September 1983
It is described in "About HBS (Home Bus System)" by Murata and Namegawa in Material Number SC-83-41 at the Society of Electrical Engineers, System and Control Study Group on the 30th. Further, regarding the control procedure and the collision detection in the baseband of this system, page 3A-2- of the Electronic Industrial Technology Conference Conference 3A Home Automation System data, October 7, 1983, "About HBS baseband" by Honda.
5, 3A-2-6. This HBS
The circuit block diagram for realizing the system is as shown in Fig. 1. In the figure, 1 is an arithmetic processing unit (hereinafter abbreviated as CPU), 2 is parallel data converted into serial data and output to a home bus. Or a serial interface circuit that converts serial data on the home bus to parallel data,
Reference numeral 3 is a transmission control circuit for detecting collision on the bus and transmission control, 4 is a switch for self-address setting, 5 is a 3-state buffer, 6 is a resistor for keeping a high level even when the switch is off, 7 is a data bus, 8 Is a bus line such as a home bus. In such a home bus system, each device has a self-address setting switch 4 so that the number of connected devices can be easily increased or decreased, and the user can freely set the device when connecting the device to the home bus. ing. Now, considering the case where certain information is sent to the home bus 8 and sent to another device, first, the CPU 1 sets the switch 4
The self-address (set to hexadecimal 53 in FIG. 1) set in step 1 is read through the buffer 5. In KEC's HBS system, as described in the above-mentioned document, information is provided as self address, partner address, control code, number of data, data,
Since it is transmitted in the form of a packet composed of a frame check code, each element of the packet is sent to the serial interface circuit 2 one after another with this read self-address as the head, and after parallel / serial conversion, it is sequentially sent to the home bus 8. Sent out. At this time, in the transmission control device 3,
Collision detection and transmission control are performed by the self-address at the beginning of the packet.

さて、ここでホームバス8上へ送るシリアルデータの順
序を考えると、これにはMSB(Most Significant Bi
t:最上位ビット)から送る方法(以下、MSB送りと
いう)と、LSB(Least Significant Bit:最下位ビ
ット)から送る方法(以下、LSB送りという)がある
が、一般に市販されているシリアルインターフェース用
回路(例えば、日立製HD6850などのLSI)の多
くがLSB送りとなっていることから、KECのHBS
方式においてもLSB送りを採用している。ここで、ホ
ームバス8上での自己アドレスと優先度の関係を考え
る。この例ではこのホームバス8上では信号“1”より
も“0”が優先されるように設定されている。衝突検出
回路3では、ホームバス8上で伝送中のパケットから自
己アドレスをシリアルに取り込み、装置の自己アドレス
と1ビットづつ比較する。1ビットづつ比較していき不
一致を検出した場合に装置の自己アドレスの方が“1”
であれば、その装置の方が優先度が低いとしてシリアル
インタフェース回路2からのデータの送出を中止する。
Now, considering the order of serial data sent to the home bus 8, the MSB (Most Significant Bi
There is a method of sending from t: most significant bit (hereinafter referred to as MSB sending) and a method of sending from LSB (Least Significant Bit: below LSB sending), which is for a commercially available serial interface. Most of the circuits (for example, LSI such as Hitachi HD 6850) are LSB sending, so KEC's HBS
The method also uses LSB feeding. Now, consider the relationship between the self-address on the home bus 8 and the priority. In this example, "0" is set to have priority over the signal "1" on the home bus 8. The collision detection circuit 3 serially fetches the self address from the packet being transmitted on the home bus 8 and compares it with the self address of the device bit by bit. When the bits are compared bit by bit and a mismatch is detected, the device self-address is “1”.
If so, the device is considered to have a lower priority and the data transmission from the serial interface circuit 2 is stopped.

この場合に自己アドレスの順番と優先度の順番が一致し
なくなる。表1にその関係を示す。表1において自己ア
ドレス00H(Hは16進を示す)の優先度が1番高い
が、2番目は80H,3番目は40Hという具合にな
り、自己アドレスの順番と優先順位とが必ずしも一致し
ない。従って、このようなホームバスにユーザが優先度
を意識して装置を接続しようとする際には、自己アドレ
スと優先度との対応表などが必要となる。このことは、
このシステムのユーザの多くが専門家でないばかりでな
く、主婦や子供が扱うことも多いことなどを考えると、
マンマシンインタフェース上、非常に操作性の悪いシス
テムとなってしまう。
In this case, the order of self-addresses and the order of priority do not match. Table 1 shows the relationship. In Table 1, the self-address 00H (H indicates hexadecimal) has the highest priority, but the second is 80H, the third is 40H, and the order of the self-address does not always match the priority. Therefore, when a user tries to connect a device to such a home bus in consideration of the priority, a correspondence table between the self-address and the priority is required. This is
Considering that not only many users of this system are not experts, but also housewives and children often handle it,
The man-machine interface results in a system with very poor operability.

これは例えば、火災検知器の自己アドレスを80H、テ
レビの自己アドレスを20Hとして既に接続してあり、
新たに煙検知器をテレビより優先度を高くして接続する
場合、設定すべきアドレスをユーザが直感的にわからな
いのである。このことは誤操作を招くばかりでなく、火
災検知や煙検知などのホームセキュリティを行なう場合
などには、大きな問題となる虞れがある。
For example, the self-address of the fire detector is 80H and the self-address of the TV is 20H.
When connecting the smoke detector with a higher priority than the TV, the user cannot intuitively know the address to be set. This not only causes an erroneous operation, but may cause a serious problem in home security such as fire detection and smoke detection.

また、これはホームバスシステムにかかわらず、複数の
装置が同時に送信可能な伝送媒体を用いた一般の通信シ
ステムにおいても、自己アドレスを用いて送信制御を行
なう場合には起こる問題である。
Further, this is a problem that occurs in a general communication system using a transmission medium in which a plurality of devices can simultaneously transmit regardless of the home bus system, when the transmission control is performed by using the self address.

〔発明の目的〕[Object of the Invention]

本発明の目的は、従来技術の欠点をなくし、自己アドレ
スの順番と伝送媒体上での優先順位とを一致させること
にある。
It is an object of the present invention to eliminate the drawbacks of the prior art and to match the order of self-addresses with the priority on the transmission medium.

〔発明の概要〕 本発明は、自己アドレス設定手段で設定された自己アド
レスを、LSB送りのシリアルインタフェース回路から
バスへシリアルデータとして出力する際に、自己アドレ
スを衝突検出回路でバスから取り込んだパケットの自己
アドレスと自己の装置の自己アドレスとを比較する場合
の優先順位が一致するように変換した後にシリアルイン
タフェース回路に入力する変換手段を設けたものであ
る。
SUMMARY OF THE INVENTION According to the present invention, when the self address set by the self address setting means is output as serial data from the LSB-sending serial interface circuit to the bus, the self address is a packet fetched from the bus by the collision detection circuit. When the self-address of the device is compared with the self-address of the self-device, the conversion means is provided to convert the self-address so that the priorities are the same and then input the serial interface circuit.

〔発明の実施例〕Example of Invention

以下、実施例をもとに本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail based on examples.

第2図が本発明の1実施例を示すブロック図である。図
において、第1図と同一部分は同一符号であり、9が本
発明にかかる要素ブロックのデータ変換回路である。既
に述べたようにLSB送りのホームバス8上で自己アド
レスを用いて衝突検出及び送信制御を行なう場合、自己
アドレスの順番とバス上での優先順位とが必ずしも一致
しない。そこで、スイッチ4で設定された自己アドレス
がバス上の優先順位と一致するように自己アドレスのデ
ータ変換を変換回路9で行なうわけである。
FIG. 2 is a block diagram showing an embodiment of the present invention. In the figure, the same parts as those in FIG. 1 are designated by the same reference numerals, and 9 is a data conversion circuit of an element block according to the present invention. As described above, when collision detection and transmission control are performed using the self address on the LSB-sending home bus 8, the order of the self address and the priority on the bus do not necessarily match. Therefore, the conversion circuit 9 performs data conversion of the self address so that the self address set by the switch 4 matches the priority on the bus.

次に変換回路9を実現する具体的な回路を説明する。本
発明に係る変換回路9を実現する最も簡単な回路は、第
3図に示すように、自己アドレスを示すデータ(Sφ−
S7)の順序を逆にしてCPUのデータバス(Dφ−D
7)に接続する回路である。すなわち、自己アドレスを
示すSφビットをCPUデータバスのD7ビットに、自
己アドレスのS1をCPUのD6に、という具合に接続
するわけである。従って例えば、第3図の場合にはスイ
ッチ4によって自己アドレスを53Hと設定している
が、CPUは変換されたCAHを認識し、ホームバス8
へ送出するパケット先頭の自己アドレスはCAHとする
わけである。このように変換を行なった場合のホームバ
ス8上における設定自己アドレスと優先度との関係は、
表2に示すようになり、自己アドレスの順番と優先順位
とが一致する。
Next, a specific circuit that realizes the conversion circuit 9 will be described. The simplest circuit that realizes the conversion circuit 9 according to the present invention is, as shown in FIG.
The data bus (Dφ-D) of the CPU is reversed by reversing the order of S7).
It is a circuit connected to 7). That is, the Sφ bit indicating the self address is connected to the D7 bit of the CPU data bus, the S1 bit of the self address is connected to the D6 of the CPU, and so on. Therefore, for example, in the case of FIG. 3, the self address is set to 53H by the switch 4, but the CPU recognizes the converted CAH, and the home bus 8
The self address at the beginning of the packet sent to is CAH. The relationship between the set self address on the home bus 8 and the priority when the conversion is performed in this way is as follows.
As shown in Table 2, the self-address order and the priority order match.

すなわち、自己アドレス00Hの優先度が1番高く、0
1Hが2番目、そして、FFHの優先度が1番低くなる
わけである。この第4図の変換回路は簡単に実現でき、
自己アドレスと相手アドレスを単に設定して情報を送る
だけのような単純なシステムでは非常に有効なものであ
る。しかしながら、CPU内部では変換後の自己アドレ
スを認識するために、この順番とバス上の優先度は必ず
しも一致していない。そこで自己アドレスを送信アドレ
スとの優先度を比較して送信を行なう場合などには、C
PUは複雑な処理が必要となる。第4図は、この問題を
解決する本発明の別の実施例である。
That is, the self-address 00H has the highest priority, 0
1H is second, and FFH has the lowest priority. The conversion circuit of FIG. 4 can be easily realized,
It is very effective in a simple system in which the self address and the other party address are simply set and information is sent. However, this order is not necessarily the same as the priority on the bus because the converted self address is recognized inside the CPU. Therefore, when transmitting by comparing the priority of the self address with the transmission address, C
PU requires complicated processing. FIG. 4 is another embodiment of the present invention which solves this problem.

第4図において、10,11は3ステートバッファ,12はイ
ンバータ,13はCPUからの変換回路9の制御信号であ
る。制御信号13を「H」にして、バッファ10を選択した
場合には、第3図と同様の動作となる。一方、制御信号
13を「L」にして、バッファ11を選択した場合、CPU
は設定した自己アドレスをそのまま読み込むため、CP
U内部において自己アドレスと優先度の関係を一致させ
ることができる。そこで、ホームバス上にデータを送信
する場合の自己アドレスには、制御信号13を「H」にし
て読み取った値を用い、CPU内部における優先度の比
較やその演算等には制御信号13を「L」にして読み取っ
た値を用いれば良いのである。
In FIG. 4, 10 and 11 are 3-state buffers, 12 is an inverter, and 13 is a control signal of the conversion circuit 9 from the CPU. When the control signal 13 is set to "H" and the buffer 10 is selected, the same operation as in FIG. 3 is performed. Meanwhile, the control signal
When 13 is set to "L" and buffer 11 is selected, CPU
Reads the set self address as it is, so CP
It is possible to match the relationship between the self address and the priority inside the U. Therefore, the value read with the control signal 13 set to "H" is used for the self address when transmitting data on the home bus, and the control signal 13 is used for the comparison of priority inside the CPU and its calculation. It is only necessary to use the value read as "L".

第5図は、変換回路9としてのROM(Read Only Memo
ry)を用いた場合の実施例である。図は、512バイト
のROM(例えば、NEC製μPB425Cなど)を用
いた場合で、スイッチ4で設定された自己アドレスをR
OMのアドレス端子(Aφ〜A7)に接続する。ROM
には、予め自己アドレスに対応する優先度を持つデータ
を記録しておけばよく、例えば、第4図と同じ変換を行
なうためには、表3に示すような内容を書いておけばよ
いのである。すなわち、アドレスの前半(000H〜0
FFH)にはアドレスの下位8ビットの値をそのまま書
き、後半には(100H〜1FFH)アドレスの下位8
ビットのビット列の順番を逆にして値を書いておくので
ある。このように変換回路9としてROMを用いた場合
には、その内容によって自己アドレスと優先度の関係を
任意に設定することできる。さらに、ROMの代わりに
RAM(Random Access Memory)を用いれば、自己アド
レスと優先度の関係をCPUから自由に設定したり、変
更したりすることも可能である。この場合、装置1(例
えば煙感知器)と装置2(例えば、テレビ)がバスに接
続されており、装置1の優先順位を高くするには、自己
アドレス設定用スイッチで装置1と設定すると、送信す
る自己アドレスが80Hと変換する。また装置2にスイ
ッチを設定すると、自己アドレスが80Hよりも優先度
の低い20Hに変換することなどが容易に実現できる。
なお、第5図では512バイトのメモリを用いたが、表
2と同じ機能を実現するだけであれば256バイトのメ
モリでよい。また、第4図においてデータを変換するバ
ッファ10側にのみ256バイトのメモリを使ってもよ
い。
FIG. 5 shows a ROM (Read Only Memo) as the conversion circuit 9.
This is an example in which ry) is used. The figure shows the case where a 512-byte ROM (for example, NEC μPB425C) is used, and the self address set by the switch 4 is R
It is connected to the address terminals (Aφ to A7) of the OM. ROM
In this case, the data having the priority corresponding to the self address may be recorded in advance. For example, in order to perform the same conversion as in FIG. 4, the contents as shown in Table 3 may be written. is there. That is, the first half of the address (000H to 0
The lower 8 bits of the address are written as they are in FFH), and the lower 8 bits of the address (100H to 1FFH) are written in the latter half.
The value is written by reversing the order of the bit string of bits. When the ROM is used as the conversion circuit 9 as described above, the relationship between the self-address and the priority can be arbitrarily set depending on the contents. Further, if a RAM (Random Access Memory) is used instead of the ROM, the relationship between the self address and the priority can be freely set or changed by the CPU. In this case, the device 1 (for example, smoke detector) and the device 2 (for example, TV) are connected to the bus, and in order to increase the priority of the device 1, if the device 1 is set by the self address setting switch, The transmitted self address is converted to 80H. Further, when a switch is set in the device 2, it is possible to easily realize that the self address is converted into 20H having a lower priority than 80H.
Although a 512-byte memory is used in FIG. 5, a 256-byte memory may be used as long as it realizes the same function as in Table 2. Further, a memory of 256 bytes may be used only on the buffer 10 side for converting data in FIG.

さて、以上の実施例はハードウエアによって自己アドレ
スのデータ変換を行なう例を示したが、これは演算処理
装置を用い、ソフトウエアによって変換を行なってもよ
い。その場合、演算処理装置はCPU1を用いてもよい
し、変換専用に演算処理装置を別に設けてもよい。ソフ
トウエアによって変換を行なう方法には大きく分けて2
つの方法がある。その1つは変換テーブルを持ってそれ
を参照する方法、他の1つは変換の規則(例えば、ビッ
ト列の順序を逆にするなど)に従って直接変換する方法
である。第6図は、変換テーブルを参照して変換を行な
う場合のフローチャートを示した図で、表4はその変換
テーブルの例を示した図である。例えば、自己アドレス
が53の場合、表4の変換テーブルから直ちにCAとい
う値に変換される。第7図は、ビット列の順序を直接変
換する場合のフローチャートを示したものである。これ
は、自己アドレスをAに読み込み、このAの下位から順
に1ビットずつ取り出し、Bの上位から順に入れて、ビ
ット列の順序を逆にする方法で、この操作は、例えば、
演算処理装置として日立製HD6809を用いた場合に
は、ASRAとROLBという命令を用いて実現するこ
とができる。
Although the above embodiment has shown the example in which the data conversion of the self-address is performed by hardware, the conversion may be performed by software using an arithmetic processing unit. In this case, the CPU 1 may be used as the arithmetic processing device, or the arithmetic processing device may be separately provided for conversion. The conversion method by software is roughly divided into 2
There are two ways. One is a method of holding a conversion table and referencing it, and the other is a method of directly converting according to a conversion rule (for example, reversing the order of bit strings). FIG. 6 is a diagram showing a flow chart in the case of performing conversion by referring to the conversion table, and Table 4 is a diagram showing an example of the conversion table. For example, when the self-address is 53, the conversion table of Table 4 is immediately converted to the value CA. FIG. 7 shows a flowchart for directly converting the order of bit strings. This is a method of reading the self-address into A, extracting one bit at a time from the lower order of A, putting it in order from the higher order of B, and reversing the order of the bit string.
When Hitachi HD6809 is used as the arithmetic processing unit, it can be realized by using the commands ASRA and ROLB.

なお、第3図において、演算処理装置1とシリアルイン
ターフェース回路2,バス制御回路3,バッファ5を1
チップのマイクロコンピュータ(例えば、日立製HD6
801,HD6805等)で実現することもできる。そ
して、自己アドレスのデータ変換をソフトウエアで行な
う場合には、この1チップのマイクロコンピュータを使
うことも可能である。
In FIG. 3, the arithmetic processing unit 1, the serial interface circuit 2, the bus control circuit 3, and the buffer 5 are shown as 1
Chip microcomputer (eg Hitachi HD6
801, HD6805, etc.). When the data conversion of the self address is performed by software, it is possible to use this one-chip microcomputer.

以上、本発明の実施例について、変換回路をスイッチ4
と3ステートバッファ5の間に設けた場合と、演算処理
装置で行なう場合について詳細に述べたが、変換回路9
の中に3ステートバッファ5の機能を取り込んでもよい
ことは言うまでもないことであり、要は、ホームバスと
自己アドレス設定用スイッチの間に、設定したアドレス
の順番とバス上の優先順位を一致させる変換手段を設け
ればよいのである。また、以上の例ではホームバスに限
って説明したが、これは複数の装置が同時に送信可能な
他の伝送媒体にも適用可能なものである。
As described above, in the embodiment of the present invention, the conversion circuit is the switch 4
The case where the conversion circuit 9 is provided between the three-state buffer 5 and the three-state buffer 5 and the case where the arithmetic processing device performs the conversion circuit 9
Needless to say, the function of the three-state buffer 5 may be incorporated in the memory. The point is that the order of the set addresses and the priority on the bus are matched between the home bus and the self-address setting switch. The conversion means should be provided. Further, in the above example, the description is limited to the home bus, but this is also applicable to other transmission media that can be simultaneously transmitted by a plurality of devices.

〔発明の効果〕〔The invention's effect〕

本発明によれば、自己アドレスを用いて送信制御を行う
システムにおいて、自己アドレスの順番と伝送媒体上で
の優先の順番とを一致させることができるので、ユーザ
が装置の自己アドレスを設定する際に、いちいち自己ア
ドレスと優先度との対応表などを見なくとも、自己アド
レスの大小だけを考えて設定すれば良く、間違えの少な
い装置を提供することができる。
According to the present invention, in a system in which transmission control is performed using a self-address, the order of self-addresses and the order of priority on a transmission medium can be matched, so that when a user sets a self-address of a device. Moreover, it is sufficient to set only the size of the self-address in consideration of the correspondence table between the self-address and the priority, and a device with few mistakes can be provided.

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

第1図は従来技術による通信制御装置を示すブロック
図、第2図は本発明による通信制御装置を示すブロック
図、第3図,第4図,第5図は本発明に係るデータ変換
回路の具体的実施例を示したブロック図、第6図と第7
図は本発明を演算処理装置で実施する場合のフローチャ
ート図である。 1……演算処理装置、 2……シリアルインターフェース回路、 3……送信制御回路、 4……スイッチ、 5……3ステートバッファ、 8……バスライン、 9……変換回路。
FIG. 1 is a block diagram showing a communication control device according to the prior art, FIG. 2 is a block diagram showing a communication control device according to the present invention, and FIGS. 3, 4, and 5 are data conversion circuits according to the present invention. Block diagrams showing a specific embodiment, FIGS. 6 and 7
The figure is a flow chart when the present invention is implemented in an arithmetic processing unit. 1 ... Arithmetic processing device, 2 ... Serial interface circuit, 3 ... Transmission control circuit, 4 ... Switch, 5 ... 3-state buffer, 8 ... Bus line, 9 ... Conversion circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】自己アドレスを設定するアドレス設定手段
と、前記自己アドレスをデータに付加しパケットを構成
する制御手段と、 前記パケットの情報を最下位ビット優先で直並列変換し
て信号“1”よりも“0”が優先されるように複数の装
置が接続される伝送媒体に入出力する直並列変換インタ
ーフェイス手段と、 前記伝送媒体上で伝送中のパケットの伝送自己アドレス
と前記自己アドレスを1ビットずつ比較し、当該1ビッ
トにおいて前記自己アドレスが伝送自己アドレスと異な
る場合には、前記伝送中のパケットの自己アドレスの優
先順位が自己の装置の自己アドレスより高いと判断し、
前記直並列変換インターフェイス手段からの伝送媒体へ
の出力を中止する衝突検出手段を有する通信制御装置に
おいて、 前記アドレス設定手段と前記直並列変換インターフェイ
ス手段の間に、前記アドレス設定手段により設定された
アドレスを予め定めたアドレスに変換する変換手段を設
け、 該変換手段により変換したアドレスを伝送時の自己アド
レスとして前記直並列変換インターフェイス手段を介し
て、前記伝送媒体に出力することを特徴とする通信制御
装置。
1. An address setting means for setting a self-address, a control means for adding the self-address to data to form a packet, and serial-parallel conversion of the information of the packet with the least significant bit priority, and a signal "1". Serial / parallel conversion interface means for inputting / outputting to / from a transmission medium to which a plurality of devices are connected so that “0” is prioritized, and the transmission self-address and the self-address of a packet being transmitted on the transmission medium are set to 1 Bit-by-bit comparison, and if the self-address differs from the transmission self-address in the 1 bit, it is determined that the priority of the self-address of the packet being transmitted is higher than the self-address of the self device,
In a communication control device having collision detection means for stopping output from the serial-parallel conversion interface means to a transmission medium, an address set by the address setting means between the address setting means and the serial-parallel conversion interface means Is provided to the transmission medium via the serial-parallel conversion interface means, and the address converted by the conversion means is provided as a self-address during transmission. apparatus.
JP59081795A 1984-04-25 1984-04-25 Communication control device Expired - Lifetime JPH067652B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59081795A JPH067652B2 (en) 1984-04-25 1984-04-25 Communication control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59081795A JPH067652B2 (en) 1984-04-25 1984-04-25 Communication control device

Publications (2)

Publication Number Publication Date
JPS60226244A JPS60226244A (en) 1985-11-11
JPH067652B2 true JPH067652B2 (en) 1994-01-26

Family

ID=13756422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59081795A Expired - Lifetime JPH067652B2 (en) 1984-04-25 1984-04-25 Communication control device

Country Status (1)

Country Link
JP (1) JPH067652B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6424538A (en) * 1987-07-20 1989-01-26 Matsushita Electric Ind Co Ltd Communication control system
JPH02228842A (en) * 1989-03-02 1990-09-11 Mitsubishi Electric Corp Communication system for home control system

Also Published As

Publication number Publication date
JPS60226244A (en) 1985-11-11

Similar Documents

Publication Publication Date Title
CA1218436A (en) Data transmitting and receiving apparatus
TWI321734B (en) A serial bus device with address assignment by a master device
JPH067652B2 (en) Communication control device
US5394438A (en) Data transmitting method
CN111404569A (en) Efficient single-wire communication method between single-chip microcomputers
JPH06204989A (en) Data communication equipment
JP2829550B2 (en) Communication control LSI
JP5364641B2 (en) Information processing device
JP4378799B2 (en) Digital data input / output device
JP2601453Y2 (en) Serial communication system
KR101307746B1 (en) Method for Processing of Data in Mobile Terminal
JPH03209941A (en) Data transmitting method
JPH0511589U (en) Communication controller
JP2778472B2 (en) Data processing device
JPH06103898B2 (en) Parallel transmission method using functions for serial transmission
JP2796726B2 (en) Data processing device
JPH0440721A (en) Control circuit for recognition of address
JPH0337222B2 (en)
JP2009177347A (en) Communication equipment and communication method
JPH0444156A (en) Transfer data generating device
JP2000183864A (en) Data communication system
JPH06205008A (en) Communicating method
JPH0821940B2 (en) Data transmission method
JP2002073430A (en) Device and method for transmitting error message
JPS6055731A (en) Detection for data transmission error