JPS5835300B2 - electronic cash register - Google Patents
electronic cash registerInfo
- Publication number
- JPS5835300B2 JPS5835300B2 JP8728679A JP8728679A JPS5835300B2 JP S5835300 B2 JPS5835300 B2 JP S5835300B2 JP 8728679 A JP8728679 A JP 8728679A JP 8728679 A JP8728679 A JP 8728679A JP S5835300 B2 JPS5835300 B2 JP S5835300B2
- Authority
- JP
- Japan
- Prior art keywords
- department
- plu
- code
- register
- key
- 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
Landscapes
- Cash Registers Or Receiving Machines (AREA)
Description
【発明の詳細な説明】
この発明は電子式キャッシュレジスタ(以下ECRと略
称する)に関し、特に単品登録された商品の部門別にデ
ータを収集記憶しかつ単品商品別にそのコードと単価を
定めておきコードを登録することによって単品登録する
ようなプライスルックアップ(以下PLU)登録機能を
有するECHにおいて、部門登録データを記憶する記憶
領域と単品商品のコード別のデータを記憶する記憶領域
とPLU登録に基づ<FLUコード別の部門登録データ
に類似の態様でデータ記憶する記憶領域とのそれぞれの
最大数をメモリの記憶許容範囲内で適宜可変して割当設
定できるようにしたECRに関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an electronic cash register (hereinafter abbreviated as ECR), and in particular collects and stores data for each category of products registered as single items, and determines the code and unit price for each single item. In ECH, which has a Price Lookup (hereinafter referred to as PLU) registration function that allows single item registration by registering a The present invention relates to an ECR in which the maximum number of storage areas for storing data in a similar manner to department registration data for each FLU code can be appropriately varied and allocated within the memory storage tolerance range.
一般に、従来の機械式キャッシュレジスタニ替えて、E
CRが実用に供されている。In general, instead of traditional mechanical cash registers, E
CR is put into practical use.
このようなECRにおいては、単品登録したデータを印
字したり合計計算するのみでなく、各種単品商品の部門
別に分類しておき、単品登録に合せて部門データを入力
すると、部門別の売上点数(回数)とその累計額をメモ
リに記憶し、閉店後あるいは成る長期的な単位でデータ
を収集して営業資料として利用している。In this type of ECR, in addition to printing and totaling the data registered for single items, by classifying various single items by department and inputting the department data in accordance with the registration of individual items, the sales points for each department ( The 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も提案されている。In addition, since some stores have fixed products that sell well, an ECR has been proposed in which the product code and unit price for each best-selling part can be set and stored in memory, and the unit price can be registered simply by entering the PLU code. There is.
このようにPLUコードを登録するのみで単品登録が行
われるECRにおいては、従来、PLUコード別にその
商品の属する部門コード(すなわち部門コードに対応す
るリンク先)を定めておき、PLU登録に基づいてその
PLUコードに対応する商品の属する部門の売上点数を
加算しかつその単価を対応する部門の累計額に加算して
記憶させている。In ECR, where single product registration is performed simply by registering the PLU code, conventionally, the department code to which the product belongs (i.e., the link destination corresponding to the department code) is determined for each PLU code, and the 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 by the PLU code is also stored in association with the department data, there is a problem that the cumulative amount of the particularly necessary PLU code cannot be collected and stored.
このような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コードに対応する登録データを部
門登録データと同様の態様で収集記憶させることが考え
られる。Therefore, by increasing the dedicated memory or by using the free storage area of the memory, we collect registration data corresponding to some PLU codes that particularly require individual item management in the same manner as the department registration data. It is possible to memorize it.
しかしながら、専用のメモリを増設するのは高価となる
。However, adding dedicated memory is expensive.
また、メモリの空き記憶領域を利用するのは、記憶容量
に制限があるため、ごく少ないデータしか記憶できず、
ユーザーの仕事に適合しない場合もある。In addition, using free storage space in memory has a limited storage capacity, so only a small amount of data can be stored.
It may not be suitable for the user's job.
そこで、メモリの記憶許容範囲内で、各種データの記憶
可能な記憶領域を、いかなるユーザーの仕様にも適合し
かつ比較的少ない記憶容量で所望の種類のデータを所望
の許容範囲だけ記憶し得るように、メモリの記憶領域を
最適に割当制御することが望まれる。Therefore, within the storage capacity of the memory, the storage area that can store various types of data is adapted to any user's specifications, and the desired type of data can be stored within the desired capacity with a relatively small storage capacity. Therefore, it is desirable to optimally control the allocation of memory storage areas.
それゆえに、この発明は上述の要望を満足するためにな
されたもので、比較的少ない記憶容量で所望の種類のデ
ータを所望の許容範囲たけ記憶でき、かついかなるユー
ザーの仕様にも適合し得るような、ECRを提供するこ
とである。Therefore, the present invention has been made to satisfy the above-mentioned needs, and is capable of storing a desired type of data within a desired tolerance range with a relatively small storage capacity, and is compatible with any user's specifications. It is to provide ECR.
この発明を要約すれば、メモリの記憶領域を、設定久方
に基づいて、メモリの許容範囲内で所望の記憶許容範囲
となるように部門登録データを記憶する記憶領域とPL
Uコードに対応する単価データおよびその登録回数を記
憶する記憶領域とPLU登録に基づ<PLUコード別の
データを部門データと同様の態様で記憶する記憶領域と
に分割制御するものである。To summarize this invention, the storage area of the memory is divided into a storage area for storing department registration data and a PL so that the desired storage tolerance is within the memory tolerance based on the setting length.
The system is divided into a storage area for storing unit price data corresponding to the U code and the number of registrations thereof, and a storage area for storing data for each <PLU code based on PLU registration in the same manner as department data.
第1図はこの発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.
図において、この実施例のECRは、演算処理機能を有
するマイクロプロセッサ等のCPU10と、キーボード
(後述の第2図で詳細に説明する)20と、キーボード
20で登録されたデータや演算結果などを表示する表示
器11と、キーボード20で登録されたデータおよび演
算結果を印字したり必要に応じてデータを収集印字する
ためのプリンタ12や、この発明の処理データを記憶し
たり所望のデータを設定記憶するためのメモリ(後述の
第3図で詳細に説明する)30とから成る。In the figure, the ECR of this embodiment includes a CPU 10 such as a microprocessor having an arithmetic processing function, a keyboard (described in detail in FIG. 2 below) 20, and data and calculation results registered with the keyboard 20. A display device 11 for displaying data, a printer 12 for printing data registered with a keyboard 20 and calculation results, collecting and printing data as necessary, and storing processing data of the present invention and setting desired data. It consists of a memory 30 (described in detail in FIG. 3 below) for storage.
第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や100の単位を表
わすキーや小数点キーなどを含む数値キー21と、数値
キー21で入力された単価に対応する単品商品の部門コ
ード「01」〜「08」を入力する部門キー221〜2
28と、数値キー21を操作して入力した数値情報がP
LUコードであることを表わすPLUキー23と、EC
R(71)動作モードを選択するためのモード選択手段
の一例のモード選択キースイッチ24とを含む。The keyboard 20 has numeric keys 21 including keys for numbers 0, 1 to 9, units of 100, decimal point key, etc., and department codes of single products "01" to "08" corresponding to the unit price input using the numeric keys 21. Department keys 221-2 to input “
28, and the numerical information entered by operating the numerical keys 21 is P.
PLU key 23 indicating that it is an LU code, and EC
R(71) includes a mode selection key switch 24, which is an example of mode selection means for selecting an operation mode.
このモード選択キースイッチ24は、キースイッチをS
モード位置に切換えることによりこの発明の特徴となる
メモリの割当モードを選択設定し、Pモード位置に切換
えることによりPLUコードのリンク先部門コードの設
定モードおよびFLUコード別の単価情報の設定モード
を選択設定し、Rモード位置に切換えることにより部門
登録モードおよびPLU登録モードを含む通常の登録モ
ードを選択設定するものである。This mode selection key switch 24 is configured to switch the key switch to S.
By switching to the mode position, the memory allocation mode, which is a feature of this invention, is selected and set, and by switching to the P mode position, the setting mode of the department code linked to the PLU code and the setting mode of unit price information for each FLU code are selected. By setting and switching to the R mode position, normal registration modes including department registration mode and PLU registration mode are selected and set.
第3図は前記メモリ30の記憶領域を図解的に示した図
である。FIG. 3 is a diagram schematically showing the storage area of the memory 30.
図において、メモリ30は所望のデータを書込み読出し
可能なメモリ(例えばランダムアクセスメモリ;RAM
)が用いられる。In the figure, a memory 30 is a memory in which desired data can be written and read (e.g., random access memory; RAM).
) is used.
このメモリ30は、予め定める複数番地から成りかつ複
数番地を部門データ記憶領域311、PLUデータ記憶
領域312、空き記憶領域313のそれぞれに適宜割当
てられる割当て可能な記憶領域31と、前記数値キー2
1を操作して入力された置数情報を一時記憶する置数レ
ジスタ(図示ではNBUFと略記する)32と、指定さ
れたPLUコードを一時記憶するPLUレジスタ(PL
C)33と、登録された部門コードを一時記憶する部門
コードレジスタ(DPC)34と、数値情報が入力され
たことを記憶するフラグ(Fn)351と、部門キーが
押圧されたことを記憶するフラグ(Fd)352と、読
出された部門コード別の累計額を一時記憶するアップデ
ータ用レジスタ(AMT)35と、前記記憶領域31の
複数番地のうち部門コード別の部門登録データを記憶す
る記憶領域の最大番地数(すなわち最大部門コード数)
を設定記憶するレジスタ(DPN)37と、記憶領域3
1の複数番地のうち部門コード数および部門データと同
様のデータ態様でPLUコードをリンクできる最大の番
地数(すなわち部門データ記憶領域の番地数と空き記憶
領域の番地数との和)を設定記憶するレジスタ(ODP
N)33と、記憶領域31の複数番地のうちPLUコー
ド別に単価およびその回数を設定記憶可能なPLUコー
ドの最大番地数(最大PLUコード数)を設定記憶する
レジスタ(PLUN)39とから成る。This memory 30 includes an allocatable storage area 31 which is made up of a plurality of predetermined addresses and which are appropriately allocated to each of a department data storage area 311, a PLU data storage area 312, and a free storage area 313, and the numerical key 2.
A numeric register (abbreviated as NBUF in the figure) 32 temporarily stores numeric information input by operating 1, and a PLU register (PLU register) 32 temporarily stores a specified PLU code.
C) 33, a department code register (DPC) 34 that temporarily stores the registered department code, a flag (Fn) 351 that stores the fact that numerical information has been input, and a flag (Fn) 351 that stores the fact that the department key has been pressed. A flag (Fd) 352, an updater register (AMT) 35 that temporarily stores the read cumulative amount for each department code, and a storage area that stores department registration data for each department code among the plurality of addresses in the storage area 31. Maximum number of addresses (i.e. maximum number of department codes)
A register (DPN) 37 for setting and storing the
Set and store the number of department codes and the maximum number of addresses to which PLU codes can be linked in the same data format as department data (i.e., the sum of the number of addresses in the department data storage area and the number of addresses in the free storage area) among multiple addresses in 1. register (ODP
N) 33, and a register (PLUN) 39 for setting and storing the maximum number of addresses (maximum number of PLU codes) of PLU codes that can be stored and set the unit price and the number of times for each PLU code among the plurality of addresses in the storage area 31.
また、記憶領域31は、PLUデータ記憶領域312と
して用いられる番地の所定のビット数でリンク先部門コ
ード(LDP)を記憶する領域aと、部門データ記憶領
域311および空き記憶領域313として用いられる番
地の所定のビット数で部門別回数器(DCN)としかつ
PLUデータ記憶領域312として用いられる番地の所
定のビット数でPLUコード別回数器(PCN)として
記憶する領域すと、記憶領域311および313として
用いられる番地の所定のビット数で部門(またはPLU
)コード別累計額レジスタ(DTT)として記憶しかつ
記憶領域312として用いられる番地の所定ビット数で
PLUコード別の単価(UP)を記憶する領域Cとに分
けられる。The storage area 31 also includes an area a for storing a linked department code (LDP) with a predetermined number of bits at an address used as a PLU data storage area 312, and an area a for storing a linked department code (LDP) at an address used as a department data storage area 311 and a free storage area 313. If the area is stored as a departmental counter (DCN) with a predetermined number of bits and as a PLU code-specific counter (PCN) with a predetermined number of bits at an address used as the PLU data storage area 312, storage areas 311 and 313 are stored. department (or PLU
) An area C is stored as a code-specific cumulative amount register (DTT) and is divided into an area C for storing the unit price (UP) for each PLU code using a predetermined number of bits at an address used as the storage area 312.
次に、第1図ないし第4図を参照してこの実施例の動作
をモード別に操作例を挙げて説明する。Next, with reference to FIGS. 1 to 4, the operation of this embodiment will be explained by giving operation examples for each mode.
メモリの割当モード
まず、前記記憶領域31の複数番地を、部門データ記憶
領域311、PLUデータ記憶領域312、空き記憶領
域313別に番地数を割当てる場合を説明する。Memory Allocation Mode First, a case will be described in which a plurality of addresses in the storage area 31 are allocated to each of the department data storage area 311, PLU data storage area 312, and free storage area 313.
例えば記憶領域31の番地数がmであり、部門データ記
憶領域311を各部門キー22の数8に相当する8番地
とし、PLUデータ記憶領域312を10番(すなわち
PLUコードが「011〜rlOJ)に割当てる場合を
想定して述べる。For example, the number of addresses of the storage area 31 is m, the department data storage area 311 is set to address 8 corresponding to the number 8 of each department key 22, and the PLU data storage area 312 is set to number 10 (that is, the PLU code is "011~rlOJ"). The following description assumes the case where it is assigned to
初めに、オペレータは前記モード選択キースイッチ24
をSモードに選択設定したのち、数値キー21を操作し
て数値「10」を入力することによりPLUコード数1
0を設定し、そののち部門8を表わす部門キー228を
押圧することにより部門コード数10を設定し、そのの
ち部門8を表わす部門キー228を押圧することにより
部門コード数8を設定入力する。First, the operator presses the mode selection key switch 24.
After selecting and setting the PLU code to S mode, operate the numeric key 21 and enter the number "10" to set the PLU code number to 1.
0, then press the department key 228 representing department 8 to set the department code number 10, and then press the department key 228 representing department 8 to set and input the department code number 8.
この数値キー21の操作に応じて、CPUI Oは最初
の1桁のキー人力があったことに基づいて、PLUキー
23でなく、部門キー22でなく、数値キー21のいず
れかの数値キーであることを判定する。In response to the operation of the numeric key 21, the CPUI O presses any of the numeric keys 21, not the PLU key 23 or the department key 22, based on the fact that the first digit key was pressed. determine something.
そして、フラグ(Fn)351が論理「1」(すなわち
セット)か否かを判定するが、数値キーを操作して入力
された最初の桁であればフラグ351が論理「0」であ
るため、置数レジスタ32の内容をクリアしたのち、置
数レジスタ32の内容を1桁左ヘシフトし、今キー人力
された数値「1」を置数レジスタ32の最下位桁ヘスド
アさせ、フラグ351に論理「1」を書込んだのち、前
述のキー人力待ちステップへ戻る。Then, it is determined whether the flag (Fn) 351 is logic "1" (that is, set), but if it is the first digit input by operating the numerical keys, the flag 351 is logic "0". After clearing the contents of the numeral register 32, shift the contents of the numeral register 32 to the left by one digit, move the numeric value "1" that has just been manually entered to the lowest digit of the numeral register 32, and set the flag 351 to the logic "1". After writing "1", the process returns to the above-mentioned step of waiting for key human power.
続いて数値キー21を操作して次桁の数値「0」が入力
されると、数値キーの入力であることを判定したのち、
フラグ37が論理「1」であることを判定し、置数レジ
スタ32の内容を1桁左ヘシフトしたのち、今キー人力
された数値「0」を置数レジスタ32の最下位桁ヘスド
アさせ、フラグ351に論理「1」を書込んで前述のキ
ー人力待ちステップへ戻る。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 "1" and shifting the contents of the numeral register 32 to the left by one digit, the numerical value "0" that was entered by the key just now is moved to the lowest digit of the numeral register 32, and the flag is Logic "1" is written in 351 and the process returns to the key manual waiting step described above.
このようにして、置数レジスタ32には、数値キー21
を操作して入力されたPLUコード数(ただし置数レジ
スタ32にストアされている数値情報がPLUコード数
であることは後でなければわからない)がレジスタ32
にストアされる。In this way, the numeric key 21 is stored in the numeric register 32.
The number of PLU codes input by operating the register 32 (however, it is not known until later that the numerical information stored in the numeric register 32 is the number of PLU codes) is stored in the register 32.
Stored in
続いて、オペレータが部門コード「08」の部門キー2
28を押圧したことに応答して、CPU10はPLUキ
ー23でなく、いずれかの部門キーであることを判定し
、部門コード「08」のキーコードを部門レジスタ34
ヘスドアさせる。Next, the operator presses department key 2 with department code "08".
28, the CPU 10 determines that it is not the PLU key 23 but one of the department keys, and stores the key code of department code "08" in the department register 34.
Let Hess door.
次に、CPUl0はフラグ351が論理「1」であるこ
とを判定し、フラグ352が論理rOJであることを判
定し、モード選択キースイッチ24がPモードに選択さ
れているか否かを判定する。Next, CPU10 determines that the flag 351 is logical "1", determines that the flag 352 is logical rOJ, and determines whether the mode selection key switch 24 is selected to P mode.
このとき、メモリ30の割当てモードにおいてはPモー
ドではないため、CPU10はPモードでなく、Sモー
ドであることを判定して次のステップへ進む。At this time, since the memory 30 allocation mode is not in P mode, the CPU 10 determines that it is not in P mode but in S mode and proceeds to the next step.
次に、CPU10はレジスタ32の内容(PLUコード
数)とレジスタ34の内容(すなわち部門コード数)と
を加算し、該加算値が記憶領域31の最大番地数m以下
か否かを判定して、設定しようとするPLUコード数と
部門コード数との和の番地数が許容範囲の最大番地数m
以下であるか否かを判定する。Next, the CPU 10 adds the contents of the register 32 (the number of PLU codes) and the contents of the register 34 (that is, the number of department codes), and determines whether the added value is less than or equal to the maximum number of addresses m in the storage area 31. , the maximum number of addresses (m) in which the sum of the number of PLU codes and the number of department codes to be set is within the allowable range.
Determine whether the following is true.
このとき、PLUコード数と部門コード数との和がmよ
り大きい場合は、割当てできないためエラー表示させる
。At this time, if the sum of the number of PLU codes and the number of department codes is greater than m, allocation is not possible and an error is displayed.
一方、両コード数の和が扉以下であれば、CPU10は
部門レジスタ34の内容すなわち使用可能な部門コード
数8をレジスタ37に転送して設定記憶させ、最大番地
数扉からレジスタ32の内容の値(すなわち使用可能な
PLUコード数)を減算し、部門データ記憶領域311
と空き記憶領域313として使用可能な番地数の和を求
め、その和番地数(m−10)をレジスタ38に転送し
て設定記憶させる。On the other hand, if the sum of both code numbers is less than or equal to the door, the CPU 10 transfers the contents of the department register 34, that is, the number of usable department codes 8, to the register 37 and stores the setting, and the contents of the register 32 are transferred from the maximum address number door. value (i.e., the number of available PLU codes) and store it in the department data storage area 311.
The sum of the number of addresses that can be used as the free storage area 313 is calculated, and the sum of the number of addresses (m-10) is transferred to the register 38 for setting and storage.
さらに、CPU10はレジスタ32にストアされている
使用可能なPLUコード数をレジスタ39に転送して設
定記憶させたのち、フラグ351に論理「O」を書込み
(すなわちリセット)前述のキー人力待ちステップへ戻
る。Further, the CPU 10 transfers the number of usable PLU codes stored in the register 32 to the register 39 to store the setting, and then writes logic "O" to the flag 351 (i.e., resets it) and proceeds to the above-mentioned key manual power waiting step. return.
このようにして、メモリ30の記憶領域31の複数番地
を、8番地の部門データ記憶領域311と、10番地の
PLUデータ記憶領域312と、(扉−18)番地の空
き記憶領域とに割当て制御する。In this way, a plurality of addresses in the storage area 31 of the memory 30 are allocated to the department data storage area 311 at address 8, the PLU data storage area 312 at address 10, and the empty storage area at address (door-18). do.
なお、その他の数に割当てる場合も、モード選択キース
イッチ24をSモードにし、数値キー21を操作して使
用可能なPLUコード数を入力し、さらに部門キー22
を操作して使用可能な部門コード数を入力することによ
って、各記憶領域311〜313を最大番地数扉の範囲
内で適宜割当てることができる。In addition, when assigning to other numbers, set the mode selection key switch 24 to S mode, operate the numeric keys 21 to input the number of usable PLU codes, and then press the department key 22.
By operating , and inputting the number of usable department codes, each storage area 311 to 313 can be appropriately allocated within the range of the maximum address number.
従って、部門コード数と、PLUコード数と、PLUコ
ードの登録に基づいて特に必要なPLUコード別のデー
タを部門データと同様の態様で記憶させる番地数とを、
ユーザーの使用により、メモリ30の許容範囲内で適宜
可変設定することができる利点がある。Therefore, the number of department codes, the number of PLU codes, and the number of addresses in which data for each PLU code that is particularly necessary based on the registration of PLU codes is stored in the same manner as the department data.
There is an advantage that the settings can be changed as appropriate within the allowable range of the memory 30 according to the user's use.
これによって、ECRの機種を増すことなく、多種多様
の仕様を充足でき、量産化できる利点もある。This has the advantage of being able to satisfy a wide variety of specifications without increasing the number of ECR models, and allowing for mass production.
PLUコードのリンク先部間コード設定モードPLUコ
ード別にリンクされる部門コードを設定する場合、オペ
レータはモード選択キースイッチ24をPモードに設定
し、部門キー221〜228のうち成るキーを押圧し、
数値キー21を操作して先に押圧された部門キーに対応
するリンク先PLUコードと部門コードを入力し、PL
Uキー23を押圧することによって行なう。PLU code link destination code setting mode When setting a department code to be linked for each PLU code, the operator sets the mode selection key switch 24 to P mode, presses one of the department keys 221 to 228,
Operate the numeric keys 21 to input the linked PLU code and department code corresponding to the department key pressed first, and
This is done by pressing the U key 23.
例えば、部門キー221に対応する部門コードが「01
」でありかつ部門コード「01」にリンクされるPLU
コードが「01」であるとすれば、オペレータは部門キ
ー221を押圧した後、数値キー21を操作して4桁の
コードJO101jを入力し、続けてPLUキー23を
押圧する。For example, the department code corresponding to the department key 221 is “01
” and linked to department code “01”
If the code is "01", the operator presses the department key 221, operates the numerical keys 21 to input the four-digit code JO101j, and then presses the PLU key 23.
この部門キー221の押圧に応じて、CPU10は操作
されたキーがPLUキー23でなく、いずれかの部門キ
ー(ただし使用できない部門キーを除く)であることを
判定し、部門キー221に対応するキーコードをレジス
タ34にストアさせ、フラグ351の論理状態が「1」
か否かを判定し、フラグ351が論理rOJであれば、
モード選択キースイッチ24がPモードであることを判
定し、レジスタ34にストアされている部門キーコード
がレジスタ37にストアされている使用可能な最大部門
コード数以下であることを判定した後、フラグ352に
論理「1」を記憶させてキー人力待ちステップへ戻る。In response to this pressing of the department key 221, the CPU 10 determines that the operated key is not the PLU key 23 but any department key (excluding department keys that cannot be used), and responds to the department key 221. The key code is stored in the register 34, and the logic state of the flag 351 is "1".
It is determined whether or not, and if the flag 351 is logical rOJ,
After determining that the mode selection key switch 24 is in the P mode and determining that the department key code stored in the register 34 is less than or equal to the maximum usable department code number stored in the register 37, the flag The logic "1" is stored in 352 and the process returns to the step of waiting for key human power.
次に、数値キー21を操作してPLUコードと部門ツー
下を表わす4桁のコード「0101」を入力したことに
応じて、CPU10は操作されたキーがPLUキー23
でなく、部門キー221〜228のいずれでもなく、数
値キー21であることを判定した後、前述の数値情報入
力動作と同様にして、入力された数値情報をレジスタ3
2にストアさせる。Next, in response to operating the numeric key 21 and inputting the PLU code and the 4-digit code "0101" representing department two lower, the CPU 10 determines that the operated key is the PLU key 23.
After determining that it is the numeric key 21 and not any of the department keys 221 to 228, the input numeric information is input to the register 3 in the same manner as the numeric information input operation described above.
Store it in 2.
さらに、PLUキー23が押圧されたことに応じて、C
PU10は操作されたキーがPLUキー23であり、フ
ラグ351が論理「1」であり、Sモードでなく、Pモ
ードであり、フラグ352が論理「1」であることを判
定したのち、PLUコードのリンク先部門コードの設定
動作を行なう。Furthermore, in response to the PLU key 23 being pressed, the C
The PU 10 determines that the operated key is the PLU key 23, the flag 351 is logic "1", the mode is not S mode but P mode, and the flag 352 is logic "1", and then outputs the PLU code. Performs the setting operation of the linked department code.
すなわち、CPU10はレジスタ32にストアされてい
る数値情報が4桁であることを判定し、レジスタ32で
ストアされている上位2桁の数値情報をレジスタ33に
ストアさせ、レジスタ32にストアされている下位2桁
の数値情報をレジスタ34にストアさせ、レジスタ33
および34の内容がゼロでないことを判定する。That is, the CPU 10 determines that the numerical information stored in the register 32 is 4 digits, stores the upper two digit numerical information stored in the register 32 in the register 33, and stores the numerical information stored in the register 32. The numerical information of the lower two digits is stored in the register 34, and the numerical information of the lower two digits is stored in the register 33.
It is determined that the contents of and 34 are not zero.
ざらにCPU10は、レジスタ33にストアされている
設定すべきPLUコード(01)とレジスタ39にスト
アされている使用可能なPLUコードの最大数(10)
とを比較し、設定すべきPLUコードが最大数以下であ
ることを判定する。Roughly, the CPU 10 stores the PLU code to be set (01) stored in the register 33 and the maximum number of usable PLU codes (10) stored in the register 39.
It is determined that the number of PLU codes to be set is less than or equal to the maximum number.
続いて、レジスタ34の内容とレジスタ38の内容とを
比較し、レジスタ34にストアされている設定すべき部
門コードがレジスタ37にストアされている使用可能な
部門コードの最大数以下であることを判定すると、レジ
スタ34にストアされている設定すべき部門コードがレ
ジスタ33の内容によって指定されるPLUコードに対
応するリンク先の部門コードとしてPLUデータ記憶領
域312の対応番地のリンク先記憶ビット領域aへ記憶
され、その後フラグ352に論理「O」を記憶させかつ
フラグ351に論理rOJを記憶させることにより、設
定動作を終了する。Next, the contents of the register 34 and the contents of the register 38 are compared, and it is determined that the department code to be set stored in the register 34 is less than or equal to the maximum number of usable department codes stored in the register 37. When it is determined, the department code to be set stored in the register 34 is set as the linked department code corresponding to the PLU code specified by the contents of the register 33 in the linked storage bit area a at the corresponding address in the PLU data storage area 312. Thereafter, the setting operation is completed by storing the logic "O" in the flag 352 and storing the logic rOJ in the flag 351.
以下同様にして、部門キー別にPLUコードと部門コー
ドとを入力することにより、PLUコード別のリンク先
部門コードの設定動作が達成される。Similarly, by inputting the PLU code and the department code for each department key, the setting operation of the linked department code for each PLU code is achieved.
PLUコード別単価設定モード
PLUコード別の単価を設定する場合、オペレータはモ
ード選択キースイッチ24をPモードに設定し、2桁の
数字からなるPLUコードおよび6桁の数字からなる当
該PLUコードに対応する単価を数字キー21の操作に
よって入力しかつPLUキー23を押圧することによっ
て行なう。Unit price setting mode for each PLU code When setting the unit price for each PLU code, the operator sets the mode selection key switch 24 to P mode, which corresponds to the PLU code consisting of a 2-digit number and the corresponding PLU code consisting of a 6-digit number. This is done by inputting the unit price by operating the numeric keys 21 and pressing the PLU key 23.
例えば、PLUコードが「01」でありかつ当該PLU
コードの単価が100円であるとすれば、オペレータは
数値キー21を操作してPLUコード「01」を入力し
、さらに続けて単価(100円)をあられす6桁の数字
「0OO100jを入力したのち、PLUキー23を押
圧する。For example, if the PLU code is "01" and the PLU
If the unit price of the code is 100 yen, the operator operates the numeric key 21 to enter the PLU code "01", and then enters the unit price (100 yen) with the six-digit number "0OO100j". Afterwards, the PLU key 23 is pressed.
このPLUコードと単価を表わす8桁からなる数字の入
力に応じて、CPU10は前述のメモリ割当モードにお
ける数値情報の入力動作と同様にして、8桁の数字を置
数レジスタ32ヘスドアさせる。In response to the input of the PLU code and the eight-digit number representing the unit price, the CPU 10 loads the eight-digit number into the number register 32 in the same manner as the input operation of numerical information in the memory allocation mode described above.
その後、PLUキー23が押圧されたことに応じて、C
PU10はフラグ351が論理「1」であり、モード選
択キースイッチ24で選択されているモードがSモード
でなくかつPモードであることを判定し、続いてフラグ
352が論理「0」であることを判定し、置数レジスタ
32にストアされている数置情報が8桁であることを判
定したのち、コード別単価設定動作を行なう。Thereafter, in response to the PLU key 23 being pressed, the C
The PU 10 determines that the flag 351 is logic "1" and that the mode selected by the mode selection key switch 24 is not the S mode but the P mode, and then the flag 352 is logic "0". After determining that the numeral information stored in the numeral register 32 is 8 digits, the unit price setting operation for each code is performed.
すなわち、CPU10は置数レジスタ32にストアされ
ている数値情報のうち上位2桁の数値をレジスタ33ヘ
スドアさせ、該レジスタ33の内容がOか否かを判定し
、Oでなければレジスタ33にストアされている今設定
しようとしているPLUコードとレジスタ39にストア
されているPLUコードとして使用可能な最大数と比較
し、設定すべきPLUコード(Ol)が使用可能な最大
数10以下であればR数しジスタ32にストアされてい
る下位6桁の数値情報(すなわち単価)をレジスタ33
の内容によって指定されるFLUコード「01」に対応
するPLUデータ記憶領域312の単価記憶ビット領域
Cへ書込み記憶させる。That is, the CPU 10 stores the upper two digits of the numerical information stored in the numeric register 32 to the register 33, determines whether the content of the register 33 is O, and if not, stores it in the register 33. Compare the PLU code you are currently trying to set with the maximum usable PLU code stored in register 39, and if the PLU code (Ol) to be set is less than or equal to the maximum usable number 10, press R. The numerical information of the lower 6 digits (i.e. unit price) stored in the register 32 is transferred to the register 33.
is written and stored in the unit price storage bit area C of the PLU data storage area 312 corresponding to the FLU code "01" specified by the contents of.
その後、フラグ351に論理「0」を書込み、前述のキ
ー人力待ちステップへ戻る。Thereafter, logic "0" is written in the flag 351, and the process returns to the above-mentioned key manual power waiting step.
以下同様にして、PLUコード「01」・・・「10」
の順次に各PLUコードに対応する単価を設定入力する
ことにより、PLUデータ記憶領域312の各番地毎に
FLUコード別の単価が書込み設定される。Similarly, PLU code "01"..."10"
By sequentially setting and inputting the unit price corresponding to each PLU code, the unit price for each FLU code is written and set for each address in the PLU data storage area 312.
上述のごとくして、メモリの記憶容量の割当てやPLU
コード別単価の設定やPLUコード別リンす先部門コー
ドの設定が完了した後、ECRを使用して顧客の買い上
げた商品の買上データを登録処理することが可能となる
。As mentioned above, memory storage capacity allocation and PLU
After completing the setting of the unit price by code and the linked department code by PLU code, it becomes possible to register the purchase data of the products purchased by the customer using the ECR.
そこで、以下に部門コードの登録による登録モードと、
PLUコードを登録することにより単品登録する場合の
登録モードについて説明する。Therefore, below are the registration modes by registering department codes,
The registration mode when registering a single item by registering a PLU code will be explained.
部門登録モード
数値キー21の操作と部門キーを押圧することにより単
品登録する部門登録モードの場合においては、オペレー
タはモード選択キースイッチ24でRモードを選択し、
数値キー21を操作して登録すべき商品の単価を入力し
かつ部門キー22を操作して当該商品の部門コードを入
力する。Department registration mode In the case of department registration mode in which single items are registered by operating the numeric keys 21 and pressing the department key, the operator selects R mode with the mode selection key switch 24,
The user operates the numerical keys 21 to input the unit price of the product to be registered, and operates the department key 22 to input the department code of the product.
この数値キー21の操作に基づく単価の入力に応じてC
PUl0は前述の数値情報の入力動作と同様にして、数
値キー21を操作して入力された単価を置数レジスタ3
2にストアさせた後1部門キー21の抑圧に応じて部門
キー221〜228のうち押圧された部門キー(例えば
部門1を表わす221)のキーコードをレジスタ34に
ストアさせ、フラグ351が論理「1」であることを判
定し、フラグ352が論理rOJであることを判定し、
モード選択キースイッチ24で選択されているモードが
Pモードでなく、Rモードであることを判定した後単品
登録されたデータを部門データ記憶領域311に収集記
憶させる。C according to the input of the unit price based on the operation of this numerical key 21.
PUl0 stores the unit price input by operating the numerical key 21 in the number register 3 in the same way as the numerical information input operation described above.
After the 1 department key 21 is pressed, the key code of the department key pressed among the department keys 221 to 228 (for example, 221 representing department 1) is stored in the register 34, and the flag 351 is set to logic ``1''. 1", and determines that the flag 352 is logical rOJ,
After determining that the mode selected by the mode selection key switch 24 is not the P mode but the R mode, the data registered individually is collected and stored in the department data storage area 311.
すなわち、CPU10はレジスタ34にストアされてい
る設定入力された部門コードがレジスタ37にストアさ
れている使用可能な部門コードの最大数以下であること
を判定し、レジスタ3・2にストアされている単価をレ
ジスタ36に転送してストアさせ、レジスタ34の内容
によって指定される部門コード(01)の回数器を1だ
け歩進させ、レジスタ34の内容で指定される部門コー
ド(01)の累計額にレジスタ36でストアされている
今登録された単価を加算して更新記憶させた後、フラグ
351に論理「0」を書込んで一連の動作を終了する。That is, the CPU 10 determines that the input department code stored in the register 34 is less than or equal to the maximum number of usable department codes stored in the register 37, and stores it in registers 3 and 2. The unit price is transferred to the register 36 and stored, the counter of the department code (01) specified by the contents of the register 34 is incremented by 1, and the cumulative amount of the department code (01) specified by the contents of the register 34 is calculated. After adding the currently registered unit price stored in the register 36 to and updating and storing it, a logic "0" is written to the flag 351 to complete the series of operations.
以後同様の動作を繰返すことによって、部門登録による
単品登録動作が達成される。By repeating the same operation thereafter, the single item registration operation by department registration is achieved.
PLUコードによる登録モード
PLUコードを登録することにより単品登録する場合、
オペレータはモード選択キースイッチ24をRモードに
選択した後、数値キー21を操作してPLUコードを入
力しかつPLUキー23を押圧することによって行なう
。Registration mode using PLU code When registering a single item by registering a PLU code,
The operator selects the R mode with the mode selection key switch 24, operates the numerical keys 21 to input the PLU code, and presses the PLU key 23.
この数値キー21を操作してPLUコードを入力したこ
とに応じて、CPU10は前述の数値情報入力動作と同
様にして、PLUコード(例えばrolJ)をレジスタ
32にストアさせ、その後FLUキーが押圧されたこと
を判定し、フラグ351が論理「1」であり、Sモード
でなくかつRモードであることを判定し、フラグ352
が論理「O」であり、レジスタ32にストアされている
数値情報が2桁の数値であることを判定した後、PLU
登録モードの動作を行なう。In response to inputting a PLU code by operating this numerical key 21, the CPU 10 stores the PLU code (for example, rolJ) in the register 32 in the same manner as the numerical information input operation described above, and then when the FLU key is pressed, It is determined that the flag 351 is logic "1" and that the mode is not S mode but R mode, and the flag 352 is
is logic “O” and the numerical information stored in the register 32 is a two-digit numerical value, the PLU
Performs registration mode operation.
すなわち、CPU10はレジスタ32にストアされてい
る設定登録すべきPLUコード(Of)がレジスタ39
にストアされている使用可能なPLUコードの最大数以
下であることを判定し、レジスタ32の内容がゼロでな
いことを判定した後、レジスタ32の内容(PLUコー
ドroll)をレジスタ33に転送してストアさせる。That is, the CPU 10 stores the PLU code (Of) stored in the register 32 and which should be registered in the register 39.
After determining that the number of usable PLU codes stored in the register 32 is less than or equal to the maximum number of usable PLU codes and determining that the contents of the register 32 are not zero, the contents of the register 32 (PLU code roll) are transferred to the register 33. Store.
続いて、CPU10はレジスタ33ヘスドアされている
PLUコードに対応するリンク先部門コードを読出して
レジスタ34にストアさせ、レジスタ34の内容がゼロ
より大きくかっレジスタ38の内容以下であることを判
定し、レジスタ33でストアされているPLUコードに
対応する単価を読出してレジスタ36にストアさせ、レ
ジスタ33にストアされているPLUコードに対応する
番地の回数記憶用ビット領域すの内容に数値「1」を加
算して当該PLUコードの登録回数を歩進させ、レジス
タ34でストアされている部門コードに対応する番地の
回数記憶ビット領域すの部門コード別の登録回数に1を
加算して更新記憶させ、レジスタ34にストアされてい
る部門コードに対応する番表の累計額記憶ビット領域C
の累計額にレジスタ36の内容(すなわちPLU登録さ
れた単価)を加算して更新記憶させた後、フラグ351
に論理「1」を書込み記憶させて、PLU登録の一連の
動作を終了する。Next, the CPU 10 reads the linked department code corresponding to the PLU code stored in the register 33 and stores it in the register 34, and determines that the contents of the register 34 are greater than zero and less than or equal to the contents of the register 38, The unit price corresponding to the PLU code stored in the register 33 is read out and stored in the register 36, and the value "1" is set in the contents of the number storage bit area at the address corresponding to the PLU code stored in the register 33. and increments the number of registrations of the PLU code, adds 1 to the number of registrations for each department code in the number storage bit area of the address corresponding to the department code stored in the register 34, and updates and stores it; Cumulative amount storage bit area C of the number table corresponding to the department code stored in the register 34
After adding the contents of the register 36 (that is, the unit price registered in the PLU) to the cumulative amount of and updating and storing it, the flag 351
A logic "1" is written and stored in the PLU register, and a series of operations for PLU registration is completed.
その他のPLUコードに基づく単品登録においても、前
述の動作と同様にして達成される。Single item registration based on other PLU codes is also achieved in the same manner as the above-described operation.
以上のように、この発明によれば、メモリの複数番地の
うち最大許容範囲内で部門コード別データを記憶する領
域とPLUコード別データを記憶する領域と空き記憶領
域とに適宜可変して分割設定でき、メモリを有効に使用
でき、ユーザのあらゆる仕様にも適合しうるようなEC
Rが得られる。As described above, according to the present invention, a plurality of addresses in a memory are variably divided into an area for storing data by department code, an area for storing data by PLU code, and a free storage area within the maximum allowable range. An EC that can be configured, uses memory effectively, and meets all user specifications.
R is obtained.
第1図はこの発明の一実施例のブロック図である。
第2図はキーボードの一例を示す図解図である。
第3図はメモリの記憶領域を図解的に示した図である。
第4図はこの発明の一実施例の動作を説明するためのフ
ローチャートである。
図において、10はCPU、11は表示器、12はプリ
ンタ、20はキーボード、21は数値キー、221〜2
28は部門キー、231はPLU登録キー、24はモー
ド選択キースイッチ、30はメモリ、311は部門デー
タ記憶領域、312はPLUデータ記憶領域、313は
空き記憶領域、32〜34,37〜39はレジスタ、3
51゜352はフラグを示す。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, 221 to 2
28 is a department key, 231 is a PLU registration key, 24 is a mode selection key switch, 30 is a memory, 311 is a department data storage area, 312 is a PLU data storage area, 313 is an empty storage area, 32-34, 37-39 are register, 3
51°352 indicates a flag.
Claims (1)
可能な電子式キャッシュレジスタにおいて、複数のキー
を含むキーボード、 一定の記憶許容範囲を有するメモリ、 前記メモリの一定の記憶許容範囲内でメモリの割当を行
なうモードを設定するモード設定手段、前記メモリ割当
モード時に前記キーボードのキー操作によって入力され
た前記メモリの割当に必要な情報を記憶する割当情報記
憶手段、および前記鮎当情報記憶手段の記憶内容に基づ
いて、前記メモリを、前記部門登録処理のための第1の
エリアと、前記プライスルックアップ処理のための第2
のエリアと、第3のエリアとに割当てるメモリ割当手段
を備え、 前記第3のエリアは、前記プライスルックアップ登録処
理される商品のうち所定の商品の少なくとも売上げ合計
額を登録するためのエリアとして割当てられる、電子式
キャッシュレジスタ。[Scope of Claims] 1. An electronic cash register capable of department registration processing and price lookup registration processing, comprising: a keyboard including a plurality of keys; a memory having a certain storage tolerance; and a certain storage tolerance of the memory. mode setting means for setting a mode for memory allocation within the memory allocation mode; allocation information storage means for storing information necessary for the memory allocation input by key operations on the keyboard during the memory allocation mode; and the sweetfish allocation information. Based on the storage contents of the storage means, the memory is divided into a first area for the department registration process and a second area for the price lookup process.
and a third area, the third area serving as an area for registering at least the total sales amount of a predetermined product among the products subjected to the price lookup registration process. Assigned electronic cash register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8728679A JPS5835300B2 (en) | 1979-07-09 | 1979-07-09 | electronic cash register |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8728679A JPS5835300B2 (en) | 1979-07-09 | 1979-07-09 | electronic cash register |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5611561A JPS5611561A (en) | 1981-02-04 |
| JPS5835300B2 true JPS5835300B2 (en) | 1983-08-02 |
Family
ID=13910542
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8728679A Expired JPS5835300B2 (en) | 1979-07-09 | 1979-07-09 | electronic cash register |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5835300B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0650068Y2 (en) * | 1987-12-02 | 1994-12-14 | カシオ計算機株式会社 | Sales data processor |
-
1979
- 1979-07-09 JP JP8728679A patent/JPS5835300B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5611561A (en) | 1981-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4649481A (en) | Electronic cash register with means to store and correlate data on a customer by customer basis | |
| JPS5840218B2 (en) | electronic cash register | |
| EP0114261B1 (en) | Information recording system | |
| JPH08185267A (en) | Product registration device | |
| GB2089547A (en) | Electronic register | |
| GB2108744A (en) | Multifunction keys for cash register | |
| US4833632A (en) | Electronic record keeping device | |
| JPS5835300B2 (en) | electronic cash register | |
| JPS5819103B2 (en) | electronic cash register | |
| JP2539002B2 (en) | Transaction processor | |
| JPS5838822B2 (en) | electronic cash register | |
| JPS59858B2 (en) | electronic cash register | |
| JPS5840217B2 (en) | electronic cash register | |
| JPS5839347B2 (en) | Program control method for electronic cash register | |
| JP2506098B2 (en) | Transaction processor | |
| JPS5868175A (en) | Electronic register | |
| JPH03677B2 (en) | ||
| JPS5835302B2 (en) | electronic cash register | |
| EP0232616B1 (en) | Memory for electronic balance | |
| JPS639033Y2 (en) | ||
| JPS5848169A (en) | Electronic cash register | |
| JPH0636233B2 (en) | Sales registration processor | |
| JPH0119197B2 (en) | ||
| JPS6246906B2 (en) | ||
| JPS5836388B2 (en) | electronic cash register |