JPH08153277A - Electronic cash register - Google Patents

Electronic cash register

Info

Publication number
JPH08153277A
JPH08153277A JP29526994A JP29526994A JPH08153277A JP H08153277 A JPH08153277 A JP H08153277A JP 29526994 A JP29526994 A JP 29526994A JP 29526994 A JP29526994 A JP 29526994A JP H08153277 A JPH08153277 A JP H08153277A
Authority
JP
Japan
Prior art keywords
code
business
key position
mode
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.)
Pending
Application number
JP29526994A
Other languages
Japanese (ja)
Inventor
Masahito Watabe
雅人 渡部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TEC CORP
Original Assignee
TEC CORP
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by TEC CORP filed Critical TEC CORP
Priority to JP29526994A priority Critical patent/JPH08153277A/en
Publication of JPH08153277A publication Critical patent/JPH08153277A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE: To optionally change the corresponding relation between the key position of a mode switch and an operation mode selected by the key position without changing a control program. CONSTITUTION: A code correspondence file in which operation codes specifying various operation modes such as registration, adjustment in each bar code corresponding to each key position of the mode switch is read out from the external and developed in a memory, and when a bar code corresponding to the current key position of the mode switch is inputted, the file is retrieved by the bar code, its corresponding operation code is read out and an operation program in an operation mode corresponding to the operation code is selected and executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、登録,精算等の各種業
務モードを選択的に切換えるモードスイッチを有した電
子式キャッシュレジスタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic cash register having a mode switch for selectively switching various business modes such as registration and settlement.

【0002】[0002]

【従来の技術】単体で若しくはPOS(販売時点情報管
理)ターミナルとして機能する電子式キャッシュレジス
タは、通常、キーボード等から販売商品に関するデータ
が入力されるとその商品の販売データを記憶部に売上登
録処理して売上合計データを取得する登録業務モード、
キーボード等から取消商品に関するデータが入力される
とその商品の販売データを記憶部から取消登録処理して
売上合計データを修正する戻し登録業務モード、前記記
憶部に記憶された売上集計データのレポートを印字等の
方式で出力する点検業務モード、前記記憶部に記憶され
た売上集計データのレポートを出力した後前記記憶部の
内容をクリアする精算業務モード、前記登録,戻し登録
等の業務モードを実行する上で予め必要な商品単価等の
データを前記記憶部に設定しておく設定業務モード等の
各種業務モードを選択的に実行できるようにっている。
2. Description of the Related Art An electronic cash register that functions alone or as a POS (point-of-sale information management) terminal normally registers sales data of a product in a storage unit when data relating to the product is input from a keyboard or the like. Registered business mode that processes and acquires total sales data,
When data related to a canceled product is input from the keyboard, etc., the sales data of the product is canceled and registered from the storage unit to correct the total sales data. The return registration operation mode, a report of the sales total data stored in the storage unit is displayed. Execution of inspection business mode that outputs by printing method, settlement business mode that outputs the report of the sales total data stored in the storage unit and then clears the contents of the storage unit, business mode such as registration and return registration In doing so, it is possible to selectively execute various business modes such as a preset business mode in which data such as a unit price of a product necessary in advance is set in the storage unit.

【0003】そして、これらの業務モードの1つを選択
する手段として、図8に示すように鍵にて回動操作され
るモードスイッチSWを使用しているのが一般的であ
る。このモードスイッチSWは鍵の種類によって回動範
囲が制限されている。図8に示すモードスイッチSWの
場合、設定業務モードの鍵位置から精算業務モードの鍵
位置までを回動範囲A1とする第1の鍵と、休止状態の
鍵位置から点検業務モードまでを回動範囲とする第2の
鍵と、休止状態の鍵位置から戻し登録業務モードまでを
回動範囲とする第3の鍵とが存在する。
As a means for selecting one of these business modes, a mode switch SW which is rotated by a key as shown in FIG. 8 is generally used. The rotation range of the mode switch SW is limited depending on the type of key. In the case of the mode switch SW shown in FIG. 8, the first key having a rotation range A1 from the key position of the set business mode to the key position of the settlement business mode and the key position in the rest state to the inspection business mode are rotated. There is a second key having a range and a third key having a rotation range from a key position in a rest state to a return registration business mode.

【0004】このようなモードスイッチSWを備えた電
子式キャッシュレジスタを利用する店舗では、第1の鍵
は店長等の管理責任者が使用し、第2の鍵はキャッシャ
ーの責任者が使用し、第3の鍵は一般のキャッシャーが
使用するように制限することによって、経営面の安全性
向上を図ることができる。
In a store that uses an electronic cash register equipped with such a mode switch SW, the first key is used by the manager such as the store manager, and the second key is used by the manager of the cashier. By restricting the third key to be used by ordinary cashiers, it is possible to improve management safety.

【0005】ところで、従来のこの種のモードスイッチ
を有する電子式キャッシュレジスタは、モードスイッチ
の鍵位置とその鍵位置にて選択される業務モードとが制
御プログラムによって固定化されており、電子式キャッ
シュレジスタの制御部は、モードスイッチの鍵位置の切
換えを認識すると、切換え後の鍵位置に対して制御プロ
グラムにより設定された業務モードの応用プログラムを
選択して実行するように構成されていた。
By the way, in the conventional electronic cash register having this kind of mode switch, the key position of the mode switch and the business mode selected by the key position are fixed by the control program, and the electronic cash register. When the control unit of the register recognizes the change of the key position of the mode switch, the control unit of the register is configured to select and execute the application program of the business mode set by the control program for the changed key position.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、前記従
来のモードスイッチを有する電子式キャッシュレジスタ
においては、モードスイッチの鍵位置とその鍵位置にて
選択される業務モードとの対応関係が制御プログラムに
より固定化されていたので、この対応関係を変更するた
めには制御プログラム自体を修正しなければならなかっ
た。ところが、プログラムの修正には多くの時間と費用
がかかるので、店側の都合によってモードスイッチの鍵
位置を所望のモードに変更するようなことは事実上困難
であった。
However, in the conventional electronic cash register having the mode switch, the correspondence between the key position of the mode switch and the business mode selected by the key position is fixed by the control program. However, the control program itself had to be modified in order to change this correspondence. However, since it takes a lot of time and cost to modify the program, it is practically difficult to change the key position of the mode switch to a desired mode due to the convenience of the store.

【0007】このため、例えば、図8に示すモードスイ
ッチSWを有する電子式キャッシュレジスタを使用する
店において、一般のキャッシャーは点検業務モードを行
ってもよいが、戻し登録業務モードの実行は禁止するよ
うな運用をとろうとしても、鍵の使い分けによって上記
のような業務の実行制限を実現することはできなかっ
た。
For this reason, for example, in a store that uses an electronic cash register having a mode switch SW shown in FIG. 8, a general cashier may perform the inspection work mode, but the execution of the return registration work mode is prohibited. Even if such an operation was attempted, it was not possible to realize the above-mentioned execution restriction of business by properly using the key.

【0008】本発明はこのような事情に基づいてなされ
たものであり、その目的とするところは、鍵にて切換操
作されるモードスイッチの鍵位置とその鍵位置にて選択
される業務モードとの対応関係を制御プログラムを変更
することなく任意に代えることができ、ユーザが所望す
る業務の実行制限を鍵の使い分けによって容易に実現す
ることができる電子式キャッシュレジスタを提供しよう
とするものである。
The present invention has been made under such circumstances, and an object of the present invention is to provide a key position of a mode switch operated by a key and a business mode selected at the key position. It is an object of the present invention to provide an electronic cash register in which the correspondence relationship of can be arbitrarily changed without changing the control program, and the execution restriction of the work desired by the user can be easily realized by properly using the key. .

【0009】[0009]

【課題を解決するための手段】本発明は、登録,精算等
の各種業務モードを選択するための鍵にて切換操作され
るモードスイッチを有し、このモードスイッチにより選
択された業務モードのプログラムを実行して商品販売デ
ータの売上登録処理等を実行する電子式キャッシュレジ
スタにおいて、各種業務モードのそれぞれの応用プログ
ラムを記憶するプログラム記憶手段と、モードスイッチ
の各鍵位置に対応するハードコード毎に登録,精算等の
各種業務モードを特定する業務コードを設定したコード
対応ファイルを外部から読込むファイル読込み手段と、
この手段により読込んだコード対応ファイルを記憶する
ファイル記憶手段と、モードスイッチの現鍵位置に対応
するハードコードを読込むハードコード読込み手段と、
この手段により読込まれたハードコードでファイル記憶
手段により記憶されたコード対応ファイルを検索して該
当する業務コードを読出すメモリ検索手段と、この検索
手段により読出された業務コードに該当する業務モード
の応用プログラムをプログラム記憶手段から読出して実
行するプログラム選択実行手段とを備えたものである。
The present invention has a mode switch which is operated by a key for selecting various business modes such as registration and settlement, and a program of the business mode selected by this mode switch. In the electronic cash register for executing the sales registration process of the product sales data by executing the program storage means for storing each application program of various business modes and the hard code corresponding to each key position of the mode switch. A file reading means for externally reading a code-corresponding file in which business codes that specify various business modes such as registration and settlement are set,
File storing means for storing the code corresponding file read by this means, and hard code reading means for reading the hard code corresponding to the current key position of the mode switch,
A memory search means for searching the code corresponding file stored in the file storage means by the hard code read by this means to read the corresponding business code, and a business mode corresponding to the business code read by this search means. Program selection executing means for reading the application program from the program storage means and executing it.

【0010】[0010]

【作用】このような構成の本発明であれば、ファイル読
込み手段によって外部から読込まれたコード対応ファイ
ルは、ファイル記憶手段によって記憶される。この状態
で、ハードコード読込み手段によってモードスイッチの
現鍵位置に対応するハードコードが読込まれると、ファ
イル記憶手段によって記憶されているコード対応ファイ
ルが検索されて、このハードコードに対応する業務コー
ドが読出される。そして、この業務コードに該当する業
務モードの応用プログラムがプログラム記憶手段から読
出されて実行される。
According to the present invention having such a configuration, the code corresponding file read from the outside by the file reading means is stored by the file storage means. In this state, when the hard code corresponding to the current key position of the mode switch is read by the hard code reading means, the code corresponding file stored in the file storage means is searched and the business code corresponding to this hard code is searched. Is read. Then, the application program in the business mode corresponding to this business code is read from the program storage means and executed.

【0011】従って、コード対応ファイルの内容を修正
するだけで、モードスイッチの各鍵位置に対して所望の
業務モードを割り付けることができる。なお、コード対
応ファイルの修正は単なるデータの変更であるから、制
御プログラムの修正と比較して簡単にかつ短時間で対応
することができる。
Therefore, a desired business mode can be assigned to each key position of the mode switch simply by modifying the contents of the code corresponding file. Since the modification of the code-corresponding file is merely a modification of the data, it can be carried out easily and in a short time as compared with the modification of the control program.

【0012】[0012]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。図1はこの実施例の電子式キャッシュレジ
スタを示す外観斜視図であって、制御部,主記憶部,外
部記憶装置としてのハードディスク装置(HDD),各
種の入出力機器コントローラ等を内蔵したキャッシュレ
ジスタ本体1の上に、キーボード2、表示器3及びプリ
ンタ4が設置されている。また、前記キャッシュレジス
タ本体1の下には、現金等を収容するためのドロワ5が
設置されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an external perspective view showing an electronic cash register of this embodiment, which is a cash register incorporating a control unit, a main storage unit, a hard disk device (HDD) as an external storage device, various input / output device controllers, and the like. A keyboard 2, a display device 3 and a printer 4 are installed on the main body 1. Below the cash register body 1, a drawer 5 for accommodating cash or the like is installed.

【0013】前記キーボード2は、商品の金額や客から
の預り金額等の数値データを置数するための置数キー、
各商品を分類する部門コードがプリセットされた複数の
部門キーの他、小計キー、預/現計キー、クリアキー、
取消キー、値引キー等が配設された電子式キャッシュレ
ジスタ専用のキーボードである。前記表示器3は、前記
キーボード2のキー入力によって販売登録された商品の
部門コード及び金額や、1取引の合計金額及び釣銭額等
を表示するために用いられる。前記プリンタ4は、レシ
ート用紙及びジャーナル用紙にデータ印字を行うもので
ある。
The keyboard 2 is a numeral key for numerically storing numerical data such as the amount of goods and the amount of money deposited by customers.
In addition to multiple department keys with department codes preset for classifying each product, subtotal keys, deposit / cash total keys, clear key,
A keyboard dedicated to an electronic cash register, provided with a cancel key, a discount key, and the like. The display device 3 is used to display the department code and the amount of a commodity registered for sale by the key input of the keyboard 2, the total amount of one transaction and the change amount, and the like. The printer 4 prints data on receipt paper and journal paper.

【0014】また、この電子式キャッシュレジスタは、
図2に示すように、鍵にて回動操作されるモードスイッ
チ6を前記キーボード2上に設けている。このモードス
イッチ6は、休止位置より反時計方向にほぼ45度回動
させると鍵位置M0に切換わり、休止位置より時計方向
にほぼ45度回動させると鍵位置M1に切換わり、この
鍵位置M1からさらにほぼ45度回動させると鍵位置M
2に切換わり、この鍵位置M2からさらにほぼ45度回
動させると鍵位置M3に切換わり、この鍵位置M3から
さらにほぼ45度回動させると鍵位置M4に切換わるよ
うになっている。そして、このモードスイッチ6の回動
範囲は鍵の種類によって制限されている。
Further, this electronic cash register is
As shown in FIG. 2, a mode switch 6 which is rotated by a key is provided on the keyboard 2. The mode switch 6 is switched to the key position M0 when it is rotated approximately 45 degrees counterclockwise from the rest position, and is switched to the key position M1 when it is rotated approximately 45 degrees clockwise from the rest position. When it is rotated about 45 degrees from M1, the key position is M
When the key position M2 is switched to 2 and the key position M2 is further rotated by about 45 degrees, the key position M3 is switched, and when the key position M3 is further rotated by about 45 degrees, the key position M4 is switched. The rotation range of the mode switch 6 is limited by the type of key.

【0015】因みに、この実施例では、鍵位置M0から
鍵位置M4までの回動範囲A1を回動可能な第1の鍵
と、休止位置から鍵位置M3までの回動範囲A2を回動
可能な第2の鍵と、休止位置から鍵位置M2までの回動
範囲A2を回動可能な第3の鍵の3種類の鍵が存在す
る。
By the way, in this embodiment, the first key which can be rotated in the rotation range A1 from the key position M0 to the key position M4 and the rotation range A2 which is from the rest position to the key position M3 can be rotated. There are three types of keys: a second key and a third key that can be rotated in the rotation range A2 from the rest position to the key position M2.

【0016】図4は前記キャッシュレジスタ本体1の要
部構成を示すブロック図であって、このキャッシュレジ
スタ本体1には、制御部としてのCPU(中央処理装
置)11、主記憶部としてのROM(リード・オンリ・
メモリ)12及びRAM(ランダム・アクセス・メモ
リ)13、日時を計時する時計回路14、回線接続され
た上位機器であるホスト装置との間で行われるデータ通
信を制御する通信インタフェース15、前記モードスイ
ッチ6の信号が入力されるとともに前記ドロワ5を開放
させるドロワ開放装置5aへの駆動信号が出力されるI
/Oポート16等が搭載されている。
FIG. 4 is a block diagram showing a main configuration of the cash register main body 1. In the cash register main body 1, a CPU (central processing unit) 11 as a control unit and a ROM (main memory unit) as a control unit. Read only
Memory) 12 and RAM (random access memory) 13, clock circuit 14 for clocking date and time, communication interface 15 for controlling data communication performed with a host device which is a line-connected host device, and the mode switch 6 is input and a drive signal to the drawer opening device 5a for opening the drawer 5 is output I
The / O port 16 and the like are mounted.

【0017】また、前記キーボード2からのキー信号を
取込むキーボードコントローラ17、前記表示器3へ表
示データ等を送出する表示器コントローラ18、前記プ
リンタ4へ印字データ等を送出するプリンタコントロー
ラ19、前記ハードディスク装置20に対するデータの
書込み及び読込みを行うHDDコントローラ21等の各
種入出力機器コントローラも搭載されている。
Further, a keyboard controller 17 for receiving a key signal from the keyboard 2, a display controller 18 for sending display data and the like to the display 3, a printer controller 19 for sending print data and the like to the printer 4, Various input / output device controllers such as an HDD controller 21 for writing and reading data to and from the hard disk device 20 are also mounted.

【0018】そして、前記CPU11と、ROM12,
RAM13,時計回路14,通信インタフェース15,
I/Oポート16及び各種入出力機器コントローラ1
7,18,19,21とは、アドレスバス,データバス
等のバスライン22で電気的に接続されている。
Then, the CPU 11, the ROM 12,
RAM 13, clock circuit 14, communication interface 15,
I / O port 16 and various input / output device controllers 1
7, 18, 19, and 21 are electrically connected by a bus line 22 such as an address bus and a data bus.

【0019】前記ハードディスク装置20には、図5に
示すように、「登録」,「戻登録」,「点検」,「精
算」,「設定」等の各種業務モードを特定する業務コー
ド31別にそれぞれの業務モードを実行するための応用
プログラム32が記憶されたプログラム記憶手段として
のプログラムファイル30が登録されている。また、前
記モードスイッチ6の各鍵位置M1に対応するハードコ
ード41毎に前記「登録」,「戻登録」,「点検」,
「精算」,「設定」等の業務コード42が記憶されたコ
ード対応ファイル40が登録されている。
In the hard disk device 20, as shown in FIG. 5, each business code 31 for specifying various business modes such as "registration", "return registration", "inspection", "settlement", and "setting", respectively. A program file 30 is registered as a program storage unit that stores an application program 32 for executing the business mode of. Further, the “registration”, “return registration”, “inspection”, and the like for each hard code 41 corresponding to each key position M1 of the mode switch 6
A code corresponding file 40 in which business codes 42 such as “payment” and “setting” are stored is registered.

【0020】因みに、この実施例では、鍵位置M1のハ
ードコードを「1010」とし、鍵位置M2のハードコ
ードを「1020」とし、鍵位置M3のハードコードを
「1030」とし、鍵位置M4のハードコードを「10
40」とし、鍵位置M0のハードコードを「1000」
とする。
Incidentally, in this embodiment, the hard code of the key position M1 is "1010", the hard code of the key position M2 is "1020", the hard code of the key position M3 is "1030", and the hard code of the key position M4 is The hard code is "10
40 "and the hard code of the key position M0 is" 1000 "
And

【0021】また、前記プログラムファイル30及びコ
ード対応ファイル40の内容は、前記通信インタフェー
ス15を介して回線接続されたホスト装置からダウンロ
ードすることによって適時修正できるようになってい
る。
The contents of the program file 30 and the code-corresponding file 40 can be modified at any time by downloading from the host device connected to the line via the communication interface 15.

【0022】前記ROM12には、前記CPU1を制御
する制御プログラム等の固定的データが記憶されてい
る。前記RAM13には、商品販売データを売上登録処
理するための記憶部等の可変的データを格納するための
各種メモリが形成されている。
The ROM 12 stores fixed data such as a control program for controlling the CPU 1. The RAM 13 is formed with various memories for storing variable data such as a storage unit for performing sales registration processing of product sales data.

【0023】そして、前記RAM13には、特に図6に
示すように、前記プログラムファイル30から選択的に
読出された応用プログラムが展開される選択プログラム
展開メモリ51、前記コード対応ファイル40が展開さ
れるコード対応ファイル展開メモリ52、このコード対
応ファイル展開メモリ52のレコード読出しポインタP
を記憶するポインタメモリ53、及びキーボード2の所
定キー操作によって業務変更をしない継続立上げが指定
されたときにセットされる継続立上げフラグFのフラグ
メモリ54が形成されている。
Then, in the RAM 13, as shown in FIG. 6, a selected program expansion memory 51 in which the application program selectively read out from the program file 30 is expanded and the code corresponding file 40 are expanded. Code-corresponding file expansion memory 52, record read pointer P of the code-corresponding file expansion memory 52
Is formed, and a flag memory 54 of a continuous startup flag F which is set when continuous startup without changing the work is designated by a predetermined key operation of the keyboard 2 is formed.

【0024】しかして、前記CPU1は図示しない電源
スイッチのオン操作等により立ち上げられると、前記R
OM12内の制御プログラムに基づいて図7の流れ図に
示す処理を実行するように構成されている。
When the CPU 1 is started up by turning on a power switch (not shown), the R
It is configured to execute the processing shown in the flowchart of FIG. 7 based on the control program in the OM 12.

【0025】すなわち、先ず、ST(ステップ)1とし
て前記フラグメモリ54を調べて継続立上げフラグFが
セットされているか否かを判別する。そして、この継続
立上げフラグFがリセットされている場合には、初期立
上げが指定されているので、ST2としてハードディス
ク装置20からコード対応ファイル40を読込む(ファ
イル読込み手段)。
That is, first, as ST (step) 1, the flag memory 54 is examined to determine whether or not the continuous startup flag F is set. When the continuous startup flag F is reset, the initial startup is designated, so the code corresponding file 40 is read from the hard disk device 20 in ST2 (file reading means).

【0026】次に、ST3としてハードディスク装置2
0から読込んだコード対応ファイル40をコード対応フ
ァイル展開メモリ52に展開する(ファイル記憶手
段)。
Next, as ST3, the hard disk device 2
The code corresponding file 40 read from 0 is expanded in the code corresponding file expansion memory 52 (file storage means).

【0027】次に、ST4としてI/Oポート16を介
して入力されるモードスイッチ6の信号から現鍵位置が
休止位置から他の位置に切換えられるのを待機する。そ
して、モードスイッチ6からの信号の変化により休止位
置以外の鍵位置に切換えられたことを検知したならば、
ST5としてそのモードスイッチ6の信号から現鍵位置
のハードコードを取得する(ハードコード読込み手
段)。
Next, in ST4, the signal of the mode switch 6 input through the I / O port 16 is waited for the current key position to be switched from the rest position to another position. When it is detected that the key position other than the rest position is switched by the change of the signal from the mode switch 6,
At ST5, the hard code at the current key position is obtained from the signal of the mode switch 6 (hard code reading means).

【0028】次に、ST6として前記ポインタメモリ5
3のレコード読出しポインタPをコード対応ファイル展
開メモリ52の先頭レコードの値に初期化する。しかる
後、ST7としてコード対応ファイル展開メモリ52か
らレコード読出しポインタPが示すハードコード及び業
務コードのレコードを読出す(メモリ検索手段)。
Next, as ST6, the pointer memory 5
The record read pointer P of No. 3 is initialized to the value of the first record of the code corresponding file expansion memory 52. Thereafter, in ST7, the record of the hard code and the business code indicated by the record read pointer P is read from the code corresponding file expansion memory 52 (memory search means).

【0029】ここで、ST8としてそのレコードの業務
コードが“0”の場合には、業務モードが未設定の鍵位
置にモードスイッチ6が切換えられたので、ST9とし
て表示器3にエラーを表示して、ST4に戻る。そし
て、モードスイッチ6が別位置に切換えられたのを検知
したならば、ST5以降の処理を実行する。
Here, if the business code of the record is "0" in ST8, the mode switch 6 has been switched to the key position where the business mode is not set, so an error is displayed on the display 3 in ST9. And return to ST4. Then, if it is detected that the mode switch 6 is switched to another position, the processes after ST5 are executed.

【0030】一方、ST8にて読出したレコードの業務
コードが“0”でない場合には、ST10としてそのレ
コードのハードコードとST5にて取得したハードコー
ドとを比較する。そして、一致しない場合には、ST1
1として前記レコード読出しポインタPをインクリメン
トした後、ST7に戻って同様の処理を繰り返す。
On the other hand, if the business code of the record read in ST8 is not "0", the hard code of the record is compared with the hard code acquired in ST5 in ST10. If they do not match, ST1
After incrementing the record read pointer P as 1, the process returns to ST7 and the same processing is repeated.

【0031】ST10にてハードコードが一致した場合
には、ST12としてそのレコードの業務コードを取得
し、前記ハードディスク装置20のプログラムファイル
30から該当業務コードの応用プログラムを読込んで前
記選択プログラム展開メモリ51に展開する。しかる
後、ST13としてこの展開メモリ51に展開された応
用プログラムを実行することにより、該当する業務モー
ドを処理する(プログラム選択実行手段)。
If the hard codes match in ST10, the business code of the record is acquired in ST12, the application program of the relevant business code is read from the program file 30 of the hard disk device 20, and the selected program expansion memory 51 is read. Expand to. Thereafter, in ST13, the application program expanded in the expansion memory 51 is executed to process the corresponding business mode (program selection executing means).

【0032】なお、ST1にて継続立上げフラグFがセ
ットされている場合には、ST2乃至ST12の処理を
行わずに、ST13に進み、展開メモリ51に展開され
ている応用プログラムを実行して、該当する業務モード
を処理する。
When the continuous start-up flag F is set in ST1, the process proceeds to ST13 without executing the processes of ST2 to ST12 and executes the application program loaded in the loading memory 51. , Process the applicable business mode.

【0033】そして、この応用プログラム実行中も随時
モードスイッチ6からのキー信号を監視しており、ST
14として休止位置以外の鍵位置に切換えられたことを
検知したならば、ST5に戻って前記と同様の処理を繰
り返す。
The key signal from the mode switch 6 is constantly monitored during execution of this application program, and ST
When it is detected that the key position is switched to the key position other than the rest position as 14, it returns to ST5 and repeats the same processing as the above.

【0034】因みに、継続立上げフラグFは電源オフ時
に所定キー操作により継続立上げを指定することによっ
てセットされる。また、電源オン時の所定キー操作によ
ってセットされるようにしてもよい。
Incidentally, the continuous startup flag F is set by designating continuous startup by a predetermined key operation when the power is off. Alternatively, it may be set by operating a predetermined key when the power is turned on.

【0035】このように構成された本実施例の電子式キ
ャッシュレジスタにおいては、鍵にて切換操作されるモ
ードスイッチ6の各鍵位置に対して所望の業務コードを
割り付けることができる。
In the electronic cash register of this embodiment constructed as described above, a desired business code can be assigned to each key position of the mode switch 6 which is switched by a key.

【0036】例えば、今、図3(a)に示すように、鍵
位置M1には登録業務モードを割付け、鍵位置M2には
戻登録業務モードを割付け、鍵位置M3には点検業務モ
ードを割付け、鍵位置M4には精算業務モードを割付
け、鍵位置M0には設定業務モードを割付けるものとす
ると、始めにハードディスク装置20に、図5に示すよ
うに、鍵位置M1のハードコード「1010」に対して
業務コード「登録」を設定し、鍵位置M2のハードコー
ド「1020」に対して業務コード「戻登録」を設定
し、鍵位置M3のハードコード「1030」に対して業
務コード「点検」を設定し、鍵位置M4のハードコード
「1040」に対して業務コード「精算」を設定し、鍵
位置M0のハードコード「1000」に対して業務コー
ド「設定」を設定してなるコード対応ファイル40をロ
ードする。
For example, as shown in FIG. 3 (a), the key position M1 is assigned the registration operation mode, the key position M2 is assigned the return registration operation mode, and the key position M3 is assigned the inspection operation mode. Assuming that the settlement business mode is assigned to the key position M4 and the setting business mode is assigned to the key position M0, first, as shown in FIG. 5, the hard code “1010” of the key position M1 is assigned to the hard disk device 20. The business code "registration" is set for the key code M2, the business code "return registration" is set for the hard code "1020" at the key position M2, and the business code "check" is set for the hard code "1030" at the key position M3. , The business code “settlement” is set for the hard code “1040” at the key position M4, and the business code “setting” is set for the hard code “1000” at the key position M0. To load the code corresponding file 40 that.

【0037】こうすることにより、電源スイッチのオン
操作等により電子式キャッシュレジスタの初期立上げを
行うと、ハードディスク装置20から上記コード対応フ
ァイル40が読込まれて、コード対応ファイル展開メモ
リ52に展開される。そして、例えばモードスイッチ6
を鍵にて鍵位置M1に切り換えると、その鍵位置M1の
ハードコード「1010」を検索キーとして上記コード
対応ファイル展開メモリ52が検索されて、対応する業
務コード「登録」が読出される。しかして、ハードディ
スク装置20のプログラムファイル30から登録業務プ
ログラムが選択され実行されて、登録業務が処理され
る。
In this way, when the electronic cash register is initialized by turning on the power switch or the like, the code corresponding file 40 is read from the hard disk device 20 and expanded in the code corresponding file expanding memory 52. It Then, for example, the mode switch 6
When the key is switched to the key position M1 with the key, the code corresponding file expansion memory 52 is searched using the hard code "1010" of the key position M1 as a search key, and the corresponding business code "registration" is read. Then, the registration business program is selected and executed from the program file 30 of the hard disk device 20, and the registration business is processed.

【0038】また、例えばモードスイッチ6を鍵にて鍵
位置M2に切り換えると、その鍵位置M2のハードコー
ド「1020」を検索キーとして上記コード対応ファイ
ル展開メモリ52が検索されて、対応する業務コード
「戻登録」が読出される。しかして、ハードディスク装
置20のプログラムファイル30から戻登録業務プログ
ラムが選択され実行されて、戻登録業務が処理される。
Further, for example, when the mode switch 6 is switched to the key position M2 with a key, the code corresponding file expansion memory 52 is searched using the hard code "1020" of the key position M2 as a search key, and the corresponding business code. "Return registration" is read. Then, the return registration work program is selected and executed from the program file 30 of the hard disk device 20, and the return registration work is processed.

【0039】一方、上記電子式キャッシュレジスタにお
いて、図3(b)に示すように、鍵位置M2に点検業務
モードを割付け、鍵位置M3に戻登録業務モードを割付
けるように変更しようとすると、図5に示すコード対応
ファイル40のデータの鍵位置M2のハードコード「1
020」に対応する業務コードを「点検」と変更し、鍵
位置M3のハードコード「1030」に対する業務コー
ドを「戻登録」と変更したコード対応ファイル40をロ
ードする。
On the other hand, in the above electronic cash register, as shown in FIG. 3 (b), when the check operation mode is assigned to the key position M2 and the return registration operation mode is assigned to the key position M3, The hard code "1" of the key position M2 of the data of the code correspondence file 40 shown in FIG.
The business code corresponding to "020" is changed to "check", and the business code corresponding to the hard code "1030" at the key position M3 is changed to "return registration" to load the code correspondence file 40.

【0040】こうすることにより、電子式キャッシュレ
ジスタの初期立上げを行うと、ハードディスク装置20
から変更後のコード対応ファイル40が読込まれて、コ
ード対応ファイル展開メモリ52に展開される。この場
合、モードスイッチ6を鍵にて鍵位置M2に切り換える
と、その鍵位置M2のハードコード「1020」を検索
キーとして変更後のコード対応ファイル展開メモリ52
が検索されて、対応する業務コード「点検」が読出され
る。しかして、ハードディスク装置20のプログラムフ
ァイル30から点検業務プログラムが選択され実行され
て、点検業務が処理される。
In this way, when the electronic cash register is initially started up, the hard disk drive 20
The code-corresponding file 40 after the change is read from and is expanded in the code-corresponding file expansion memory 52. In this case, when the mode switch 6 is switched to the key position M2 with the key, the changed code corresponding file expansion memory 52 is set with the hard code "1020" of the key position M2 as the search key.
Is searched and the corresponding business code “inspection” is read. Then, the inspection work program is selected and executed from the program file 30 of the hard disk device 20, and the inspection work is processed.

【0041】このように本実施例によれば、同一機種の
電子式キャッシュレジスタであるにも拘らず、ROM1
2内の制御プログラムを修正することなしに、モードス
イッチ6の例えば鍵位置M2を戻登録業務の選択位置と
したり、点検業務の選択位置としたりすることが容易に
できる。
As described above, according to this embodiment, the ROM 1 is used in spite of the electronic cash registers of the same model.
For example, the key position M2 of the mode switch 6 can be easily set as the return registration work selection position or the inspection work selection position without modifying the control program in 2.

【0042】したがって、例えばある店舗では回動範囲
がA1に制限される鍵を取り扱うことのできる一般のキ
ャッシャーは戻し登録業務モードを行ってもよいが、点
検業務モードの実行は禁止する運用をとり、別の店舗で
は点検業務モードを行ってもよいが、戻し登録業務モー
ドの実行は禁止する運用をとるような場合でも、この実
施例の電子式キャッシュレジスタであればコストの増加
等を招くことなく速かに対応することができる。
Therefore, for example, in a certain store, a general cashier capable of handling a key whose rotation range is limited to A1 may perform the return registration business mode, but prohibits the execution of the inspection business mode. Although the inspection business mode may be performed in another store, even if the operation of prohibiting the return registration business mode is prohibited, the electronic cash register of this embodiment causes an increase in cost. You can respond quickly without.

【0043】なお、モードスイッチ6の各鍵位置には、
「登録」,「戻登録」,「点検」,「精算」,「設定」
等の業務名称を示すシールを貼付するようにすれば変更
にも容易に対処できる。
At each key position of the mode switch 6,
"Registration", "Return registration", "Inspection", "Settlement", "Settings"
If a sticker indicating the business name such as is attached, the change can be dealt with easily.

【0044】なお、前記実施例ではコード対応ファイル
40をハードディスク装置20に設定して立上げ時にコ
ード対応ファイル展開メモリ52に展開するようにした
が、フロッピーディスク,メモリカード等に予め設定し
て立上げ時にコード対応ファイル展開メモリ52に展開
するようにしてもよい。また、通信インタフェース15
により回線接続されたホスト装置の記憶部にコード対応
ファイル40を設定し、立上げ時にホスト装置に問合わ
せを行って上記コード対応ファイル40を読込んでコー
ド対応ファイル展開メモリ52に展開するようにしても
よい。
In the above embodiment, the code-corresponding file 40 is set in the hard disk device 20 and is expanded in the code-corresponding file expanding memory 52 at the time of start-up, but it is set in advance in a floppy disk, a memory card or the like. You may make it expand | deploy in the code corresponding file expansion memory 52 at the time of raising. In addition, the communication interface 15
The code-corresponding file 40 is set in the storage section of the host device connected by the line, the host device is inquired at the time of startup, the code-corresponding file 40 is read, and the code-corresponding file expanding memory 52 is expanded. Good.

【0045】この他、本発明の要旨を逸脱しない範囲で
種々変形実施可能であるのは勿論である。
In addition, various modifications can be made without departing from the scope of the present invention.

【0046】[0046]

【発明の効果】以上詳述したように本発明によれば、モ
ードスイッチの各鍵位置に対応するハードコード毎に登
録,精算等の各種業務モードを特定する業務コードを設
定したコード対応ファイルを外部から読込んでメモリに
展開し、モードスイッチの現鍵位置に対応するハードコ
ードを読込んだならば、そのハードコードでコード対応
ファイルを検索して該当する業務コードを読出し、その
業務コードに該当する業務モードの応用プログラムを選
択して実行するようにしたので、鍵にて切換操作される
モードスイッチの鍵位置とその鍵位置にて選択される業
務モードとの対応関係を制御プログラムを変更すること
なく任意に代えることができ、ユーザが所望する業務の
実行制限を鍵の使い分けによって容易に実現することが
できる電子式キャッシュレジスタを提供できる。
As described above in detail, according to the present invention, a code-corresponding file in which business codes for specifying various business modes such as registration and settlement are set for each hard code corresponding to each key position of the mode switch is created. If the hard code corresponding to the current key position of the mode switch is read by reading from the outside and read into the memory, the code corresponding file is searched for and the corresponding business code is read, and the corresponding business code is found. Since the application program of the business mode to be executed is selected and executed, the control program is changed to the correspondence relationship between the key position of the mode switch operated by the key and the business mode selected at the key position. It is possible to replace it arbitrarily without needing to do so, and it is possible to easily realize the execution restriction of the work desired by the user by properly using the key. It is possible to provide a shoe register.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の外観斜視図。FIG. 1 is an external perspective view of an embodiment of the present invention.

【図2】同実施例におけるモードスイッチの模式図。FIG. 2 is a schematic view of a mode switch in the same embodiment.

【図3】同実施例におけるモードスイッチの各鍵位置に
対する業務モードの割付け例を示す図。
FIG. 3 is a diagram showing an example of assigning a business mode to each key position of a mode switch in the embodiment.

【図4】同実施例の要部構成を示すブロック図。FIG. 4 is a block diagram showing a main configuration of the same embodiment.

【図5】同実施例のハードディスク装置に登録される主
要ファイルを示す図。
FIG. 5 is a diagram showing main files registered in the hard disk device of the embodiment.

【図6】同実施例のRAMに形成される主要エリアを示
す図。
FIG. 6 is a view showing a main area formed in the RAM of the same embodiment.

【図7】同実施例のCPUが実行する制御プログラムの
要部を示す流れ図。
FIG. 7 is a flowchart showing a main part of a control program executed by the CPU of the embodiment.

【図8】従来のモードスイッチを示す模式図。FIG. 8 is a schematic diagram showing a conventional mode switch.

【符号の説明】 1…キャッシュレジスタ本体 6…モードスイッチ 11…CPU 20…ハードディスク装置 30…プログラムファイル 40…コード対応ファイル 51…選択プログラム展開メモリ 52…コード対応ファイル展開メモリ[Explanation of Codes] 1 ... Cash Register Main Body 6 ... Mode Switch 11 ... CPU 20 ... Hard Disk Device 30 ... Program File 40 ... Code Corresponding File 51 ... Selected Program Expansion Memory 52 ... Code Corresponding File Expansion Memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 登録,精算等の各種業務モードを選択す
るための鍵にて切換操作されるモードスイッチを有し、
このモードスイッチにより選択された業務モードのプロ
グラムを実行して商品販売データの売上登録処理等を実
行する電子式キャッシュレジスタにおいて、 各種業務モードのそれぞれの応用プログラムを記憶する
プログラム記憶手段と、前記モードスイッチの各鍵位置
に対応するハードコード毎に前記登録,精算等の各種業
務モードを特定する業務コードを設定したコード対応フ
ァイルを外部から読込むファイル読込み手段と、この手
段により読込んだコード対応ファイルを記憶するファイ
ル記憶手段と、前記モードスイッチの現鍵位置に対応す
るハードコードを読込むハードコード読込み手段と、こ
の手段により読込まれたハードコードで前記ファイル記
憶手段により記憶されたコード対応ファイルを検索して
該当する業務コードを読出すメモリ検索手段と、この検
索手段により読出された業務コードに該当する業務モー
ドの応用プログラムを前記プログラム記憶手段から読出
して実行するプログラム選択実行手段とを具備したこと
を特徴とする電子式キャッシュレジスタ。
1. A mode switch which is operated by a key for selecting various business modes such as registration and settlement is provided.
In an electronic cash register for executing a program of a business mode selected by this mode switch to execute sales registration processing of product sales data and the like, program storage means for storing application programs of various business modes, and the mode. File reading means for externally reading a code corresponding file that sets a business code that specifies various business modes such as registration and settlement for each hard code corresponding to each key position of the switch, and the code read by this means File storing means for storing a file, hard code reading means for reading a hard code corresponding to the current key position of the mode switch, and code corresponding file stored by the file storing means by the hard code read by this means To retrieve the corresponding business code An electronic cash register comprising: a memory search means; and a program selection execution means for reading an application program in a business mode corresponding to the business code read by the search means from the program storage means and executing the program.
JP29526994A 1994-11-29 1994-11-29 Electronic cash register Pending JPH08153277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29526994A JPH08153277A (en) 1994-11-29 1994-11-29 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29526994A JPH08153277A (en) 1994-11-29 1994-11-29 Electronic cash register

Publications (1)

Publication Number Publication Date
JPH08153277A true JPH08153277A (en) 1996-06-11

Family

ID=17818414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29526994A Pending JPH08153277A (en) 1994-11-29 1994-11-29 Electronic cash register

Country Status (1)

Country Link
JP (1) JPH08153277A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0899700A2 (en) 1997-08-25 1999-03-03 Sharp Kabushiki Kaisha Sales management apparatus
JP2009258783A (en) * 2008-04-11 2009-11-05 Toshiba Tec Corp Commodity sales data processor and its control method
CN108629924A (en) * 2017-03-23 2018-10-09 卡西欧计算机株式会社 Electronic equipment, sales data processing unit and cash register

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0899700A2 (en) 1997-08-25 1999-03-03 Sharp Kabushiki Kaisha Sales management apparatus
US6553348B1 (en) 1997-08-25 2003-04-22 Sharp Kabushiki Kaisha Sales management apparatus
EP0899700B1 (en) * 1997-08-25 2011-09-07 Sharp Kabushiki Kaisha Sales management apparatus
JP2009258783A (en) * 2008-04-11 2009-11-05 Toshiba Tec Corp Commodity sales data processor and its control method
CN108629924A (en) * 2017-03-23 2018-10-09 卡西欧计算机株式会社 Electronic equipment, sales data processing unit and cash register

Similar Documents

Publication Publication Date Title
JPH08227356A (en) Data processor
JPH08153277A (en) Electronic cash register
JPS63303495A (en) Transaction processor
JP2003272053A (en) Commodity selling data processor, service point additionally imparting method of this device and service point additionally imparting program
JP2001306345A (en) Information processor and pos terminal
JPH0668794B2 (en) Electronic cash register
JP3795746B2 (en) Merchandise sales registration data processing apparatus and settlement method for the apparatus
JP3519241B2 (en) Electronic cash register
JPH08115471A (en) Electronic cash register
JP2744870B2 (en) Product sales data processing device
JPH0935146A (en) Processor for commodity sales registering data
JPH0514956B2 (en)
JPH1196459A (en) Merchandise sales registering device
JPH06131565A (en) Commodity sale data processor
KR100260915B1 (en) A method of quering and printing card data in ecr
JPH06180786A (en) Sale data processor
JPH0798786A (en) Processor for merchandise sales data
JP3771411B2 (en) Point processing device
JP4970010B2 (en) Product sales data processing apparatus, product sales data processing computer program, and product sales data processing system
JPH07129855A (en) Article sales registration device
JPH0935144A (en) Processor for commodity sales registering data
JP2000057438A (en) Commodity sales registering processor
JP2584549B2 (en) Product sales data processing device
JPH0695860A (en) Data processor
JPH0793663A (en) Commodity sales data processor