JPH0784811A - Terminal device with error position detecting function and host system - Google Patents

Terminal device with error position detecting function and host system

Info

Publication number
JPH0784811A
JPH0784811A JP5232819A JP23281993A JPH0784811A JP H0784811 A JPH0784811 A JP H0784811A JP 5232819 A JP5232819 A JP 5232819A JP 23281993 A JP23281993 A JP 23281993A JP H0784811 A JPH0784811 A JP H0784811A
Authority
JP
Japan
Prior art keywords
error
host system
data
error position
terminal device
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
JP5232819A
Other languages
Japanese (ja)
Inventor
Hitoshi Sato
仁 佐藤
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.)
Hitachi Ltd
Hitachi Plant Technologies Ltd
Original Assignee
Hitachi Techno Engineering Co Ltd
Hitachi Ltd
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 Hitachi Techno Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Techno Engineering Co Ltd
Priority to JP5232819A priority Critical patent/JPH0784811A/en
Publication of JPH0784811A publication Critical patent/JPH0784811A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To instantaneously know which part of the data of the host system should be corrected by sending detected error position information the number of bytes) as answer data for received data. CONSTITUTION:A line processing part 3 performs a receiving process for data sent from the host system and a transmitting process for information (fault information, error position information, etc.) reported from a device to the host system. An error position detection part 4 investigates the contents of the received data from the line processing part 3 and recognizes the position of an error in the form of the number of bytes from the head of the received data there is the error. A memory part 5 is used as a storage place for the error position information and various setting information as well as the received data. Then a display processing part 6 edits display data from the host data and makes a display part 1 perform actual display operation to performs a display process for the error position information and a print processing part 7 prints print data from the host data by a printing part 2 to perform a printing process for the error position information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、上位システムからの受
信データ誤り位置を検知する端末装置、及び端末装置か
らの受信データ誤り位置を検知する上位システムに適用
して好適な誤り位置検知機能付端末装置及び上位システ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention has an error position detection function suitable for application to a terminal device for detecting an error position of received data from a host system and a host system for detecting an error position of received data from a terminal device. The present invention relates to a terminal device and a host system.

【0002】[0002]

【従来の技術】従来の装置は、受信データの誤りは検知
できても、誤りの位置は検知できない、あるいはあるブ
ロック単位でしか検知できなかった。
2. Description of the Related Art A conventional apparatus can detect an error in received data but cannot detect an error position, or can detect only an error in a certain block unit.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術は、誤り
があることは検知できても、その位置が不明確なため、
上位システム側(または端末装置側)で端末装置(また
は上位システム)への送信データを修正する場合、人間
がデータの先頭から誤りがないかどうかを1バイトずつ
調べなければならず、修正すべき内容が不正確であり、
さらに修正に非常に手間がかかるという問題があった。
In the above-mentioned prior art, even though it is possible to detect an error, the position of the error is unclear.
When the transmission data to the terminal device (or the host system) is modified by the host system side (or the terminal device side), it is necessary for human beings to check whether there is any error from the beginning of the data, byte by byte, and it should be corrected. The content is incorrect,
Furthermore, there was a problem that it took a lot of time to fix.

【0004】本発明の目的は、これらの問題を解決する
ことにある。
The object of the present invention is to solve these problems.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明では端末装置(または上位システム)に受信
データ誤り位置検知機能を設け、さらにその誤り位置情
報を上位システム(または端末装置)へ応答データとし
て送信する、あるいは端末装置(または上位システム)
自身に印字する、あるいは端末装置(または上位システ
ム)自身に表示する機能を採用し、誤り位置の認識を可
能としたものである。
In order to achieve the above object, in the present invention, a terminal device (or host system) is provided with a reception data error position detection function, and the error position information is provided to the host system (or terminal device). To the terminal device (or host system)
The function of printing on itself or displaying on the terminal device (or host system) itself is adopted to enable recognition of an error position.

【0006】すなわち、本発明の特徴とするところは、
回線で上位システムと接続され、予め定めたフォーマッ
トのデータをオンラインで受信処理する端末装置におい
て、フォーマットの異常に伴う受信データの誤りを検知
し、当該誤り検知位置を受信データ先頭からのバイト数
をもって認識する誤り検知手段と、当該検知した誤り位
置情報(バイト数)を受信データの応答データとして上
位システムへ送信する送信手段とを具備したことを特徴
とする端末装置にある。
That is, the feature of the present invention is that
In a terminal device that is connected to a host system via a line and receives data in a predetermined format online, it detects an error in the received data due to a format error, and detects the error detection position with the number of bytes from the beginning of the received data. The terminal device is provided with an error detecting unit for recognizing and a transmitting unit for transmitting the detected error position information (the number of bytes) to the upper system as response data of the received data.

【0007】また、本発明の特徴とするところは、回線
で端末装置と接続され、予め定めたフォーマットのデー
タをオンラインで受信処理する上位システムにおいて、
フォーマットの異常に伴う受信データの誤りを検知し、
当該誤り検知位置を受信データ先頭からのバイト数をも
って認識する誤り検知手段と、当該検知した誤り位置情
報(バイト数)を受信データの応答データとして端末装
置へ送信する送信手段とを具備したことを特徴とする上
位システムにある。
Further, a feature of the present invention is that in a host system which is connected to a terminal device by a line and receives data of a predetermined format online,
Detects an error in the received data due to a format error,
An error detection means for recognizing the error detection position by the number of bytes from the head of the received data, and a transmission means for transmitting the detected error position information (number of bytes) to the terminal device as response data of the received data. It is a feature of the higher-level system.

【0008】[0008]

【作用】本発明が有している誤り位置検知機能は、上位
システム(または端末装置)からの受信データの誤り位
置を受信データ先頭からのバイト数で認識することがで
き、そのバイト数を上位システム(または端末装置)へ
応答データとして送信、あるいは端末装置(または上位
システム)自身へ印字、あるいは端末装置(または上位
システム)自身へ表示する機能と組み合わせることによ
り、上位システム(または端末装置)からの受信データ
のどこに誤りがあるのかが認識可能となる。
The error position detecting function of the present invention can recognize the error position of the received data from the host system (or the terminal device) by the number of bytes from the beginning of the received data, From the host system (or terminal device) by combining with the function to send it as response data to the system (or terminal device), print it on the terminal device (or host system) itself, or display it on the terminal device (or host system) itself It becomes possible to recognize where there is an error in the received data of.

【0009】[0009]

【実施例】以下、本発明の一実施例を図1から図5によ
り説明する。図2は本発明の実施例である情報表示装置
の外観である。装置前面には、フルットマトリクスLE
Dで構成される表示部1があり、上位システムからの情
報や、受信データ誤り位置情報を表示する。また、印字
部2は、上位システムからの情報や、受信データ誤り位
置情報を印字する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 2 is an external view of an information display device which is an embodiment of the present invention. Frutt matrix LE is on the front of the device.
There is a display unit 1 composed of D, which displays information from the host system and received data error position information. The printing unit 2 also prints information from the host system and received data error position information.

【0010】図1は情報表示装置のブロック図であり、
本図により装置内部の構成を説明する。回線処理部3
は、上位システムから送られてくるデータの受信処理、
及び装置から上位システムへ知らせる情報(障害情報、
誤り位置情報等)の送信処理を行う。誤り位置検知部4
は、回線処理部3からの受信データ内容を調査し、誤り
があればその位置を受信データ先頭からのバイト数をも
って認識する。メモリ部5は、受信データの格納の他、
誤り位置情報の格納、各種設定情報の記憶場所として用
いられる。表示処理部6は、上位システムからの表示デ
ータを編集し表示部1に実際に表示させる働きを持つ
他、誤り位置情報の表示処理も行う。印字処理部7は、
上位システムからの印字データを印字部2に実際に印字
させる働きを持他、誤り位置情報の印字処理も行う。操
作部8は、表示、印字内容の選択実行や装置の工注情報
等の設定をキーボード(装置内実装)で行うことができ
る機能を有している。電源装置9は、装置に必要な電源
を供給する。制御部10は、これら全体の制御を行って
いる。
FIG. 1 is a block diagram of an information display device.
The internal structure of the apparatus will be described with reference to this drawing. Line processing unit 3
Is the receiving process of the data sent from the host system,
And the information sent from the device to the host system (fault information,
Error position information) is transmitted. Error position detector 4
Examines the contents of the received data from the line processing unit 3, and if there is an error, recognizes the position by the number of bytes from the beginning of the received data. The memory unit 5 stores received data,
It is used as a storage place for error position information and a storage place for various setting information. The display processing unit 6 edits the display data from the host system and actually displays it on the display unit 1, and also performs the display process of the error position information. The print processing unit 7
Besides having the function of actually printing the print data from the host system on the printing unit 2, it also prints error position information. The operation unit 8 has a function of performing display, selection and execution of print contents, setting of work order information of the apparatus, and the like using a keyboard (installed in the apparatus). The power supply device 9 supplies necessary power to the device. The control unit 10 controls all of these.

【0011】図3は情報表示装置の接続形態を示した図
である。装置は上位システムと回線接続部11で接続さ
れ、上位システムからの情報を表示部1に表示、あるい
は印字部2に印字する。
FIG. 3 is a diagram showing a connection form of the information display device. The device is connected to the host system through the line connection unit 11, and displays information from the host system on the display unit 1 or prints on the printing unit 2.

【0012】次に、図4により情報表示装置の処理内容
詳細を説明する。上位システムからの情報は受信バッフ
ァ12を通してデータ格納エリア13に格納される。格
納が完了すると、制御部10は、誤り位置検知部4によ
り受信データに誤りがないかどうかを調査する。誤りが
ない場合、受信データ中の表示データは表示バッファ1
4へ、印字データは印字バッファ15へ送られそれぞれ
表示、印字される。
Next, details of the processing contents of the information display device will be described with reference to FIG. Information from the host system is stored in the data storage area 13 through the reception buffer 12. When the storage is completed, the control unit 10 causes the error position detection unit 4 to check whether the received data has an error. If there is no error, the display data in the received data is the display buffer 1
4, the print data is sent to the print buffer 15 and is displayed and printed.

【0013】ここで、受信データに誤りがあった場合、
誤り位置検知部4はデータ格納エリア13の先頭アドレ
スと、誤りを検知したデータ格納エリア13のアドレス
を比較して、受信したデータの先頭から何バイト目に誤
りがあったかを認識し、そのバイト数を誤り位置情報と
して制御部10へ連絡する。制御部10は誤り位置情報
を送信データとして編集後、送信バッファ16へ送り上
位システムへ送信する、あるいは表示データとして表示
バッファ14へ送り表示、あるいは印字データとして印
字バッファ15へ送り印字する。
If there is an error in the received data,
The error position detection unit 4 compares the start address of the data storage area 13 with the address of the data storage area 13 in which the error is detected, recognizes the number of bytes from the start of the received data, and determines the number of bytes. Is notified to the control unit 10 as error position information. The control unit 10 edits the error position information as transmission data and then sends it to the transmission buffer 16 for transmission to the host system, or as display data for display to the display buffer 14, or as print data for transmission to the print buffer 15 for printing.

【0014】尚、誤りがあった場合、受信データの扱い
として全てを無効とし、表示バッファ14および印字バ
ッファ15にはデータを送らない方法と、正常な部分に
ついては一部表示、印字する方法がある。
If there is an error, all of the received data is invalidated and no data is sent to the display buffer 14 and the print buffer 15, and a normal portion is partially displayed and printed. is there.

【0015】また、誤り位置情報を上位システムへ送信
するのか、装置自身に表示、印字するのかは、装置の機
能、性格を考慮し、機能選択するものとする。
Whether the error position information is transmitted to the host system or displayed or printed on the device itself is selected by considering the function and character of the device.

【0016】また、装置から送信される誤り位置情報は
上位システム側の表示部(ディスプレイ等)へ表示、ま
たはプリンタ等に印字することにより認識可能となる。
Further, the error position information transmitted from the device can be recognized by displaying it on a display unit (display or the like) on the host system side or by printing it on a printer or the like.

【0017】図5は、本実施例の誤り位置情報の表示部
への一表示例を示す。尚、印字部へも同様に印字され
る。
FIG. 5 shows a display example of the error position information on the display unit of this embodiment. It should be noted that the same is printed on the printing section.

【0018】以上の説明から明かなように、本実施例に
よれば、上位システム側からの受信データ誤り位置を人
間が調べることなく瞬時に認識できる。
As is apparent from the above description, according to this embodiment, the position of the error in the received data from the host system side can be instantly recognized without the need for a human to check it.

【0019】[0019]

【発明の効果】本発明によれば、上位システム(または
端末装置)からの受信データ誤り位置が瞬時にわかるた
め、上位システム(または端末装置)のデータのどこを
修正すれば良いかが瞬時にわかるという効果がある。
According to the present invention, since the error position of the received data from the host system (or terminal device) can be instantly known, it is possible to instantaneously determine which of the data of the host system (or terminal device) should be corrected. There is an effect that you can understand.

【0020】また、上記効果により、端末装置側(また
は上位システム側)のフォーマットに合わせて上位シス
テム(または端末装置)を開発する場合、非常に短期間
で開発できるという効果もある。
[0020] Further, due to the above effects, when developing the upper system (or the terminal device) according to the format of the terminal device side (or the upper system side), there is also an effect that it can be developed in a very short period of time.

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

【図1】本発明の一実施例の情報表示装置のブロック図
である。
FIG. 1 is a block diagram of an information display device according to an embodiment of the present invention.

【図2】本発明の一実施例の情報表示装置の外観図であ
る。
FIG. 2 is an external view of an information display device according to an embodiment of the present invention.

【図3】本発明の一実施例の情報表示装置の接続形態を
示す図である。
FIG. 3 is a diagram showing a connection form of an information display device according to an embodiment of the present invention.

【図4】本発明の一実施例の情報表示装置の処理内容詳
細を示す図である。
FIG. 4 is a diagram showing details of processing contents of the information display device according to the embodiment of the present invention.

【図5】本発明の一実施例の情報表示装置の誤り位置情
報表示の一例を示す図である。
FIG. 5 is a diagram showing an example of error position information display of the information display device according to the embodiment of the present invention.

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

1…フルドットマトリクスLED表示部、2…印字部、
3…回線処理部、4…誤り位置検知部、5…メモリ部、
6…表示処理部、7…印字処理部、8…操作部、9…電
源装置、10…制御部、11…回線接続部、12…受信
バッファ、13…データ格納エリア、14…表示バッフ
ァ、15…印字バッファ、16…送信バッファ。
1 ... Full dot matrix LED display section, 2 ... Printing section,
3 ... Line processing unit, 4 ... Error position detection unit, 5 ... Memory unit,
6 ... Display processing unit, 7 ... Printing processing unit, 8 ... Operation unit, 9 ... Power supply device, 10 ... Control unit, 11 ... Line connection unit, 12 ... Reception buffer, 13 ... Data storage area, 14 ... Display buffer, 15 ... print buffer, 16 ... transmission buffer.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】回線で上位システムと接続され、予め定め
たフォーマットのデータをオンラインで受信処理する端
末装置において、 フォーマットの異常に伴う受信データの誤りを検知し、
当該誤り検知位置を受信データ先頭からのバイト数をも
って認識する誤り検知手段と、 当該検知した誤り位置情報(バイト数)を受信データの
応答データとして上位システムへ送信する送信手段とを
具備したことを特徴とする端末装置。
Claim: What is claimed is: 1. A terminal device, which is connected to a host system by a line and receives data in a predetermined format online, detects an error in the received data due to an abnormality in the format,
An error detection means for recognizing the error detection position by the number of bytes from the head of the received data, and a transmission means for transmitting the detected error position information (number of bytes) as response data of the received data to the host system. Characteristic terminal device.
【請求項2】前記誤り位置情報は、端末装置自身の印字
部に印字することを特徴とする請求項1記載の端末装
置。
2. The terminal device according to claim 1, wherein the error position information is printed on a printing unit of the terminal device itself.
【請求項3】前記誤り位置情報は、端末装置自身の表示
部に表示することを特徴とする請求項1記載の端末装
置。
3. The terminal device according to claim 1, wherein the error position information is displayed on a display unit of the terminal device itself.
【請求項4】回線で端末装置と接続され、予め定めたフ
ォーマットのデータをオンラインで受信処理する上位シ
ステムにおいて、 フォーマットの異常に伴う受信データの誤りを検知し、
当該誤り検知位置を受信データ先頭からのバイト数をも
って認識する誤り検知手段と、 当該検知した誤り位置情報(バイト数)を受信データの
応答データとして端末装置へ送信する送信手段とを具備
したことを特徴とする上位システム。
4. A host system, which is connected to a terminal device by a line and receives data of a predetermined format online, detects an error in the received data due to a format error,
An error detection means for recognizing the error detection position by the number of bytes from the head of the received data, and a transmission means for transmitting the detected error position information (number of bytes) to the terminal device as response data of the received data. Characteristic host system.
【請求項5】前記誤り位置情報は、上位システム自身の
表示部、あるいは周辺機器に表示することを特徴とする
請求項4記載の上位システム。
5. The host system according to claim 4, wherein the error position information is displayed on a display unit of the host system itself or a peripheral device.
【請求項6】前記誤り位置情報は、上位システム自身の
印字部、あるいは周辺機器に印字することを特徴とする
請求項4記載の上位システム。
6. The host system according to claim 4, wherein the error position information is printed on a printing unit of the host system itself or a peripheral device.
JP5232819A 1993-09-20 1993-09-20 Terminal device with error position detecting function and host system Pending JPH0784811A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5232819A JPH0784811A (en) 1993-09-20 1993-09-20 Terminal device with error position detecting function and host system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5232819A JPH0784811A (en) 1993-09-20 1993-09-20 Terminal device with error position detecting function and host system

Publications (1)

Publication Number Publication Date
JPH0784811A true JPH0784811A (en) 1995-03-31

Family

ID=16945279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5232819A Pending JPH0784811A (en) 1993-09-20 1993-09-20 Terminal device with error position detecting function and host system

Country Status (1)

Country Link
JP (1) JPH0784811A (en)

Similar Documents

Publication Publication Date Title
EP0721158B1 (en) Bidirectional printer interface
JPH0784811A (en) Terminal device with error position detecting function and host system
JPH05210470A (en) Printer and method for processing its type selection
US4957377A (en) Electronic apparatus having a printing function
JP2907573B2 (en) Label printer
JP3115390B2 (en) Print data receiving method and printer using the method
JPH09188039A (en) Image forming device and control method therefor
JPH0343283A (en) Page printer
JPH0546935Y2 (en)
JPS62235631A (en) Print controller
JPH05116363A (en) Thermal printer
JP3150396B2 (en) Printer control method
JP2816232B2 (en) Document editing and printing device
JPH0624107A (en) Printer
KR100509464B1 (en) Method for displaying error
JPS622315A (en) Printing device
JPH0795259B2 (en) Output device
KR100224875B1 (en) Image forming device
JPH09146722A (en) Print device and its control method
JPH05177909A (en) Printer
JP2002236562A (en) Print system, printer, and print control method
KR19980021385A (en) Voice alarm method and device
JPH0260772A (en) Blank data processing system
JPH03182383A (en) Detecting system for erroneous insertion of recording sheet
JPS63220345A (en) Input/output device