JPH0531410U - Communication device - Google Patents

Communication device

Info

Publication number
JPH0531410U
JPH0531410U JP078593U JP7859391U JPH0531410U JP H0531410 U JPH0531410 U JP H0531410U JP 078593 U JP078593 U JP 078593U JP 7859391 U JP7859391 U JP 7859391U JP H0531410 U JPH0531410 U JP H0531410U
Authority
JP
Japan
Prior art keywords
communication
transmission
driver
transmission buffer
stage
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.)
Withdrawn
Application number
JP078593U
Other languages
Japanese (ja)
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.)
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 JP078593U priority Critical patent/JPH0531410U/en
Publication of JPH0531410U publication Critical patent/JPH0531410U/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)

Abstract

(57)【要約】 【目的】簡単な構成でユーザが意識することなく、送信
データを最後まで送信可能とする。 【構成】2段の送信バッファと、シリアルデータを通信
媒体に送出する通信ドライバと、シリアルデータを連続
的に送信するための通信制御を行う通信制御回路とを備
えた通信装置であって、通信ドライバにつながる第2段
目の送信バッファから送信完了信号を入力すると共に、
通信制御回路から送信終了指示信号とを入力し、両入力
信号に基づいて前記通信ドライバへ送信ディスエーブル
を指示する通信ドライバ制御手段を設けて構成される。
(57) [Summary] [Purpose] The transmission data can be transmitted to the end without the user's awareness with a simple configuration. A communication device comprising a two-stage transmission buffer, a communication driver for transmitting serial data to a communication medium, and a communication control circuit for performing communication control for continuously transmitting serial data, the communication device comprising: Input a transmission complete signal from the second stage transmission buffer connected to the driver,
A communication driver control means for inputting a transmission end instruction signal from the communication control circuit and for instructing the communication driver to disable transmission based on the both input signals is provided.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、クロック同期式のシリアル通信を行う通信装置に関し、更に詳しく は、送信動作停止時において、送信バッファに出力されないデータが残ってしま うということがなく、データを最後まで出力できるようにした通信装置に関する 。 The present invention relates to a communication device that performs clock-synchronous serial communication, and more specifically, enables data to be output to the end without leaving unoutput data in the transmission buffer when the transmission operation is stopped. Regarding communication equipment.

【0002】[0002]

【従来の技術】[Prior Art]

図6は、従来のクロック同期式のシリアル通信機能を有する通信装置の構成概 念図である。この装置は、通信制御回路1の出力側に、2段構成の送信データバ ッファ2,3が接続され、通信制御回路1からの送信データは、2つの送信デー タバッファ2,3を経て通信ドライバ4により、シリアルデータとして図示して ない通信媒体に連続的に送出できるように構成されている。すなわち、通信制御 回路1は、はじめに1段目の送信バッファ2にデータを書き込む。続いて、その データが2段目の送信バッファ3に転送される。これにより、1段目の送信バッ ファ1は空になるので、送信完了通知線5を経て通信制御回路1にそのことを通 知し、次の送信データの書き込みを要求するように構成されている。 FIG. 6 is a schematic diagram of the configuration of a communication device having a conventional clock-synchronous serial communication function. In this device, two-stage transmission data buffers 2 and 3 are connected to the output side of the communication control circuit 1, and the transmission data from the communication control circuit 1 passes through the two transmission data buffers 2 and 3 and the communication driver 4 With this, serial data can be continuously transmitted to a communication medium (not shown). That is, the communication control circuit 1 first writes data in the transmission buffer 2 in the first stage. Then, the data is transferred to the transmission buffer 3 in the second stage. As a result, the first-stage transmission buffer 1 becomes empty, so that the communication control circuit 1 is notified of this via the transmission completion notification line 5 and a request is made to write the next transmission data. There is.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかし、最終データを1段目の送信バッファ2へ書き込んだ後、送信完了が通 知され通信イネーブル線6を経て通信停止を指示すると、最後の送信データの一 部が送信されずに、2段目の送信バッファ3に残ってしまうという課題がある。 However, after writing the final data to the transmission buffer 2 in the first stage, when the completion of transmission is notified and the communication stop is instructed via the communication enable line 6, a part of the final transmission data is not transmitted and the second stage is not transmitted. There is a problem that the eye remains in the transmission buffer 3.

【0004】 本考案は、この様な点に鑑みてなされたもので、データの送信が最後のデータ まで確実に行えるシリアル通信装置を提供することを目的とする。The present invention has been made in view of the above circumstances, and an object thereof is to provide a serial communication device capable of reliably transmitting data up to the last data.

【0005】[0005]

【課題を解決するための手段】[Means for Solving the Problems]

この様な課題を解決する本考案は、 2段の送信バッファと、この2段の送信バッファからのシリアルデータを通信 媒体に送出する通信ドライバと、この通信ドライバからクロックに同期させたシ リアルデータを連続的に送信するための通信制御を行う通信制御回路とを備えた 通信装置であって、 前記通信ドライバにつながる第2段目の送信バッファから送信完了信号を入力 すると共に前記通信制御回路から送信終了指示信号を入力し、両入力信号に基づ いて前記通信ドライバへ送信ディスエーブルを指示する通信ドライバ制御手段を 設けたことを特徴とする通信装置である。 The present invention, which solves such a problem, has a two-stage transmission buffer, a communication driver for sending serial data from the two-stage transmission buffer to a communication medium, and serial data synchronized from this communication driver to a clock. And a communication control circuit for performing communication control for continuously transmitting data, wherein a transmission completion signal is input from a second-stage transmission buffer connected to the communication driver, and the communication control circuit A communication device is provided with communication driver control means for inputting a transmission end instruction signal and for instructing the communication driver to disable transmission based on both input signals.

【0006】[0006]

【作用】[Action]

通信ドライバ制御手段は、通信ドライバに対してその通信動作の終了を、通信 制御回路からの通信終了指令だけでは行わないで、第2段目の送信バッファの送 信完了通知が出力されるまでは送信動作を継続させるように通信ドライバに対し て指示する。 The communication driver control means does not end the communication operation with respect to the communication driver only by the communication end command from the communication control circuit, until the transmission completion notification of the second stage transmission buffer is output. Instruct the communication driver to continue the transmission operation.

【0007】 これにより、2段目の送信バッファに送信すべきデータが残ったまま送信動作 が終了しないようにする。This prevents the transmission operation from ending with the data to be transmitted remaining in the second-stage transmission buffer.

【0008】[0008]

【実施例】【Example】

以下図面を用いて本考案の実施例を詳細に説明する。 図1は、本考案の一実施例を示す構成ブロック図である。図において、図6の 従来装置の各部分と同じものには同一の符号を付してある。この実施例において 、2,3は2段に接続された送信バッファ、4は第2段目の送信バッファ3から のデータを通信媒体に送出する通信ドライバ、1は通信制御回路で、第1段目の 送信バッファ2から送信完了通知信号を受け、次のデータを第1段目の送信バッ ファに書込むように構成されており、これにより通信ドライバ4からクロックに 同期させたシリアルデータを、連続的に通信媒体に送信するように通信制御を行 っている。 Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a configuration block diagram showing an embodiment of the present invention. In the figure, the same parts as those of the conventional apparatus of FIG. 6 are designated by the same reference numerals. In this embodiment, 2 and 3 are transmission buffers connected in two stages, 4 is a communication driver for sending the data from the transmission buffer 3 in the second stage to a communication medium, 1 is a communication control circuit, and 1st stage It is configured to receive a transmission completion notification signal from the second transmission buffer 2 and write the next data to the first-stage transmission buffer, whereby serial data synchronized with the clock from the communication driver 4 is transferred. The communication is controlled so that it is continuously transmitted to the communication medium.

【0009】 7は本考案において特徴としている通信ドライバ4の制御手段で、通信ドライ バ4につながる第2段目の送信バッファ3から通知線8を経由して送信完了信号 を入力すると共に、通信制御回路1から指示線6を経由して送信終了指示信号と を入力し、両入力信号に基づいて通信ドライバ4へ送信ディスエーブルを指示す るように構成してある。Reference numeral 7 is a control means of the communication driver 4, which is a feature of the present invention, and inputs a transmission completion signal from the second-stage transmission buffer 3 connected to the communication driver 4 via the notification line 8 and performs communication. A transmission end instruction signal is input from the control circuit 1 via the instruction line 6, and the communication driver 4 is instructed to disable transmission based on both input signals.

【0010】 このように構成した装置の動作を説明すれば、以下の通りである。 図2は、通信制御回路1が行う通信制御動作を示すフローチャートである。先 ず、通信ドライバ制御手段7を経由して、通信ドライバ4をイネーブル状態に指 示する。この状態で、第1段目の送信バッファ2に最終データになるまでデータ を書込むと共に、送信バッファ2に書込んだデータの転送を行う。転送が完了す ると、通信ドライバ制御手段7に、通信ドライバ4の送信ディスエーブルを指示 する。The operation of the apparatus thus configured will be described below. FIG. 2 is a flowchart showing the communication control operation performed by the communication control circuit 1. First, the communication driver 4 is instructed to the enabled state via the communication driver control means 7. In this state, the data is written in the first stage transmission buffer 2 until the final data is reached, and the data written in the transmission buffer 2 is transferred. When the transfer is completed, the communication driver control means 7 is instructed to disable the transmission of the communication driver 4.

【0011】 図3は、第1段目の送信バッファ2の動作を示すフローチャートである。通信 制御回路1からの書き込みデータがあると、第2段目の送信バッファ3が空きか 判断し、空いている場合、書込まれたデータを順次第2段目の送信バッファ3へ 転送し、転送が完了すると、転送完了通知を通信制御回路1に送る。FIG. 3 is a flowchart showing the operation of the first-stage transmission buffer 2. When there is write data from the communication control circuit 1, it is judged whether or not the second-stage transmission buffer 3 is empty. If it is, the written data is sequentially transferred to the second-stage transmission buffer 3, When the transfer is completed, a transfer completion notification is sent to the communication control circuit 1.

【0012】 図4は、第2段目の送信バッファ3の動作を示すフローチャートである。第1 段目の送信バッファ2からデータが転送されている場合、それを1ビットずつシ リアルに通信ドライバ4を経由して通信媒体へ向けて送信を行う。全てのビット について送信が完了したとき、通信ドライバ制御手段7に対して送信完了通知を 送る。FIG. 4 is a flowchart showing the operation of the second-stage transmission buffer 3. When data is transferred from the transmission buffer 2 of the first stage, it is serially transmitted bit by bit toward the communication medium via the communication driver 4. When the transmission is completed for all the bits, a transmission completion notification is sent to the communication driver control means 7.

【0013】 図5は、通信ドライバ制御手段7の動作を示すフローチャートである。通信制 御回路1から送信イネーブル指示があると、送信イネーブル信号を通信ドライバ 4に出力する。これにより、第2段目の送信バッファ3からのシリアルデータが 通信媒体側に送信できるようになる。次に通信制御回路1からディスエーブル指 示があるか監視していて、その指示があれば次に、第2段目送信バッファ3から 送信完了通知がくるか監視している。そして、第2段目の送信バッファ3から送 信完了通知があった場合、送信ディスエーブルを通信ドライバ4に送り、通信ド ライバ4はこれを受けた時点で送信を停止する。すなわち、通信制御回路1から ディスエーブル指示があっても、第2段目の送信バッファ3の送信完了通知が出 力されるまでは送信動作が継続されるようになっている。FIG. 5 is a flowchart showing the operation of the communication driver control means 7. When a transmission enable instruction is given from the communication control circuit 1, a transmission enable signal is output to the communication driver 4. As a result, the serial data from the second-stage transmission buffer 3 can be transmitted to the communication medium side. Next, it is monitored whether there is a disable instruction from the communication control circuit 1, and if there is such an instruction, then it is monitored whether a transmission completion notification comes from the second stage transmission buffer 3. Then, when the transmission completion notification is sent from the second-stage transmission buffer 3, the transmission disable is sent to the communication driver 4, and the communication driver 4 stops the transmission at the time of receiving the notification. That is, even if the communication control circuit 1 gives a disable instruction, the transmission operation is continued until the transmission completion notification of the second stage transmission buffer 3 is output.

【0014】 このような動作により、2段目の送信バッファ3に送信すべきデータが残った まま送信動作が終了することはない。By such an operation, the transmission operation does not end with the data to be transmitted remaining in the transmission buffer 3 in the second stage.

【0015】[0015]

【考案の効果】[Effect of the device]

以上詳細に説明したように、本考案によれば、2段送信バッファを有する同期 式のシリアル通信装置において、第2段目の送信バッファからの送信完了信号と 、通信制御回路からの送信ディスエーブル信号とに応じて通信ドライバの動作を 制御する通信ドライバ制御手段を設けたもので、簡単な構成でユーザが意識する ことなく、送信データを最後まで送信可能な信頼性の高い通信装置を実現するこ とができる。 As described above in detail, according to the present invention, in the synchronous serial communication device having the two-stage transmission buffer, the transmission completion signal from the second-stage transmission buffer and the transmission disable signal from the communication control circuit are provided. A communication driver control unit that controls the operation of the communication driver according to the signal is provided, and a highly reliable communication device that can transmit the transmission data to the end without realizing the user with a simple configuration is realized. be able to.

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

【図1】本考案の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing an embodiment of the present invention.

【図2】通信制御回路が行う通信制御動作を示すフロー
チャートである。
FIG. 2 is a flowchart showing a communication control operation performed by a communication control circuit.

【図3】第1段目の送信バッファの動作を示すフローチ
ャートである。
FIG. 3 is a flowchart showing an operation of a first stage transmission buffer.

【図4】第2段目の送信バッファの動作を示すフローチ
ャートである。
FIG. 4 is a flowchart showing an operation of a second stage transmission buffer.

【図5】通信ドライバ制御手段の動作を示すフローチャ
ートである。
FIG. 5 is a flowchart showing the operation of the communication driver control means.

【図6】従来のクロック同期式のシリアル通信機能を有
する通信装置の構成概念図である。
FIG. 6 is a configuration conceptual diagram of a communication device having a conventional clock-synchronous serial communication function.

【符号の説明】[Explanation of symbols]

1 通信制御回路 2 第1段目の送信バッファ 3 第2段目の送信バッファ 4 通信ドライバ 7 通信ドライバ制御手段 1 Communication Control Circuit 2 First Stage Transmission Buffer 3 Second Stage Transmission Buffer 4 Communication Driver 7 Communication Driver Control Means

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 2段の送信バッファと、この2段の送信
バッファからのシリアルデータを通信媒体に送出する通
信ドライバと、この通信ドライバからクロックに同期さ
せたシリアルデータを連続的に送信するための通信制御
を行う通信制御回路とを備えた通信装置であって、 前記通信ドライバにつながる第2段目の送信バッファか
ら送信完了信号を入力すると共に前記通信制御回路から
送信終了指示信号を入力し、両入力信号に基づいて前記
通信ドライバへ送信ディスエーブルを指示する通信ドラ
イバ制御手段を設けたことを特徴とする通信装置。
1. A two-stage transmission buffer, a communication driver for sending serial data from the two-stage transmission buffer to a communication medium, and serial data synchronized with a clock from the communication driver. And a communication control circuit for controlling the communication of the communication device, wherein a transmission completion signal is input from a second-stage transmission buffer connected to the communication driver, and a transmission end instruction signal is input from the communication control circuit. A communication device comprising communication driver control means for instructing the communication driver to disable transmission based on both input signals.
JP078593U 1991-09-30 1991-09-30 Communication device Withdrawn JPH0531410U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP078593U JPH0531410U (en) 1991-09-30 1991-09-30 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP078593U JPH0531410U (en) 1991-09-30 1991-09-30 Communication device

Publications (1)

Publication Number Publication Date
JPH0531410U true JPH0531410U (en) 1993-04-23

Family

ID=13666209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP078593U Withdrawn JPH0531410U (en) 1991-09-30 1991-09-30 Communication device

Country Status (1)

Country Link
JP (1) JPH0531410U (en)

Similar Documents

Publication Publication Date Title
KR940018760A (en) Information transmission system and method between multiple buses
JP3559272B2 (en) Communication device using three-stage communication buffer
KR19990026343A (en) Adaptive Interface Circuitry for Serial and Serial Data Transmission
US6925505B2 (en) Method and device for data transmission control between IDE apparatuses
JPH05265898A (en) Automatic setting system for terminal equipment
JPS6282846A (en) Tracing system for line data
JPS5953743B2 (en) Communication control device
CN121210353A (en) An image VDMA controller based on the AXI4 bus interface
JP2576236B2 (en) Communication method of programmable controller
JPS6344268A (en) Two-way bus transfer system
JPS6284358A (en) Input-output device controlling system
KR100208280B1 (en) Data transmission device having a first-in first-out control
JPH01147939A (en) Robot control system
JPH0695700B2 (en) Data communication device
JPH10210084A (en) Data transceiver
JPH08314713A (en) Programming loader device
JPH01261707A (en) Programmable controller communication method
JPS5958526A (en) Communication control system
JPH0831016B2 (en) Auxiliary storage interface
KR20040078972A (en) Bidirectional data transmission apparatus and the method thereof for embedded system
JP2001136186A (en) Multiple communication equipment
JPH01180659A (en) Computer link unit for programmable controller
JPH04336726A (en) Data transmitter
JPH0179137U (en)
JPS61292446A (en) Transmission line control system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19951130