JPS6218848A - Data transmitter - Google Patents

Data transmitter

Info

Publication number
JPS6218848A
JPS6218848A JP15967585A JP15967585A JPS6218848A JP S6218848 A JPS6218848 A JP S6218848A JP 15967585 A JP15967585 A JP 15967585A JP 15967585 A JP15967585 A JP 15967585A JP S6218848 A JPS6218848 A JP S6218848A
Authority
JP
Japan
Prior art keywords
signal
data
input
data transmission
devices
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.)
Granted
Application number
JP15967585A
Other languages
Japanese (ja)
Other versions
JPH0567094B2 (en
Inventor
Yukiya Higuchi
行弥 樋口
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP15967585A priority Critical patent/JPS6218848A/en
Publication of JPS6218848A publication Critical patent/JPS6218848A/en
Publication of JPH0567094B2 publication Critical patent/JPH0567094B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To constitution an interface between devices which have a computer internally to be connected and to reduce the cost of a transmitter by connecting respective input/output means with the same functions of the devices by the same buses. CONSTITUTION:A device 1 which has a computer internally is provided with an input port 2a and an output port 26 for a /REQ signal (data transmission request signal), an input port 3a and an output port 3b for an RDY signal (data reception preparation signal), an input port 4a and an output port 4b for a /STB signal (data transmission signal), and an input port 5a and an output port 5b for an ACK signal (data reception acknowledge signal). The corresponding input/output parts of this device 1 and a device 5 having the same functions are connected mutually by buses 16-23. The device 15 makes the RDY signal into inactive w1 to read final data and then makes the ACK signal into active y1. The device 15, on the other hand, reads said data and then judges whether there is an error in transmission or not.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、コンピュータを備えた装置間のデータ伝送を
行うデータの伝送装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission device for transmitting data between devices equipped with computers.

〔従来技術〕[Prior art]

従来、コンピュータを備えた装置間におけるデータの伝
送には、標準ディジタルバスであるIEEE−488が
用いられていた。
Conventionally, the standard digital bus IEEE-488 has been used to transmit data between devices equipped with computers.

ところが、上記のバスは、計測器向けの汎用的なもので
あり、制御信号の種類が8種類というように、多種類必
要であるため論理構成が複雑であった。このため、上記
のバスを使用する装置のコストアンプを招来する等の欠
点を有していた。
However, the above-mentioned bus is a general-purpose bus for measuring instruments, and requires a large number of types of control signals, such as eight types, resulting in a complex logical configuration. For this reason, it has disadvantages such as increasing the cost of devices using the above-mentioned bus.

〔発明の目的〕[Purpose of the invention]

本発明は、上記従来の問題点を考慮してなされたもので
あって、論理構成を単純化することにより、接続される
装置間のインターフェイスが容易に構成でき、かつコス
トダウンを促すことができ、さらに、信頌性の高いデー
タ伝送を行うことができるデータの伝送装置の提供を目
的とするものである。
The present invention has been made in consideration of the above conventional problems, and by simplifying the logical configuration, it is possible to easily configure an interface between connected devices and to promote cost reduction. A further object of the present invention is to provide a data transmission device that can perform highly reliable data transmission.

〔発明の構成〕[Structure of the invention]

本発明のデータの伝送装置は、内部にコンピュータを有
する複数の装置に、バスの専有を求めるデータ送出要求
信号の入出力手段と、データの受け入れ準備の完了を知
らせるデータ受入準備信号の入出力手段と、データの送
出を知らせるデータ送出信号の入出力手段と、データの
受信を知らせ、かつデータ伝送の正誤により電圧が変化
するデータ受信認知信号の入出力手段を備え、上記複数
の装置の同一機能を有する各入出力手段同士を、各々同
一のバスにて接続し、データ伝送における信頼性の向上
及びコストダウンを促すことができるように構成したこ
とを特徴するものである。
The data transmission device of the present invention includes input/output means for sending a data sending request signal to a plurality of devices having internal computers to request exclusive use of a bus, and input/output means for sending a data acceptance preparation signal to notify completion of data acceptance preparation. , an input/output means for a data transmission signal that notifies data transmission, and an input/output means for a data reception recognition signal that notifies data reception and whose voltage changes depending on whether the data transmission is correct or incorrect, and which has the same function as that of the plurality of devices described above. The invention is characterized in that the respective input/output means having the above are connected to each other through the same bus, so that reliability in data transmission can be improved and costs can be reduced.

〔実施例〕〔Example〕

本発明の一実施例を第1図及び第2図に基づいて以下に
説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.

コンピュータの内蔵された装置1には、/REQ信号(
データ送出要求信号)の入力ポート2aと出力ボート2
b、RDY信号(データ受け入れ準備信号)の入力ポー
ト3aと出カポ−1−3b、/STB信号(データ送出
信号)の入力ポート4aと出力ポート4b及びACK信
号(データ受信認知信号)の入カポ−)5aと出力ポー
ト5bが設けられている。上記4種類の制御信号の各入
力ポートには、インバータ6・・・によりインパークバ
ッファが構成されており、上記の各出力ポートはトラン
ジスタ7・・・によりオープンコレクタ出力とされてい
る。上記入力ポート2aのインバータ6入力端と上記出
力ポート2bのトランジスタ7のコレクタとの接続部は
/REQ入出力入出止部8ており、これと同様に、RD
Y入出力部9、/STB入出力入出力及10CK入出入
出工部11けられている。また、装置1にはデータD0
 ・Dl・D2 ・D3の入力ポート12・・・、出力
ポート13・・・及び各入力ポート12と出力ポート1
3の接続部となるデータ入出力部14・・・が設けられ
ている。以上に説明した装置1は、この装置1と同様の
機能を有する装置15と、バス16〜23により各々対
応する人出力部同士が接続されている。
The device 1 with a built-in computer has a /REQ signal (
data transmission request signal) input port 2a and output port 2
b. Input port 3a and output port 1-3b for RDY signal (data acceptance preparation signal), input port 4a and output port 4b for /STB signal (data sending signal), and input port for ACK signal (data reception acknowledgment signal) -) 5a and an output port 5b. Each of the input ports for the four types of control signals has an impark buffer configured by an inverter 6, and each output port has an open collector output by a transistor 7. The connection between the input terminal of the inverter 6 of the input port 2a and the collector of the transistor 7 of the output port 2b is a /REQ input/output input/output section 8, and similarly, the RD
Y input/output unit 9, /STB input/output input/output and 10CK input/output unit 11 are provided. Also, data D0 is stored in device 1.
・Dl・D2 ・D3 input port 12..., output port 13... and each input port 12 and output port 1
A data input/output unit 14 . The device 1 described above has a device 15 having the same function as the device 1, and the corresponding human output units are connected to each other by buses 16 to 23.

上記のバス16〜23は複合抵抗24と接続されており
、この複合抵抗24により電圧を5■にプルアップされ
ている。このため、上記バス16〜23の電圧は通常H
4ghレベルとなっており、上記装置1・15のいずれ
かの制御信号がLowレベルとなればそのバスの電圧は
Lowレベルとなる。
The above-mentioned buses 16 to 23 are connected to a composite resistor 24, and the voltage is pulled up to 5cm by this composite resistor 24. Therefore, the voltage of the buses 16 to 23 is usually H.
4gh level, and when the control signal of any one of the devices 1 and 15 becomes Low level, the voltage of that bus becomes Low level.

上記の構成において、/REQ信号はデータを送出する
装置(ここでは装置1とする)からの、バス20〜23
の専有を要求するリクエスト信号であり、アクティブL
OWである。RDY信号はデータを受信する装置(ここ
では装置15とする)からのデータ受け入れ準備完了の
レディ信号であり、アクティブH4ghである。/ST
B信号は上記装置1からバス20〜23にデータを送出
したことを知らせるストローブ信号であり、アクティブ
Lowである。ACK信号は上記装置15がバス20〜
23からデータを受け入れたことを示すアクノリッジ信
号であり、アクティブHighである。
In the above configuration, the /REQ signal is transmitted from the bus 20 to 23 from the device that sends data (device 1 here).
This is a request signal requesting exclusive use of the active L
It is OW. The RDY signal is a ready signal indicating completion of data acceptance from a data receiving device (device 15 here), and is active H4gh. /ST
The B signal is a strobe signal that indicates that data has been sent from the device 1 to the buses 20 to 23, and is active Low. The ACK signal is sent to the bus 20 by the device 15.
This is an acknowledge signal indicating that data has been accepted from 23, and is active High.

上記装置1から上記装置15へのデータ伝送過程を第2
図により説明すると、上記装置lがらバス20〜23に
データが送出される際には、装置1にて/REQ信号が
非アクティブCがっ/STB信号が非アクティブbであ
ることが61!認され、上記/REQ信号がアクティブ
dにされる。装置15では上記/REQ信号がアクティ
ブeになったことを検知すると、ACK信号が非アクテ
ィブgにされる。また、上記装置15ではデータ受け入
れ’J= ONが完了したときにはRDY信号がアクテ
ィブrにされる。上記装置1では、上記RDY信号がア
クティブfかつ上記ACK信号が非アクティブhである
のを611 L’lすると、データの送出が開始され、
/STB信号がアクティブjにされる(これらの動作を
応答動作のとする)。上記装置15では、/STB信号
がアクティブにであることを確認してRDY信号を非ア
クティブiとし、上記データD0〜D3の読み込みが行
われ、ACK信号がアクティブβにされる。ここで、上
記装置15以外にも装置15と同様の、データを受信す
る装置が上記バス16〜23に接続されている場合には
、上記データを受信するすべての装置が上記データの読
み込みを完了し、上記ACK信号がアクティブpとされ
た場合にのみ、バス19のACK信号はアクティブlと
なる。即ち、上記装置1からのデータの伝達は非同期と
なり、上記データを受信する装置の処理速度に関係なく
確実に行われる。上記装置15では上記データの読み込
みが完了され、次に送られて来るデータの読み込み準備
が整えば、RDY信号がアクティブqにされる。上記装
置1ではACK信号がアクティブmであるのを確認した
後、/STB信号が非アクティブnにされる。上記装置
15では/STB信号が非アクティブOであることを確
認した後、ACK信号を非アクティブpにすることによ
り、上記装置1・15間における1単位のデータの送出
及び読み込みが完了する。さらに上記装置1からの送出
されるべきデータがある場合には、/REQ信号がアク
ティブrに維持され、前記応答動作■以後の動作が繰り
返される。一方、上記装置1からのデータ伝送を終了す
る場合には、最後に送出したデータの/STB信号がア
クティブt、にされると同時に、/REQ信号が非アク
ティブS1にされる。上記装置15では、/STB信号
がアクティブ■1かつ/REQ信号が非アクティブUで
あるのを検知すると、データ伝送の終了であると判断す
る。これにより、上記装置15では、RDY信号が非ア
クティブW1にされて、上記最後のデータの読み込みが
行われ、その後、ACK信号がアクティブyIにされる
。上記装置15では、上記データの読み込み終了後、こ
のデータ伝送の正誤が判断されその結果により以下の動
作が行われる。即ち、データが正である場合には、■に
示すように、ACK信号はアクティブy、に維持され、
RDY信号がアクティブZ、にされる。一方、データが
誤である場合には、■に示すように、RDY信号がアク
ティブz2にされ、このとき同時にACK信号が非アク
ティブy3にされる。つまり、伝送されたデータが1つ
でも誤であれば上記ACK信号は非アクティブy3にさ
れ、上記装置1に対しデータの誤伝達が報知される。上
記装置1では、上記装置2から送出されるRDY信号が
アクティブz2にされるときの上記ACK信号を読み込
むことにより、データ伝送の正誤が確認される。上記装
置1では上記ACK信号の読み込み終了時に、/STB
信号が非アクティブ*にされる。上記装置15では、上
記装置1の/STB信号が非アクティブ*にされたこと
を確認すると、上記ACK信号がアクティブ#にされ、
上記装置1と装置2間の応答動作が終了される。
The data transmission process from the device 1 to the device 15 is performed in a second manner.
To explain with a diagram, when data is sent from the device 1 to the buses 20 to 23, the /REQ signal in the device 1 is inactive C and the /STB signal is inactive b 61! The /REQ signal is made active. When the device 15 detects that the /REQ signal becomes active e, the ACK signal becomes inactive g. Further, in the device 15, when data acceptance 'J=ON is completed, the RDY signal is made active r. In the device 1, when the RDY signal is active f and the ACK signal is inactive h, data transmission is started.
The /STB signal is made active (these operations are considered response operations). The device 15 confirms that the /STB signal is active, sets the RDY signal to inactive i, reads the data D0 to D3, and sets the ACK signal to active β. Here, if other devices similar to the device 15 that receive data other than the device 15 are connected to the buses 16 to 23, all the devices that receive the data have completed reading the data. However, only when the ACK signal is set to active p, the ACK signal on the bus 19 becomes active l. That is, the data transmission from the device 1 is asynchronous and is performed reliably regardless of the processing speed of the device receiving the data. When the device 15 completes reading the data and is ready to read the next data, the RDY signal becomes active q. In the above device 1, after confirming that the ACK signal is active m, the /STB signal is made inactive n. In the device 15, after confirming that the /STB signal is inactive O, the ACK signal is made inactive P, thereby completing the sending and reading of one unit of data between the devices 1 and 15. Furthermore, if there is data to be sent from the device 1, the /REQ signal is kept active r, and the operations after the response operation ① are repeated. On the other hand, when data transmission from the device 1 is terminated, the /STB signal of the last transmitted data is made active t, and at the same time the /REQ signal is made inactive S1. When the device 15 detects that the /STB signal is active (1) and the /REQ signal is inactive (U), it determines that data transmission has ended. As a result, in the device 15, the RDY signal is made inactive W1, the last data is read, and then the ACK signal is made active yI. In the device 15, after reading the data, it is determined whether the data transmission is correct or not, and the following operations are performed depending on the result. That is, when the data is positive, the ACK signal is maintained at active y, as shown in ■.
The RDY signal is made active Z. On the other hand, if the data is incorrect, as shown in (3), the RDY signal is made active z2, and at the same time, the ACK signal is made inactive y3. That is, if even one of the transmitted data is erroneous, the ACK signal is made inactive y3, and the apparatus 1 is notified of the erroneous data transmission. In the device 1, the correctness of data transmission is confirmed by reading the ACK signal when the RDY signal sent from the device 2 is activated z2. In the device 1, when the reading of the ACK signal is finished, /STB
The signal is made inactive*. When the device 15 confirms that the /STB signal of the device 1 is made inactive*, the ACK signal is made active #,
The response operation between the devices 1 and 2 is completed.

尚、本実施例では、バス20〜23から成るデータバス
は3ステートの出力ボートとTTLレベルの入力ポート
が使用されており、一層回路が簡単になっている。また
、上記実施例では、内部にコンピュータを有する2つの
装置間での接続を示したが、上記の装置の数が増えても
、上記実施例と同様にそれぞれのバスに接続することに
より、それらの装置へのデータ伝送及びこの伝送データ
に対する返答動作を行うことができる。
In this embodiment, the data bus consisting of buses 20 to 23 uses a 3-state output port and a TTL level input port, which further simplifies the circuit. Further, in the above embodiment, connection between two devices each having a computer inside was shown, but even if the number of the above devices increases, they can be connected to each bus as in the above embodiment. It is possible to transmit data to the device and respond to the transmitted data.

〔発明の効果〕〔Effect of the invention〕

本発明のデータの伝送装置は、以上のように、データ送
出要求信号、データ受け入れ48備信号、データ送出信
号及びデータ受信認知信号の4種類′の制御信号により
データ伝送の制御を行い、上記データ受信認知信号によ
りデータ伝送の正誤を報知する構成である。これにより
、内部にコンピュータを有する複数の装置間のデータ伝
送の制御における論理構成が単純化されている。このた
め、上記制御信号を伝達するバスの数も4となり、少数
のバスにて賄うことができ、コストダウンを促すことが
できる。また、上記コンピュータを備えた装置間のイン
ターフェイスを容易に構成することができ、本データの
伝送装置に接続される装置の数が増加されても、上記イ
ンターフェイスを変更することな(対応できる。さらに
、伝送データの正誤の判断機能が備えられており信頼性
の高い装置が得られる等の効果を奏する。
As described above, the data transmission device of the present invention controls data transmission using four types of control signals: a data transmission request signal, a data acceptance signal, a data transmission signal, and a data reception acknowledgment signal. The configuration is such that a reception recognition signal notifies the correctness or incorrectness of data transmission. This simplifies the logical configuration for controlling data transmission between a plurality of devices each having an internal computer. For this reason, the number of buses for transmitting the control signals is also four, which can be achieved by a small number of buses and can promote cost reduction. Further, it is possible to easily configure an interface between devices equipped with the computer, and even if the number of devices connected to the data transmission device increases, the interface can be handled without changing the interface. , a highly reliable device is provided with a function to determine whether the transmitted data is correct or incorrect.

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

第1図は本発明の一実施例を示す回路図、第2図(a)
と(b)は第1図に示したデータの伝送装置におけるデ
ータ伝送時及び伝送データが正であったときの各制御信
号のタイムチャートと、上記伝送データが誤であったと
きの上記各制御信号のタイムチャー1・である。 1・15は装置、2a・3a・4a・5a・12は入力
ボート、2b・3b・4b・5b・13は出力ポート、
6はインバータ、7はトランジスタ、16〜23はバス
、24は複合抵抗である。
Fig. 1 is a circuit diagram showing an embodiment of the present invention, Fig. 2(a)
and (b) are time charts of each control signal during data transmission in the data transmission device shown in Figure 1 and when the transmitted data is positive, and each of the above controls when the transmitted data is incorrect. This is the signal time chart 1. 1 and 15 are devices, 2a, 3a, 4a, 5a, and 12 are input ports, and 2b, 3b, 4b, 5b, and 13 are output ports,
6 is an inverter, 7 is a transistor, 16 to 23 are buses, and 24 is a composite resistor.

Claims (1)

【特許請求の範囲】 1、内部にコンピュータを有する複数の装置に、バスの
専有を求めるデータ送出要求信号の入出力手段と、デー
タの受け入れ準備の完了を知らせるデータ受け入れ準備
信号の入出力手段と、データの送出を知らせるデータ送
出信号の入出力手段と、データの受信を知らせ、かつデ
ータ伝送の正誤により電圧が変化するデータ受信認知信
号の入出力手段とを備え、上記複数の装置の同一機能を
有する各入出力手段同士を、各々同一のバスにて接続し
たことを特徴とするデータの伝送装置。 2、上記のバスは、所定の電圧にプルアップされている
特許請求の範囲第1項記載のデータの伝送装置。
[Scope of Claims] 1. Input/output means for sending a data transmission request signal requesting exclusive use of a bus to a plurality of devices each having a computer therein, and input/output means for sending a data acceptance preparation signal to inform a plurality of devices that the preparation for accepting data is completed. , comprising an input/output means for a data sending signal that notifies the sending of data, and an input/output means for a data reception recognition signal that notifies the reception of data and whose voltage changes depending on whether the data transmission is correct or incorrect, and has the same function as the plurality of devices described above. 1. A data transmission device, characterized in that input/output means each having a plurality of input/output means are connected to each other by the same bus. 2. The data transmission device according to claim 1, wherein the bus is pulled up to a predetermined voltage.
JP15967585A 1985-07-17 1985-07-17 Data transmitter Granted JPS6218848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15967585A JPS6218848A (en) 1985-07-17 1985-07-17 Data transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15967585A JPS6218848A (en) 1985-07-17 1985-07-17 Data transmitter

Publications (2)

Publication Number Publication Date
JPS6218848A true JPS6218848A (en) 1987-01-27
JPH0567094B2 JPH0567094B2 (en) 1993-09-24

Family

ID=15698874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15967585A Granted JPS6218848A (en) 1985-07-17 1985-07-17 Data transmitter

Country Status (1)

Country Link
JP (1) JPS6218848A (en)

Also Published As

Publication number Publication date
JPH0567094B2 (en) 1993-09-24

Similar Documents

Publication Publication Date Title
US5471638A (en) Bus interface state machines with independent access to memory, processor and registers for concurrent processing of different types of requests
JPS6218848A (en) Data transmitter
JPS6218849A (en) Data transmitter
JP3134821B2 (en) Communications system
JPS60178561A (en) Standard digital interface device
JPH05216793A (en) Device and method for communication control
JP2739789B2 (en) Data transmission / reception system
KR0143933B1 (en) Interface control method and apparatus for bilateral communication between host and peripheral
JPS6127792B2 (en)
JPH0426903Y2 (en)
JP2734992B2 (en) Information processing device
CN115658585A (en) Master-slave alternative SPI communication method, master device, slave device and system
JPH05324545A (en) Bus controller
JPH03769Y2 (en)
JPS599324Y2 (en) multiprocessor device
JP2636003B2 (en) Data transfer control device
JPH03293856A (en) Image reader
JP2001043181A (en) Method for communication between microcomputers
JPH0318952A (en) Data processor
JPS6143364A (en) Interface controller
JPS61269762A (en) Communicating device between processor devices
JPH0566613B2 (en)
JPH0681158B2 (en) Data transfer control device
JPS6368958A (en) Data transfer equipment
JPS6240750B2 (en)

Legal Events

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