JPH0535513A - Bus adaptor - Google Patents
Bus adaptorInfo
- Publication number
- JPH0535513A JPH0535513A JP3189644A JP18964491A JPH0535513A JP H0535513 A JPH0535513 A JP H0535513A JP 3189644 A JP3189644 A JP 3189644A JP 18964491 A JP18964491 A JP 18964491A JP H0535513 A JPH0535513 A JP H0535513A
- Authority
- JP
- Japan
- Prior art keywords
- data
- crc
- function
- selector
- bus
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、バスアダプタに関し、
特にバスを通してデータをやりとりするバスアダプタに
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus adapter,
In particular, it relates to a bus adapter for exchanging data via a bus.
【0002】[0002]
【従来の技術】従来、1つのバスにCRC機能を有する
装置と、CRC機能を有しない装置とを混在して接続で
きる装置はなく、一般にはCRC機能を有する装置のみ
か、CRC機能を持たない装置のみでネットワークを構
築する必要があった。2. Description of the Related Art Conventionally, there is no device capable of mixing and connecting a device having a CRC function and a device having no CRC function on one bus. Generally, only a device having a CRC function or no CRC function is provided. It was necessary to build a network with only the devices.
【0003】[0003]
【発明が解決しようとする課題】上述した従来の技術で
は、1つのバスにCRC機能を有する装置と、CRC機
能を有しない装置を混在して接続することができないと
いう欠点があった。The above-mentioned conventional technique has a drawback in that it is not possible to connect a device having a CRC function and a device having no CRC function together on one bus.
【0004】[0004]
【課題を解決するための手段】本発明のバスアダプタ
は、バスにデータを転送するバスアダプタにおいて、巡
回冗長検査機能を有する装置にデータを転送する際に転
送データにCRCコードを付加し、CRC機能を有しな
い装置にデータを転送する際に転送データにCRCコー
ドを付加せずにデータを転送する手段と、CRC機能を
有する装置からデータを受け取る際にCRCコードのチ
ェックを行い、CRC機能を有しない装置からデータを
受け取る際にCRCのチェックを行わない手段とを備え
て構成される。According to the bus adapter of the present invention, in a bus adapter for transferring data to a bus, a CRC code is added to the transfer data when the data is transferred to a device having a cyclic redundancy check function. A means for transferring data without adding a CRC code to the transfer data when transferring the data to a device that does not have the function, and checking the CRC code when receiving the data from the device having the CRC function, and checking the CRC function. Means for not performing CRC check when receiving data from a device that does not have it.
【0005】[0005]
【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例の構成を示すブロック図で
ある。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
【0006】図1において10−0〜10−Nは下位バ
スに接続されているデバイスであって、主としてCRT
表示器,プリンタ,プロッタ,キーボード,フレキシブ
ルディスク,ハードディスクなどと接続されている。In FIG. 1, 10-0 to 10-N are devices connected to a lower bus, and are mainly CRTs.
It is connected to a display unit, printer, plotter, keyboard, flexible disk, hard disk, etc.
【0007】CRC制御部2は、CRC機能付デバイス
へのデータ転送時にそのデータにCRCコードを付加
し、CRC機能付デバイスからのデータ入力時に、CR
Cコードを用いて、データのチェックを行いデータ部か
らCRCコードの部分を除いたデータを信号線202を
通して選択器4に送出している。選択器3はデバイスへ
のデータ転送時にCRCコードを付加したデータを転送
するかCRCコードを付加しないデータを転送するかを
切り替える選択器4は、CRC機能付デバイスからのデ
ータ入力時にCRC制御部によりCRCコードの部分を
除いたデータを選択し、CRC機能なしデバイスからの
データ入力時に下位バスからのデータを選択している。The CRC control unit 2 adds a CRC code to the data at the time of transferring the data to the device with the CRC function, and when the data is input from the device with the CRC function, the CRC control unit 2
The data is checked by using the C code, and the data excluding the CRC code part from the data part is sent to the selector 4 through the signal line 202. The selector 3 switches between transferring data with a CRC code or transferring data without a CRC code at the time of data transfer to the device. The data excluding the CRC code is selected, and the data from the lower bus is selected when the data is input from the device without the CRC function.
【0008】ディップスイッチ5はデバイス10−0〜
10−NがそれぞれについてCRC機能を有するか有し
ないかに従ってセットされている。デバイスID認識部
1はディップスイッチ5によりデバイス10−0〜10
−NがCRC機能付であるがどうかを判断し、デバイス
へのデータ転送時に選択器3に切り替え指示を出し、デ
バイスからのデータ入力時に選択器4に切り替え指示を
出している。The dip switch 5 is a device 10-0.
10-N is set according to whether each has a CRC function. The device ID recognition unit 1 operates the devices 10-0 to 10-10 by the DIP switch 5.
It judges whether -N has a CRC function or not, and issues a switching instruction to the selector 3 when data is transferred to the device, and issues a switching instruction to the selector 4 when data is input from the device.
【0009】次に、CRC機能付デバイス10−0にデ
ータを転送する際の動作について簡単に説明する。ま
ず、デバイスID認識部1はディップスイッチ5により
デバイス10−0がCRC機能付デバイスであることを
認識する。CRC制御部2は、上位バス100からのデ
ータにCRCコードを付加し、信号線201を介して選
択器3に送出される。選択器3はデバイスID認識部1
の指示により信号線201からのCRCコード付データ
を選択し下位バス501へ送出する。Next, the operation of transferring data to the CRC function device 10-0 will be briefly described. First, the device ID recognition unit 1 recognizes that the device 10-0 is a device with a CRC function by using the DIP switch 5. The CRC control unit 2 adds a CRC code to the data from the upper bus 100 and sends it to the selector 3 via the signal line 201. Selector 3 is device ID recognition unit 1
The data with the CRC code from the signal line 201 is selected according to the above instruction and sent to the lower bus 501.
【0010】続いてCRC機能なしのデバイス10−1
にデータを転送する際の動作について簡単に説明する。
すなわち、デバイスID認識部4はディップスイッチ5
によりデバイス1がCRC機能なしデバイスであること
を認識する。そして選択器3はデバイスID認識部1の
指示により上位バス100からのデータを選択し、下位
バス501へ送出する。Subsequently, the device 10-1 without the CRC function
A brief description will be given of the operation when data is transferred to.
That is, the device ID recognition unit 4 uses the DIP switch 5
Recognizes that the device 1 is a device without a CRC function. Then, the selector 3 selects data from the upper bus 100 according to an instruction from the device ID recognition unit 1 and sends it to the lower bus 501.
【0011】更に、上位バス100と下位バス501と
の間のデータの転送方向が逆になった場合は、選択器3
の代りに選択器4を用いると共に信号線201の代りに
信号線202を、信号線301の代りに信号線401
を、それぞれ通る信号に置き替えれば明白となる。Further, when the data transfer direction between the upper bus 100 and the lower bus 501 is reversed, the selector 3
, The signal line 202 is used instead of the signal line 201, and the signal line 401 is used instead of the signal line 301.
Becomes clear by substituting each with a passing signal.
【0012】[0012]
【発明の効果】以上説明したように本発明は、転送デー
タにCRCコードを付加するか付加しないかを制御する
ことにより、一つのバス上にCRC機能を有する装置
と、CRC機能を有しない装置とを混在して接続するこ
とができるという効果がある。As described above, according to the present invention, by controlling whether or not the CRC code is added to the transfer data, the device having the CRC function and the device not having the CRC function on one bus. There is an effect that and can be mixed and connected.
【図1】本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
1 デバイスID認識部 2 CRC制御部 3,4 選択器 5 ディップスイッチ 10−0〜10−N デバイス 1 Device ID recognition unit 2 CRC control unit 3, 4 selector 5 DIP switch 10-0 to 10-N device
Claims (1)
おいて、巡回冗長検査(以下「CRC」という)機能を
有する装置にデータを転送する際に転送データにCRC
コードを付加し、CRC機能を有しない装置にデータを
転送する際に転送データにCRCコードを付加せずにデ
ータを転送する手段と、CRC機能を有する装置からデ
ータを受け取る際にCRCコードのチェックを行い、C
RC機能を有しない装置からデータを受け取る際にCR
Cのチェックを行わない手段とを備えて成ることを特徴
とするデータ転送装置。Claim: What is claimed is: 1. In a bus adapter for transferring data to a bus, CRC is transferred to the transfer data when the data is transferred to a device having a cyclic redundancy check (hereinafter referred to as "CRC") function.
A means for transferring data without adding the CRC code to the transfer data when adding the code and transferring the data to the apparatus having no CRC function, and checking the CRC code when receiving the data from the apparatus having the CRC function Do C
CR when receiving data from a device that does not have RC function
A data transfer device comprising means for not checking C.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3189644A JPH0535513A (en) | 1991-07-30 | 1991-07-30 | Bus adaptor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3189644A JPH0535513A (en) | 1991-07-30 | 1991-07-30 | Bus adaptor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0535513A true JPH0535513A (en) | 1993-02-12 |
Family
ID=16244765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3189644A Pending JPH0535513A (en) | 1991-07-30 | 1991-07-30 | Bus adaptor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0535513A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010134584A (en) * | 2008-12-03 | 2010-06-17 | Nec Corp | Device and method for memory management, and program |
-
1991
- 1991-07-30 JP JP3189644A patent/JPH0535513A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010134584A (en) * | 2008-12-03 | 2010-06-17 | Nec Corp | Device and method for memory management, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4545013A (en) | Enhanced communications network testing and control system | |
JPH0535513A (en) | Bus adaptor | |
JPH02287665A (en) | Interface module | |
JPH06119280A (en) | Data processor | |
JP2639340B2 (en) | Printer with network function | |
JPH02110625A (en) | Reading system for sort of printer | |
JPS633346B2 (en) | ||
JPH08263188A (en) | Keyboard control system | |
JPH0383674A (en) | Remote control changeover printer | |
JPS6143364A (en) | Interface controller | |
JPS5992653A (en) | Data transmitter | |
JPH04142648A (en) | Data transfer processing system | |
JPH0226493A (en) | Connection control system | |
JPS60136452A (en) | Stand-by switching control system | |
KR0123720B1 (en) | Data printing method | |
JPH02231830A (en) | Serial transmission controller | |
JPS59100948A (en) | Communication circuit system | |
JPH01303555A (en) | Computer system | |
JPH03252750A (en) | Interruption control circuit | |
JP2000227894A (en) | Data processor | |
JPH0643987A (en) | Key input controller | |
JPH02143355A (en) | Communication system between two work stations and computer | |
JPH03217937A (en) | Computer device | |
JPS62233827A (en) | Terminal control system | |
JPH0258946A (en) | Folding test control system for transmission line |