JPH02216522A - Printer with data transmission function - Google Patents

Printer with data transmission function

Info

Publication number
JPH02216522A
JPH02216522A JP1037546A JP3754689A JPH02216522A JP H02216522 A JPH02216522 A JP H02216522A JP 1037546 A JP1037546 A JP 1037546A JP 3754689 A JP3754689 A JP 3754689A JP H02216522 A JPH02216522 A JP H02216522A
Authority
JP
Japan
Prior art keywords
data
error detection
detection circuit
central processing
processing unit
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
JP1037546A
Other languages
Japanese (ja)
Inventor
Osamu Fujinawa
藤縄 修
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1037546A priority Critical patent/JPH02216522A/en
Publication of JPH02216522A publication Critical patent/JPH02216522A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To prevent the occurrence of erroneous printing and malfunction by adding constitution which detects errors when data is transmitted between a master and a slave and which retransmits data when there is the errors. CONSTITUTION:First and second error detection circuits 3 and 4 are added to a master central processing unit 1 and a slave central processing unit 2. The master unit 1 and the slave unit 2 transmit data through a data transmission line 6. Transmitted data are encoded in codes obtained by adding check bits for error detection to conventional data. When the error detection circuit 3 or the error detection circuit 4 detects the error of data, a retransmission control part 5 receives error detection signals from the error detection circuit 3, instructs the slave unit 2 of retransmission, receives the error detection signals from the error detection circuit 4 and instructs the master unit 1 of retransmission. Thus, the occurrence of erroneous printing and malfunction can be prevented.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は1文字編集を行なう中央処理装置(以下マスク
という)と印字動作を行なう中央処理装置(以下スレー
ブとhう)間のデータ伝送を、データの誤り検出と再送
により高信頼化したデータ伝送機構付きプリンタに関す
る。
[Detailed Description of the Invention] (Industrial Application Field) The present invention provides data transmission between a central processing unit that edits one character (hereinafter referred to as a mask) and a central processing unit that performs a printing operation (hereinafter referred to as a slave). , relates to a printer with a data transmission mechanism that is highly reliable through data error detection and retransmission.

(従来の技術) 従来、この檀のプリンタは、マスク、スレーブ間におけ
るデータ伝送の際の送受信データについては、それが正
しく伝送されたかどうかをチエツクする機mt−有する
ものはなかった。
(Prior Art) Conventionally, this type of printer has not had a mechanism for checking whether or not transmitted and received data is correctly transmitted during data transmission between a mask and a slave.

(発明が解決しようとする課題) 一般にプリンタは、装置内部に発生する非常に高い電圧
の静電気の影響を受けたとき、あるいは、長時間の印字
動作により発生し九高熱や、さらに過酷な環境下におけ
る電子機器パッケージ基板の経年変化による品質の劣化
があったときなど、装置内に雑音が発生しやすい。
(Problems to be Solved by the Invention) Printers are generally used when they are affected by very high voltage static electricity generated inside the device, or when they are exposed to extremely high temperatures caused by long-term printing operations or in harsh environments. When the quality of an electronic device package board deteriorates over time, noise is likely to occur within the device.

ところが従来のデータ伝送機構付きプリンタは、マスク
、スレーブ間に送受データのチェッり機構t−有してい
ないので、多量のデータ伝送を行なうと、そのデータの
内容の一部が変わることがあり、誤印字や誤動作の原因
となるという欠点がある。
However, conventional printers with a data transmission mechanism do not have a mechanism to check the data sent and received between the mask and the slave, so when a large amount of data is transmitted, part of the data may change. This has the disadvantage of causing printing errors and malfunctions.

本発明の目的はこのような欠点を解消し、マスク、スレ
ーブ間のデータ伝送の際に、送受信データのチエツクと
再送を行わせることにより、哄印字や誤動作が発生しな
いようにしたデータ伝送機能付きプリンタ管提供するこ
とKある。
The purpose of the present invention is to eliminate such drawbacks, and to provide a data transmission function that prevents printing and malfunctions by checking and retransmitting the transmitted and received data when transmitting data between the mask and the slave. There is a printer tube provided.

(課題を解決するための手段) 前記の目的を達成する丸め本発明のデータ伝送機構付き
プリンタは、文字編集を行なうマスタ1と、印字動作を
行なうスレーブ2を育するプリンタにおいて、マスタ1
とスレーブ2の間のデータ伝送を行なうとき、マスタ1
が受信したデータの誤りを検出する誤り検出回路3と、
スレーブ2が受信したデータの誤りを検出する誤り検出
回路4と、誤り検出回路3がデータの誤りを検出したと
きスレーブ2にデータの再送を指示し、誤り検出回路4
がデータの誤りt検出したときマスタlにデータの再送
を指示するデータ再送制御部5t−有する構成とする。
(Means for Solving the Problems) A printer with a data transmission mechanism of the present invention that achieves the above-mentioned object is a printer that develops a master 1 for character editing and a slave 2 for printing.
When transmitting data between master 1 and slave 2,
an error detection circuit 3 for detecting errors in data received by the
An error detection circuit 4 detects an error in data received by the slave 2, and an error detection circuit 4 that instructs the slave 2 to retransmit the data when the error detection circuit 3 detects an error in the data.
The data retransmission control unit 5t instructs the master l to retransmit data when it detects a data error t.

(実施例) つぎに1本発明について図面を参照して説明する。(Example) Next, one aspect of the present invention will be explained with reference to the drawings.

第1図は1本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

第1図に示すように、二つの中央処理装置マスタ1、ス
レーブ2には、それぞれ第1+7)i@り検出回路3と
第2の誤り検出回路4が附加されている。
As shown in FIG. 1, a first +7) i@ error detection circuit 3 and a second error detection circuit 4 are added to the two central processing units master 1 and slave 2, respectively.

マスタ1およびスレーブ2は、データ伝送路6會弁して
互いにデータ伝送を行なう。
The master 1 and slave 2 communicate with each other through a data transmission path 6 to transmit data to each other.

伝送されるデータは1本来のデータにいくつかの誤り検
出用の検査ビラトラ付加した符号に符号化しておく。
The data to be transmitted is encoded into a code in which several error detection check bits are added to one original data.

再送制御部5は、誤り検出回路3から誤り検出信号を受
けてスレーブ2に再送を指示し、誤り検出回路4から誤
り信号を受けてマスタlに再送を指示するため、マスタ
1、スレーブ2、誤り検出回路3および4のそれぞれに
接続されている。
The retransmission control unit 5 receives an error detection signal from the error detection circuit 3 and instructs the slave 2 to retransmit, and receives an error signal from the error detection circuit 4 and instructs the master l to retransmit. It is connected to each of the error detection circuits 3 and 4.

つぎに動作について説明する。Next, the operation will be explained.

第2図は、第1図の実施例により、マスタ1からスレー
ブ2にデータ伝送する場合の手*t−示す流れ図である
FIG. 2 is a flowchart showing steps for transmitting data from master 1 to slave 2 according to the embodiment of FIG.

第2図において、データ伝送が開始されるとステップ1
1においてマスタ11111から検査ビットの付加され
たデータを送出する。
In Figure 2, when data transmission starts, step 1
1, the master 11111 sends out data to which a check bit has been added.

ステップ12において、スレーブ211Jがその°デー
タを受信するが、そのときステップ13において誤り検
出回路4において受信データに誤りがあるかどうかを判
定する。もし、データに付加された検査ビットの状態か
ら誤りが検出されたときはステップ14に移行し、マス
タl側へデータ再送t−喪求する。
At step 12, the slave 211J receives the data, and at this time, at step 13, the error detection circuit 4 determines whether or not there is an error in the received data. If an error is detected from the state of the check bit added to the data, the process moves to step 14, and a data retransmission request is made to the master I side.

そこでステップ11C%つデータ再送の指示を受けたマ
スタlがデータの再送を行なう。
Then, in step 11C, the master l, which has received the instruction to retransmit the data, retransmits the data.

ステップ13において、もし受信データに誤り検出がな
いときはそのデータ伝送を終了し、ひきつづきマスタ1
は次のデータ全スレーブ2へ伝送する。
In step 13, if there is no error detection in the received data, the data transmission is terminated and the master 1
transmits the next data to all slaves 2.

(発明の効果) 以上説明したように本発明はプリンタ内蔵のマスク、ス
レーブ間のデータ伝送を行なうとき、誤り検出を行ない
、誤りがあれば再送させる構成を付加することにより、
二つの中央処理装置間のデータ伝送が高信頼化されるの
で、誤印字や誤動作が発生しにくいプリンタを提供する
ことかできるという効果がある。
(Effects of the Invention) As explained above, the present invention performs error detection when transmitting data between the printer's built-in mask and the slave, and by adding a configuration to retransmit if an error is detected,
Since data transmission between two central processing units is highly reliable, it is possible to provide a printer that is less likely to cause printing errors or malfunctions.

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

第1図は1本発明の一冥施例を示すブロック図である。 第2図は、第1図の実施例によりマスクからスレーブへ
データ伝送を行な9手順を示す流れ図である。 l・・・マスク(第1の中央処理装置)2・・・スレー
ブ(第2の中央処理装置)3・・・第1の誤り検出回路 4・・・第2の誤り検出回路 5・・・再送制御部 6・・・データ伝送路 12゜ 14・・・手順のステップ
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a flowchart showing nine steps for transmitting data from a mask to a slave according to the embodiment of FIG. l...Mask (first central processing unit) 2...Slave (second central processing unit) 3...First error detection circuit 4...Second error detection circuit 5... Retransmission control unit 6...Data transmission path 12゜14...Procedure steps

Claims (1)

【特許請求の範囲】[Claims] 文字編集を行なう第1の中央処理装置と、印字動作を行
なう第2の中央処理装置を有するプリンタにおいて、第
1の中央処理装置と第2の中央処理装置の間のデータ伝
送を行なうとき、第1の中央処理装置が受信したデータ
の誤りを検出する第1の誤り検出回路と、第2の中央処
理装置が受信したデータの誤りを検出する第2の誤り検
出回路と、第1の誤り検出回路がデータの誤りを検出し
たとき第2の中央処理装置にデータの再送を指示し、第
2の誤り検出回路がデータの誤りを検出したとき第1の
中央処理装置にデータの再送を指示するデータ再送制御
部を有することを特徴とするデータ伝送機構付きプリン
タ。
In a printer having a first central processing unit that performs character editing and a second central processing unit that performs printing operations, when data is transmitted between the first central processing unit and the second central processing unit, a first error detection circuit that detects errors in data received by the first central processing unit; a second error detection circuit that detects errors in data received by the second central processing unit; and a first error detection circuit. When the circuit detects a data error, it instructs the second central processing unit to retransmit the data, and when the second error detection circuit detects a data error, it instructs the first central processing unit to retransmit the data. A printer with a data transmission mechanism, characterized by having a data retransmission control section.
JP1037546A 1989-02-17 1989-02-17 Printer with data transmission function Pending JPH02216522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1037546A JPH02216522A (en) 1989-02-17 1989-02-17 Printer with data transmission function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1037546A JPH02216522A (en) 1989-02-17 1989-02-17 Printer with data transmission function

Publications (1)

Publication Number Publication Date
JPH02216522A true JPH02216522A (en) 1990-08-29

Family

ID=12500526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1037546A Pending JPH02216522A (en) 1989-02-17 1989-02-17 Printer with data transmission function

Country Status (1)

Country Link
JP (1) JPH02216522A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120846B2 (en) 1999-12-14 2006-10-10 Fujitsu Limited Data transmission device, data receiving device, data transfer device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120846B2 (en) 1999-12-14 2006-10-10 Fujitsu Limited Data transmission device, data receiving device, data transfer device and method

Similar Documents

Publication Publication Date Title
US4988990A (en) Dual master implied token communication system
JPS602813B2 (en) Computer-to-computer communication method and system
EP0024940B1 (en) Method and apparatus for transmission of serial data
EP0325078B1 (en) Mechanism for error detection and reporting on a synchronous bus
EP0130429B1 (en) Failure detection apparatus
JPH02216522A (en) Printer with data transmission function
JPH04326828A (en) Control circuit for half double/simplex interface in communication system
JPH0535616A (en) Data transfer system
KR100260988B1 (en) Baud rate generator
JPS62216440A (en) Communication control method
JP2940018B2 (en) Mounting position detection method
JP2555582B2 (en) CMI code error detection circuit
JPH11289318A (en) Serial data communication equipment and error check method therefor
JP2941266B1 (en) Encoder data output method for bus communication type encoder device
JPS6041839A (en) Loop type data transmission system
JPH02240753A (en) Asynchronous communication ic
JPH0637738A (en) Data transmission error control system
JPS63254839A (en) Fault diagnosing method for error detection circuit
JPH03123951A (en) Bus controller
JPS6361336A (en) Data error detecting system
JPH0683186B2 (en) Data communication method
JPH05300199A (en) Serial data transfer equipment
JPH0897803A (en) Data transmission system
JPH0154738B2 (en)
JPH03288935A (en) Error correcting device for information processor