JPH0774755B2 - In-line system data transmission method - Google Patents
In-line system data transmission methodInfo
- Publication number
- JPH0774755B2 JPH0774755B2 JP62238532A JP23853287A JPH0774755B2 JP H0774755 B2 JPH0774755 B2 JP H0774755B2 JP 62238532 A JP62238532 A JP 62238532A JP 23853287 A JP23853287 A JP 23853287A JP H0774755 B2 JPH0774755 B2 JP H0774755B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- flag
- host computer
- line system
- plu file
- 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.)
- Expired - Lifetime
Links
- 230000005540 biological transmission Effects 0.000 title claims description 12
- 238000000034 method Methods 0.000 title claims description 5
- 238000007689 inspection Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 101000972349 Phytolacca americana Lectin-A Proteins 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、電子料金秤を端末器としたインライン・シス
テムのデータ送信方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission method for an inline system using an electronic toll scale as a terminal.
従来の技術 従来のこの種のインライン・システムにおいて、ホスト
・コンピユータから点検又は精算コマンドを受信した時
に、PLUフアイルのデータが加算されているいないに拘
らずホスト・コンピユータ側から指定された範囲内のデ
ータをすべて送信している。2. Description of the Related Art In a conventional inline system of this type, when an inspection or settlement command is received from the host computer, the data within the PLU file is not added, but within the range specified by the host computer. All data is being sent.
発明が解決しようとする問題点 前述のようにPLUフアイルのデータが加算されているい
ないに拘らずホスト・コンピユータ側から指定された範
囲内のデータをすべて送信しているため、指定範囲内の
データが多い場合にはデータを送信し終えるのに時間が
かかつてしまうと云う問題がある。Problems to be Solved by the Invention As described above, since data within the range specified by the host computer is transmitted regardless of whether the PLU file data is added, data within the specified range is transmitted. If there is a lot of data, there is a problem that it will take time to finish transmitting the data.
問題点を解決するための手段 ホスト・コンピユータに多数の電子料金秤がインライン
接続されたインライン・システムにおいて、ラベル発行
等によりPLUフアイルの内容が加算された場合にそのPLU
フアイルのデータにフラグをセツトし、ホスト・コンピ
ユータからの点検又は精算コマンドの受信時に前記フラ
グがセツトされているデータのみを選択して送信し、送
信終了後にそのフラグをリセツトすうるようにした。Means for solving the problem In an in-line system in which a large number of electronic charge scales are connected in-line to the host computer, if the contents of the PLU file are added due to label printing, etc.
A flag is set in the file data, and when the inspection or settlement command is received from the host computer, only the data in which the flag is set is selected and transmitted, and the flag can be reset after the transmission is completed.
作用 ホスト・コンピユータへの送信時に、PLUフアイルの加
算されたデータのみが選択されて送信されるため、送信
量が少なくて良く、これにより、送信に要する時間を短
くすることができるものである。Operation Since only the data to which the PLU file has been added is selected and transmitted at the time of transmission to the host computer, the amount of transmission may be small, whereby the time required for transmission can be shortened.
実施例 本発明の一実施例を図面に基づいて説明する。まず、イ
ンライン・システム1は、ホスト・コンピユータ2に対
して送信ライン3を介して多数の電子料金秤4が接続さ
れている。Embodiment An embodiment of the present invention will be described with reference to the drawings. First, in the in-line system 1, a large number of electronic toll scales 4 are connected to a host computer 2 via a transmission line 3.
前記電子料金秤2は、秤部5が接続されたCPU(中央処
理装置)6を有し、このCPU6には印字バツフア7、メモ
リ8、I/Oブロツク9が接続されている。前記印字バツ
フア7はラベル等への印字直前にその印字内容を一時的
に記憶するものであり、前記メモリ8はプログラムを記
憶するプログラムメモリとして機能と品番毎の重さ、発
行件数、金額その他のアイテムが設定されているPLU
(プライス・ルツク・アツプ)として機能をも有する。The electronic fee scale 2 has a CPU (central processing unit) 6 to which a scale unit 5 is connected, and a print buffer 7, a memory 8 and an I / O block 9 are connected to the CPU 6. The printing buffer 7 temporarily stores the printing contents immediately before printing on a label or the like, and the memory 8 functions as a program memory for storing programs and functions such as weight of each product number, number of issues, amount of money, and other PLU to which the item is set
It also has a function as (price / luck / up).
ついで、前記I/Oブロツク9には、表示装置10、キーボ
ード11、サーマルプリンタ12がそれぞれ接続されてい
る。また、前記I/Oブロツク9には前記ホスト・コンピ
ユータ2にインライン接続されるインターフエース13が
接続されている。Next, a display device 10, a keyboard 11, and a thermal printer 12 are connected to the I / O block 9. An interface 13 connected inline with the host computer 2 is connected to the I / O block 9.
このような構成において、PLUフアイルの品番指定をし
てデータを呼び出し、秤部5で測定して重量に基づき印
字データを設定してサーハルプリンタ12からラベル発行
される。このサーマルプリンタ12からラベルを発行させ
ると、複数のPLUフアイルは加算される。すなわち、発
行件数や金額等が加算される。この加算と同時にそのPL
Uフアイルのそれぞれに加算されたことを意味するフラ
グがセツトされる。このようにして、サーマルプリンタ
2により、ラベル印字が順次なされるが、ホスト・コン
ピユータ2から点検又は精算コマンドが送信されたとす
ると、つぎのように動作する。In such a configuration, the product number of the PLU file is designated, data is called, print data is set based on the weight measured by the weighing unit 5, and the label is issued from the Sahar printer 12. When the label is issued from the thermal printer 12, a plurality of PLU files are added. That is, the number of issues and the amount of money are added. At the same time as this addition, the PL
A flag is set which means that it has been added to each of the U files. In this way, the thermal printer 2 sequentially prints labels, but if an inspection or settlement command is sent from the host computer 2, it operates as follows.
すなわち、ホスト・コンピユータ2から点検又は精算コ
マンドが送信された場合には、まず、端末器としての電
子料金秤4の一つが特定される。この電子料金秤4が、
例えば点検コマンドを受信したとすると、端末側のステ
ータスをチエツクし、点検コマンドの処理ができない場
合には、BUSYテキストを作成してホスト・コンピユータ
2に送信し、コマンド待ち状態に戻る。That is, when the inspection or settlement command is transmitted from the host computer 2, first, one of the electronic fee scales 4 as a terminal device is specified. This electronic charge balance 4
For example, if a check command is received, the status on the terminal side is checked, and if the check command cannot be processed, a BUSY text is created and sent to the host computer 2, and the process returns to the command waiting state.
また、点検コマンドの処理が可能な場合には、READYテ
キストを作成し、送信する。つぎに、加算フラグがセツ
トされているPLUフアイルをサーチする。この時、加算
フラグがセツトされているPLUフアイルがない場合に
は、ダミーテキストを作成して送信し、コマンド待ち状
態に戻る。また、加算フラグがセツトされているPLUフ
アイルがある場合には、データテキストを作成して送信
する。そして、テキスト送信後、送信したPLUフアイル
内の加算フラグをリセツトする。If the inspection command can be processed, READY text is created and sent. Next, the PLU file in which the addition flag is set is searched. At this time, if there is no PLU file in which the addition flag is set, a dummy text is created and transmitted, and the command waiting state is returned. If there is a PLU file with the addition flag set, data text is created and transmitted. After the text is transmitted, the addition flag in the transmitted PLU file is reset.
ついで、PLUフアイルの加算フラグのサーチから加算フ
ラグのリセツトまでのルーチンを加算フラグのあるPLU
フアイルがなくなるまで繰返し、その加算フラグがセツ
トされているものがなくなると、ホスト・コンピユータ
2側へのデータ送信を終了する。Next, the routine from the search of the addition flag of the PLU file to the reset of the addition flag is executed for the PLU with the addition flag.
The process is repeated until the file disappears, and when there is no one whose addition flag is set, the data transmission to the host computer 2 side is terminated.
発明の効果 本発明は上述のように、ホスト・コンピユータに多数の
電子料金秤がインライン接続されたインライン・システ
ムにおいて、ラベル発行等によりPLUフアイルの内容が
加算された場合にそのPLUフアイルのデータにフラグを
セツトし、ホスト・コンピユータからの点検又は精算コ
マンドの受信時に前記フラグがセツトされているデータ
のみを選択して送信し、送信終了後にそのフラグをリセ
ツトするようにしたので、ホスト・コンピユータから点
検又は精算コマンドがでると、そのホスト・コンピユー
タへの送信時に、PLUフアイルの加算されたデータのみ
が選択されて送信されるため、送信量が少なくて良く、
これにより、送信に要する時間を短くすることができる
ものである。As described above, the present invention, in the in-line system in which a large number of electronic fee scales are connected in-line to the host computer, when the contents of the PLU file are added by the label issuing, etc., the data of the PLU file is added. The flag is set, and when the check or settlement command is received from the host computer, only the data with the flag set is selected and transmitted, and the flag is reset after the transmission is completed. When an inspection or settlement command is issued, only the data with the PLU file added is selected and transmitted when transmitting to the host computer, so the transmission amount may be small,
As a result, the time required for transmission can be shortened.
図面は本発明の一実施例を示すもので、第1図は電子料
金秤のブロツク図、第2図はインライン・システムのブ
ロツク図、第3図はフローチヤートである。 1……インライン・システム、2……ホスト・コンピユ
ータ、4……電子料金秤The drawings show one embodiment of the present invention. FIG. 1 is a block diagram of an electronic toll scale, FIG. 2 is a block diagram of an in-line system, and FIG. 3 is a flow chart. 1 ... In-line system, 2 ... Host computer, 4 ... Electronic charge balance
Claims (1)
がインライン接続されたインライン・システムにおい
て、ラベル発行等によりPLUフアイルの内容が加算され
た場合にそのPLUフアイルのデータにフラグをセツト
し、ホスト・コンピユータからの点検又は精算コマンド
の受信時に前記フラグがセツトされているデータのみを
選択して送信し、送信終了後にそのフラグをリセツトす
るようにしたことを特徴とするインライン・システムの
データ送信方法。1. In an in-line system in which a large number of electronic toll scales are connected in-line to a host computer, when the contents of the PLU file are added by issuing a label or the like, a flag is set in the data of the PLU file and the host is set. .A method of transmitting data in an in-line system, characterized in that only data having the flag set is selected and transmitted when an inspection or settlement command is received from the computer and the flag is reset after the transmission is completed. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62238532A JPH0774755B2 (en) | 1987-09-22 | 1987-09-22 | In-line system data transmission method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62238532A JPH0774755B2 (en) | 1987-09-22 | 1987-09-22 | In-line system data transmission method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6479623A JPS6479623A (en) | 1989-03-24 |
| JPH0774755B2 true JPH0774755B2 (en) | 1995-08-09 |
Family
ID=17031649
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62238532A Expired - Lifetime JPH0774755B2 (en) | 1987-09-22 | 1987-09-22 | In-line system data transmission method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0774755B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60262021A (en) * | 1984-06-11 | 1985-12-25 | Tokyo Electric Co Ltd | Unit price data processing method in weighing and pricing machines |
| JPS62209319A (en) * | 1986-03-10 | 1987-09-14 | Tokyo Electric Co Ltd | System for controlling on-hand amount of commodity |
-
1987
- 1987-09-22 JP JP62238532A patent/JPH0774755B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6479623A (en) | 1989-03-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3043304A1 (en) | Electronic receipt issuing system | |
| JPH0774755B2 (en) | In-line system data transmission method | |
| JPH0774756B2 (en) | In-line system PLU setting method | |
| JPS603783A (en) | Sales data processing device | |
| WO2022264207A1 (en) | Data processing device, data processing method, and program | |
| JP2501474B2 (en) | Product sales data processing device | |
| KR970004527B1 (en) | Order guest checking device | |
| JPH0564937A (en) | Label printer | |
| JP3008448B2 (en) | Data output device | |
| JPH0322567B2 (en) | ||
| JP2713810B2 (en) | Electronic cash register | |
| JP2541604B2 (en) | POS system | |
| JPS63188299A (en) | POS system | |
| JPS60179897A (en) | electronic cash register | |
| JPS5557969A (en) | Electronic cash register | |
| JP2001160014A (en) | Queuing transmission method to reduce data volume | |
| JPH0554614B2 (en) | ||
| JPS61895A (en) | Product sales data processing device | |
| JP2552312B2 (en) | Product sales data processor | |
| JPH10232766A (en) | Information processor provided with two-dimensional code reading means | |
| JPH0342777B2 (en) | ||
| JP2580107B2 (en) | Weighing and printing device | |
| JPS63241694A (en) | Product sales data processing device | |
| JPH0746397B2 (en) | Product sales data processing device | |
| CN114546297A (en) | Order data processing method, device and system, computer equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070809 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080809 Year of fee payment: 13 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080809 Year of fee payment: 13 |