JPS63174156A - Multiplexer - Google Patents

Multiplexer

Info

Publication number
JPS63174156A
JPS63174156A JP717287A JP717287A JPS63174156A JP S63174156 A JPS63174156 A JP S63174156A JP 717287 A JP717287 A JP 717287A JP 717287 A JP717287 A JP 717287A JP S63174156 A JPS63174156 A JP S63174156A
Authority
JP
Japan
Prior art keywords
data
bit
host computer
multiplexer
bits
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
JP717287A
Other languages
Japanese (ja)
Inventor
Koji Sasaki
浩二 佐々木
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP717287A priority Critical patent/JPS63174156A/en
Publication of JPS63174156A publication Critical patent/JPS63174156A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To connect plural devices having a data format different from a host computer by providing a bit transforming means in a multiplexer and executing a bit operation. CONSTITUTION:It is assumed that the data of 6 bits in data bit length is outputted to the multiplexer 2 from the I/O device 41. The data is fetched to a buffer in a transmitting and receiving control part 26 through a transmitter- receiver 23, the format is checked and it is decided that it is normal, an interruption is informed to a CPU 3. The CPU 3 starts the bit transforming means 31 to add the dummy bit of 2 bits to the 6 bit data and have 8 bits. This 8 bit data is transmitted to the host computer 1 side through the transmitting and receiving control part 22, the transmitter-receiver 21. When the 8 bit data is applied from the host 1 to the I/O device 41, the dummy bit is removed from the 8 bit data in the bit transforming part 31 reversely to said processing procedure from the host 1 and the 6 bit data is transmitted to the I/O device 41 side.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、マイクロコンピュータ・システム等のI10
拡張用のマルチプレクサに関するものであり、特に1対
Nの通信機能の改善に関するものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention is applicable to I10 of microcomputer systems, etc.
The present invention relates to an expansion multiplexer, and particularly relates to improving one-to-N communication functions.

〈従来の技術〉 マイクロコンピュータ・システムのI10ポート、例え
ばR8232Cシリアル通信回線は、通常、入出力に1
ポートのみ持ちマルチポートを持たないため、複数個の
デバイスを接続するようなポート拡張に際しては外部に
切り換えスイッチ等のマルチプレクサを使用している。
<Prior art> The I10 port of a microcomputer system, for example, an R8232C serial communication line, usually has one input/output line.
Since it only has ports and does not have multi-ports, an external multiplexer such as a switch is used when expanding ports to connect multiple devices.

このマルチプレクサを用いてマイクロコンピュータ・シ
ステム即ちホスト計算機と複数個(N個)のデバイス(
例えばキーボード、マウス、タブレット等)を接続する
ことによって、I10拡張機能を実現し1対Nの通信を
行なっている。
Using this multiplexer, a microcomputer system, that is, a host computer and multiple (N) devices (
For example, by connecting a keyboard, mouse, tablet, etc., I10 extended functions are realized and one-to-N communication is performed.

〈発明が解決しようとする問題点〉 しかしながら、このような拡張ポートに接続されるデバ
イスは同一種類のものとは限らず、異なるデータ・フォ
ーマット(データ・ビット長)を有する異なる種類のデ
バイスを複数個接続する場合が多く、単純な切り換えス
イッチによるマルチプレクサでは対応することができな
かった。
<Problem to be solved by the invention> However, the devices connected to such an expansion port are not necessarily of the same type, and multiple devices of different types with different data formats (data bit lengths) may be connected. In many cases, a multiplexer using a simple changeover switch could not handle this problem.

本発明は以上の問題を解決し、ホスト計算機と異なるデ
ータ・フォーマットを有する複数個のデバイスとを接続
できるマルチプレクサを実現することを目的とする。
An object of the present invention is to solve the above problems and realize a multiplexer that can connect a host computer to a plurality of devices having different data formats.

〈問題を解決するための手段〉 上記の問題を解決した本発明の構成は次の通りである。<Means to solve the problem> The configuration of the present invention that solves the above problems is as follows.

即ち、ホスト計算機側インターフェイスを1ポート持ち
、デバイス側インターフェイスを複数(N個)ポート持
ち、1対Nの通信を行なうマルチプレクサにおいて、前
記複数個のデバイスから異なるデータ・ビット長のデー
タを入力してホスト計算機で処理できるデータ・ビット
長に変換し、ホスト計算機から前記複数個のデバイスへ
データを送信する際に各々のデバイスで処理できるデー
タ・ビット長に変換するビット変換手段を有することを
特徴とするマルチプレクサである。
That is, in a multiplexer that has one host computer side interface port and multiple (N) device side interface ports and performs 1-to-N communication, data of different data bit lengths are input from the plurality of devices. It is characterized by having a bit conversion means for converting data into a data bit length that can be processed by the host computer, and converting the data into a data bit length that can be processed by each device when transmitting data from the host computer to the plurality of devices. It is a multiplexer that

く作用〉 本発明のマルチプレクサは、ビット操作を行なうことに
より、異なるデータ・ビット長を持つ複数個のデバイス
からのデータをホスト計算機が処理できるビット長に変
換し、ホスト計算機からの出力データを各々のデバイス
で処理できるビット長に変換する。
Function> By performing bit operations, the multiplexer of the present invention converts data from multiple devices having different data bit lengths into bit lengths that can be processed by the host computer, and converts the output data from the host computer into a bit length that can be processed by the host computer. Convert to a bit length that can be processed by the device.

〈実施例〉 図に本発明を実施したマルチプレクサの構成を表わす。<Example> The figure shows the configuration of a multiplexer implementing the present invention.

この図において、1は送受信器(送受信ドライバ/レシ
ーバ)10.送受信制御部12を有するマイクロコンピ
ュータ等のホスト計算機、2はホスト計算機1と8ビツ
ト・データを授受する本発明のI10拡張用マルチプレ
クサ、4+ 、42 。
In this figure, 1 is a transceiver (transceiver driver/receiver) 10. A host computer such as a microcomputer having a transmission/reception control section 12; 2 is an I10 expansion multiplexer 4+, 42 of the present invention for exchanging 8-bit data with the host computer 1;

43はそれぞれ異なるデータ・ビット長のデータを出力
する異なる種類のI10デバイス(例えばキーボード、
マウス、タブレット等)である。例えば、I10デバイ
ス41は6ビツト・データ、I10デバイス42は7ビ
ツト・データ、I10デバイス4コは8ビツト・データ
を取り扱うものとする。
43 are different types of I10 devices (e.g. keyboard,
mouse, tablet, etc.). For example, it is assumed that the I10 device 41 handles 6-bit data, the I10 device 42 handles 7-bit data, and the four I10 devices handle 8-bit data.

更に本発明のマルチプレクサ2は、ホスト計算機1との
8ビツト・データ送受信を行なうための送受信器21.
送受信制御部22、I10デバイス4+ 、42.43
とデータ送受信を行なうための送受信器23.24.2
5、送受信制御部26゜2y、2s及びCPIJ3を有
し、これらのブロックは内部バスbに接続される。CP
U3は、ROM、RAM等の記憶部とともにビット変換
部31を有している。
Furthermore, the multiplexer 2 of the present invention includes a transmitter/receiver 21 .
Transmission/reception control unit 22, I10 device 4+, 42.43
Transmitter/receiver for transmitting and receiving data 23.24.2
5. It has a transmission/reception control unit 26°2y, 2s and CPIJ3, and these blocks are connected to an internal bus b. C.P.
U3 has a bit conversion section 31 as well as a storage section such as ROM and RAM.

このように構成された本発明のマルチプレクサ2は次の
ように動作する。
The multiplexer 2 of the present invention configured as described above operates as follows.

例えばI10デバイス4電からデータ・ビット長6ビツ
トのデータがマルチプレクサ2に対して出力されたとす
る。このデータは送受信器23を介し、送受信制御部2
6内のバッファに取り込まれる。送受信制御部26では
このデータのフォーマットをチェックし、正常であると
判断するとCPU3に対して受信割り込みを通知する。
For example, assume that data with a data bit length of 6 bits is output from the I10 device 4 to the multiplexer 2. This data is transmitted via the transmitter/receiver 23 to the transmitter/receiver controller 2
It is taken into the buffer in 6. The transmission/reception control unit 26 checks the format of this data, and if it determines that it is normal, notifies the CPU 3 of a reception interrupt.

CPU3は受信割り込みを受は付けると、この割り込み
信号により内部のビット変換部3Iを起動し、この6ビ
ツト・データに2ピツトのダミー・ビットを付加して8
ビツトとする。通常、このダミー・ビットはMSB側に
付加する。それからこの8ビツト・データを送受信制御
部22.送受信器2Iを介してホスト計算機1側へ送出
し、この割り込み処理を終了する。
When the CPU 3 accepts the reception interrupt, it activates the internal bit converter 3I using this interrupt signal, adds 2 dummy bits to the 6-bit data, and converts the data into 8 bits.
Bit. Usually, this dummy bit is added to the MSB side. Then, this 8-bit data is sent to the transmission/reception control section 22. It is sent to the host computer 1 side via the transceiver 2I, and this interrupt processing is ended.

一方、ホスト計算機1よりI10デバイス4+に対して
8ビツト・データが与えられた場合には、上記の処理手
順とは逆にビット変換部3.t、:おいて、8ビツト・
データからダミー・ビットを取り除き、r10デバイス
41側へ6ビツト・データを送信する。
On the other hand, when 8-bit data is given from the host computer 1 to the I10 device 4+, the bit converter 3. t: 8-bit
Dummy bits are removed from the data and 6-bit data is sent to the r10 device 41 side.

また、ホスト計算機1と7ビツト・データを取り扱うI
10デバイス42とのデータ授受の際は、ビット変換部
31はこの7ビツト・データに1ビツトのダミー・ビッ
トを付加または除外して処理する。
In addition, host computer 1 and I handle 7-bit data.
When exchanging data with the 10-bit device 42, the bit converter 31 processes this 7-bit data by adding or excluding 1 dummy bit.

8ビツト・データを取り扱うI10デバイス43に対し
ては、ホスト計算機が取り扱うデータ長さ8ビツトと同
一であるのでビット変換は行なわない。
For the I10 device 43 that handles 8-bit data, no bit conversion is performed because the data length is the same as the 8-bit data handled by the host computer.

尚、ビット操作を行なうCPU3内のビット変換部3.
は、与えられたデータを、データ授受するI10デバイ
スの識別信号と割り込み信号によりホスト計算機または
I10デバイスで取り扱えるデータ長さに、変換するも
のであり、制御プログラムとしてCPU3に記憶格納し
てソフトウェア的に実現するのが有効である。
Note that the bit conversion unit 3. in the CPU 3 performs bit operations.
converts the given data into a data length that can be handled by the host computer or I10 device using the identification signal and interrupt signal of the I10 device that sends and receives the data, and it is stored in the CPU 3 as a control program and executed by software. It is effective to realize this.

以上のように、本発明のマルチプレクサは処理を行なう
デバイスに応じてデータ・ビット長を変化させるので、
異なるデータ・フォーマットを有するデバイスを複数個
接続しても1対Nの通信を行なうことができる。
As described above, since the multiplexer of the present invention changes the data bit length depending on the device that performs processing,
One-to-N communication can be performed even when a plurality of devices having different data formats are connected.

〈発明の効果〉 本発明のマルチプレクサは、ピット操作を行なうことに
より、異なるデータ・ビット長を持つ複数個のデバイス
からのデータをホスト計算機が処理できるビット長に変
換し、ホスト計算機からの出力データを各々のデバイス
で処理できるビット長に変換するので、ビット長さの異
なるデバイスからの回線に対して1対1のポートを用意
することなく、ホスト計算機と異なるデータ・フォーマ
ットを持つ複数個のデバイスとを接続できる。
<Effects of the Invention> By performing pit operations, the multiplexer of the present invention converts data from multiple devices having different data bit lengths into a bit length that can be processed by a host computer, and outputs data from the host computer. Since it converts the data into a bit length that can be processed by each device, there is no need to prepare one-to-one ports for lines from devices with different bit lengths, and it is possible to connect multiple devices with data formats different from that of the host computer. can be connected to

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

図は本発明を実施したマルチプレクサの構成を表わす図
である。 1・・・ホスト計算機、 1+ 、2+ 、23.2a、25・・・送受信器、1
2.22.2s、27.2s・・・送受信制御部、3・
・・CPU、3+・・・ビット変換部、4+ 、42.
43・・・I10デバイス、b・・・内部バス。
The figure is a diagram showing the configuration of a multiplexer implementing the present invention. 1...Host computer, 1+, 2+, 23.2a, 25...Transmitter/receiver, 1
2.22.2s, 27.2s...transmission/reception control unit, 3.
...CPU, 3+...Bit converter, 4+, 42.
43...I10 device, b...Internal bus.

Claims (1)

【特許請求の範囲】[Claims] ホスト計算機側インターフェイスを1ポート持ち、デバ
イス側インターフェイスを複数(N個)ポート持ち、1
対Nの通信を行なうマルチプレクサにおいて、前記複数
個のデバイスから異なるデータ・ビット長のデータを入
力してホスト計算機で処理できるデータ・ビット長に変
換し、ホスト計算機から前記複数個のデバイスへデータ
を送信する際に各々のデバイスで処理できるデータ・ビ
ット長に変換するビット変換手段を有することを特徴と
するマルチプレクサ。
It has one host computer side interface port, multiple (N) device side interface ports, and one
A multiplexer that performs pair-to-N communication inputs data with different data bit lengths from the plurality of devices, converts it into a data bit length that can be processed by the host computer, and transmits the data from the host computer to the plurality of devices. A multiplexer comprising bit conversion means for converting data into a data bit length that can be processed by each device during transmission.
JP717287A 1987-01-14 1987-01-14 Multiplexer Pending JPS63174156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP717287A JPS63174156A (en) 1987-01-14 1987-01-14 Multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP717287A JPS63174156A (en) 1987-01-14 1987-01-14 Multiplexer

Publications (1)

Publication Number Publication Date
JPS63174156A true JPS63174156A (en) 1988-07-18

Family

ID=11658661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP717287A Pending JPS63174156A (en) 1987-01-14 1987-01-14 Multiplexer

Country Status (1)

Country Link
JP (1) JPS63174156A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6029061A (en) * 1983-06-23 1985-02-14 Fujitsu Ltd Input/output controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6029061A (en) * 1983-06-23 1985-02-14 Fujitsu Ltd Input/output controller

Similar Documents

Publication Publication Date Title
JPS63174156A (en) Multiplexer
KR20050011563A (en) A system for transmitting data using universal serial bus
JPS61147332A (en) Code converter
JPH09237247A (en) Bus width converter and bus width conversion system device
KR200221933Y1 (en) Wire and wireless interfacing apparatus for computer
JP2630071B2 (en) Data transmission / reception method
JPS615361A (en) Communication interface circuit
JPH09282059A (en) Input/output device switch
JPH06231070A (en) Interface device
JPH0669978A (en) Inter-processor communication system
JPS6417142A (en) Computer communication system
JPH06138915A (en) Data transmission system for controller
KR0123720B1 (en) Data printing method
KR100258567B1 (en) Device for transmitting and receiving asynchronous transmission mode cell
KR100195184B1 (en) Interrupt encoder
JPS63147250A (en) Synchronizing dependent exchange control device
JPH0470951A (en) Method and circuit for inter-cpu communication
JPS63133253A (en) Data transmission device
JPH0443458B2 (en)
KR20030048576A (en) Connecting apparatus for computer peripheral equipment using wireless
JPH0498926A (en) Communication equipment
JPH02231616A (en) Keyboard device
JPS6395559A (en) Processor for array computer
JP2003015789A (en) Communication method based on usb specification and its system and wireless transmitter/receiver
JPH0496452A (en) Terminal communication control equipment