JPH0760475B2 - Electronic cash register - Google Patents
Electronic cash registerInfo
- Publication number
- JPH0760475B2 JPH0760475B2 JP63267723A JP26772388A JPH0760475B2 JP H0760475 B2 JPH0760475 B2 JP H0760475B2 JP 63267723 A JP63267723 A JP 63267723A JP 26772388 A JP26772388 A JP 26772388A JP H0760475 B2 JPH0760475 B2 JP H0760475B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- item
- key
- line
- 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 - Fee Related
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Description
【発明の詳細な説明】 (イ) 産業上の利用分野 本発明はレストラン等で使用される電子式キャッシュレ
ジスタに関する。The present invention relates to an electronic cash register used in a restaurant or the like.
(ロ) 従来の技術 レストラン等の飲食店に於いては、客が料理等を注文し
た際電子式キャッシュレジスタに注文内容を客毎に登録
しておき、客が食事を終わり支払いする際に登録内容を
印字しレシートとして発行する方式が採用されている所
が有る。したがって客が支払いする迄に何回かに分けて
追加注文をしたとしても、全て注文内容の登録が行なわ
れ支払い時にまとめて請求することが出来る(例えば特
開昭55−88162号公報参照)。(B) Conventional technology In restaurants such as restaurants, when a customer orders food etc., the order details are registered in the electronic cash register for each customer, and when the customer finishes the meal and pays for the registration. There is a place where a method of printing the contents and issuing as a receipt is adopted. Therefore, even if the customer makes additional orders several times before making the payment, all the order contents are registered and it is possible to make a bill at the time of payment (see, for example, JP-A-55-88162).
(ハ) 発明が解決しようとする課題 而して支払い時に登録内容を印字する際、従来は第7図
に示すように登録された順番に印字する方法と、第8図
に示すように商品毎に集計した上で印字する方法の何れ
かが採用されていたが、前者の方法では商品毎のまとめ
が行なわれていない為見難く、又後者の方法では商品毎
の集計が行なわれており見易くなっているが、値引き等
についてもまとめて集計されている為、どの商品につい
ての値引きであるのか分からないという問題が有った。(C) Problems to be Solved by the Invention When printing the registration contents at the time of payment, conventionally, a method of printing in the order of registration as shown in FIG. 7 and an individual product as shown in FIG. One of the methods of printing after totaling was used, but it is difficult to see because the former method does not summarize each product, and the latter method makes it easy to see because each product is aggregated. However, there is a problem that it is not possible to know which product the discount is for because the discounts are also summarized.
(ニ) 課題を解決するための手段 本発明は各種キーが設けられたキーボードと、各キーの
属性を記憶した手段と、入力されたデータを同一項目毎
に集計して記憶する手段と、入力されたデータの連結関
係を記憶した手段と、記憶されているデータから連結関
係にあるデータを順次読み出し印字するよう制御する制
御手段で構成したものである。(D) Means for Solving the Problems The present invention provides a keyboard provided with various keys, a means for storing attributes of each key, a means for totaling and storing input data for each same item, and an input It is composed of means for storing the connection relation of the stored data and control means for controlling to sequentially read out and print the data having the connection relation from the stored data.
(ホ) 作用 本発明は上述の如く構成したので、登録されているデー
タを印字する際、商品毎に印字が行なわれると共に、商
品に関連したデータが順次読み出され印字されるので、
第9図に示すように印字され、値引き等の対応関係が明
確となる。(E) Operation Since the present invention is configured as described above, when the registered data is printed, the printing is performed for each product and the data related to the products are sequentially read and printed.
Printed as shown in FIG. 9, the correspondence such as discounts becomes clear.
(ヘ) 実施例 以下本発明の実施例を図面に基づき説明する。(F) Example An example of the present invention will be described below with reference to the drawings.
第1図は本発明の電子式キャッシュレジスタの回路構成
を示し、(1)はマイクロプロセッサで構成される制御
回路で、予め処理プログラムが記憶されているプログラ
ムメモリ(2)のプログラムに従い全体の制御を司る。
(3)は第2図に示すように置数キー(3A)、商品部門
別キー(3B)及び取引キー(3C)等の複数のキースイッ
チで構成されるキーボードで、信号バス(4)を介して
制御回路(1)と接続されている。(5)はキーボード
(3)より入力されたデータ或いは制御回路(1)によ
り処理されたデータ等が記憶されるデータメモリで、第
3図に示すようにキーボード(3)の各キーに関するデ
ータを記憶する領域(5A)と、入力データが一時記憶さ
れる二つのバッファ領域(5B)(5C)と、処理データが
記憶されメモリのアドレス指定するポインタの作用をす
る4つの領域(5D)(5E)(5F)(5G)と、その他のデ
ータを記憶する領域(5H)で構成されており、領域(5
A)は更にキーがメインかサブかを区別するデータを記
憶する領域(5I)と、商品部門区別キー(3B)の場合に
商品名データを記憶する領域(5J)で構成されている。FIG. 1 shows a circuit configuration of an electronic cash register of the present invention. (1) is a control circuit composed of a microprocessor, and the entire control is performed according to a program in a program memory (2) in which a processing program is stored in advance. Control
(3) is a keyboard composed of a plurality of key switches such as a numeral key (3A), a product department key (3B) and a transaction key (3C) as shown in FIG. 2, and a signal bus (4) It is connected via a control circuit (1). (5) is a data memory for storing data input from the keyboard (3) or data processed by the control circuit (1). As shown in FIG. 3, data relating to each key of the keyboard (3) is stored. An area (5A) for storing, two buffer areas (5B) (5C) for temporarily storing input data, and four areas (5D) (5E) for storing processed data and acting as pointers for addressing memory. ) (5F) (5G) and other data storage area (5H).
A) further comprises an area (5I) for storing data for distinguishing whether the key is main or sub, and an area (5J) for storing product name data in the case of the product division distinguishing key (3B).
(6)は客毎の登録データを記憶する登録メモリで、第
4図に示すように(M1)〜(MN)複数のメモリブロック
で構成され、1つのブロックに1人の客の注文データを
記憶するよう構成されている。そして登録メモリ(6)
の客毎の各ブロックには第5図に示すように、1つのラ
インに入力データに関し複数の項目に区分してデータ記
憶可能に構成されており、(6A)はそのラインが使用中
か不使用かを指示するデータが書込まれる領域で、使用
時は「1」が書込まれ不使用時には「0」が書込まれ
る。(6B)はそのラインのデータがメインかサブかを区
別するデータが記憶される領域、(6C)はキーの種類を
示すデータが記憶される領域、(6D)は単価或いは単位
を示すデータが記憶される領域、(6E)は単価データが
加算され金額を示すデータが記憶される領域、(6F)は
件数を示すデータが記憶される領域で、件数の加算が行
なわれる。(6G)はリンクするサブラインの有無を示す
データを記憶する領域で、サブラインが有る時「1」が
無い時「0」が書込まれる。(6H)はリンクするLINE番
号を記憶する領域である。(6) is a registration memory for storing registration data for each customer. As shown in FIG. 4, (M 1 ) to (M N ) is composed of a plurality of memory blocks, and one customer's order is placed in one block. It is configured to store data. And registration memory (6)
As shown in Fig. 5, each block of each customer is configured to be able to store data by dividing the input data into a plurality of items on one line. (6A) indicates whether the line is in use or not. This is an area in which data indicating whether to use is written. When used, "1" is written, and when not used, "0" is written. (6B) is an area that stores data that distinguishes whether the line data is main or sub, (6C) is an area that stores data indicating the type of key, and (6D) is data that indicates a unit price or unit. An area to be stored, (6E) is an area in which unit price data is added and data showing an amount of money is stored, and (6F) is an area in which data showing the number of cases is stored, and the number of cases is added. (6G) is an area for storing data indicating the presence / absence of sub-lines to be linked, and "0" is written when there is a sub-line and there is no "1". (6H) is an area for storing the linked LINE number.
(7)はキーボード(3)より入力されたデータ或いは
制御回路(1)により処理されたデータが表示される表
示器である。(8)はキーボード(3)より入力された
データ或いは制御回路(1)により処理されたデータが
印字される印字装置で、レシート印字とジャーナル印字
を行なう。Reference numeral (7) is a display for displaying data input from the keyboard (3) or data processed by the control circuit (1). A printing device (8) prints data input from the keyboard (3) or data processed by the control circuit (1), and performs receipt printing and journal printing.
次に斯る構成よりなる本発明の動作につき説明する。Next, the operation of the present invention having such a configuration will be described.
先ず使用に先立ち商品部門別キー(3B)に商品名とメイ
ン或いはサブのキーの属性データを入力して記憶させ
る。今説明上部門1キー(3D)に「コーヒー」、部門2
キー(3E)に「ハンバーガー」、部門3キー(3F)に
「ポテト」及び部門4キー(3G)に「トマト」が第3図
に示すように設定されている。又部門キー(3D)(3E)
(3F)はメインキーであり、データメモリ(5)の領域
(5I)にはメインキーを示すデータ(M)が設定され、
部門キー(3G)はサブキーとして使用される為、領域
(5I)にはサブキーを示すデータ(S)が設定される。
尚キーボード(3)の他のキーについても、同様にして
データメモリ(5)の領域(5A)にキーの属性と部門別
キー(3B)については商品名が記憶される。First, the product name and the attribute data of the main or sub key are input and stored in the product department key (3B) prior to use. For the sake of explanation, “Coffee” is assigned to the section 1 key (3D) and section 2
The key (3E) is set to "hamburger", the department 3 key (3F) is set to "potato", and the department 4 key (3G) is set to "tomato" as shown in FIG. Also department key (3D) (3E)
(3F) is a main key, and data (M) indicating the main key is set in the area (5I) of the data memory (5),
Since the department key (3G) is used as a subkey, data (S) indicating the subkey is set in the area (5I).
For the other keys of the keyboard (3), the attribute of the key and the product name of the department key (3B) are similarly stored in the area (5A) of the data memory (5).
次に第6図に示す具体的キー入力に基づき動作を説明す
る。Next, the operation will be described based on the specific key input shown in FIG.
先ず注文データを入力する前に客を特定するコード番号
を入力し、登録メモリ(6)のデータを登録するメモリ
ブロックを指定しておく。そこでコーヒーの注文でキー
ボード(3)の置数キー(3A)により価格の「250」を
入力し、部門1キー(3D)を操作すると、キーデータを
検出した制御回路(1)は、データメモリ(5)の領域
(5A)より部門1キー(3D)に対応したデータを読み出
し、ステップ(S1)でメインキーかサブキーかの検出を
行なう。今部門1キー(3D)はメインキーに設定されて
おり、ステップ(S2)に進みデータメモリ(5)のメイ
ンバッファ領域(5B)に入力したデータ(置数キーによ
り入力された単価及び部門キー等に対応した項目)の書
込みを行なう。次にステップ(S3)でデータメモリ
(5)のLINEポインタ(5D)に1を設定した後、ステッ
プ(S4)でLINEポインタ(5D)の値に基づき登録メモリ
(6)のLINE−1の領域(6A)をチェックし使用中か否
か検出するが、今最初で未使用である為ステップ(S4)
よりステップ(S7)に進み登録メモリ(6)の領域(6
A)(6B)(6C)(6D)にデータの書込みを行ない、続
いてステップ(S8)に進み登録メモリ(6)の領域(6
E)(6F)にデータ加算を行なう。この結果第6図
(a)で示すキー操作により登録メモリ(6)のLINE−
1には、第10図に示すようにデータが書込まれる。First, before inputting order data, a code number for identifying a customer is input, and a memory block for registering data in the registration memory (6) is designated. Then, when ordering coffee, enter the price "250" with the numeric keypad (3A) of the keyboard (3) and operate the department 1 key (3D), the control circuit (1) that detected the key data Data corresponding to the department 1 key (3D) is read from the area (5A) of (5), and it is detected in step (S1) whether the key is a main key or a sub key. Now, the department 1 key (3D) is set as the main key, and the data entered in the main buffer area (5B) of the data memory (5) at the step (S2) (unit price entered by the numeric key and department key Write the item corresponding to "etc." Next, in step (S3), set 1 to the LINE pointer (5D) of the data memory (5), and then in step (S4) based on the value of the LINE pointer (5D), the LINE-1 area of the registered memory (6). Check (6A) to detect whether it is in use, but since it is unused at the beginning, step (S4)
Then, the process proceeds to step (S7) and the area (6
Data is written in A), (6B), (6C), and (6D), and then in step (S8), the area (6
E) Add data to (6F). As a result, LINE- in the registration memory (6) is operated by the key operation shown in FIG. 6 (a).
Data is written in 1 as shown in FIG.
次にコーヒーは10%の値引きするということで、第6図
(b)で示すキー操作が行なわれると、「%」キー(3
H)はサブキーに設定されているので、ステップ(S10)
に進み入力されたデータをデータメモリ(5)のサブバ
ッファ領域(5C)に書込みを行なう。続いてステップ
(S11)でデータメモリ(5)のLINEポインタ(5D)を
「1」に設定し、ステップ(S12)で登録メモリ(6)
のLINE−1の領域(6A)をチェックすることにより使用
中か否か判定するが、前述の第6図(a)のキー操作に
よりLINE−1は使用中となっており、次にステップ(S1
3)に進みデータメモリ(5)のメインバッファ(5B)
のデータと、登録メモリ(6)の領域(6C)(6D)のデ
ータの比較により同一のメインデータか否か判定する。
今同一であるのでステップ(S15)に進み登録メモリ
(6)の領域(6G)のチェックでリンクしたサブライン
が有るか否か判定するが、今リンクされていない為ステ
ップ(S19)に進みデータメモリ(5)のLINE2ポインタ
(5F)に「1」を設定する。そしてステップ(S20)へ
進み登録メモリ(6)のLINE−1をチェックして使用中
か否か判定するが、既にLINE−1は使用中である為、ス
テップ(S21)に進みLINE2ポインタをインクリメントし
「2」としてステップ(S20)に進み、LINE2ポインタ
(5F)の値「2」に基づき登録メモリ(6)のLINE−2
が使用中か否か判定するが、LINE−2は未使用でありス
テップ(S22)へ進み、LINEポインタ(5D)の指示に基
づきLINE−1の領域(6G)にサブラインが有ることを示
すデータ「1」を書込むと共に、領域(6H)にLINE2ポ
インタ(5F)の値「2」をリンクするLINE−N0として第
11図に示すように書き込む。続いてステップ(S23)に
進みデータメモリ(5)のサブバッファ(5C)の項目及
び単価データを登録メモリ(6)のLINE−2の領域(6
A)〜(6D)に書込み、ステップ(S24)で金額、件数の
データを登録メモリ(6)領域(6E)(6F)に加算して
終了する。この結果第6図(b)のキー操作が終った時
点で登録メモリ(6)には第11図に示すようにデータが
書込まれる。Next, the coffee is discounted by 10%, and when the key operation shown in FIG. 6 (b) is performed, the "%" key (3
H) is set as a subkey, so step (S10)
Then, the input data is written in the sub-buffer area (5C) of the data memory (5). Then, in step (S11), the LINE pointer (5D) of the data memory (5) is set to "1", and in step (S12) the registered memory (6) is set.
It is judged whether or not it is in use by checking the area (6A) of LINE-1 of LINE-1. However, LINE-1 is in use by the key operation of the above-mentioned FIG. 6 (a), and next step ( S1
Proceed to 3) and main buffer (5B) of data memory (5)
And the data in the areas (6C) and (6D) of the registered memory (6) are compared to determine whether they are the same main data.
Since it is the same now, the procedure proceeds to step (S15), and it is determined whether or not there is a linked sub line by checking the area (6G) of the registered memory (6). However, since it is not linked now, the procedure proceeds to step (S19) and the data memory Set "1" to the LINE2 pointer (5F) in (5). Then, in step (S20), the LINE-1 of the registered memory (6) is checked to determine whether or not it is in use. However, since LINE-1 is already in use, the operation proceeds to step (S21) and the LINE2 pointer is incremented. Then, the process proceeds to step (S20) as "2", and LINE-2 of the registered memory (6) is stored based on the value "2" of the LINE2 pointer (5F).
It is determined whether or not is in use, but LINE-2 is not used and the process proceeds to step (S22), and data indicating that there is a subline in the LINE-1 area (6G) based on the instruction of the LINE pointer (5D). As a LINE-N 0 that writes "1" and links the value "2" of the LINE2 pointer (5F) to the area (6H).
11 Write as shown in the figure. Then, in step (S23), the items in the sub-buffer (5C) of the data memory (5) and unit price data are stored in the LINE-2 area (6) of the registration memory (6).
A) to (6D) are written, and in step (S24), the amount of money and the number of items of data are added to the registration memory (6) areas (6E) and (6F), and the processing ends. As a result, when the key operation of FIG. 6 (b) is completed, the data is written in the registration memory (6) as shown in FIG.
次に第6図(C)に示すキー操作が行なわれると、
(a)のキー操作の場合と同様にして、ステップ(S1)
(S2)(S3)(S4)(S5)と進むが、ステップ(S5)の
判定に於いて同一のメインデータでないので、ステップ
(S6)に進みLINEポインタ(5D)をインクリメントしス
テップ(S4)でLINE−2が使用中か否か判定するが、使
用中である為ステップ(S5)に進み同一データか否か判
定する。しかし同一でないので再びステップ(S6)に進
みLINEポインタ(5D)をインクリメントして「3」を設
定してステップ(S4)に戻る。そこでLINEポインタ(5
D)が指示するLINE−3は使用中でないのでステップ(S
7)に進み、第6図(a)のキー操作と同様にしてステ
ップ(S7)(S8)で登録メモリ(6)のLINE−3に第12
図に示すようにデータの書込みを行なう。次に第6図
(d)に示すキー操作が行なわれると、値引キー(3I)
はサブキーに設定されているので、ステップ(S1)より
ステップ(S10)へ進み、前述と同様の処理により登録
メモリ(6)にデータの書込みがおこなわれるが、ステ
ップ(S13)で同一のメインデータが見つかるのはLINE
ポインタ(5D)のデータが「3」の時であり、それ迄は
ステップ(S12)(S13)(S14)の処理を繰り換す。ス
テップ(S13)によりLINE−3がメインデータであるこ
とが分ると、ステップ(S15)に進むがLINE−3にはサ
ブラインのリンクはなくステップ(S19)に進む。LINE
−3迄は使用中であるので、LINE2ポインタ(5F)の値
が「4」になり、LINE−4を指示した時ステップ(S2
0)よりステップ(S22)へ進み前述と同様にデータの書
込みを行なうことにより、第13図に示すように登録メモ
リ(6)にデータが書込まれる。Next, when the key operation shown in FIG. 6 (C) is performed,
Similar to the case of the key operation of (a), step (S1)
(S2) (S3) (S4) (S5), but since it is not the same main data in the judgment of step (S5), it advances to step (S6) and increments the LINE pointer (5D) to step (S4). It is determined whether or not LINE-2 is in use, but since it is in use, it proceeds to step (S5) and determines whether or not it is the same data. However, since they are not the same, the process proceeds to step (S6) again, increments the LINE pointer (5D) to set "3", and returns to step (S4). Then LINE pointer (5
LINE-3 instructed by D) is not in use, so step (S
Proceed to 7), and in the same way as the key operation of FIG. 6 (a), in steps (S7) (S8), the LINE-3 of the registration memory (6)
Data is written as shown in the figure. Next, when the key operation shown in FIG. 6 (d) is performed, the discount key (3I)
Is set as a subkey, the process proceeds from step (S1) to step (S10), and data is written to the registered memory (6) by the same process as described above, but the same main data is written in step (S13). Can be found on LINE
It is when the data of the pointer (5D) is "3", and until then, the processing of steps (S12) (S13) (S14) is repeated. If LINE-3 is found to be the main data in step (S13), the process proceeds to step (S15), but there is no subline link in LINE-3 and the process proceeds to step (S19). LINE
Since it is in use up to -3, the value of the LINE2 pointer (5F) becomes "4" and the step (S2
The process proceeds from step 0) to step (S22), and the data is written in the same manner as described above, whereby the data is written in the registered memory (6) as shown in FIG.
次に第6図(e)に示すキー操作が行なわれると、ステ
ップ(S4)よりステップ(S5)へ進みLINE−1は同一の
メインデータとの判定を行なうので、ステップ(S5)よ
りステップ(S8)に進み登録メモリ(6)に加算を行な
う。この結果登録メモリ(6)のLINE−1は第14図に示
すように金額が「500」となり、件数が「2」となる。Next, when the key operation shown in FIG. 6 (e) is performed, the process proceeds from step (S4) to step (S5), and LINE-1 determines that it is the same main data. Proceed to S8) and add to the registered memory (6). As a result, the amount of money in LINE-1 of the registration memory (6) becomes "500" and the number of cases becomes "2" as shown in FIG.
以後第6図(f)(g)(h)(i)(j)のキー操作
に於いても同様の処理が行なわれ、第15図に示すように
登録メモリ(6)にデータが書込まれる。After that, the same processing is performed in the key operation of FIGS. 6 (f) (g) (h) (i) (j), and the data is written in the registration memory (6) as shown in FIG. Be done.
次に第6図(j)のキー操作に続き、(k)のキー操作
が行なわれると、ハンバーガーにトマトを付けて注文し
たということであり、部門4キー(3G)は部門2キー
(3E)のサブキーとして設定されているので、ステップ
(S1)よりステップ(S10)へ進み前述と同様の処理を
行なうが、この時点でメインバッファ(5B)に格納され
ているメインデータと同一のメインデータがステップ
(S13)で検出されるのは、LINEポインタ(5D)が
「3」の時であり、それ迄はステップ(S12)〜(S14)
の処理を繰り返す。そこでLINE−3が同一メインデータ
であることを検出すると、ステップ(S15)に進みLINE
−3にサブラインがリンクされているか否かの検出を行
なうが、既にLINE−4がリンクされているので、ステッ
プ(SS15)よりステップ(S16)へ進みLINE−3の領域
(6H)よりリンクされているLINE−N0を読み出し、デー
タメモリ(5)のSUBLINEポインタ(5G)に設定する。
したがって今の場合「4」が設定される。次にステップ
(S17)に進みSUBLINEポインタ(5G)の値をLINEポイン
タ(5D)に設定し、LINEポインタ(5D)が指示する登録
メモリ(6)をステップ(18)でチェックし、同一サブ
データか否か判定する。今LINEポインタ(5D)は「4」
に設定されており、LINE−4は同一ではないのでステッ
プ(S15)へ進みLINE−4にリンクされているサブライ
ンが有るか否か判定する。しかしLINE−4にはリンクさ
れているサブラインは無いので、ステップ(S19)へ進
み前述と同様の処理を行なう。この際ステップ(S20)
(S21)の処理を行なうが、LINE−6迄は既に使用中で
ある為、LINE2ポインタ(5F)が「7」に設定されLINE
−7を指定した時、ステップ(S20)よりステップ(S2
2)へ進む。そしてLINEポインタ(5D)が指定するLINE
−4の領域(6H)にLINE2ポインタ(5F)の値「7」をL
INK−N0として書込み、ステップ(S23)(S24)でLINE
−7にデータの書込みを行なうことにより、登録メモリ
(6)は第16図に示す状態となる。この様にして全ての
データ入力が終了した時点で、登録メモリ(6)のLINE
−1にはLINE−2、5がリンクされ、又LINE−3にLINE
−4、7がリンクされていることが分る。Next, when the key operation of (k) is performed following the key operation of FIG. 6 (j), it means that the order was made by attaching tomatoes to the hamburger, and the department 4 key (3G) was the department 2 key (3E). ) Is set as a subkey, the process proceeds from step (S1) to step (S10) and the same processing as described above is performed, but at this point the same main data as the main data stored in the main buffer (5B) Is detected in step (S13) when the LINE pointer (5D) is "3", and until then, steps (S12) to (S14).
The process of is repeated. Therefore, if it is detected that LINE-3 has the same main data, the process proceeds to step (S15).
It is detected whether or not the sub-line is linked to -3. Since LINE-4 has already been linked, go from step (SS15) to step (S16) and link from the LINE-3 area (6H). Read LINE-N 0 and set it to the SUBLINE pointer (5G) of the data memory (5).
Therefore, in this case, "4" is set. Next, in step (S17), the value of the SUBLINE pointer (5G) is set in the LINE pointer (5D), the registered memory (6) pointed to by the LINE pointer (5D) is checked in step (18), and the same sub data It is determined whether or not. Now the LINE pointer (5D) is "4"
Since LINE-4 is not set to the same, the process proceeds to step (S15) and it is determined whether there is a subline linked to LINE-4. However, since there is no subline linked to LINE-4, the process proceeds to step (S19) and the same processing as described above is performed. At this time, step (S20)
(S21) is processed, but since LINE-6 is already in use, the LINE2 pointer (5F) is set to "7" and LINE is set.
When -7 is specified, from step (S20) to step (S2
Go to 2). And the LINE specified by the LINE pointer (5D)
LINE2 pointer (5F) value "7" in area -4 (6H)
Write as INK-N 0 and LINE in steps (S23) (S24)
By writing the data to -7, the registration memory (6) becomes the state shown in FIG. When all data is input in this way, LINE of the registration memory (6)
LINE-2 and 5 are linked to -1, and LINE to LINE-3
It can be seen that -4 and 7 are linked.
尚客が注文を何回かに分けて行なっても、最終的には第
16図に示すように登録メモリ(6)にデータの登録が行
なわれる。Even if the customer divides the order into several times, the final
Data is registered in the registration memory (6) as shown in FIG.
又前述の説明では記載しなかったが、客にコード番号を
割当て区別することにより、登録メモリ(6)のメモリ
ブロック(M1)〜(MN)をコード番号の識別で区別すれ
ば、複数の客を区別して登録メモリ(6)のメモリブロ
ック(M1)〜(MN)にデータを登録することができる。Although not described in the above description, by assigning a code number to the customer and distinguishing them, if the memory blocks (M 1 ) to (M N ) of the registered memory (6) are distinguished by the identification of the code number, a plurality of them can be obtained. Data can be registered in the memory blocks (M 1 ) to (M N ) of the registration memory (6) by distinguishing the customers.
そして最後に客が支払いを行なう際に客のコード番号を
入力し合計キー(3J)を操作すると、キー信号を検出し
た制御回路(1)は、登録メモリ(6)のその客に対応
したメモリブロックよりデータを読み出し、印字装置
(8)を制御してレシート及びジャーナルへ印字を行な
う。即ち第19図に示すように、先ずステップ(S100)で
データメモリ(5)のLINEポインタ(5D)を「1」に設
定し、登録メモリ(6)のサーチを行なう。そしてステ
ップ(S102)で登録メモリ(6)の領域(6B)のチェッ
クでメインデータかサブデータかの判定を行ない、メイ
ンデータであればステップ(S104)へ進むが、サブデー
タの場合ステップ(S103)へ進みLINEポインタ(5D)の
値をインクリメントし、メインデータが検出される迄繰
り返す。最初LINE−1はメインデータであるので、ステ
ップ(S104)に進みLINE−1の内容を読み出し、第9図
(a)(b)に示すように印字を行なう。次にステップ
(S105)に進みLINEポインタ(5D)の値をLINE1ポイン
タ(5E)に設定する。したがって今LINE1ポインタ(5
E)には「1」が設定される。続いてステップ(S106)
に進みLINE1ポインタ(5E)の値に基づき登録メモリ
(6)のサーチを行ない、リンクされているサブライン
が有るか否か判定するが、LINE−1にはLINE−2がリン
クされているので、ステップ(S107)へ進みLINE−1の
領域(6H)より読み出したLINE−N0の「2」をLINE1ポ
インタ(5E)に設定する。そしてLINE1ポインタ(5E)
が指示するLINE−2のデータを読み出しステップ(S10
8)で第9図(c)(d)の様に印字する。印字を終る
とステップ(S106)へ戻りLINE−2にリンクされている
サブラインが有るか否か検出するが、LINE−5がリンク
されているので、ステップ(S107)(S108)と進み前述
と同様にしてLINE−5のデータを第9図(e)のように
印字する。LINE−5の印字を終るとステップ(S106)で
リンクされているサブラインの検出を行なうが、LINE−
5にはリンクされていないので、ステップ(S106)より
ステップ(S103)へ進みLINEポインタ(5D)の値をイン
クリメントしステップ(S101)へ進む。この結果LINE−
2がサーチされるが、LINE−2はサブラインであるの
で、ステップ(S102)よりステップ(S103)へ進みLINE
ポインタ(5D)を「3」に設定する。LINE−3はメイン
ラインである為、ステップ(S104)へ進み第9図(f)
(g)のようにLINE−3のデータの印字を行なう。その
後前述と同様にしてステップ(S105)(S106)(S107)
(S108)の処理により、LINE−3にリンクされているサ
ブラインの印字を行なうが、LINE−3にはLINE−4、7
がリンクされているので、第9図(h)(i)の様に印
字が行なわれる。そして続いてLINE−6のデータが第9
図(j)のように印字されると、ステップ(S101)で登
録メモリ(6)のLINE−8が不使用であることを検出す
ると、ステップ(S109)へ進み登録メモリ(6)の領域
(6E)のデータの加算を行ない合計を求めステップ(S1
10)で第9図(k)のように印字して終了する。Finally, when the customer pays the customer's code number and operates the total key (3J), the control circuit (1) that detects the key signal causes the memory corresponding to the customer in the registered memory (6). The data is read from the block and the printing device (8) is controlled to print on the receipt and the journal. That is, as shown in FIG. 19, first, in step (S100), the LINE pointer (5D) of the data memory (5) is set to "1", and the registration memory (6) is searched. Then, in step (S102), the area (6B) of the registered memory (6) is checked to determine whether it is main data or sub data. If it is main data, the process proceeds to step (S104), but if it is sub data, step (S103). ), Increment the value of the LINE pointer (5D) and repeat until main data is detected. Since LINE-1 is the main data at first, the process proceeds to step (S104) to read the contents of LINE-1 and print it as shown in FIGS. 9 (a) and 9 (b). Next, in step (S105), the value of the LINE pointer (5D) is set in the LINE1 pointer (5E). So now the LINE1 pointer (5
"1" is set in E). Then step (S106)
Proceed to step 1 to search the registered memory (6) based on the value of the LINE1 pointer (5E) and determine whether or not there is a linked subline. However, since LINE-1 is linked to LINE-2, The process proceeds to step (S107) and "2" of LINE-N 0 read from the area (6H) of LINE-1 is set in the LINE1 pointer (5E). And the LINE1 pointer (5E)
Step 2 to read the LINE-2 data
In 8), print as shown in Fig. 9 (c) and (d). When printing is completed, the process returns to step (S106) to detect whether or not there is a sub line linked to LINE-2. Since LINE-5 is linked, the process proceeds to steps (S107) (S108) and is the same as above. Then, print the LINE-5 data as shown in Fig. 9 (e). When printing of LINE-5 is completed, the linked sublines are detected in step (S106).
Since it is not linked to 5, the process proceeds from step (S106) to step (S103), the value of the LINE pointer (5D) is incremented, and the process proceeds to step (S101). As a result, LINE −
2 is searched, but since LINE-2 is a subline, proceed from step (S102) to step (S103) LINE
Set the pointer (5D) to "3". Since LINE-3 is the main line, proceed to step (S104) and Figure 9 (f)
Print the LINE-3 data as shown in (g). Then, in the same manner as described above, steps (S105) (S106) (S107)
By the process of (S108), the sub line linked to LINE-3 is printed.
Is linked, printing is performed as shown in FIGS. 9 (h) and (i). And then the LINE-6 data is the 9th
When it is printed as shown in FIG. 6 (j), when it is detected that the LINE-8 of the registration memory (6) is unused in step (S101), the process proceeds to step (S109) and the area of the registration memory (6) ( 6E) data is added to obtain the total step (S1
In step 10), printing is performed as shown in FIG.
(ト) 発明の効果 上述の如く本発明の電子式キャッシュレジスタは、商品
に関連したデータを印字の際集計処理して一まとめに印
字するよう構成したことにより、非常に分り易いレシー
トの発行を行なうことができるもので、レストラン等で
の使用に最適なるものである。(G) Effect of the Invention As described above, the electronic cash register of the present invention is configured so that data related to products is aggregated and printed at the time of printing, thereby issuing a receipt that is very easy to understand. It is something that can be done and is most suitable for use in restaurants and the like.
第1図は本発明の電子式キャッシュレジスタの構成を示
すブロック図、第2図は第1図のキーボードの構成を示
す図、第3図は第1図のデータメモリの構成を示す模式
図、第4図、第5図は第1図の登録メモリの構成を示す
模式図、第6図はキーボードのキー操作を示す説明図、
第7図、第8図及び第9図はレシートの印字状態を示す
図、第10図、第11図、第12図、第13図、第14図、第15図
及び第16図は登録メモリのデータ登録状態を示す図、第
17図、第18図及び第19図は第1図の動作状態を示すフロ
ーチャートである。 (1)……制御回路、(3)……キーボード、(5)…
…データメモリ、(6)……登録メモリ、(7)……表
示器、(8)……印字装置。FIG. 1 is a block diagram showing the configuration of an electronic cash register of the present invention, FIG. 2 is a diagram showing the configuration of the keyboard of FIG. 1, and FIG. 3 is a schematic diagram showing the configuration of the data memory of FIG. 4 and 5 are schematic diagrams showing the configuration of the registration memory shown in FIG. 1, and FIG. 6 is an explanatory diagram showing the key operation of the keyboard.
7, 8 and 9 are views showing the printing state of receipts, FIG. 10, FIG. 11, FIG. 12, FIG. 13, FIG. 14, FIG. 15 and FIG. Figure showing the data registration status of
FIG. 17, FIG. 18 and FIG. 19 are flowcharts showing the operation state of FIG. (1) ... Control circuit, (3) ... Keyboard, (5) ...
... data memory, (6) ... registered memory, (7) ... display, (8) ... printing device.
Claims (1)
種キーが設けられたキーボードと、 前記各キーと対応付けて前記各キー毎の項目及びこの項
目がメインかサブかを区別する属性データが予め記憶さ
れたデータメモリと、 前記キーボードから入力されたキーに対応する項目、こ
の項目の入力件数データ、前記入力キーの属性データ及
びリンクすべきデータ組を示す位置データを一つのデー
タ組として複数組を記憶可能な登録メモリと、 属性データがメインである入力キーに対応する項目を記
憶するメインバッファと、 前記キーボードより新たに入力されたキーの属性を前記
データメモリ中の属性データに基づいて判定する手段
と、 該判定手段により新たに入力されたキーの属性がメイン
と判定された時前記メインバッファ中の記憶内容を前記
新たに入力されたキーに対応して前記データメモリに記
憶されている項目に書き換える手段と、 前記メインバッファ中の項目と前記登録メモリに既に記
憶されている各データ組の項目とを比較する手段と、 前記判定手段により入力キーの属性がメインと判定さ
れ、かつ、前記比較手段により一致する項目の存在が検
出された時にはこの一致する項目を有する前記登録メモ
リ中のデータ組の入力件数データをインクリメントする
手段と、 前記判定手段により入力キーの属性がメインと判定さ
れ、かつ、前記比較手段により一致する項目の存在が検
出されない時には前記入力キーに対応して前記データメ
モリ中に記憶されている項目及び属性データを読み出し
前記登録メモリに新たなデータ組として格納する手段
と、 前記判定手段により入力キーの属性がサブと判定された
時前記入力キーに対応して前記データメモリ中に記憶さ
れている項目及び属性データを読み出し前記登録メモリ
に新たなデータ組として格納すると共にこのデータ組の
格納位置を示すデータを前記比較手段で一致が検出され
た項目を有する前記登録メモリ中のデータ組に関連した
位置データとして格納する手段と、 前記登録メモリに記憶されたデータをその格納順及び各
データ組中の位置データに基づいて印字出力する手段
と、 を備えたことを特徴とする電子式キャッシュレジスタ。1. A keyboard provided with a plurality of commodity department keys and various keys such as a discount key, and an item for each key and whether the item is main or sub in association with each key. A data memory in which attribute data is stored in advance, an item corresponding to a key input from the keyboard, input item number data of this item, attribute data of the input key, and position data indicating a data set to be linked as one data. A registration memory capable of storing a plurality of sets as a set, a main buffer for storing an item corresponding to an input key whose attribute data is a main, an attribute of a key newly input from the keyboard, attribute data in the data memory And a means for making a decision based on the above, and a memory in the main buffer when the attribute of the newly input key is decided to be main by the means for making a decision. Means for rewriting to the item stored in the data memory corresponding to the newly input key, and comparing the item in the main buffer with the item of each data set already stored in the registration memory. The number of inputs of the data set in the registered memory having the matching item when the attribute of the input key is determined to be main by the determining unit and the presence of the matching item is detected by the comparing unit. When the attribute of the input key is determined to be main by the determining means and the presence of a matching item is not detected by the comparing means, the data is stored in the data memory corresponding to the input key. Means for reading the stored item and attribute data into the registration memory as a new data set, and the determining means. When the attribute of the input key is determined to be sub, the item and attribute data stored in the data memory corresponding to the input key are read out and stored in the registration memory as a new data set and the storage of this data set. Means for storing data indicating a position as position data related to a data set in the registration memory having an item for which a match is detected by the comparison means; storage order of the data stored in the registration memory and each data An electronic cash register, comprising: means for printing and outputting based on position data in the set.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63267723A JPH0760475B2 (en) | 1988-10-24 | 1988-10-24 | Electronic cash register |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63267723A JPH0760475B2 (en) | 1988-10-24 | 1988-10-24 | Electronic cash register |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02113397A JPH02113397A (en) | 1990-04-25 |
| JPH0760475B2 true JPH0760475B2 (en) | 1995-06-28 |
Family
ID=17448672
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63267723A Expired - Fee Related JPH0760475B2 (en) | 1988-10-24 | 1988-10-24 | Electronic cash register |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0760475B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04318694A (en) * | 1991-04-17 | 1992-11-10 | Sharp Corp | Electronic cash register |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5587263A (en) * | 1978-12-25 | 1980-07-01 | Casio Comput Co Ltd | Electronic cash register |
| JP2505168B2 (en) * | 1986-09-24 | 1996-06-05 | 株式会社テック | Data management device |
| JPS6380695U (en) * | 1986-11-10 | 1988-05-27 |
-
1988
- 1988-10-24 JP JP63267723A patent/JPH0760475B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02113397A (en) | 1990-04-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4503503A (en) | Transaction processing apparatus for storing and/or calculating costs, sales, deductions, number of sales, cost multiplier, and profit, in a departmentalized format | |
| US4493037A (en) | Retail terminal | |
| EP0219886B1 (en) | An electronic cash register | |
| US5398191A (en) | Point of sale apparatus with an automatic determination if weighing a product is necessary or prohibited | |
| US4833608A (en) | Electronic cash register which records the time when the quantity of an item in stock falls to a predetermined number | |
| US4879649A (en) | Transaction processing apparatus having PLU function | |
| JPH0631593Y2 (en) | Sales data processor | |
| US4786788A (en) | Transaction processing apparatus having function of managing the number of days during which commodities remain unsold | |
| JPH0760475B2 (en) | Electronic cash register | |
| KR0163734B1 (en) | How to apply a differential discount based on the accumulated amount of your purchase | |
| JPH0668794B2 (en) | Electronic cash register | |
| JPH05151457A (en) | Sales data processing device | |
| JPH0514956B2 (en) | ||
| JPS62164195A (en) | POS terminal | |
| JP3242188B2 (en) | Electronic cash register | |
| JPH0594589A (en) | Commodity sales data processor | |
| JPS61210499A (en) | Pos system | |
| KR19980043686A (en) | Time-of-day sales management and methods | |
| JPS5836387B2 (en) | electronic cash register | |
| JPH01193994A (en) | Product sales data processing device | |
| JPH03127197A (en) | Pos system | |
| JPH05166071A (en) | Product sales data processor | |
| JPH05101274A (en) | Sales data processor | |
| JP2002245547A (en) | Electronic cash register | |
| JPH0258671B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |