JPH0652550B2 - Product sales data processing device - Google Patents
Product sales data processing deviceInfo
- Publication number
- JPH0652550B2 JPH0652550B2 JP10449086A JP10449086A JPH0652550B2 JP H0652550 B2 JPH0652550 B2 JP H0652550B2 JP 10449086 A JP10449086 A JP 10449086A JP 10449086 A JP10449086 A JP 10449086A JP H0652550 B2 JPH0652550 B2 JP H0652550B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- product
- display
- key
- terminal
- 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
- 230000000694 effects Effects 0.000 claims description 4
- 239000000872 buffer Substances 0.000 description 42
- 238000000034 method Methods 0.000 description 18
- 238000001810 electrochemical catalytic reforming Methods 0.000 description 17
- 230000005540 biological transmission Effects 0.000 description 5
- 230000001186 cumulative effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 1
- 101150046378 RAM1 gene Proteins 0.000 description 1
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] この発明は商品情報ファイルを有するファイルコントロ
ーラにターミナルを接続している商品販売データ処理装
置に関する。The present invention relates to a product sales data processing device in which a terminal is connected to a file controller having a product information file.
[従来の技術] 従来、商品販売データ処理装置としては、例えば各商品
毎に付された商品コードに対応して単価や商品名などを
設定するとともに売上点数の累計エリア及び売上金額の
累計エリアを設けた商品情報ファイル、例えばPLUフ
ァイルを備えたファイルコントローラを設け、このファ
イルコントローラに商品コードの入力手段としてバーコ
ードスキャナーを備えるとともに表示器及びプリンタを
備えたターミナル、例えば電子キャッシュレジスタを接
続したものが知られている。そしてこの装置はキャッシ
ュレジスタのバーコードスキャナーによって商品に付さ
れた商品コードを読取るとその商品コードをファイルコ
ントローラに対して問合わせ、ファイルコントローラで
はこのキャッシュレジスタからの問合わせによりPLU
ファイルから対応する商品コードを検索し、その商品コ
ードに対応した単価や商品名を読み出し、その単価を売
上金額の累計エリアに累計させるとともに売上点数の累
計エリアを+1し、さらに単価及び商品名をキャッシュ
レジスタに送信する。これによりキャッシュレジスタで
は受信した単価を表示器に表示させるとともに単価及び
商品名をプリンタによって印字出力させる。こうして入
力した商品コードに対する単品の登録処理が終了する。[Prior Art] Conventionally, as a product sales data processing device, for example, a unit price and a product name are set corresponding to a product code attached to each product, and a cumulative sales amount area and a cumulative sales amount area are set. A file controller provided with a provided product information file, for example, a PLU file, is provided with a bar code scanner as a product code input means, and a terminal provided with a display and a printer, for example, an electronic cash register is connected. It has been known. When this device reads the product code attached to the product by the bar code scanner of the cash register, it inquires the product code to the file controller, and the file controller inquires from the cash register to the PLU.
Search for the corresponding product code from the file, read the unit price and product name corresponding to that product code, accumulate the unit price in the cumulative sales amount area, add +1 to the cumulative sales number area, and add the unit price and product name. Send to cash register. As a result, the cash register causes the display unit to display the received unit price and causes the printer to print out the unit price and the product name. The registration process of the single item for the product code thus input ends.
また、従来装置ではファイルコントローラでのPLUフ
ァイルの検索において問合わせのあった商品コードが無
ければその旨をキャッシュレジスタへ知らせる、この知
らせを受信してキャッシュレジスタではエラー報知す
る。Further, in the conventional device, if there is no product code inquired in the search of the PLU file by the file controller, the fact is notified to the cash register, and the error is notified in the cash register upon receiving this notification.
[発明が解決しようとする問題点] ところでバーコードスキャナーで商品から商品コードを
読取る作業は連続的に行われるため、ある商品コードを
ファイルコントローラへ問合わせている最中においても
次々と商品コードが入力されることになる。このような
作業の途中で問合わせによるエラーが発生してエラー報
知がされてもそのエラーがどの商品についてかオペレー
タにとって分らないという問題があり、登録作業に大き
な支障を来たすという問題があった。[Problems to be solved by the invention] By the way, since the work of reading a product code from a product with a bar code scanner is continuously performed, the product codes are sequentially displayed even while inquiring a certain product code to the file controller. Will be entered. There is a problem that even if an error occurs due to an inquiry in the middle of such work and the error is notified, the operator cannot know which product the error is, which causes a great obstacle to the registration work.
この発明はこのような問題を解決するために為されたも
ので、ターミナル側でどの商品コードについて問合わせ
を行なっているときのエラーであるか把握でき、しかも
問合わせエラーであった商品コードの把握をより確実に
したものである。The present invention has been made to solve such a problem, and it is possible to grasp which product code is an error when making an inquiry on the terminal side. It is a more reliable grasp.
また、この発明は問合わせエラーの解除の操作を2通り
で行なえ使い勝手をよくしたものである。In addition, the present invention improves the usability by performing the operation of canceling the inquiry error in two ways.
[問題点を解決するための手段] この発明は、各商品に付された商品コード毎に単価など
の商品情報を設定した商品情報ファイルを設けたファイ
ルコントローラに、商品コードの入力手段及び表示器を
備えたターミナルを接続してなり、ターミナルの入力手
段から商品コードの入力があるとファイルコントローラ
にその商品コードについて問合わせを行ない、ファイル
コントローラは問合わせのあった商品コードに対応した
商品情報を商品情報ファイルから読出してターミナルに
送信し、ターミナルはファイルコントローラからの商品
情報を受取って表示器に表示するとともに商品販売デー
タの登録処理を行なう商品販売データ処理装置におい
て、ファイルコントローラは、ターミナルからの問合わ
せがあると対応する商品コードが商品情報ファイルにあ
るか否かを検索し、対応する商品コードが無いときには
その旨をターミナルに送信する検索手段を設け、ターミ
ナルは、ファイルコントローラから対応する商品コード
が無いことが知らされるとエラーメッセージと問合わせ
コードを表示器に表示させる表示処理手段と、ファイル
コントローラから対応する商品コードが無いことが知ら
されると動作する音発生装置と、クリアキーと、このク
リアキーの最初の操作によって音発生装置の動作を停止
させ、そのクリアキーの2回目の操作によって表示器の
エラーメッセージと問合わせコードの表示をクリアする
クリア処理手段を設けたものである。[Means for Solving Problems] The present invention relates to a file controller provided with a product information file in which product information such as a unit price is set for each product code attached to each product, a product code input means, and a display device. When a product code is input from the input means of the terminal, the file controller inquires about the product code, and the file controller displays the product information corresponding to the inquired product code. In the product sales data processing device that reads out the product information file and sends it to the terminal, the terminal receives the product information from the file controller, displays it on the display, and registers the product sales data. If there is an inquiry, the corresponding product code will be the product information If there is no corresponding product code in the file, search means is provided to send a message to that effect to the terminal. When the file controller informs the terminal that there is no corresponding product code, an error message is displayed. Display processing means for displaying the inquiry code on the display, a sound generator that operates when the file controller notifies that there is no corresponding product code, a clear key, and a sound is generated by the first operation of the clear key. Clear processing means is provided for stopping the operation of the device and clearing the display of the error message and the inquiry code on the display by the second operation of the clear key.
また、この発明は、1回目のクリアキー操作で音発生装
置の動作を停止させ、2回目のクリアキー操作で表示器
cのエラーメッセージと問合わせコードの表示をクリア
する処理と、1回のクリアキー操作で音発生装置の動作
停止と表示器cのクリアを同時に行なう処理とを選択で
きるようにしたものである。Further, according to the present invention, the operation of the sound generation device is stopped by the first clear key operation, and the display of the error message and the inquiry code of the display device c is cleared by the second clear key operation. It is possible to select a process of simultaneously stopping the operation of the sound generator and clearing the display c by operating the clear key.
[作用] このような構成の本発明においては、ターミナルからフ
ァイルコントローラに商品コードを問合わせたときその
商品コードが商品情報ファイルに無ければターミナルは
音発生装置を動作してエラー発生を知らせると共に表示
器にエラーメッセージとともに問合わせコードを表示し
てエラーとなった問合わせコードを知らせる。この状態
でクリアキーの操作があると音発生装置のみを停止させ
表示器の表示はそのままにする。こうしてエラーとなっ
た問い合わせ商品コードの確認をより確実にする。そし
て再度クリアキーを操作すると表示器の表示がクリアさ
れてエラーが解除される。[Operation] In the present invention having such a configuration, when the product code is inquired from the terminal to the file controller and the product code is not in the product information file, the terminal operates the sound generation device to notify and display an error occurrence. The inquiry code is displayed on the display along with the error message to inform the inquiry code that resulted in the error. If the clear key is operated in this state, only the sound generator is stopped and the display on the display is left as it is. In this way, the confirmation of the inquiry product code that caused the error is made more reliable. When the clear key is operated again, the display on the display is cleared and the error is released.
また、選択によって音発生装置の動作停止と表示器の表
示クリアを2回のクリアキー操作で行なうか、1回のク
リアキー操作で行なうかを決めることができ、使用する
状況に合わせたエラー解除ができる。Also, depending on the selection, it is possible to decide whether to stop the operation of the sound generator and clear the display of the display with two clear key operations or one clear key operation. You can
[実施例] 以下、この発明の実施例を図面を参照して説明する。Embodiments Embodiments of the present invention will be described below with reference to the drawings.
第1図において、11はファイルコントローラで、この
ファイルコントローラ11にn台のターミナルとしての
電子キャッシュレジスタ(以下、ECRと称する)12
1,122,…12nを接続している。In FIG. 1, reference numeral 11 denotes a file controller, and an electronic cash register (hereinafter referred to as ECR) 12 as n terminals is provided in the file controller 11.
1 , 12 2 , ... 12 n are connected.
前記ファイルコントローラ11には制御部本体を構成す
るCPU(中央処理装置)13、このCPU13が各部
を制御するためのプログラムデータなどが格納されたR
OM(リード・オンリー・メモリ)14、CPU13が
処理するデータを一時格納するメモリや表示データ、プ
リントデータを格納するメモリなどが設けられたRAM
(ランダム・アクセス・メモリ)15、各商品毎に付さ
れた商品コード、例えばPLUコード毎に単価、部門コ
ード、商品名を設定するとともに売上点数の累計エリア
及び売上金額の累計エリアを設けた商品情報ファイルと
してのPLUファイル16、伝送コントローラ17、プ
リンタ18、表示器19が設けられている。The file controller 11 stores a CPU (central processing unit) 13 that constitutes the main body of the control unit, program data for the CPU 13 to control each unit, and the like.
A RAM provided with an OM (Read Only Memory) 14, a memory for temporarily storing data processed by the CPU 13 and a memory for storing display data and print data.
(Random access memory) 15, a product code attached to each product, for example, a product for which a unit price, a department code, and a product name are set for each PLU code, and a total sales amount area and a total sales amount area are provided A PLU file 16 as an information file, a transmission controller 17, a printer 18, and a display 19 are provided.
前記CPU13はROM14のプログラムデータに基い
てRAM15及びPLUファイル16を制御するととも
に伝送コントローラ17を制御し、かつインターフェー
ス20を介して前記プリンタ18、表示器19を制御す
るようにしている。そしてCPU13は伝送コントロー
ラ17を介して各ECR121〜12nとデータの送受
信を行なうようにしている。The CPU 13 controls the RAM 15 and the PLU file 16 based on the program data of the ROM 14, controls the transmission controller 17, and controls the printer 18 and the display 19 via the interface 20. Then, the CPU 13 transmits / receives data to / from each of the ECRs 12 1 to 12 n via the transmission controller 17.
前記各ECR121〜12nは、第2図に示すように制
御部本体を構成するCPU21、このCPU21が各部
を制御するためのプログラムデータなどが格納されたR
OM22、CPU21が処理するデータを格納するメモ
リや表示データ、プリントデータなどを格納するメモリ
などが設けられたRAM23、前記ファイルコントロー
ラ11とデータの送受信制御を行なう伝送コントローラ
24を設けている。また各ECR121〜12nはバー
コードスキャナー25で読取られたPLUコードをキー
コードとして取込むスキャナーコントローラ26、キー
ボード27から入力されるキー信号をキーコードとして
取込むキーボードコントローラ28、CPU21の処理
によって得られる表示データを表示器29を出力制御す
る表示コントローラ30を設けている。前記バーコード
スキャナー25及びキーボード27は商品コードの入力
手段を構成するものである。As shown in FIG. 2, each of the ECRs 12 1 to 12 n includes a CPU 21 that constitutes a main body of the control unit, and an R that stores program data for the CPU 21 to control each unit.
An OM 22, a RAM 23 having a memory for storing data processed by the CPU 21, a memory for storing display data, print data, etc., and a transmission controller 24 for controlling data transmission / reception with the file controller 11 are provided. The ECRs 12 1 to 12 n are processed by the scanner controller 26 that takes in the PLU code read by the barcode scanner 25 as a key code, the keyboard controller 28 that takes in a key signal input from the keyboard 27 as a key code, and the CPU 21. A display controller 30 is provided for controlling the output of the display 29 of the obtained display data. The bar code scanner 25 and the keyboard 27 constitute a product code input means.
また各ECR121〜12nはCPU21で処理された
プリントデータをプリンタ31に出力制御するとともに
ドロワ32を開放駆動するドロワ開放装置33にCPU
21からのドロワ開放信号を出力制御するプリンタ・ド
ロワコントローラ34、音発生装置としてのブザー35
にCPU21からの動作信号を出力制御するI/Oポー
ト36を設けている。Further, each of the ECRs 12 1 to 12 n controls the output of the print data processed by the CPU 21 to the printer 31 and also controls the output of the drawer 32 by the CPU.
21. A printer / drawer controller 34 for controlling the output of a drawer release signal from the device 21, and a buzzer 35 as a sound generating device.
Is provided with an I / O port 36 for controlling output of an operation signal from the CPU 21.
前記キーボード27にはテンキー271、PLUキー2
72、登録の締めキー273、クリアキー274などが
設けられている。The keyboard 27 includes a numeric keypad 27 1 and a PLU key 2
7 2 , a registration closing key 27 3 , a clear key 27 4 and the like are provided.
前記表示器には文字表示可能なドット式の表示器のほか
エラーランプ291などが設けられている。The said display device, such as other error lamp 29 1 character displayable dots type indicator is provided.
前記RAM23には第3図に示すように、バーコードス
キャナー25から入力されるキーコードやキーボード2
7から入力されるキーコードを順次格納する複数のエリ
アS1,S2,S3,…を有するメインキーバッファ2
31、キーボード27から入力されるキーコードを1つ
だけ格納するエリアを設けたサブキーバッファ232、
その他処理に必要な各種バッファ233が設けられ、ま
たエラー中を示すフラグがセットされるエラーフラグF
1、キーバッファの交代中を示すフラグがセットされる
キーバッファチェンジフラグF2、最初のクリアキー待
ち状態を示すフラグがセットされるクリアキー待ちフラ
グF3、2つのキーバッファ231,232のうちどち
らのキーバッファにキーコードを入れるかを決めるため
のフラグがセットされるキー取込みフラグF4などが設
けられている。As shown in FIG. 3, the RAM 23 has a key code and a keyboard 2 input from a bar code scanner 25.
Main key buffer 2 having a plurality of areas S 1 , S 2 , S 3 , ...
3 1 , a sub key buffer 23 2 having an area for storing only one key code input from the keyboard 27,
Other various buffer 23 3 is provided necessary for processing, also the error flag F flag indicating that the error is set
1, the key buffer change flag F 2 flag indicating that the key buffer replacement is set, 1 first clear key waiting flag F 3 flag indicating clear key wait state is set, two of the key buffer 23, 23 2 A key take-in flag F 4 etc. in which a flag for setting which of the key buffers the key code is inserted is set.
前記各ECR121〜12nのCPU21は、ROM2
2のプログラムデータに基いて第4図、第5図及び第6
図に示す処理をオペレーションシステムプログラムによ
って行ない、かつ第7図に示す処理をアプリケーション
プログラムによって行なうようにしている。The CPU 21 of each of the ECRs 12 1 to 12 n has a ROM 2
4, 5 and 6 based on the program data of 2.
The processing shown in the figure is performed by the operation system program, and the processing shown in FIG. 7 is performed by the application program.
すなわち、第4図の処理はアプリケーションプログラム
によってシステムコールがあるとスタートし、そのプロ
グラムによってキーバッファ231,232がいずれに
選択されたかを判断し、もしキーバッファ231が選択
されていればキー取込みフラグF4を「0」にリセット
し、またキーバッファ232が選択されていればキー取
込みフラグF4を「1」にセットする。That is, the process of FIG. 4 is started when a system call is made by the application program, it is judged which of the key buffers 23 1 and 23 2 is selected by the program, and if the key buffer 23 1 is selected, reset the key take-viewed flag F 4 to "0", and also sets the key acquisition viewed flag F 4 if the key buffer 23 2 is selected to "1".
第5図の処理はキー割込み処理で、これはバーコードス
キャナー25やキーボード27からのキーコード入力が
あるとキー取込みフラグF4の状態をチェックし、F4
=1であればキーコードをサブキーバッファ232にセ
ットする。この場合のキーコードはキーボード27から
のキーコードのみとなる。またF4=0であればキーコ
ードをメインキーバッファ231にセットする。この場
合のキーコードはバーコードスキャナー25及びキーボ
ード27のいずれかのキーコードとなる。The process shown in FIG. 5 is a key interruption process. When there is a key code input from the bar code scanner 25 or the keyboard 27, the state of the key take-in flag F 4 is checked, and F 4
If a = 1 to set the key code to the subkey buffer 23 2. The key code in this case is only the key code from the keyboard 27. If F 4 = 0, the key code is set in the main key buffer 23 1 . The key code in this case is one of the barcode scanner 25 and the keyboard 27.
第6図はキー取込み処理で、この処理は先ずキー取込み
フラグF4の状態をチェックし、F4=1であればサブ
キーバッファ232にキーコードが有るか否かをチェッ
クし、有ればそのサブキーバッファ232のキーコード
をリードし、そのキーコードをアプリケーションの処理
へ渡して処理を終了する。またサブキーバッファ232
にキーコードが無ければこの処理をただちに終了する。FIG. 6 shows a key take-in process. In this process, the state of the key take-in flag F 4 is first checked, and if F 4 = 1 it is checked whether or not there is a key code in the sub key buffer 23 2. to lead the key code of the subkey buffer 23 2, and ends the process passes the key code to the application of the process. The subkey buffer 23 2
If there is no key code in, this process ends immediately.
前記キー取込みフラグF4のチェックにおいてF4=0
であればメインキーバッファ231にキーコードを有る
か否かをチェックし、有ればそのメインキーバッファ2
31のキーコードをリードし、そのキーコードをアプリ
ケーションの処理へ渡して処理を終了する。またメイン
キーバッファ231にキーコードが無ければこの処理を
ただちに終了する。When the key take-in flag F 4 is checked, F 4 = 0
If so, it is checked whether or not there is a key code in the main key buffer 23 1 , and if there is, the main key buffer 2
3 in 1 to lead the key code, the process is terminated by passing the key code to the application of the process. Also this process immediately ends if there is no key code on a main key buffer 23 1.
第7図の処理はオペレーションプログラムから渡された
キーコードがクリアキー274のキーコードか否かをチ
ェックし、クリアキーのキーコードで無ければ続いてエ
ラー中、すなわちエラーフラグF1がセットされている
か否かをチェックする。そしてエラーフラグF1=1で
あればそのキーコードを捨ててエラー状態を保持する。
また、F1=0であればそのキーコードを登録データと
してチェックしもしPLUコードであればファイルコン
トローラ11へと問合わせを行なう。その結果エラーと
ならなければ登録処理を行なう。この登録処理はファイ
ルコントローラ11からのPLUコード問合わせに基く
単価、部門コード、商品名を受信し、単価及び部門コー
ドを表示器29に表示させるとともに単価、部門コード
及び商品名をプリンタ31によって印字出力させる。ま
たRAM23に設けられている部門別合計器に部門別登
録を行なう。そしてこの処理が終了するとプログラムを
オペレーションプログラムへ戻す。The key code processing Figure 7 is passed from the operation program checks whether the key code of the clear key 27 4, in the error continues unless a key code of the clear key, i.e. the error flag F 1 is set Check whether or not. If the error flag F 1 = 1 then the key code is discarded and the error state is retained.
If F 1 = 0, the key code is checked as registration data. If it is the PLU code, the file controller 11 is inquired. As a result, if no error occurs, registration processing is performed. In this registration process, the unit price, department code and product name based on the PLU code inquiry from the file controller 11 are received, the unit price and department code are displayed on the display unit 29, and the unit price, department code and product name are printed by the printer 31. Output. Further, the section-by-section total is registered in the RAM 23. When this process ends, the program is returned to the operation program.
また登録データのチェックにおいてエラーが発生すると
そのエラーがファイルコントローラ11への問合わせに
よって発生したエラーであるか否かをチェックし、問合
わせによるエラーでなければ表示器29に第10図の
(a)に示すようにエラーメッセージのみの表示を行な
い、キーバッファをサブキーバッファ232へ切換えて
キーバッファチェンジフラグF2及びエラーフラグF1
をそれぞれセットし、かつブザー35及びエラーランプ
291をONする。またエラーが問合わせによるエラー
であれば表示29に第10図の(b)に示すようなエラ
ーメッセージと問合わせコードの表示を行なう(表示処
理手段)とともにプリンタ31によって印字出力させ
る。(プリント処理手段) さらにキーバッファをサブキーバッファ232へ切換え
てキーバッファチェンジフラグF2及びエラーフラグF
1をそれぞれセットし(商品コードセーブ手段)、かつ
ブザー35及びエラーランプ291をONする。Further, if an error occurs in the registration data check, it is checked whether or not the error is caused by an inquiry to the file controller 11, and if it is not an error due to the inquiry, the display 29 shows (a) of FIG. ), Only the error message is displayed, the key buffer is switched to the sub key buffer 23 2 , and the key buffer change flag F 2 and the error flag F 1 are displayed.
And the buzzer 35 and the error lamp 29 1 are turned on. If the error is due to an inquiry, an error message and an inquiry code as shown in FIG. 10 (b) are displayed on the display 29 (display processing means) and the printer 31 prints them out. (Print Processing Means) Further, the key buffer is switched to the sub-key buffer 23 2 to change the key buffer change flag F 2 and the error flag F.
1 is set (product code saving means), and the buzzer 35 and the error lamp 29 1 are turned on.
そしてこの処理の後クリアキーの2回操作仕様になって
いるから1回操作仕様になっているかを例えば設定用の
ディプスイッチの状態によって判断し(クリア処理手段
の選択手段)、2回操作仕様になっていればクリアキー
待ちフラグF3を「1」にセットしてオペレーションプ
ログラムへリターンする。また1回操作仕様であればそ
のままオペレーションプログラムへリターンする。After this processing, the clear key has a double-operation specification, so it is judged whether it has a single-operation specification, for example, by the state of the DIP switch for setting (selection means of clear processing means), double-operation specification. if made to set the clear key waiting flag F 3 to "1" to return to the operation program. If it is a one-time operation specification, it returns to the operation program as it is.
またオペレーションプログラムから渡されたキーコード
がクリアキー274のキーコードであれば続いてエラー
中、すなわちエラーフラグF1がセットされているか否
かをチェックする。そしてF1=0であれば通常のクリ
アキー処理を行なう。またF1=1であれば続いてキー
バッファチェンジフラグF2の状態をチェックし、F2
=0であれば通常のクリアキー処理を行なう。またF2
=1であればさらにクリアキー待ちフラグF3の状態を
チェックする。そしてF3=1であればブザー35のみ
をOFFしてオペレーションプログラムへリターンす
る。またF3=0であればエラーフラグF1及びキーバ
ッファチェンジフラグF2をそれぞれ「0」リセット
し、もしブザー35がONしていればブザー35とエラ
ーランプ291の両方をOFFし、キーバッファをメイ
ンキーバッファ231へ戻してシステムコールしオペレ
ーションプログラムへリターンする。(クリア処理手
段) 前記ファイルコントローラ11のCPU13は各ECR
121〜12nからPLUコードの問合わせがあると第
8図に示す処理を行なう。すなわち、PLUファイル1
6をサーチして問合わせコードと同じPLUコードが設
定されているか否かをチェックする。そしてあればその
PLUコードに対応する単価、部門コード及び商品名を
応答伝文として編集して問合わせのあったECRへ送信
する。また問合わせのPLUコードがPLUファイル1
6に無ければその問合わせコードを問合わせエラーコー
ドとしてRAM15に格納し(エラーコード格納処理手
段)、さらにPLUコードが無い旨を知らせる否定応答
伝文を編集して問合わせのあったECRへ送信する。こ
の処理は検索手段を構成している。The key code passed from the operation program in error followed if the key code of the clear key 27 4, i.e. checks whether an error flag F 1 is set. If F 1 = 0, normal clear key processing is performed. If F 1 = 1 then the state of the key buffer change flag F 2 is checked and F 2
If = 0, normal clear key processing is performed. Also F 2
If = 1, the state of the clear key wait flag F 3 is further checked. If F 3 = 1 then only the buzzer 35 is turned off and the operation program is returned. If F 3 = 0, the error flag F 1 and the key buffer change flag F 2 are reset to “0” respectively, and if the buzzer 35 is ON, both the buzzer 35 and the error lamp 29 1 are turned OFF, and the key is pressed. return the buffer to the main key buffer 23 1 to return to the system call and operation program. (Clear Processing Means) The CPU 13 of the file controller 11 controls each ECR.
When the PLU code is inquired from 12 1 to 12 n, the processing shown in FIG. 8 is performed. That is, PLU file 1
6 is checked to see if the same PLU code as the inquiry code is set. Then, if there is, the unit price, department code and product name corresponding to the PLU code are edited as a response message and transmitted to the inquired ECR. The PLU code of the inquiry is PLU file 1
If it is not 6, the inquiry code is stored in the RAM 15 as an inquiry error code (error code storage processing means), and a negative response message notifying that there is no PLU code is edited and transmitted to the ECR inquired. To do. This processing constitutes search means.
また、ファイルコントローラ11のCPU13は、第9
図に示すプリント処理を行なう。すなわち問合わせコー
ドのプリント命令が入力されるとRAM15に格納され
ている問合わせエラーコードをプリンタ18によって順
次印字出力させ、レポートを発行させる。In addition, the CPU 13 of the file controller 11 causes the ninth
The print process shown in the figure is performed. That is, when the inquiry code print command is input, the inquiry error codes stored in the RAM 15 are sequentially printed out by the printer 18 and a report is issued.
このような構成の本実施例においては、各ECR121
〜12nの1つにおいてそのバコードスキャナー25又
はキーボード27からPLUコードを入力すると、その
PLUコードがメインキーバッファ231に順次取込ま
れ、かつ取込まれた順番にPLUファイル16に設定さ
れているか否かをファイルコントローラ11へ問合わせ
る。そしてそのPLUコードがPLUファイル16に設
定されていればファイルコントローラ11から単価、部
門コード及び商品名が送られ、ECRは単価、部門コー
ドを表示器29に表示させるとともに単価、部門コード
及び商品名をプリンタ31によって印字出力させる。ま
た部門コードに基いてRAM23に部門登録させる。In this embodiment having such a configuration, each ECR 12 1
When the PLU code is input from the bar code scanner 25 or the keyboard 27 in one of the .about.12 n , the PLU code is sequentially loaded into the main key buffer 23 1 and set in the PLU file 16 in the order of loading. The file controller 11 is inquired whether or not it is present. If the PLU code is set in the PLU file 16, the unit price, department code and product name are sent from the file controller 11, and the ECR displays the unit price and department code on the display unit 29 and the unit price, department code and product name. Is printed out by the printer 31. Also, the department is registered in the RAM 23 based on the department code.
また問合わせたPLUコードがPLUファイル16に設
定されていなければファイルコントローラ11から否定
応答を受け、表示器29に第10図の(b)に示すよう
にメッセージ「UND(UNDEFINE)」と問合わ
せたPLUコード「490135103501」を表示
する。またその内容をプリンタ31によって印字出力し
記録する。またキーコードの取込み用に使用するキーバ
ッファをメインキーバッファ231からサブキーバッフ
ァ232へ切換え、エラーフラグF1及びキーバッファ
チェンジフラグF2をセットする。さらにブザー35及
びエラーランプ291をそれぞれONする。こうしてオ
ペレータは問合わせた結果該当するPLUコードが無く
てエラーとなったことを知る。そして表示器29によっ
てどのPLUコードがそれに該当するかを確実に知るこ
とができる。従ってPLUコードを例えばバーコードス
キャナー25によって連続して入力させている場合でも
どのPLUコードがエラーになったか知ることができ
る。また問合わせエラーとなったPLUコードが印字記
録されるので後で確認することもできる。さらにメイン
キーバッファ231が切り離れるのでそのバッファ23
1に格納されている他のキーコードはクリアされること
なくセーブされる。If the PLU code inquired is not set in the PLU file 16, a negative response is received from the file controller 11 and the display 29 inquires of the message "UND (UNDEDEFINE)" as shown in FIG. The PLU code “490135103501” is displayed. Further, the content is printed out by the printer 31 and recorded. Further, the key buffer used for fetching the key code is switched from the main key buffer 23 1 to the sub key buffer 23 2 , and the error flag F 1 and the key buffer change flag F 2 are set. Further, the buzzer 35 and the error lamp 29 1 are turned on. In this way, the operator knows as a result of the inquiry that there is no corresponding PLU code and an error has occurred. Then, the display unit 29 can surely know which PLU code corresponds to it. Therefore, even when the PLU code is continuously input by the barcode scanner 25, for example, which PLU code has an error can be known. Further, since the PLU code having the inquiry error is printed and recorded, it can be confirmed later. The buffer 23 Furthermore, since the main key buffer 23 1 leaves off
The other key codes stored in 1 are saved without being cleared.
またファイルコントローラ11ではPLUファイル16
に該当するPLUコードが設定されていないときにはそ
のコードを問合わせエラーコードとしてRAM15に格
納される。In the file controller 11, the PLU file 16
When the PLU code corresponding to is not set, the code is stored in the RAM 15 as an inquiry error code.
ECRでは例えばクリアキー2回仕様が設定されていれ
ばオペレータが最初のクリアキー274を操作した時点
ではブザー35のみがOFFし、表示は維持されてい
る。従ってブザー35の音でエラーに気が付きコードの
確認を忘れてすぐにクリアキー274を操作しても表示
はそのままとなっているのでその後エラーしたPLUコ
ードを確認することができる。このようにエラーしたP
LUコードの確認がより確実となる。If ECR For example, in the clear key twice specifications that are configured operator only the buzzer 35 is turned OFF at the time of operating the first clear key 27 4, the display is maintained. Therefore, since even if the operation immediately clear key 27 4 forgot to confirm the code noticed an error in the sound of the buzzer 35 display has become To it can be confirmed then PLU code error. P that made an error like this
Confirmation of the LU code becomes more reliable.
そして2回目のクリアキー274操作を行なうことによ
って表示はクリアされ、またキーコードを取込むキーバ
ッファもサブキーバッファ232からメインキーバッフ
ァ231に切替わる。こうしてメインキーバッファ23
1にセーブされた他のキーコードはオペレーションプロ
グラムによって順次リードされてファイルコントローラ
11に問合わせが行われ、ファイルコントローラ11の
PLUファイル16に対する登録が行われる。The display cleared, also switched even key buffer for taking the key code from the subkey buffer 23 2 on a main key buffer 23 1 by performing a second clear key 27 4 operation. Thus, the main key buffer 23
The other key code saved in 1 is sequentially read by the operation program to make an inquiry to the file controller 11, and the file controller 11 is registered in the PLU file 16.
従って、メインキーバッファ231に対してPLUコー
ドを連続して取込んでいる最中に問合わせエラーが発生
しても取込んだPLUコードはすべて有効となり、しか
もエラー状態が解除された後にそのPLUコードが引き
続いて登録されるようになるので、問合わせエラーのあ
ったPLUコードの後のPLUコードを再度入力し直す
面倒はない。Therefore, PLU code of the taken even query error occurs in the middle of crowded taken in succession the PLU code to the main key buffer 23 1 are all valid, moreover that after the error condition has been released Since the PLU code is continuously registered, there is no trouble of re-inputting the PLU code after the PLU code having the inquiry error.
さらに、ファイルコントローラ11においてはRAM1
5に問合わせエラーのあったPLUコードが格納され、
後でプリンタ18によって印字出力してレポート発行が
できるので、例えばファイルコントローラ11において
問合わせエラーとなったPLUコードをPLUファイル
16に設定する場合にその作業が容易となる。Furthermore, in the file controller 11, RAM1
The PLU code with the inquiry error is stored in 5.
Since the printer 18 can print out and issue a report later, for example, when setting the PLU code having the inquiry error in the file controller 11 in the PLU file 16, the operation becomes easy.
さらに、ディプスイッチによってクリアキー2回仕様が
1回仕様かを決め、2回仕様の場合にはクリアキー待ち
フラグF3をセットすることにより1回目のクリアキー
操作でブザー35をOFFし、2回目のクリアキー操作
で始めてエラー状態を解除し、また1回仕様の場合には
1回のクリアキー操作で直ちにエラー解除ができる。従
って用途に応じてエラー解除の方法を使い分けることが
でき使い勝手がよい。In addition, decide once specifications are clear key twice specification by dip switch, in the case of the two-times specification is OFF the buzzer 35 in the first round of the clear key operation by setting the clear key waiting flag F 3, 2 The error state can be released by the first clear key operation, and in the case of the one-time specification, the error can be immediately released by one clear key operation. Therefore, the method of releasing the error can be selectively used according to the application, which is convenient.
なお、前記実施例では商品コードとしてPLUコードを
使用した場合について述べたが必ずしもこれに限定され
るものではなく、JANコードやEANコードなどであ
ってもよい。In the above embodiment, the case where the PLU code is used as the product code has been described, but the present invention is not limited to this, and may be a JAN code or an EAN code.
[発明の効果] 以上詳述したようにこの発明によれば、ターミナルにお
いてどの商品コードについて問合わせを行なっていると
きにエラーが発生したか表示によって容易に確認でき
る。また、ターミナルにおいて問合わせエラーとなった
商品コードを表示するとともに音を発生し、最初のクリ
アキー操作で音のみを停止させ、2回目のクリアキー操
作で商品コードの表示を消すようにしているので問合わ
せエラーとなった商品コードの把握がより確実となる商
品販売データ処理装置を提供できるものである。[Effects of the Invention] As described in detail above, according to the present invention, it is possible to easily confirm by a display which product code an error occurs when making an inquiry about which product code. In addition, the product code that caused the inquiry error is displayed at the terminal, and a sound is generated. Only the first clear key operation stops the sound, and the second clear key operation erases the product code display. Therefore, it is possible to provide a product sales data processing device which makes it possible to more reliably grasp the product code in which the inquiry error occurs.
さらにこの発明によれば問合わせエラーの解除操作を1
回のクリアキー操作で行なう方法と2回のクリアキー操
作で行なう方法との2通りを選択できるようにしている
ので、用途に応じた使用ができ使い勝手がよい商品販売
データ処理装置を提供できるものである。Further, according to the present invention, the operation for canceling the inquiry error is 1
It is possible to provide a product sales data processing device that can be used according to the purpose and is convenient because it can be selected from two methods, one with the clear key operation once and the other with the clear key operation twice. Is.
図はこの発明の実施例を示すもので、第1図はブロック
図、第2図はECRの構成を示すブロック図、第3図は
ECRのRAMの主なメモリ構成を示す図、第4図〜第
6図はECRのCPUによるオペレーションプログラム
処理を示し、第4図はキー取込みフラグの処理を示す流
れ図、第5図はキー割込み処理を示す流れ図、第6図は
キー取込み処理を示す流れ図、第7図はECRのCPU
によるアプリケーションプログラム処理を示す流れ図、
第8図及び第9図はファイルコントローラのCPUによ
るプログラム処理を示し、第8図は問合わせ処理を示す
流れ図、第9図はプリント処理を示す流れ図、第10図
はECRの表示状態を示し、(a)は通常のエラー発生
時の表示状態を示す図、(b)は問合わせエラー発生時
の表示状態を示す図である。 11……ファイルコントローラ、121〜12n……E
CR(電子キャッシュレジスタ)、13……CPU、1
5……RAM、16……PLUファイル、18……プリ
ンタ、21……CPU、23……RAM、231……メ
インキーバッファ、232……サブキーバッファ、25
……バーコードスキャナー、27……キーボード、27
2……PLUキー、274……クリアキー、29……表
示器、31……プリンタ。FIG. 1 shows an embodiment of the present invention. FIG. 1 is a block diagram, FIG. 2 is a block diagram showing an ECR configuration, and FIG. 3 is a diagram showing a main memory configuration of an ECR RAM, and FIG. FIG. 6 shows the operation program processing by the CPU of the ECR, FIG. 4 is a flow chart showing the processing of the key fetch flag, FIG. 5 is a flow chart showing the key interruption processing, and FIG. 6 is a flow chart showing the key fetch processing. Figure 7 shows the ECR CPU
Flowchart showing application program processing by
FIGS. 8 and 9 show program processing by the CPU of the file controller, FIG. 8 is a flow chart showing inquiry processing, FIG. 9 is a flow chart showing print processing, FIG. 10 is a display state of ECR, (A) is a figure which shows the display state when a normal error occurs, (b) is a figure which shows a display state when an inquiry error occurs. 11 ... File controller, 12 1 to 12 n ... E
CR (electronic cash register), 13 ... CPU, 1
5 ... RAM, 16 ... PLU file, 18 ... Printer, 21 ... CPU, 23 ... RAM, 23 1 ... Main key buffer, 23 2 ... Sub key buffer, 25
…… Bar code scanner, 27 …… Keyboard, 27
2 ... PLU key, 27 4 ... Clear key, 29 ... Display, 31 ... Printer.
Claims (2)
の商品情報を設定した商品情報ファイルを設けたファイ
ルコントローラに、商品コードの入力手段及び表示器を
備えたターミナルを接続してなり、前記ターミナルの入
力手段から商品コードの入力があると前記ファイルコン
トローラにその商品コードについて問合わせを行ない、
前記ファイルコントローラは問合わせのあった商品コー
ドに対応した商品情報を前記商品情報ファイルから読出
して前記ターミナルに送信し、前記ターミナルは前記フ
ァイルコントローラからの商品情報を受取って前記表示
器に表示するとともに商品販売データの登録処理を行な
う商品販売データ処理装置において、 前記ファイルコントローラは、ターミナルからの問合わ
せがあると対応する商品コードが前記商品情報ファイル
にあるか否かを検索し、対応する商品コードが無いとき
にはその旨を前記ターミナルに送信する検索手段を設
け、 前記ターミナルは、前記ファイルコントローラから対応
する商品コードが無いことが知らされるとエラーメッセ
ージと問合わせコードを前記表示器に表示させる表示処
理手段と、前記ファイルコントローラから対応する商品
コードが無いことが知らされると動作する音発生装置
と、クリアキーと、このクリアキーの最初の操作によっ
て前記音発生装置の動作を停止させ、そのクリアキーの
2回目の操作によって前記表示器のエラーメッセージと
問合わせコードの表示をクリアするクリア処理手段を設
けたことを特徴とする商品販売データ処理装置。1. A terminal having a product code input means and a display is connected to a file controller provided with a product information file in which product information such as unit price is set for each product code attached to each product. , When the product code is input from the input means of the terminal, the file controller is inquired about the product code,
The file controller reads the product information corresponding to the product code inquired from the product information file and sends it to the terminal, and the terminal receives the product information from the file controller and displays it on the display. In the product sales data processing device that performs registration processing of product sales data, the file controller searches for a corresponding product code in the product information file when an inquiry is made from the terminal, and then the corresponding product code. If there is no such item, search means is provided to send a message to that effect to the terminal, and when the terminal is notified by the file controller that there is no corresponding product code, the terminal displays an error message and an inquiry code on the display. Processing means and the file controller Sound generator that operates when there is no corresponding product code from the controller, the clear key, and the operation of the sound generator is stopped by the first operation of the clear key, and the second time of the clear key. The product sales data processing device, which is provided with a clear processing means for clearing the display of the error message and the inquiry code of the display by the operation of.
の商品情報を設定した商品情報ファイルを設けたファイ
ルコントローラに、商品コードの入力手段及び表示器を
備えたターミナルを接続してなり、前記ターミナルの入
力手段から商品コードの入力があると前記ファイルコン
トローラにその商品コードについて問合わせを行ない、
前記ファイルコントローラは問合わせのあった商品コー
ドに対応した商品情報を前記商品情報ファイルから読出
して前記ターミナルに送信し、前記ターミナルは前記フ
ァイルコントローラからの商品情報を受取って前記表示
器に表示するとともに商品販売データの登録処理を行な
う商品販売データ処理装置において、 前記ファイルコントローラは、ターミナルからの問合わ
せがあると対応する商品コードが前記商品情報ファイル
にあるか否かを検索し、対応する商品コードが無いとき
にはその旨を前記ターミナルに送信する検索手段を設
け、 前記ターミナルは、前記ファイルコントローラから対応
する商品コードが無いことが知らされるとエラーメッセ
ージと問合わせコードを前記表示器に表示させる表示処
理手段と、前記ファイルコントローラから対応する商品
コードが無いことが知らされると動作する音発生装置
と、クリアキーと、このクリアキーの最初の操作によっ
て前記音発生装置の動作を停止させ、そのクリアキーの
2回目の操作によって前記表示器のエラーメッセージと
問合わせコードの表示をクリアする第1のクリア処理手
段と、前記クリアキーの1回の操作によって前記音発生
装置の動作停止と前記表示器のエラーメッセージと問合
わせコードの表示クリアを同時に行なう第2のクリア処
理手段と、前記第1、第2のクリア処理手段を選択動作
させる選択手段を設けたことを特徴とする商品販売デー
タ処理装置。2. A terminal having a product code input means and a display is connected to a file controller provided with a product information file in which product information such as unit price is set for each product code attached to each product. , When the product code is input from the input means of the terminal, the file controller is inquired about the product code,
The file controller reads the product information corresponding to the product code inquired from the product information file and sends it to the terminal, and the terminal receives the product information from the file controller and displays it on the display. In the product sales data processing device that performs registration processing of product sales data, the file controller searches for a corresponding product code in the product information file when an inquiry is made from the terminal, and then the corresponding product code. If there is no such item, search means is provided to send a message to that effect to the terminal, and when the terminal is notified by the file controller that there is no corresponding product code, the terminal displays an error message and an inquiry code on the display. Processing means and the file controller Sound generator that operates when there is no corresponding product code from the controller, the clear key, and the operation of the sound generator is stopped by the first operation of the clear key, and the second time of the clear key. First clear processing means for clearing the display of the error message and the inquiry code of the display device by the operation of, and the operation stop of the sound generating device and the error message of the display device by one operation of the clear key. A product sales data processing device comprising: second clear processing means for simultaneously clearing the display of the inquiry code; and selecting means for selectively operating the first and second clear processing means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10449086A JPH0652550B2 (en) | 1986-05-07 | 1986-05-07 | Product sales data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10449086A JPH0652550B2 (en) | 1986-05-07 | 1986-05-07 | Product sales data processing device |
Related Child Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28491493A Division JP2534826B2 (en) | 1993-11-15 | 1993-11-15 | Product sales data processing device |
| JP5284915A Division JP2501539B2 (en) | 1993-11-15 | 1993-11-15 | Error notification device of data processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62260293A JPS62260293A (en) | 1987-11-12 |
| JPH0652550B2 true JPH0652550B2 (en) | 1994-07-06 |
Family
ID=14381981
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10449086A Expired - Lifetime JPH0652550B2 (en) | 1986-05-07 | 1986-05-07 | Product sales data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0652550B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0678393B2 (en) * | 1987-10-15 | 1994-10-05 | 松下電器産業株式会社 | Method for producing polyacetylene |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57161965A (en) * | 1981-03-30 | 1982-10-05 | Fujitsu Ltd | Pos terminal device |
| JPS6014371A (en) * | 1983-07-05 | 1985-01-24 | Tokyo Electric Co Ltd | POS system |
-
1986
- 1986-05-07 JP JP10449086A patent/JPH0652550B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62260293A (en) | 1987-11-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0652550B2 (en) | Product sales data processing device | |
| JP2620061B2 (en) | Product sales data processing device | |
| JP2501539B2 (en) | Error notification device of data processing device | |
| JP2534826B2 (en) | Product sales data processing device | |
| JP2918766B2 (en) | Product sales data processing device | |
| JPS637964A (en) | Printer control apparatus of cash register | |
| JP2930391B2 (en) | Product sales data processing device | |
| JP2505259B2 (en) | Product sales data processing device | |
| JPH0293894A (en) | Product sales data processing device | |
| JPH02112095A (en) | Product sales data processing device | |
| JP2508952B2 (en) | Sales data processing method | |
| JP3195890B2 (en) | Product data processing device | |
| JPH0737163A (en) | Commodity sales registering device | |
| JPS6269395A (en) | Sales data processing device | |
| JPH0374795A (en) | Product sales data processing device | |
| JPH0413711Y2 (en) | ||
| JP2584549B2 (en) | Product sales data processing device | |
| JPH0677255B2 (en) | Transaction processing slip reissue device | |
| JPH0293893A (en) | Product sales data processing device | |
| JPH0737168A (en) | Transaction processor | |
| JPH041890A (en) | Receipt issuing device | |
| JPH01159790A (en) | Product sales data processing device | |
| JPS63293699A (en) | POS system | |
| JPS60237593A (en) | Sales registration device | |
| JPH02143395A (en) | Product sales data processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |