JPS5838822B2 - electronic cash register - Google Patents
electronic cash registerInfo
- Publication number
- JPS5838822B2 JPS5838822B2 JP8099279A JP8099279A JPS5838822B2 JP S5838822 B2 JPS5838822 B2 JP S5838822B2 JP 8099279 A JP8099279 A JP 8099279A JP 8099279 A JP8099279 A JP 8099279A JP S5838822 B2 JPS5838822 B2 JP S5838822B2
- Authority
- JP
- Japan
- Prior art keywords
- department
- data
- storage area
- plu
- code
- 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
Links
- 238000013500 data storage Methods 0.000 claims description 41
- 230000001186 cumulative effect Effects 0.000 claims description 30
- 230000004044 response Effects 0.000 claims description 10
- 238000000034 method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000008901 benefit Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003340 mental effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Description
【発明の詳細な説明】
この発明は電子式キャッシュレジスタ(以下ECR)の
登録方式に関し、特に単品登録された商品の部門別にデ
ータを収集記憶し、単品商品別にそのコードと単価を定
めておきコードを登録することによって単品登録するよ
うなプライスルックアンプ(以下PLU)登録機能を有
するECR。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a registration system for electronic cash registers (hereinafter referred to as ECR), in particular, data is collected and stored for each category of registered products, and codes and unit prices are determined for each product. An ECR that has a price look amplifier (hereinafter referred to as PLU) registration function that allows you to register individual items by registering.
の登録方式に関する。Regarding the registration method.
一般に、従来の機械式キャッシュレジスタに代えて、E
CR,が実用に供されている。Generally, instead of traditional mechanical cash registers, E
CR, is in practical use.
このようなECR,においては、単品登録したデータを
印字したり合計計算するのみでなく、各種単品商品を部
門別に分類しておき、単品登録に合せて部門データを入
力すると、部門別の売上点数(回数)とその累計額をメ
モリに記憶し、閉店後あるいは成る長期的な単位でデー
タを収集して営業資料として利用している。In this type of ECR, in addition to printing out data registered for single items and calculating totals, it is also possible to classify various single items by department, and input department data in conjunction with single item registration to calculate sales points for each department. (number of times) and the cumulative amount are stored in memory, and the data is collected after the store closes or on a long-term basis and used as sales materials.
また、店舗によっては、よく売れる商品が決まっている
ため、売れ筋商品別にその商品コードと単価をメモリに
設定記憶させておき、PLUコードを入力するのみで単
価を登録できるようなECR,も実現されている。Additionally, since some stores have specific products that sell well, ECR has been implemented in which the product code and unit price for each best-selling product are set and stored in memory, and the unit price can be registered simply by entering the PLU code. ing.
このようにPLUコードを登録するのみで単品登録が行
われるECR。In this way, ECR allows single item registration by simply registering the PLU code.
においては、従来、PLUコード別にその商品の属する
部門コード(すなわち部門コードに対応するリンク先)
を定めておき、PLU登録に基づいてそのPLUコード
に対応する商品の属する部門の売上点数を加算しかつそ
の単価を対応する部門の累計額に加算して記憶させてい
る。Conventionally, the department code to which the product belongs (i.e., the link destination corresponding to the department code) for each PLU code
is determined, and based on the PLU registration, the sales number of the department to which the product corresponding to the PLU code belongs is added, and the unit price is added to the cumulative amount of the corresponding department and stored.
また、PLUコードの登録に基づいて、登録されたPL
Uコード別にその売上点数を設定記憶している。Also, based on the PLU code registration, the registered PL
The number of sales items is set and stored for each U code.
ところが、PLUコードによって登録されたデータを部
門データに関連して記憶させていると、他の商品の金額
と一緒に累計されるためPLUコードのうち特に必要な
ものの累計額を単独に収集記憶できないという問題点が
あった。However, if the data registered using the PLU code is stored in relation to the department data, it will be accumulated together with the amounts of other products, so the cumulative amount of the particularly necessary PLU code cannot be collected and stored separately. There was a problem.
このようなPLUコード別の売上累計額は、PLUコー
ド別の売上点数とその単価を乗算することによって算出
することもできるが、PLU登録に基づくデータ(すな
わちPLUコード別の回数)は比較的短い期間ごとに更
新されてしまうため、長期間のPLUコード別の累計額
を知ることができなかった。The cumulative sales amount for each PLU code can also be calculated by multiplying the number of sales for each PLU code by its unit price, but the data based on PLU registration (i.e., the number of sales for each PLU code) is relatively short. Since it is updated every period, it was not possible to know the cumulative amount by PLU code over a long period of time.
また特に必要なPLUコード別の合計額を知ろうとすれ
ば、その回数と単価を演算しなければならず、そのよう
な演算機能を含まないECRにおいてはオペレータが暗
算などによって人為的に計算しなければならない煩しさ
があった。In addition, if you want to know the total amount for each required PLU code, you have to calculate the number of times and the unit price, and if the ECR does not include such a calculation function, the operator must manually calculate it by mental calculation etc. There was an unavoidable annoyance.
それゆえに、この発明の目的は、PLUコードのうち単
品管理の特に必要な一部のPLUコードに対応する登録
データを部門登録データと同様の態様で収集記憶できる
ようにしたECR,の登録方式を提供することである。Therefore, an object of the present invention is to provide a registration method for an ECR that allows registration data corresponding to some PLU codes that require individual item management to be collected and stored in the same manner as department registration data. It is to provide.
この発明を要約すれば、部門データを記憶する記憶領域
に関連して部門データのいずれも記憶しない空き記憶領
域を設けておき、PLUコードのうち特に単品管理の必
要なものの登録に基づいて、PLUコードに対応する登
録データを部門データと同様の態様で空き記憶領域へ収
集記憶できるようにしたものである。To summarize this invention, an empty storage area in which no department data is stored is provided in relation to a storage area for storing department data, and based on the registration of PLU codes that particularly require individual item management, Registration data corresponding to a code can be collected and stored in a free storage area in the same manner as department data.
第1図はこの発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
図において、この実施例のECR,は、演算処理機能を
有するマイクロプロセッサ等のCPUl0と、キーボー
ド(後述の第2図で詳細に訝明する)20とキーボード
20で登録されたデータや演算結果などを表示する表示
器11と、キーボード20で登録されたデータおよび演
算結果を印字したり必要に応じてデータを収集印字する
ためのプリンタ12と、この発明の処理データを記憶し
たり所望のデータを設定記憶するためのメモリ(後述の
第3図で詳細に駅間する)30とから成る。In the figure, the ECR of this embodiment is a CPU 10 such as a microprocessor having an arithmetic processing function, a keyboard (described in detail in Fig. 2 below) 20, data registered with the keyboard 20, arithmetic results, etc. a display device 11 for displaying data, a printer 12 for printing data registered with the keyboard 20 and calculation results, or collecting and printing data as necessary, and a printer 12 for storing processed data of the present invention and for printing desired data. It consists of a memory 30 (details will be shown in FIG. 3 below) for storing settings.
第2図はキーボード20の具体的な操作部の図解図であ
る。FIG. 2 is an illustrative diagram of a specific operation section of the keyboard 20. As shown in FIG.
キーボード20は、数字0.1〜9や1000単位を表
わすキーや小数点キーなどを含む数値キー21と、数値
キー21で入力された単価に対応する単品商品の部門コ
ード「01」〜「08」を入力する部門キー22と、数
値キー21を操作して入力した数値情報がPLUコード
であることを表わすPLUキー23と、メモリ30に収
集記憶されたデータを収集印字指令するための精算モー
ドキー24を含む。The keyboard 20 has numeric keys 21 including numbers 0.1 to 9, keys representing units of 1000, decimal point key, etc., and department codes "01" to "08" for single items corresponding to the unit price input using the numeric keys 21. a department key 22 for inputting information, a PLU key 23 for indicating that the numerical information entered by operating the numerical keys 21 is a PLU code, and a settlement mode key for instructing collection and printing of data collected and stored in the memory 30. Contains 24.
第3図は前記メモリ30の記憶領域を図解的に示した図
である。FIG. 3 is a diagram schematically showing the storage area of the memory 30.
図において、メモリ30は、前記部門キー22に含まれ
る部門コード「01」〜1’−08Jに対応する各キー
別のデータ記憶用番地を有しかつ各番地が部門コード別
の回数を累計記憶する回数記憶領域31aおよび部門コ
ード別の累計額を記憶する累計額記憶領域31bを含む
部門データ記憶領域31と、予め定められるPLUコー
ド別にデータ記憶用番地を有しかつ各番地がPLUコー
ド別の部門リンク先を記憶するリンク先記憶領域32a
およびPLUコード別の回数を記憶する回数記憶領域3
2bならびにPLUコード別の単価を記憶する単価記憶
領域32cを含むPLUデータ記憶領域32と、部門デ
ータ記憶領域31に関連して設けられかつ前記いずれの
部門キーにも対応しない空き記憶領域(図示では空き記
憶領域が2番地の場合を示す)33と、前記数値キー2
1を操作して入力された置数情報を一時記憶する置数レ
ジスタ34と、指定されたPLUコードを一時記憶する
PLUレジスタ35と、登録された部門コードを一時記
憶する部門コードレジスタ36と、数値情報が入力され
たことを記憶するフラグ(Fn)37と、読出された部
門コード別の累計額を一時記憶するアップデータ用レジ
スタ38とを含む。In the figure, the memory 30 has data storage addresses for each key corresponding to department codes "01" to 1'-08J included in the department key 22, and each address stores the cumulative number of times for each department code. It has a department data storage area 31 including a storage area 31a for the number of times to store a total amount, and a total amount storage area 31b for storing the total amount for each department code, and a data storage address for each predetermined PLU code. Link destination storage area 32a that stores department link destinations
and number storage area 3 for storing the number of times for each PLU code.
2b and a unit price storage area 32c for storing unit prices for each PLU code, and an empty storage area provided in relation to the department data storage area 31 and not corresponding to any department key (not shown) 33 (indicates the case where the free storage area is at address 2) and the numerical key 2
1, a PLU register 35 that temporarily stores the specified PLU code, and a department code register 36 that temporarily stores the registered department code. It includes a flag (Fn) 37 that stores the fact that numerical information has been input, and an updater register 38 that temporarily stores the read cumulative amount for each department code.
そして、空き記憶領域33の各番地は、それぞれ回数器
および合計器として用いられる。Each address of the free storage area 33 is used as a multiplier and a totalizer, respectively.
なお、図示では、部門データ記憶領域31の番地数と空
き記憶領域33の番地数との和がPLUデータ記憶記憶
領域3蚤0
合を示し、かつPLUコード01〜08と部門リンク先
とが一致している場合を示すが、これに限ることはない
。In the illustration, the sum of the number of addresses in the department data storage area 31 and the number of addresses in the free storage area 33 indicates the PLU data storage area 3, and the PLU codes 01 to 08 and the department link destination are the same. However, this is not limited to cases where the
すなわち、部門データ記憶領域31の1つの番地に複数
のPLUデータ記憶領域32の番地が対応しても構わな
い。That is, a single address in the department data storage area 31 may correspond to a plurality of addresses in the PLU data storage area 32.
あるいは、例えばその登録回数と累計額を収集記憶する
必要のあるPLUコードが多い場合は、空き記憶領域3
3の番地数を増設するか、または記憶領域31と33の
番地数に制限のあるとき部門キー22のうち高次のコー
ドを使用せずにそのコードに対応する記憶領域の番地を
空き記憶領域として使用してもよい0
第4図はこの発明の詳細な説明するためのフローチャー
トを示す。Alternatively, if there are many PLU codes that need to be collected and stored, such as the number of registrations and cumulative amount, the free storage area 3
3, or when there is a limit to the number of addresses in storage areas 31 and 33, do not use the higher code of the department key 22 and use the address of the storage area corresponding to that code as a free storage area. FIG. 4 shows a flowchart for explaining the invention in detail.
表はモード別の操作例を示す。The table shows operation examples for each mode.
次に、第1図〜第4図および表を参照してこの実施例の
動作を例を挙げて説明する。Next, the operation of this embodiment will be described by way of example with reference to FIGS. 1 to 4 and tables.
単品・部門登録モード
まず、ある単品商品の金額とその部門情報を登録して単
品商品の部門データを収集記憶する場合を述べる。Single Item/Department Registration Mode First, a case will be described in which the price of a certain single item and its department information are registered and the department data of the single item is collected and stored.
初めに、数値キー21を操作して単品商品の単価(例え
ば50円)を入力すると、CPU10は最初の1桁のキ
ー人力があったことに基づいて、精算モードキー24で
なく、PLUキー23でなく、部門キー22でなく、数
値キー21のいずれかの数値キーであることを判定する
。First, when the unit price of a single item (for example, 50 yen) is entered by operating the numerical keys 21, the CPU 10 selects the PLU key 23 instead of the payment mode key 24 based on the fact that the first digit key was pressed. , it is determined that the key is not the department key 22 but one of the numeric keys 21 .
そして、フラグ(Fn)37が論理「l」(すなわちセ
ット)か否かを判定するが、数値キーを操作して入力さ
れた最初の桁であればフラグ31が論理「0」であるた
め、置数レジスタ34の内容をクリアしたのち、置数レ
ジスタ34の内容を1桁左ヘシフトし、今キー人力され
た数値「5」を置数レジスタ34の最下位桁ヘスドアさ
せ、フラグ31に論理rlJを書込んだのち前述のステ
ップへ戻る。Then, it is determined whether the flag (Fn) 37 is logic "l" (that is, set), but if it is the first digit input by operating the numerical keys, the flag 31 is logic "0". After clearing the contents of the numeral register 34, shift the contents of the numeral register 34 to the left by one digit, move the numerical value "5" that has just been entered manually to the lowest digit of the numeral register 34, and set the flag 31 to logic rlJ. After writing , return to the previous step.
続いて数値キー21を操作して次桁の数値「0」が入力
されると、数値キーの入力であることを判定したのち、
フラグ37が論理rlJであることを判定し、置数レジ
スタ34の内容を1桁左ヘシフトしたのち、今キー人力
された数値「0」を置数レジスタ34の最下位桁ヘスド
アさせ、フラグ31に論理rlJを書込んで前述のキー
人力待ちステップへ戻る。Next, when the numeric key 21 is operated and the next digit numeric value "0" is input, it is determined that the input is from a numeric key, and then,
After determining that the flag 37 is logical rlJ and shifting the contents of the numeral register 34 to the left by one digit, the numerical value "0" that has just been entered manually is moved to the lowest digit of the numeral register 34, and the contents of the numeral register 34 are shifted to the left. Write the logic rlJ and return to the key manual waiting step described above.
このようにして、置数レジスタ34には、数値キー21
を操作して入力された単品金額(50円)がストアされ
る。In this way, the numeric key 21 is stored in the numeric register 34.
The single item price (50 yen) entered by operating is stored.
この置数レジスタ34でストアされている単品金額が表
示器11に表示される。The individual item price stored in the number register 34 is displayed on the display 11.
続いて、オペレータは部門キー22を操作して今単品金
額を入力した単品商品の部門コード(例えばrolJ)
を入力する。Next, the operator operates the department key 22 to enter the department code (for example, rolJ) of the single product for which the price of the single item has been input.
Enter.
応じて、CPU10はキー操作されたキーが精算モード
キー24でなく、PLUキー23でなく、部門キー22
であることを判定し、フラグ31がセットされているか
否かを判定する。Accordingly, the CPU 10 determines that the operated key is not the payment mode key 24 or the PLU key 23, but the department key 22.
It is determined whether the flag 31 is set or not.
このとき、所定の順序で登録操作した場合は、先に単品
金額を登録することによりフラグ37に論理rlJが記
憶されている。At this time, if the registration operations are performed in a predetermined order, the logic rlJ is stored in the flag 37 by first registering the price of each item.
方、オペレータが操作を間違えて単品金額登録の前に部
門キー22を操作した場合はフラグ31が論理「0」で
あるためエラーであることを判定しエラー表示させる。On the other hand, if the operator makes a mistake and operates the department key 22 before registering the price for each item, the flag 31 is logic "0", so it is determined that there is an error and an error is displayed.
従って、所定の順序で登録操作された場合は、CPUl
0はフラグ31が論理「1」であることを判定したのち
、全部門キーを操作して入力された部門コード(例えば
rolJ)を部門レジスタ36ヘストアさせ、置数レジ
スタ34にストアされている単品金額をレジスタ38に
転送してストアさせる。Therefore, if registration operations are performed in a predetermined order, the CPU
0 determines that the flag 31 is logical "1", stores the department code (for example, rolJ) input by operating the all department keys in the department register 36, and stores the single item stored in the number register 34. The amount is transferred to the register 38 and stored.
ざらにCPU10は、部門レジスタ36にストアされて
いる部門コード(01)に対応する部門コードの回数記
憶領域31aに記憶されている部門コードの売上点数す
なわちこれまでの登録回数に1を加算することにより、
部門コード「01」の登録回数を歩進させる。Roughly speaking, the CPU 10 adds 1 to the sales number of the department code stored in the department code number storage area 31a corresponding to the department code (01) stored in the department register 36, that is, the number of registrations so far. According to
Increments the number of registrations for department code "01".
また、CPU10は部門レジスタ36にストアされてい
る部門コードに対応する累計額記憶領域31bの累計額
(n円)に今回の単品金額(50円ンを加算(n+50
)して累計額を更新的に記憶させたのち、フラグ31に
論理rOJを書込み、キー人力待ち動作へ戻る。Further, the CPU 10 adds the current single item price (50 yen) to the cumulative amount (n yen) in the cumulative amount storage area 31b corresponding to the department code stored in the department register 36 (n+50
) to update the cumulative amount, write the logic rOJ to the flag 31, and return to the key human power waiting operation.
以後同様にして、数値キー21を操作して単品登録金額
を入力しかつ部門キー22を操作して部門コードを入力
する毎に、前述の動作が行われ、部門別の登録回数とそ
の累計額が部門データ記憶領域31に累計的に記憶され
ることになる。Thereafter, each time the numeric key 21 is operated to input the single item registration amount and the department key 22 is operated to input the department code, the above-mentioned operation is performed, and the number of registrations by department and the cumulative amount are displayed. will be stored cumulatively in the department data storage area 31.
PLU登録モード
次に、PLUコードを入力することによって単品登録を
行いかつその単品登録に基づいてPLUコードに対応す
る部門データ記憶領域へ部門情報を記憶する場合を駅間
する。PLU Registration Mode Next, a case in which single item registration is performed by inputting a PLU code and department information is stored in the department data storage area corresponding to the PLU code based on the single item registration is performed.
PLU登録を行う場合、オペレータは数値キー21を操
作して所定の桁数(例えば2桁)のPLUコード(例え
ばr02J)を入力したのち、PLUキー23を押圧す
る。When performing PLU registration, the operator operates the numerical keys 21 to input a PLU code (for example, r02J) of a predetermined number of digits (for example, 2 digits), and then presses the PLU key 23.
CPUl0は数値キーの操作に応じて前述の動作と同様
にして数値情報(PLUコードr02J)を置数レジス
タ34にストアさせたのち、PLUキー23の押圧に応
じてフラグ37が論理「1」か否かを判定する。The CPU 10 stores numerical information (PLU code r02J) in the numeric register 34 in the same manner as described above in response to the operation of the numerical keys, and then changes the flag 37 to logic "1" or not in response to the press of the PLU key 23. Determine whether or not.
このとき、先にPLUコード(02)が設定入力されて
いるため、フラグ31が論理「1」であることを判定し
たのち、置数レジスタ34にストアされているPLUコ
ード「02」をPLUレジスタ35へ転送してストアさ
せる。At this time, since the PLU code (02) has been set and input first, after determining that the flag 31 is logic "1", the PLU code "02" stored in the numeric register 34 is input to the PLU register. 35 and store it.
さらに、CPUl0はPLUレジスタ35にストアされ
ている登録されたPLUコード「02JK対応する回数
記憶領域32bの登録回数を数値lだけ加算し、当該P
LUコード「02」に対応する部門リンク先記憶領域3
1aに記憶されている部門リンク先データ(例えば部門
コードr02J)を読出して部門レジスタ36にストア
させる。Furthermore, the CPU 10 adds the registered number of times in the number storage area 32b corresponding to the registered PLU code "02JK" stored in the PLU register 35 by a value l, and
Department link destination storage area 3 corresponding to LU code “02”
The department link destination data (for example, department code r02J) stored in 1a is read out and stored in the department register 36.
そして、PLUレジスタ35に記憶されているPLUコ
ードに対応する単価記憶領域32cで記憶されている単
価(例えば200、円)全読出してレジスタ38ヘスド
アさせる。Then, all unit prices (for example, 200 yen) stored in the unit price storage area 32c corresponding to the PLU code stored in the PLU register 35 are read out and transferred to the register 38.
さらに、PLUコード「02」に対応する部門コード(
例えば02)の回数を1だけ加算して当該部門コードの
回数記憶領域31aへ更新的に記憶させ、累計額記憶領
域31bに記憶されている部門コード「02」のこれま
での売上累計額にレジスタ38にストアされているPL
U登録された単品の単価を加算し、その加算結果を当該
部門コードに対応する累計額記憶領域へ書込記憶させる
。Furthermore, the department code (
For example, add 1 to the number of sales of department code "02" and store it in the number storage area 31a of the department code in an updated manner, and register it to the cumulative sales amount of department code "02" stored in the cumulative amount storage area 31b. PL stored in 38
U Adds the unit price of the registered single item, and writes and stores the addition result in the cumulative amount storage area corresponding to the department code.
そして、フラグ31をリセットさせたのち、前述のキー
人力待機状態へ戻る。Then, after resetting the flag 31, the process returns to the key manual standby state described above.
このようにして、PLU登録におけるPLUコードと部
門コードとが対応する場合の登録処理が達成される。In this way, registration processing is achieved when the PLU code and department code in PLU registration correspond.
PLU登録による累計モード
次に、特定のPLUコードに対応する商品の売上回数と
その累計額を収集記憶させる場合について訝明する。Cumulative Mode Based on PLU Registration Next, we will discuss the case where the number of sales of a product corresponding to a specific PLU code and the cumulative amount thereof are collected and stored.
部門コードには対応しないPLUコード(例えばr09
J)を登録する場合は、前述のPLU登録動作と同様に
して、数値キー21を操作してPLUコード「09」を
入力したのち、PLUキー23を押圧する。PLU codes that do not correspond to department codes (e.g. r09
J), in the same way as the PLU registration operation described above, operate the numerical keys 21 to input the PLU code "09", and then press the PLU key 23.
応じて、CPUl0は前述の動作と同様にして数値キー
21を操作して入力されたPLUコード「09」を置数
レジスタ34にストアさせたのち、PLUキー23の押
圧に応じて置数レジスタ34でストアされているPLU
コード「09」をPLUレジスタ35へ転送してストア
させ、PLUレジスタ35でストアされているPLUコ
ード「09」に対応する番地の回数記憶領域の回数を1
だけ加算し、当該PLUコードに対応する部門リンク先
を部門レジスタ部にストアさせる。In response, the CPU 10 operates the numeric key 21 in the same manner as described above to store the input PLU code "09" in the numeric register 34, and then stores the PLU code "09" input in the numeric register 34 in response to the press of the PLU key 23. PLU stored in
The code "09" is transferred to the PLU register 35 and stored, and the number of times stored in the number storage area of the address corresponding to the PLU code "09" stored in the PLU register 35 is set to 1.
is added, and the department link destination corresponding to the PLU code is stored in the department register section.
このとき、PLUコード「09」は、部門コード「01
j〜「08jのいずれにも対応しない。At this time, the PLU code "09" is the department code "01".
j to “Does not correspond to any of 08j.
よって、部門データ記憶領域31の各内容はいずれもそ
のまま変化しない。Therefore, the contents of the department data storage area 31 do not change.
ところで、ここでPLUコード「09」に対応する部門
リンク先として、空き記憶領域33の番地331を指定
するコード「09」を設定しておく。By the way, here, a code "09" specifying the address 331 of the free storage area 33 is set as the department link destination corresponding to the PLU code "09".
そうすれば、このコードl’−09Jが部門レジスタ3
6にストアされることとなる。Then, this code l'-09J will be in department register 3.
6 will be stored.
また、PLUレジスタ36にストアされているPLUコ
ード「09」の単価(たとえば300円)が読出され、
レジスタ38にストアされる。Also, the unit price (for example, 300 yen) of the PLU code "09" stored in the PLU register 36 is read out,
Stored in register 38.
そして、レジスタ36にストアされたコード「09」で
特定される空き記憶領域33の番地331に設けられた
回数器が1加算され、合計器にはレジスタ38にストア
された単価300円が加算される。Then, the multiplier provided at address 331 of the free storage area 33 specified by the code "09" stored in the register 36 is incremented by 1, and the unit price of 300 yen stored in the register 38 is added to the totalizer. Ru.
以上のように、PLUコードに対応する登録部門を指定
する部門コードが存在しない場合、そのPLU登録は通
常の対応する部門データ記憶領域31とは独立して、所
定の空き記憶領域330回数置数器計器にPLU回数、
累計額を記憶させるようにする。As described above, if there is no department code that specifies the registered department corresponding to the PLU code, the PLU registration is performed in a predetermined free storage area 330 times, independent of the normal corresponding department data storage area 31. PLU number on the instrument,
Make the cumulative amount memorized.
それによって、対応する登録部門コードを設定しない特
定の商品(たとえばPLUコード「09」の商品)につ
いて、PLU登録のみによって登録されるその商品の売
上データが独自に空き記憶領域330回数置数器計器に
記憶され、後述する精算モードによって、空き記憶領域
のレポートをとることでその商品の単品管理ができる。As a result, for a specific product for which a corresponding registration department code is not set (for example, a product with PLU code "09"), the sales data of that product that is registered only through PLU registration is uniquely stored in the free storage area 330 times. It is possible to manage individual products by reporting the free storage area using the payment mode described later.
精算モード
精算モードにおいては、部門データ記憶領域31および
空き記憶領域33に記憶されているデータを収集印字さ
せる場合と、PLUデータ記憶領域32に記憶されてい
るPLUコード別のデータを収集印字させる場合と、部
門データ記憶領域31、PLUデータ記憶領域32、空
き記憶領域33のすべてのデータを集計印字する場合の
3つのモードがある。Settlement mode In the settlement mode, data stored in the department data storage area 31 and free storage area 33 is collected and printed, and data stored in the PLU data storage area 32 by PLU code is collected and printed. There are three modes for totalizing and printing all the data in the department data storage area 31, PLU data storage area 32, and free storage area 33.
この3つの精算モードのうち、PLUデータ記憶領域3
2のデータを集計印字するモード(すなわちPLUレポ
ート)は比較的短期間に頻繁に行われ、部門データ記憶
領域31および空き記憶領域33の集計印字(すなわち
部門レポート)や記憶領域31〜33のすべてを集計印
字するのは比較的長期間単位で行われる。Of these three payment modes, PLU data storage area 3
The mode in which the data in No. 2 is aggregated and printed (i.e., PLU report) is frequently performed in a relatively short period of time, and is used to print the aggregated data in the department data storage area 31 and the free storage area 33 (i.e., department report), or to print out the totals in the department data storage area 31 and the free storage area 33, or to print out the totals in the department data storage area 31 and the free storage area 33, or to print out the totals in the department data storage area 31 and free storage area 33. Aggregation printing is performed over a relatively long period of time.
そこで、最初にPLUデータ記憶領域32のデータを集
計印字するPLUレポートの場合を述べる。First, the case of a PLU report in which data in the PLU data storage area 32 is totaled and printed will be described.
PLUレポートを行う場合、オペレータは数値キー21
を操作してPLUレポートを表わすコード「02」を入
力したのち、精算モードキー(ZR,P)24を押圧す
る。When performing a PLU report, the operator must press the numeric key 21.
After inputting the code "02" representing the PLU report by operating , the payment mode key (ZR, P) 24 is pressed.
これに応じてCPUは、数値キー21を操作して入力さ
れたレポートコード「02」を置数レジスタ34にスト
アさせたのち、精算モードキー24が押圧されたことに
基づいて、フラグ31が論理「1」であることを判定し
、置数レジスタ34の内容が「02」であることを判定
してPLUレポートの動作へ進む。In response to this, the CPU stores the report code "02" inputted by operating the numeric key 21 in the number register 34, and then, based on the fact that the settlement mode key 24 was pressed, the flag 31 is set to logic. It is determined that the value is "1", and the content of the numeric register 34 is determined to be "02", and the process proceeds to the PLU report operation.
PLUレポート動作において、最初にPLU[/ジスタ
35に数値[Jをストアさせて最初のPLUコード「0
1」を指定する。In the PLU report operation, first store the numerical value [J in PLU[/ register 35 and write the first PLU code "0".
1”.
そして、レジスタ35で指定されるPLUコード「OI
Jに対応する番地の部門リンク光記憶領域32a1回数
記憶領域32b1単価記憶領域32cのデータをそれぞ
れ読出して、指定されるPLUコード「01」の部門リ
ンク先データを印字させるとともに、その回数および単
価を印字記録させる。Then, the PLU code specified by register 35 is “OI
The data in the department link optical storage area 32a, frequency storage area 32b, and unit price storage area 32c at the address corresponding to J are read out, and the department link destination data of the specified PLU code "01" is printed, and the number of times and unit price are printed. Print and record.
さらに、CPU10は指定されたPLUコード「Ol」
の回数と単価を乗算してPLUコード「01」の合計額
を演算し、その合計額をプリンタ12に印字記録させる
。Furthermore, the CPU 10 uses the specified PLU code "Ol".
The total amount of PLU code "01" is calculated by multiplying the number of times and the unit price, and the total amount is printed and recorded by the printer 12.
そののち、CPUl0はレジスタ35のストア内容によ
って指定されるPLUコード「Ol」の回数をクリアさ
せ、レジスタ35の内容に1を加算して次に集計印字す
べきPLUコードl’−02Jをレジスタ35にストア
させることにより、集計印字すべきPLUコードを歩進
させ、そののちPLUデータが終了か否か(たとえばレ
ジスタ35の内容がPLUコードの最大数か否カリを判
定する。After that, the CPU 10 clears the number of PLU codes "Ol" specified by the stored contents of the register 35, adds 1 to the contents of the register 35, and sets the PLU code l'-02J to be printed next in the register 35. The PLU code to be tallied and printed is incremented by storing the PLU code, and then it is determined whether the PLU data is complete (for example, whether the contents of the register 35 are the maximum number of PLU codes or not).
PLUデータのすべてを集計印字終了していなければ、
上述の動作を繰返すことにより、全てのPLUデータの
集計印字が終了するまで繰返し、全ての集計印字が終了
するとフラグ31をリセットさせたのち、キー人力待機
状態へ戻る。If all of the PLU data has not been tabulated and printed,
By repeating the above-mentioned operation, it is repeated until the total printing of all the PLU data is completed. When all the total printing is completed, the flag 31 is reset, and then the key manual power standby state is returned.
このようにして、PLUデータ記憶領域32の各番地に
記憶されているデータの集計印字が番地順次に行われる
。In this way, the total printing of data stored at each address in the PLU data storage area 32 is performed in the order of the addresses.
次に、部門データ記憶領域32および該部門データ記憶
領域に関連して設けられる空き記憶領域33のデータを
集計印字する場合を駅間する。Next, the case where the data in the department data storage area 32 and the free storage area 33 provided in relation to the department data storage area are totalized and printed will be explained.
オペレータは、数値キー21を操作して部門レポートを
表わすコード「01」を入力したのち、精算モードキー
24を押圧する。The operator operates the numerical keys 21 to input the code "01" representing the department report, and then presses the settlement mode key 24.
応じてCPU10はレポートコード「01」を置数レジ
スタ34にストアさせたのち、精算モードキー24が押
圧されたことに応じてフラグ31が論理「1」であるこ
とを判定し、置数レジスタ34の内容が「02」でなく
「01」であることを判定して部門データレポート動作
へ進む。In response, the CPU 10 stores the report code "01" in the number register 34, and then determines that the flag 31 is logical "1" in response to the depression of the settlement mode key 24, and stores the report code "01" in the number register 34. It is determined that the content is not "02" but "01" and the process proceeds to the department data report operation.
すなわち、部門レジスタあに数値rlJをストアさせて
、最初の部門コード「01」を指定し、部門レジスタ3
6のストア内容によって指定される指定部門コード「o
l」の回数とその累計額を読出してプリンタに印字記録
させたのち、その部門コード「01」の回数および累計
額をクリアさせる。That is, store the numerical value rlJ in department register A, specify the first department code "01", and store department register 3.
The designated department code “o” specified by the store contents of 6.
After reading out the number of times of department code "01" and the cumulative amount and having the printer print and record them, the number of times of department code "01" and the cumulative amount are cleared.
続いて、CPUl0は部門レジスタ36の内容に1を加
算して集計印字すべき部門コードを歩進させる。Subsequently, the CPU 10 adds 1 to the contents of the department register 36 to increment the department code to be total printed.
そして、部門デ−タのすべてが終了したか否かを判定す
る。Then, it is determined whether all the department data has been completed.
この部門データ終了か否かの判定は例えば部門データ記
憶領域31と空き記憶領域33の全ての番地のデータを
読出したか否かによって判定される。The determination as to whether the department data is complete or not is determined, for example, by determining whether data at all addresses in the department data storage area 31 and free storage area 33 have been read.
そして、全ての部門データの集計印字が終了していなけ
れば、前述の動作を繰返すことにより、部門コード「O
l」〜「08」の回数およびそれぞれの累計額を集計印
字するとともに、空気記憶領域33に対応するように定
められたPLUコード別の回数とその累計額を集計印字
する。If the total printing of all department data has not been completed, repeating the above operation will print out the department code "O".
The number of times of "1" to "08" and their respective cumulative amounts are tallied and printed, and the number of times and their cumulative amounts for each PLU code determined to correspond to the air storage area 33 are tallied and printed.
全ての部門データが集計印字終了すると、CPUl0は
フラグ37が論理「1」であることを判定し、該フラグ
37をリセットさせたのち、キー人力待機状態へ戻る。When all the department data are totaled and printed, the CPU 10 determines that the flag 37 is logical "1", resets the flag 37, and then returns to the key manual standby state.
このようにして、部門データ記憶領域31および空き記
憶領域33の記憶データが集計印字される。In this way, the data stored in the department data storage area 31 and the free storage area 33 are tallied and printed.
一方、記憶領域31〜33に記憶されているすべてのデ
ータを集計印字する場合は、数値キー21を操作するこ
となく、単に精算モードキー24のみを抑圧操作するこ
とによって達成される。On the other hand, when all the data stored in the storage areas 31 to 33 are to be totalized and printed, this can be accomplished by simply pressing only the payment mode key 24 without operating the numerical keys 21.
精算モードキー24が押圧されると、CPUはフラグ3
1が論理「1」でないことを判定し、最初に部門データ
記憶領域31および空き記憶領域33の全ての番地のデ
ータを集計印字したのち、フラグ31が論理rOJであ
ることを判定して前述のPLUデータ記憶領域32の各
番地の集計印字と同様の動作を行うことにより、全ての
記憶領域31〜33のデータの集計印字が達成される。When the payment mode key 24 is pressed, the CPU sets flag 3.
1 is not the logic "1", first totalizes and prints the data at all addresses in the department data storage area 31 and free storage area 33, then determines that the flag 31 is the logic rOJ and performs the above-mentioned process. By performing the same operation as the total printing of each address of the PLU data storage area 32, the total printing of the data of all the storage areas 31 to 33 is achieved.
上述のように、この実施例によれば、部門データ記憶領
域のうち、部門キーに対応しない空き記憶領域を利用し
てPLUコードのうちの特に部門データと同様のデータ
収集記憶の必要なPLUコードを空き記憶領域に対応さ
せておき、PLUコードの登録に基づいてそのPLUコ
ードが成る部門に属する場合は対応する部門データに関
連してその回数および累計額を記憶させ、部門に対応す
ることなくPLUコード別に部門登録処理と同様のデー
タとして収集する必要のあるコードであれば空き記憶領
域に記憶させるようにすることにより、PLU登録した
PLUコードに対応する回数とその累計額を収集記憶す
ることのできる利点がある。As described above, according to this embodiment, an empty storage area that does not correspond to a department key in the department data storage area is used to store PLU codes that require data collection and storage similar to department data. is associated with the free storage area, and if the PLU code belongs to a department based on the registration of the PLU code, the number of times and the cumulative amount are stored in relation to the corresponding department data, without being associated with the department. If the code needs to be collected as data similar to the department registration process for each PLU code, it is stored in a free storage area, thereby collecting and storing the number of times corresponding to the PLU code registered as a PLU and its cumulative amount. It has the advantage of being able to
また、特に必要なPLUコードの回数と金額を記憶させ
るために、部門データ記憶領域の空き番地を利用してい
るため、特別のメモリを追加することなく行え、安価に
して行える利点もある。In addition, since empty addresses in the department data storage area are used to store the required number of PLU codes and amounts, there is an advantage that this can be done without adding any special memory and can be done at low cost.
さらに、PLU登録に基づくデータは比較的短期間に集
計印字されるが、部門データは比較的長期間単位で集計
印字されるため、PLUコードのうち特に必要なコード
のみ部門データと同様に比較的長期間単位でその回数お
よび累計額を集計記憶できる利点もある。Furthermore, data based on PLU registration is aggregated and printed over a relatively short period of time, but departmental data is aggregated and printed over a relatively long period of time. It also has the advantage of being able to aggregate and store the number of times and cumulative amount over a long period of time.
以上のように、この発明によれば、PLU登録処理に基
づいて特に必要なPLUコードの回数とその累計額を収
集記憶でき、そのために特別のメモリを必要としないよ
うなECHの登録方式が得られる。As described above, according to the present invention, there is provided an ECH registration method that can collect and store the particularly required number of PLU codes and their cumulative amount based on the PLU registration process, and does not require a special memory for this purpose. It will be done.
第1図はこの発明の一実施例のブロック図である。
第2図はキーボードの一例を示す図解図である。
第3図はメモリの記憶領域を図解的に示した図である。
第4図はこの発明の一実施例の動作を説明するためのフ
ローチャートである。
図において、10はCPU、11は表示器、12はプリ
ンタ、20はキーボード、21は数値キー22は部門キ
ー 23はPLU登録キー、24は精算モードキー、3
0はメモリ、31は部門データ記憶領域、32はPLU
データ記憶領域、33は部門データ記憶領域31に関連
して設けられる空き記憶領域を示す。FIG. 1 is a block diagram of one embodiment of the present invention. FIG. 2 is an illustrative diagram showing an example of a keyboard. FIG. 3 is a diagram schematically showing the storage area of the memory. FIG. 4 is a flowchart for explaining the operation of one embodiment of the present invention. In the figure, 10 is a CPU, 11 is a display, 12 is a printer, 20 is a keyboard, 21 is a numerical key 22 is a department key, 23 is a PLU registration key, 24 is a payment mode key, 3
0 is memory, 31 is department data storage area, 32 is PLU
A data storage area 33 indicates a free storage area provided in relation to the department data storage area 31.
Claims (1)
タを入力する部門キーとを有し、前記数値キーから商品
を表わすコードが入力されたことに応答して、該商品を
表わすコードに対応して予め定められた商品の単品金額
データを読出して登録する電子式キャッシュレジスタで
あって、前記部門キーに対応して設けられ、商品を部門
別に登録するための記憶領域を含み、部門ごとの登録回
数と部門ごとの登録累計額とを記憶する部門データ記憶
手段、 部門が特定されていない記憶領域を含み、登録回数と登
録累計額とを記憶可能な空き記憶手段、前記商品を表わ
すコードに対応する前記商品の単品金額データと、該単
品金額データが登録されるべき前記部門データ記憶手段
の記憶領域または前記空き記憶手段の記憶領域を指定す
るデータとが予め記憶されたPLUデータ記憶手段、前
記商品を表わすコード中、予め定める一部の商品を表わ
すコードが入力されたことに応答して、前記PLUデー
タ記憶領域から該入力された商品を表わすコードに対応
する商品の単品金額データおよび前記空き記憶手段の記
憶領域を指定するデータを読出し、該領域指定データに
よって指定される領域の登録回数と登録累計額とを更新
する手段、 前記商品を表わすコード中、予め定める残りの商品コー
ドが入力されたことに応答して、前記PLUデータ記憶
領域から該入力商品コードに対応する商品の単品金額デ
ータおよび前記部門データ記憶手段の記憶領域を指定す
るデータを読出し、該領域指定データによって指定され
る領域の登録回数と登録累計額とを更新する手段を含む
、電子式キャッシュレジスタ。[Scope of Claims] 1. Has a numeric key for inputting numerical data and a department key for inputting department data of a product, and in response to input of a code representing the product from the numeric key, The electronic cash register reads out and registers predetermined single item price data of a product in correspondence with a code representing the department key, and has a storage area provided corresponding to the department key and for registering goods by department. department data storage means that stores the number of registrations for each department and the cumulative amount of registration for each department; a free storage means that includes a storage area in which no department is specified and is capable of storing the number of registrations and the cumulative amount of registration; Single-item price data of the product corresponding to a code representing the product and data specifying a storage area of the department data storage means or a storage area of the empty storage means in which the single-item price data is to be registered are stored in advance. The PLU data storage means, in response to the input of a predetermined code representing a part of the product among the codes representing the product, stores the product corresponding to the code representing the input product from the PLU data storage area. means for reading out single item price data and data specifying a storage area of the free storage means, and updating the number of registrations and the cumulative registration amount of the area specified by the area specifying data; In response to the input of a product code, data specifying the unit price data of the product corresponding to the input product code and the storage area of the department data storage means are read from the PLU data storage area, and data specifying the area is specified. An electronic cash register including means for updating the number of registrations and the cumulative registration amount for an area specified by the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8099279A JPS5838822B2 (en) | 1979-06-26 | 1979-06-26 | electronic cash register |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP8099279A JPS5838822B2 (en) | 1979-06-26 | 1979-06-26 | electronic cash register |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS564871A JPS564871A (en) | 1981-01-19 |
JPS5838822B2 true JPS5838822B2 (en) | 1983-08-25 |
Family
ID=13733987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP8099279A Expired JPS5838822B2 (en) | 1979-06-26 | 1979-06-26 | electronic cash register |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5838822B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5863646U (en) * | 1981-10-19 | 1983-04-28 | カシオ計算機株式会社 | Electronic register with product-specific tabulation function |
JPH0697474B2 (en) * | 1985-10-11 | 1994-11-30 | オムロン株式会社 | Electronic cash register |
-
1979
- 1979-06-26 JP JP8099279A patent/JPS5838822B2/en not_active Expired
Also Published As
Publication number | Publication date |
---|---|
JPS564871A (en) | 1981-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4821186A (en) | Bar code reading electronic cash register having an automatic discount function | |
JPS5840218B2 (en) | electronic cash register | |
JPS5828613B2 (en) | cash register machine | |
JPH0368435B2 (en) | ||
JPS5838822B2 (en) | electronic cash register | |
JPS6246908B2 (en) | ||
JP4654683B2 (en) | POS register | |
JPS59153259A (en) | Totalizing method in transaction processor | |
JP2589810B2 (en) | Product sales data processing device | |
JP3285113B2 (en) | Cash register and card transaction processing method thereof | |
JPS639033Y2 (en) | ||
JP2557540B2 (en) | Electronic cash register | |
JPS5929239Y2 (en) | electronic register | |
JPH0636233B2 (en) | Sales registration processor | |
JP3323586B2 (en) | Card transaction processing device | |
JPH0413757B2 (en) | ||
JPS60241194A (en) | Electronic type cash register | |
JP3482062B2 (en) | Product sales registration data processing device | |
JPS62290969A (en) | Transaction processor | |
JPH0119197B2 (en) | ||
JPS5835300B2 (en) | electronic cash register | |
JPH06259660A (en) | Electronic cash register | |
JPH03100893A (en) | Goods sale data processor | |
JPS5821311B2 (en) | electronic cash register | |
JPH0258672B2 (en) |