JPH07210762A - Data processor - Google Patents

Data processor

Info

Publication number
JPH07210762A
JPH07210762A JP2205594A JP2205594A JPH07210762A JP H07210762 A JPH07210762 A JP H07210762A JP 2205594 A JP2205594 A JP 2205594A JP 2205594 A JP2205594 A JP 2205594A JP H07210762 A JPH07210762 A JP H07210762A
Authority
JP
Japan
Prior art keywords
mode
operation mode
button
pressed
reg
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
JP2205594A
Other languages
Japanese (ja)
Inventor
Satoshi Iwaasa
智 岩浅
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2205594A priority Critical patent/JPH07210762A/en
Publication of JPH07210762A publication Critical patent/JPH07210762A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform switching to an operation mode specified by one of mode specification means corresponding to operation modes by providing the mode specification means, an operation mode switching means which switches a current operation mode to the operation mode specified by the mode specification means, and a process control means. CONSTITUTION:On an electronic cash register(ECR) l, mode buttons 11 are the mode specification means provided instead of a conventional mode changeover switch. Then the R down button is a button for specifying a return operation mode, the X button for an inspecting operation mode, the Z button for a settlement operation mode, the PRG button for a setting operation mode, and the OFF button for an OFF operation mode. A CPU 3 outputs various control signals for controlling respective parts in the ECR 1. To switch the REG operation mode to another mode, one mode button among the R down button, X button, Z button, RPG button, etc., is pressed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、電子キャッシ
ュレジスタ(以下、ECR:Electronic Cash Register
という)における動作モードの切替制御に関する。
BACKGROUND OF THE INVENTION The present invention relates to, for example, an electronic cash register (hereinafter referred to as ECR: Electronic Cash Register).
Said) regarding the switching control of the operation mode.

【0002】[0002]

【従来の技術】ECRは、売上データを累計(登録)す
るとともに、累計された売上データを表示出力または印
字出力し、登録された売上金額や売上回数等を点検,精
算する装置である。
2. Description of the Related Art An ECR is a device for accumulating (registering) sales data, displaying or printing out the accumulated sales data, and inspecting and adjusting the registered sales amount and the number of sales.

【0003】そして、ECRでは、例えば、入力,点
検,精算,設定等の動作目的に応じて各種動作モードの
切り替えを行い、所望の動作モードに切り替えた後に、
動作モードに応じた入力処理を行うものである。
In the ECR, for example, various operation modes are switched according to operation purposes such as input, inspection, settlement, setting, etc., and after switching to a desired operation mode,
The input processing is performed according to the operation mode.

【0004】従来のECRでの動作モードの切り替え
は、図7に示すようなロータリー式のモード切替スイッ
チにより行っていた。
Switching of the operation mode in the conventional ECR is performed by a rotary mode changeover switch as shown in FIG.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のデータ処理装置にあっては、動作モードの切
り替えには、ロータリー式のモード切替スイッチを利用
していたため、以下に述べるような問題点があった。
However, in such a conventional data processing apparatus, since the rotary mode changeover switch is used for switching the operation mode, the following problems occur. was there.

【0006】すなわち、前述のロータリー式のモード切
替スイッチは、ハードウェアで構成された接点式の切替
スイッチであり、鍵をオペレータが常時所持しなければ
ならず面倒であった。
That is, the above-mentioned rotary type mode changeover switch is a contact type changeover switch composed of hardware, and it is troublesome that the operator must always carry the key.

【0007】また、例えば、登録処理の最中に動作モー
ド切換スイッチにより動作モードの切り替えを行うと、
ハードウェアを保護するため、「モード切替エラー」の
状態となってしまう。
Further, for example, when the operation mode is changed over by the operation mode changeover switch during the registration process,
In order to protect the hardware, a "mode switching error" occurs.

【0008】この「モード切替エラー」は、特殊な状態
であるため、通常処理における復帰を行うためのクリア
ボタンの押下では、エラーが解除されず、オペレータで
あるキャッシャーにとって、「モード切替エラー」の解
除は面倒で、かつ、難しいという問題があった。
Since this "mode switching error" is a special state, pressing the clear button for returning in the normal process does not clear the error, and the cashier, who is the operator, reports the "mode switching error". There is a problem that it is troublesome and difficult to release.

【0009】[0009]

【目的】本発明は、動作モードと対応するモード指定手
段のいずれかで指定した動作モードに切り替えること及
びその切り替えを行った場合、モード切替エラーの発生
を防止することを課題とする。
An object of the present invention is to switch to an operation mode designated by one of the mode designating means corresponding to the operation mode and to prevent the occurrence of a mode switching error when the switching is performed.

【0010】[0010]

【課題を解決するための手段】請求項1記載の発明は、
各種動作モードに対応して複数の動作モードの中から所
定の動作モードを指定する複数のモード指定手段と、現
動作モードを該モード指定手段により指定された動作モ
ードに切り替える動作モード切替手段と、該動作モード
切替手段により切り替えられた動作モードに基づいて所
定の処理の実行を制御する処理制御手段と、を備えるこ
とを特徴としている。
The invention according to claim 1 is
A plurality of mode specifying means for specifying a predetermined operation mode from a plurality of operation modes corresponding to various operation modes, and an operation mode switching means for switching the current operation mode to the operation mode specified by the mode specifying means, And a processing control means for controlling the execution of a predetermined processing based on the operation mode switched by the operation mode switching means.

【0011】また、この場合、請求項1に記載する発明
に加えて、請求項2記載の発明のように、前記モード指
定手段は、少なくとも、電源のオン/オフを指定する第
一キースイッチ(OFFボタンに相当)と、他の動作モ
ードを指定する第二キースイッチ(RF,X,Z,PR
Gボタンに相当)とを含む、複数のキースイッチにより
構成され、前記動作モード切替手段は、前記第一キース
イッチによる電源オンの指定により通電が開始されると
動作モードを入力モードに切り替え、前記処理制御手段
は、前記第二キースイッチの動作モード指定により入力
モードから他の動作モードに動作モードが切り替えられ
た場合、当該動作モードによる所定の処理の実行を制御
するとともに、処理終了後に動作モードを入力モードに
復帰させることが有効である。
Further, in this case, in addition to the invention described in claim 1, as in the invention described in claim 2, the mode designating means is at least a first key switch (designating a power-on / off). (Equivalent to OFF button) and second key switch (RF, X, Z, PR) to specify other operation modes
(Corresponding to G button), and the operation mode switching means switches the operation mode to the input mode when energization is started by power-on designation by the first key switch, and When the operation mode is switched from the input mode to another operation mode by the operation mode designation of the second key switch, the processing control means controls execution of a predetermined process in the operation mode, and after the processing is completed, the operation mode is performed. It is effective to return the to the input mode.

【0012】なお、()内は実施例における対応構成を
示している。
In addition, the inside of the parentheses shows the corresponding structure in the embodiment.

【0013】[0013]

【作用】請求項1記載の発明によれば、現動作モードが
モード指定手段により指定された動作モードに切り替え
られる。 また、この場合、請求項2記載の発明によれ
ば、前述の請求項1記載の発明に加えて、電源オン時に
は入力モードとなるとともに、動作モードが切り替えら
れた場合でも、所定処理実行後には入力モードとなり、
「モード切替エラー」の発生が防止される。
According to the first aspect of the present invention, the current operation mode is switched to the operation mode designated by the mode designating means. Further, in this case, according to the invention described in claim 2, in addition to the invention described in claim 1, when the power is turned on, the input mode is set, and even when the operation mode is switched, Enter the input mode,
The occurrence of "mode switching error" is prevented.

【0014】[0014]

【実施例】以下、図1〜図6を参照して実施例を説明す
る。
Embodiments Embodiments will be described below with reference to FIGS.

【0015】図1〜図6は本発明に係るデータ処理装置
の一実施例を示す図である。
1 to 6 are views showing an embodiment of a data processing apparatus according to the present invention.

【0016】まず、構成を説明する。First, the structure will be described.

【0017】図1は、本実施例のECR1の概略構成を
示すブロック図である。
FIG. 1 is a block diagram showing the schematic arrangement of the ECR 1 of this embodiment.

【0018】図1において、データ処理装置であるEC
R1は、大別して、入力部2、CPU(Central Proces
sing Unit )3、ROM(Read Only Memory)4、RA
M(Random Access Memory)5、表示部6、印字部7、
ドロア8から構成されている。
In FIG. 1, an EC which is a data processing device
R1 is roughly classified into an input unit 2 and a CPU (Central Process).
sing unit) 3, ROM (Read Only Memory) 4, RA
M (Random Access Memory) 5, display unit 6, printing unit 7,
It is composed of a drawer 8.

【0019】入力部2は、その操作パネル上にモードボ
タン11、テンキー12、ファンクションキー13等が
設けられており、オペレータであるキャッシャーのキー
操作により入力される、例えば、動作モードデータや各
種操作データ等をCPU3に出力するためのものであ
る。
The input section 2 is provided with a mode button 11, a ten-key pad 12, a function key 13 and the like on its operation panel. For example, operation mode data and various operations can be input by operating the cashier as an operator. It is for outputting data and the like to the CPU 3.

【0020】ここで、モードボタン11は、図7に示す
従来例におけるモード切換スイッチの代わりに設けられ
た複数のモード指定手段であり、“RFボタン”は、
「戻」動作モードを、“Xボタン”は、「点検」動作モ
ードを、“Zボタン”は、「精算」動作モードを、“P
RGボタン”は、「設定」動作モードを、“OFFボタ
ン”は、「オフ」動作モードを指定するためのモードボ
タン11であり、従来の“REG”に相当するモードボ
タンは存在しない。
Here, the mode button 11 is a plurality of mode designating means provided in place of the mode changeover switch in the conventional example shown in FIG. 7, and the "RF button" is
"Return" operation mode, "X button""Check" operation mode, "Z button""Payment" operation mode, "P"
The “RG button” is the mode button 11 for designating the “setting” operation mode and the “OFF button” is the “OFF” operation mode, and there is no mode button corresponding to the conventional “REG”.

【0021】CPU3は、ROM4に格納されている各
種制御プログラムの処理手順に基づいて、RAM5との
間で各種データの授受を行いながらECR1の各種動作
に必要なデータを演算処理し、この演算処理に基づいて
ECR1内の各部を制御するための各種制御信号を出力
するものである。
The CPU 3 arithmetically processes the data necessary for various operations of the ECR 1 while exchanging various data with the RAM 5 based on the processing procedure of various control programs stored in the ROM 4, and the arithmetic processing Based on the above, various control signals for controlling each part in the ECR 1 are output.

【0022】ROM(Read Only Memory)4は、CPU
3によって利用されるECR1の各種動作を制御するた
めの各種制御プログラムを格納する半導体メモリであ
り、RAM(Random Accesss Memory)5は、入力部2よ
り入力される売上データ及びCPU3におけるプログラ
ム処理実行中に利用されるプログラムデータや演算結果
等を格納したり、データ処理に関連するデータ等を一時
的に記憶し、作業領域として利用される半導体メモリで
ある。
A ROM (Read Only Memory) 4 is a CPU
A RAM (Random Accesses Memory) 5 is a semiconductor memory that stores various control programs for controlling various operations of the ECR 1 used by the CPU 3, and sales data input from the input unit 2 and program processing being executed by the CPU 3. The semiconductor memory is used as a work area for storing program data, calculation results, and the like used for, and temporarily storing data related to data processing.

【0023】ちなみに、動作モード切替手段及び処理制
御手段の機能は、CPU3、ROM4、RAM5により
構成される制御部が有している。
By the way, the functions of the operation mode switching means and the processing control means are possessed by the control section constituted by the CPU 3, the ROM 4 and the RAM 5.

【0024】表示部6は、LCD(Liquid Crystal Dis
play)、CRT(Cathode Ray Tube)や蛍光表示管等か
ら構成され、CPU3から入力される演算処理結果、各
種データ及び売上データ等を表示するものである。
The display unit 6 is an LCD (Liquid Crystal Display).
play), a CRT (Cathode Ray Tube), a fluorescent display tube, and the like, and displays arithmetic processing results, various data, sales data, and the like input from the CPU 3.

【0025】印字部7は、ROM4内に格納された印字
制御プログラムに基づいて印字動作と紙送り動作とを実
行し、所定の時間間隔で1ライン毎の印字データを印字
出力することにより、セットされたレシート用感熱紙ま
たはジャーナル用感熱紙に売り上げデータ等の印字を行
うとともに、感熱紙(レシート用またはジャーナル用)
を所定量ずつ排出するものである。
The printing unit 7 executes the printing operation and the paper feeding operation based on the printing control program stored in the ROM 4 and prints out the print data for each line at a predetermined time interval to set the print data. Printing sales data etc. on the received thermal paper for receipt or thermal paper for journal, and thermal paper (for receipt or journal)
Is discharged by a predetermined amount.

【0026】ドロア8は、現金を現金種別毎に区分けし
て収納するためのものであり、例えば、“現金/預かり
金キー”等が操作された際に開放されるものである。
The drawer 8 is for storing cash classified into cash types, and is opened when, for example, a "cash / deposit key" is operated.

【0027】次に、本実施例の動作を説明する。Next, the operation of this embodiment will be described.

【0028】図2は、本実施例のECRにおいて「RE
G」動作モードを設定するための手続きを示すフローチ
ャートである。
FIG. 2 shows "RE" in the ECR of this embodiment.
7 is a flowchart showing a procedure for setting a “G” operation mode.

【0029】まず、本実施例のECR1では、動作状態
が「オフ」動作モードにある状態で電源がオン(あるい
は、電源がオフの状態から電源がオン)されると(ステ
ップS1)、動作モードは、「REG」動作モードとな
る(ステップS2)。
First, in the ECR1 of this embodiment, when the power is turned on (or the power is turned on from the power off state) in the operation mode "off" (step S1), the operation mode Enters the "REG" operation mode (step S2).

【0030】すなわち、本実施例では、「REG」動作
モードが基本動作モードとなるため、モードボタン11
には“REGボタン”が不要となるため、前述したよう
にモードボタン11には“REGボタン”が省略されて
いる。
That is, in this embodiment, since the "REG" operation mode is the basic operation mode, the mode button 11
Since the "REG button" is unnecessary for the mode button 11, the "REG button" is omitted from the mode button 11 as described above.

【0031】なお、「REG」動作モードでは、所定の
操作(登録から締め、入金、両替等)を続けて行うこと
ができ、「REG」動作モードでの動作中に、“RFボ
タン”、“Xボタン”、“Zボタン”、“PRGボタ
ン”、“OFFボタン”の各モードボタン11が押され
ていなければ、ECR1は常に「REG」動作モードと
して機能する。
In the "REG" operation mode, predetermined operations (registration to tightening, deposit, exchange, etc.) can be continuously performed, and the "RF button", " If each of the X-button "," Z-button "," PRG-button ", and" OFF-button "mode buttons 11 is not pressed, the ECR1 always functions as the" REG "operation mode.

【0032】次いで、図3,図4に示すフローチャート
に基づいて「REG」動作モードから他の動作モードに
切り替え時における処理を説明する。
Next, the processing at the time of switching from the "REG" operation mode to another operation mode will be described based on the flowcharts shown in FIGS.

【0033】図3及び図4は、本実施例のECR1にお
いて「REG」動作モードから他の動作モードに切り替
える場合の手続きを示すフローチャートである。
3 and 4 are flow charts showing the procedure for switching from the "REG" operation mode to another operation mode in the ECR1 of this embodiment.

【0034】本実施例では、「REG」動作モードから
他のモードに切り替える場合は、“RFボタン”、“X
ボタン”、“Zボタン”、“PRGボタン”、“OFF
ボタン”の中のいずれかのモードボタン11を押すこと
によって切り替えられる。
In this embodiment, when switching from the "REG" operation mode to another mode, "RF button", "X"
Button ”,“ Z button ”,“ PRG button ”,“ OFF
It is switched by pressing one of the mode buttons 11 in the "button".

【0035】この場合、まず、「REG」動作モードに
おいて(ステップP1)、“RFボタン”、“Xボタ
ン”、“Zボタン”、“PRGボタン”、“OFFボタ
ン”の中のいずれかのモードボタン11が押されたこと
を検出するため、まず、押されたモードボタン11が
“OFFボタン”であるか否かがチェックされ(ステッ
プP2)、“OFFボタン”でない場合は、続いて、押
されたモードボタン11が“RFボタン”であるか否か
がチェックされる(ステップP3)。
In this case, first, in the "REG" operation mode (step P1), any one of the "RF button", "X button", "Z button", "PRG button", and "OFF button" is selected. In order to detect that the button 11 has been pressed, it is first checked whether or not the pressed mode button 11 is the "OFF button" (step P2). If it is not the "OFF button", then the button is pressed. It is checked whether the operated mode button 11 is the "RF button" (step P3).

【0036】ここで、押されたモードボタン11が“R
Fボタン”であった場合、現「REG」動作モードが
「戻」動作モードに切り替えられるとともに、「戻」動
作モードにおける所定の動作が行われた後(ステップP
4)、印字部7によりレシートが印字・発行される(ス
テップP5)。
Here, the pressed mode button 11 is "R".
If it is the “F button”, after the current “REG” operation mode is switched to the “return” operation mode and a predetermined operation in the “return” operation mode is performed (step P
4) The printing unit 7 prints / issues a receipt (step P5).

【0037】上記ステップP3の処理において、押され
たモードボタン11が“RFボタン”ではない場合、続
いて、押されたモードボタン11が“PGMボタン”で
あるか否かがチェックされる(ステップP6)。
If the pressed mode button 11 is not the "RF button" in the process of step P3, then it is checked whether or not the pressed mode button 11 is the "PGM button" (step). P6).

【0038】ここで、押されたモードボタン11が“P
GMボタン”であった場合、レポート発行の有無の入力
指定が促され(ステップP7)、レポートを発行すると
指定した場合のみ、設定点検レポートの出力・発行が印
字部7により行われる(ステップP8)。
Here, the pressed mode button 11 is "P".
If it is the "GM button", the user is prompted to input the presence / absence of report issuance (step P7), and only when the report is issued, the setting inspection report is output / issued by the printing unit 7 (step P8). .

【0039】次いで、現「REG」動作モードが「設
定」動作モードに切り替えられるとともに、「設定」動
作モードにおける所定の動作が行われた後(ステップP
9)、印字部7によりレシート/レポートが印字・発行
される(ステップP10)。
Next, after the current "REG" operation mode is switched to the "setting" operation mode and a predetermined operation in the "setting" operation mode is performed (step P
9) The printing unit 7 prints / issues a receipt / report (step P10).

【0040】そして、上記ステップP6の処理におい
て、押されたモードボタン11が“PGMボタン”では
ない場合、続いて、押されたモードボタン11が“Xボ
タン”であるか否かがチェックされる(ステップP1
1)。
If the pressed mode button 11 is not the "PGM button" in the process of step P6, then it is checked whether or not the pressed mode button 11 is the "X button". (Step P1
1).

【0041】ここで、押されたモードボタン11が“X
ボタン”であった場合、レポート発行の有無の入力指定
が促され(ステップP12)、レポートを発行すると指
定した場合のみ、日計明細点検レポートの出力・発行が
印字部7により行われる(ステップP13)。
Here, the pressed mode button 11 is "X".
If it is "button", the input designation of whether or not the report is issued is prompted (step P12), and only when the report is designated to be issued, the daily detail check report is output / issued by the printing unit 7 (step P13). ).

【0042】次いで、現「REG」動作モードが「点
検」動作モードに切り替えられるとともに、「点検」動
作モードにおける所定の動作が行われた後(ステップP
14)、印字部7によりレポートが印字・発行される
(ステップP15)。
Next, after the current "REG" operation mode is switched to the "check" operation mode and a predetermined operation in the "check" operation mode is performed (step P
14), the printing unit 7 prints / issues the report (step P15).

【0043】また、上記ステップP11の処理におい
て、押されたモードボタン11が“Xボタン”ではない
場合、消去法により押されたモードボタン11は“Yボ
タン”となるため、現「REG」動作モードが「精算」
動作モードに切り替えられるとともに、「精算」動作モ
ードにおける所定の動作が行われた後(ステップP1
6)、印字部7によりレポートが印字・発行される(ス
テップP17)。
In the process of step P11, when the pressed mode button 11 is not the "X button", the mode button 11 pressed by the erasing method becomes the "Y button", so that the current "REG" operation is performed. Mode is "payment"
After the operation mode is switched to and a predetermined operation in the “payment” operation mode is performed (step P1
6) The printing unit 7 prints / issues the report (step P17).

【0044】なお、「設定」動作モードと「点検」動作
モードとにおいては、モードボタン11の押下により、
それぞれ自動的に、設定点検レポート、または、日計明
細点検レポートとが発行されるが、設定により各点検レ
ポート発行を行わないようにすることも可能である。
In the "setting" operation mode and the "check" operation mode, pressing the mode button 11 causes
Although the setting inspection report or the daily detailed inspection report is automatically issued respectively, it is possible not to issue each inspection report depending on the setting.

【0045】さらに、「点検」動作モードでは、レポー
ト発行後に、「REG」動作モードへと自動的に切り替
わるようになっており、「戻」動作モード,「点検」動
作モード,「精算」動作モードでは、1回のみの操作が
有効となるように、すなわち、これらの3つのモードに
おいては、続けて同じ動作モードでの処理が行えないよ
うになっており、操作終了後(レシート/レポート発行
後)は、必ず「REG」動作モードに復帰するようにな
っている。
Further, in the "check" operation mode, after the report is issued, the mode automatically switches to the "REG" operation mode. The "return" operation mode, the "check" operation mode, and the "settlement" operation mode. In order to make the operation valid only once, that is, in these three modes, the processing in the same operation mode cannot be performed continuously. After the operation is completed (after receipt / report is issued) ) Always returns to the "REG" operation mode.

【0046】また、「設定」動作モードでは、何回でも
設定操作は有効となるように、すなわち、前述の「戻」
動作モード等のように、1回の操作が終了すれば、自動
的に「REG」動作モードに復帰させる処理は行わな
い。
In the "set" operation mode, the setting operation is valid any number of times, that is, the "return" operation described above.
When the operation is completed once, such as the operation mode, the process of automatically returning to the "REG" operation mode is not performed.

【0047】一方、上記ステップP2の処理において、
押されたモードボタン11が“OFFボタン”である場
合は、従来ECRでのモードオフと同様の扱いとなり、
表示部6の表示を消して(ステップP18)、動作の終
了となる。
On the other hand, in the processing of step P2,
When the pressed mode button 11 is the "OFF button", it is handled in the same manner as the mode off in the conventional ECR,
The display on the display unit 6 is erased (step P18), and the operation ends.

【0048】ちなみに、表示が消えている状態であって
もECR1自体は稼動しているため、表示が消えている
状態で、再度“OFFボタン”を押すことにより、「R
EG」動作モードに復帰して登録操作を行うことができ
る。
By the way, since the ECR1 itself is operating even when the display is off, pressing the "OFF button" again while the display is off causes "R"
The registration operation can be performed by returning to the “EG” operation mode.

【0049】次いで、図5,図6に示すフローチャート
に基づいて「REG」動作モードでの登録中に他のモー
ドボタンが押された場合の処理を説明する。
Next, the processing when another mode button is pressed during registration in the "REG" operation mode will be described with reference to the flow charts shown in FIGS.

【0050】図5及び図6は、本実施例のECR1にお
いて「REG」動作モードでの登録中に他のモードボタ
ンが押された時の処理を示すフローチャートである。
FIGS. 5 and 6 are flow charts showing the processing when another mode button is pressed during registration in the "REG" operation mode in ECR1 of this embodiment.

【0051】まず、「REG」動作モードでの待ち状態
において(ステップT1)、モードボタン11が押され
たか否かがチェックされ(ステップT2)、モードボタ
ン11が押されていなければ、「REG」動作モードに
おいて、登録処理中であるか否かがチェックされる(ス
テップT3)。ここで、登録処理中でなければ、上記ス
テップT1の処理に戻り、登録処理中であれば、続い
て、他のモードボタン11が押されたか否かがチェック
される(ステップT4)。
First, in the waiting state in the "REG" operation mode (step T1), it is checked whether or not the mode button 11 is pressed (step T2). If the mode button 11 is not pressed, "REG" is pressed. In the operation mode, it is checked whether or not the registration process is being performed (step T3). If the registration process is not in progress, the process returns to step T1. If the registration process is in progress, it is subsequently checked whether or not another mode button 11 has been pressed (step T4).

【0052】上記ステップT4の処理において、他のモ
ードボタン11が押されていなければ、上記ステップT
1の処理に戻り、他のモードボタン11が押されていれ
ば、所定のエラー処理が実行される(ステップT5)。
In the processing of step T4, if the other mode button 11 is not pressed, the above step T4 is performed.
Returning to the process of 1, if another mode button 11 is pressed, a predetermined error process is executed (step T5).

【0053】次いで、登録処理を終了するか否かが確認
され(ステップT6)、登録処理を終了する場合は、上
記ステップT1の処理に戻り、登録処理を継続する場合
は、登録入力を行うか否かの入力指定が促され(ステッ
プT7)、登録入力を行う場合は登録処理が実行され
(ステップT8)、登録入力を行わない場合は、上記ス
テップT1の処理に戻る。
Then, it is confirmed whether or not the registration process is to be ended (step T6). If the registration process is to be ended, the process returns to step T1. If the registration process is to be continued, the registration input is made. The input designation of whether or not is prompted (step T7), the registration process is executed when the registration input is performed (step T8), and the process returns to the step T1 when the registration input is not performed.

【0054】一方、上記ステップT2の処理において、
「REG」動作モード中にモードボタン11が押された
場合、「REG」動作モードが、押されたモードボタン
11に対応する動作モードに切り替えられて実行され
(ステップT9)、この場合、動作モードが「設定」動
作モードに切り替えられたか否かがチェックされ(ステ
ップT10)、動作モードが「設定」動作モードではな
い場合、他の動作モード(この場合、「精算」または
「点検」動作モード)による処理が行われる(ステップ
T11)。
On the other hand, in the processing of step T2,
When the mode button 11 is pressed during the "REG" operation mode, the "REG" operation mode is switched to the operation mode corresponding to the pressed mode button 11 and executed (step T9). In this case, the operation mode Is switched to the "set" operation mode (step T10), and if the operation mode is not the "set" operation mode, another operation mode (in this case, "settlement" or "check" operation mode) Is performed (step T11).

【0055】また、上記ステップT10の処理におい
て、「設定」動作モードである場合、「設定」動作モー
ドによる所定の処理が行われる(ステップT12)。ち
なみに、「設定」動作モードの処理後は、動作モードの
切り替えが行われず、「設定」動作モードの状態が継続
しているため、他の動作モードへの切り替えは、モード
ボタン11が押されたか否かをチェックして行われる
(ステップT13)。
If the "setting" operation mode is selected in the processing of step T10, a predetermined processing in the "setting" operation mode is performed (step T12). By the way, after the processing of the “setting” operation mode, the operation mode is not switched, and the state of the “setting” operation mode continues, so to switch to another operation mode, is the mode button 11 pressed? It is performed by checking whether or not (step T13).

【0056】すなわち、上記ステップT13の処理にお
いて、他のモードボタン11が押されれば、押されたモ
ードボタン11に対応する動作に処理が移行し(ステッ
プT14)、モードボタン11が押されなければ、「設
定」動作モードにおいて、設定処理中であるか否かがチ
ェックされる(ステップT15)。ここで、設定処理中
でなければ、上記ステップT13の処理に戻り、設定処
理中であれば、引き続き設定処理が行われる(ステップ
T16)。
That is, in the processing of step T13, if another mode button 11 is pressed, the processing shifts to the operation corresponding to the pressed mode button 11 (step T14), and the mode button 11 must be pressed. For example, it is checked whether or not the setting process is being performed in the "setting" operation mode (step T15). If the setting process is not being performed, the process returns to the step T13. If the setting process is being performed, the setting process is continuously performed (step T16).

【0057】そして、この設定処理において他のモード
ボタン11が押されていないかどうかがチェックされ
(ステップT17)、押されていなければ上記ステップ
T15の処理に戻り、押されていれば、設定終了処理が
行われた後(ステップT18)に、図5のステップT1
の処理に復帰する。
Then, in this setting process, it is checked whether or not the other mode button 11 is pressed (step T17). If it is not pressed, the process returns to the process of step T15. If it is pressed, the setting is completed. After the processing is performed (step T18), step T1 in FIG.
Return to processing.

【0058】したがって、「REG」動作モードにおい
て、登録処理中に他のモードボタン11が押された場
合、例えば、「REG」動作モードで部門登録が行われ
ている場合(登録中の状態)、モードボタン11として
「点検」動作モードを指定する“Xボタン”が押された
場合を考えると、エラー処理として、まず、1ショット
ブザーが鳴らされ、動作モードは、「REG」動作モー
ドのままとなる。
Therefore, in the "REG" operation mode, when another mode button 11 is pressed during the registration process, for example, when the department registration is performed in the "REG" operation mode (the state of registration), Considering the case where the "X button" for designating the "check" operation mode is pressed as the mode button 11, as the error processing, first, the one-shot buzzer sounds and the operation mode remains the "REG" operation mode. Become.

【0059】すなわち、オペレータであるキャッシャー
は、エラー解除操作を取らなくても、次の操作(例え
ば、締め操作)を先の部門登録に続けて行うことができ
る。
That is, the cashier, who is the operator, can perform the next operation (for example, the tightening operation) subsequent to the previous department registration without performing the error releasing operation.

【0060】このように、「REG」動作モードでの登
録処理中に、モードボタン11が押された場合でも「モ
ード切り替えエラー」は発生しない。
As described above, the "mode switching error" does not occur even when the mode button 11 is pressed during the registration processing in the "REG" operation mode.

【0061】また、「設定」動作モードにおいて、設定
処理中に他のモードボタン11が押された場合、モード
ボタン11が押されるまでの設定を有効とし、レシート
を発行し、さらに、この場合、“RFボタン”,“Xボ
タン”,“Zボタン”のいずれのモードボタン11が押
された場合でも、強制的に「REG」動作モードに復帰
させることにより、「設定」動作モード中にモードボタ
ン11が押された場合であっても「モード切り替えエラ
ー」は発生しない。
Further, in the "setting" operation mode, when another mode button 11 is pressed during the setting process, the setting until the mode button 11 is pressed is validated, a receipt is issued, and in this case, Regardless of which of the "RF button", "X button" and "Z button" mode button 11 is pressed, the mode button is forcibly returned to the "REG" operation mode during the "setting" operation mode. Even if 11 is pressed, the “mode switching error” does not occur.

【0062】これによって、どのような動作モード中に
モードボタン11を押しても、「モード切り替えエラ
ー」の発生を防止でき、キャッシャーは安心してECR
1の操作を行うことができる。
As a result, even if the mode button 11 is pressed in any operation mode, the occurrence of "mode switching error" can be prevented, and the cashier can feel at ease.
Operation 1 can be performed.

【0063】以上説明したように、本実施例では、ハー
ドウェアによって構成された従来のモード切替スイッチ
の代わりに、動作モードを内部で制御するモードボタン
11を設けたので、動作モードの切り替えによる「モー
ド切り替えエラー」の発生を防止することができる。
As described above, in the present embodiment, the mode button 11 for internally controlling the operation mode is provided in place of the conventional mode changeover switch composed of hardware, so that the operation mode switching " It is possible to prevent the occurrence of “mode switching error”.

【0064】また、「戻」動作モード、「点検」動作モ
ード、「精算」動作モードでの操作終了後は、必ず「R
EG」動作モードに復帰するため、キャッシャーが他の
動作モードで続けて操作してしまうといったミスを防止
することができる。
After the operation in the "return" operation mode, the "check" operation mode, and the "payment" operation mode is completed, "R" is always
Since the operation mode is returned to the "EG" operation mode, it is possible to prevent a mistake that the cashier continuously operates in another operation mode.

【0065】なお、上記実施例はモード指定手段とし
て、モードボタン11を利用した場合について説明した
が、これに限らず、動作モードを指定するためのデバイ
スとしては、ボタンに限らず、例えば、タッチパネル、
ペン入力装置、マウス等のポインティングデバイスを用
いるもの等であってもよいことは勿論である。
In the above embodiment, the case where the mode button 11 is used as the mode designating means has been described. However, the device for designating the operation mode is not limited to the button but is, for example, a touch panel. ,
Of course, a pen input device, a pointing device such as a mouse, or the like may be used.

【0066】[0066]

【発明の効果】請求項1記載の発明では、現動作モード
を、動作モードと対応するモード指定手段のいずれがで
指定した動作モードに切り替えることができる。
According to the first aspect of the present invention, the current operation mode can be switched to the operation mode specified by any of the mode specifying means corresponding to the operation mode.

【0067】また、この場合、請求項2記載の発明で
は、前述の請求項1記載の発明に加えて、電源オン時に
は入力モードとするとともに、動作モードを切り替えた
場合、所定処理実行後には入力モードとするので、「モ
ード切替エラー」の発生を防止することができる。
Further, in this case, in the invention described in claim 2, in addition to the invention described in claim 1, when the power is turned on, the input mode is set, and when the operation mode is switched, the input is performed after a predetermined process is executed. Since the mode is set, the occurrence of "mode switching error" can be prevented.

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

【図1】本実施例のECRの概略構成を示すブロック図
である。
FIG. 1 is a block diagram showing a schematic configuration of an ECR of this embodiment.

【図2】本実施例のECRにおいて「REG」動作モー
ドを設定するための手続きを示すフローチャートであ
る。
FIG. 2 is a flowchart showing a procedure for setting a “REG” operation mode in the ECR of this embodiment.

【図3】本実施例のECRにおいて「REG」動作モー
ドから他の動作モードに切り替える場合の手続きを示す
フローチャートである。
FIG. 3 is a flowchart showing a procedure for switching from the “REG” operation mode to another operation mode in the ECR of this embodiment.

【図4】図3に続く、本実施例のECRにおいて「RE
G」動作モードから他の動作モードに切り替える場合の
手続きを示すフローチャートである。
FIG. 4 shows “RE in the ECR of this embodiment following FIG. 3;
7 is a flowchart showing a procedure for switching from the “G” operation mode to another operation mode.

【図5】本実施例のECRにおいて「REG」動作モー
ドでの登録中に他のモードボタンが押された時の処理を
示すフローチャートである。
FIG. 5 is a flowchart showing a process when another mode button is pressed during registration in the “REG” operation mode in the ECR of this embodiment.

【図6】図5に続く、本実施例のECRにおいて「RE
G」動作モードでの登録中に他のモードボタンが押され
た時の処理を示すフローチャートである。
FIG. 6 shows “RE in the ECR of this embodiment following FIG.
9 is a flowchart showing a process when another mode button is pressed during registration in the “G” operation mode.

【図7】従来例のECRの入力部におけるモード切替ス
イッチを示す図である。
FIG. 7 is a diagram showing a mode changeover switch in an input section of an ECR of a conventional example.

【符号の説明】[Explanation of symbols]

1 ECR 2 入力部 3 CPU 4 ROM 5 RAM 6 表示部 7 印字部 8 ドロア 11 モードボタン 12 テンキー 13 ファンクションキー 1 ECR 2 input section 3 CPU 4 ROM 5 RAM 6 display section 7 printing section 8 drawer 11 mode button 12 numeric keypad 13 function key

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】各種動作モードに対応して複数の動作モー
ドの中から所定の動作モードを指定する複数のモード指
定手段と、 現動作モードを該モード指定手段により指定された動作
モードに切り替える動作モード切替手段と、 該動作モード切替手段により切り替えられた動作モード
に基づいて所定の処理の実行を制御する処理制御手段
と、 を備えることを特徴とするデータ処理装置。
1. A plurality of mode specifying means for specifying a predetermined operation mode from a plurality of operation modes corresponding to various operation modes, and an operation for switching a current operation mode to an operation mode specified by the mode specifying means. A data processing apparatus comprising: a mode switching unit; and a process control unit that controls execution of a predetermined process based on the operation mode switched by the operation mode switching unit.
【請求項2】前記モード指定手段は、少なくとも、電源
のオン/オフを指定する第一キースイッチと、他の動作
モードを指定する第二キースイッチとを含む、複数のキ
ースイッチにより構成され、 前記動作モード切替手段は、前記第一キースイッチによ
る電源オンの指定により通電が開始されると動作モード
を入力モードに切り替え、 前記処理制御手段は、前記第二キースイッチの動作モー
ド指定により入力モードから他の動作モードに動作モー
ドが切り替えられた場合、当該動作モードによる所定の
処理の実行を制御するとともに、処理終了後に動作モー
ドを入力モードに復帰させることを特徴とする請求項1
記載のデータ処理装置。
2. The mode designating means comprises a plurality of key switches including at least a first key switch for designating ON / OFF of a power source and a second key switch for designating another operation mode, The operation mode switching unit switches the operation mode to an input mode when power is turned on by the power-on designation by the first key switch, and the processing control unit inputs the input mode by designating the operation mode of the second key switch. 2. When the operation mode is switched from one to another, the execution of a predetermined process in the operation mode is controlled, and the operation mode is returned to the input mode after the process is completed.
The described data processing device.
JP2205594A 1994-01-20 1994-01-20 Data processor Pending JPH07210762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2205594A JPH07210762A (en) 1994-01-20 1994-01-20 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2205594A JPH07210762A (en) 1994-01-20 1994-01-20 Data processor

Publications (1)

Publication Number Publication Date
JPH07210762A true JPH07210762A (en) 1995-08-11

Family

ID=12072238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2205594A Pending JPH07210762A (en) 1994-01-20 1994-01-20 Data processor

Country Status (1)

Country Link
JP (1) JPH07210762A (en)

Similar Documents

Publication Publication Date Title
JPH10222725A (en) Operation execution system for automatic transaction device
JPH07210762A (en) Data processor
JPH08235447A (en) Merchandise sales register data processor
JPH06290345A (en) Electronic cash register
JPH06195563A (en) Sale data processor
JPH0253198A (en) Transaction processor
JPH04667A (en) Device and method for erasing data in betting ticket vending machine
JPH08329338A (en) Cash register device
KR100285575B1 (en) Method for displaying help instruction of electronic cash register
KR920005603B1 (en) Input system of touch panel and method therefor
JPH06274762A (en) Commodity sales data processor
JPH07121283A (en) Data processor
JPH07220169A (en) Data processor
JPH01196696A (en) Electronic cash register
JPH0743794B2 (en) Electronic cash register device
JPH11143637A (en) Touch panel controller and its method
JPH07296257A (en) Data processing unit
JPH0724078B2 (en) Sales data processing device
JP3136245B2 (en) Key input test equipment
JPH01167982A (en) Microcomputer control system for high-frequency heating device
JPH07334286A (en) Input device
JPH0944283A (en) Keyboard control method
JPS6011990A (en) Electronic cash register
JPS6232594A (en) Sales data processor
JPH0668118A (en) Transaction selection method