JP2516697B2 - Data input device - Google Patents

Data input device

Info

Publication number
JP2516697B2
JP2516697B2 JP2083951A JP8395190A JP2516697B2 JP 2516697 B2 JP2516697 B2 JP 2516697B2 JP 2083951 A JP2083951 A JP 2083951A JP 8395190 A JP8395190 A JP 8395190A JP 2516697 B2 JP2516697 B2 JP 2516697B2
Authority
JP
Japan
Prior art keywords
data
numerical data
input
numerical
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 - Lifetime
Application number
JP2083951A
Other languages
Japanese (ja)
Other versions
JPH03282814A (en
Inventor
和彦 西原
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2083951A priority Critical patent/JP2516697B2/en
Publication of JPH03282814A publication Critical patent/JPH03282814A/en
Application granted granted Critical
Publication of JP2516697B2 publication Critical patent/JP2516697B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、数値データの入力に使用されるデータ入力
装置に関する。
TECHNICAL FIELD The present invention relates to a data input device used for inputting numerical data.

[従来の技術] 数値データを入力するための置数キーとその数値デー
タの処理を指示するためのファンクションキーとが配設
されたキーボードを有するデータ入力装置には、置数キ
ーの入力操作により入力された数値データを入力順に記
憶する置数レジスタが設けられており、この置数レジス
タに記憶された数値データをファンクションキーからの
指示に基づいて処理するようになっている。
[Prior Art] In a data input device having a keyboard provided with numerical keys for inputting numerical data and function keys for instructing the processing of the numerical data, a data input device is operated by inputting numerical keys. A numerical register for storing the input numerical data in the order of input is provided, and the numerical data stored in the numerical register is processed based on an instruction from the function key.

このようなものにおいて従来、置数レジスタに記憶さ
れた数値データが任意の数値の整数倍であるか否かをチ
ェックするような機能は知られているが(特開昭58−16
9671号公報等)、同一の数値データが連続して記憶され
ているか否かをチェックするような機能は存在しなかっ
た。このため、オペレータが同一置数キーを連続して押
下してしまうような操作ミス、いわゆるダブル打ちミス
を犯してしまい同一の数値データが連続して入力されて
も、その数値データは有効として処理されていた。
In such a device, a function of checking whether or not the numerical data stored in the register is an integer multiple of an arbitrary numerical value has been known (Japanese Patent Laid-Open No. 58-16).
No. 9671, etc.), there is no function for checking whether or not the same numerical data is continuously stored. For this reason, even if the operator makes an operation error such as pressing the same number key continuously, so-called double typing error, and the same numerical data is input continuously, the numerical data is treated as valid. It had been.

なお、バーコードデータを入力するためのデータ入力
装置において、同一のバーコードデータが連続して入力
された場合に警告を発してオペレータに注意を促すもの
は知られている(特開平1−169696号公報)。ただしこ
の場合には前回入力され既にデータ処理が行われたバー
コードデータと、今回入力されデータ処理が行われる前
のバーコードデータとの照合であって、データ処理前の
数値データが記憶される置数レジスタに同一の数値デー
タが連続して記憶されているか否かをチェックするもの
とは根本的に異なるものである。
It is known that, in a data input device for inputting barcode data, a warning is issued to alert an operator when the same barcode data is continuously input (Japanese Patent Laid-Open No. 1-169696). Issue). However, in this case, the numerical data before data processing is stored, which is the collation of the barcode data that was previously input and has already been processed, and the barcode data that was input this time and is not yet processed. This is fundamentally different from checking whether or not the same numerical data is continuously stored in the number register.

[発明が解決しようとする課題] 上述したように、従来の数値データの入力に使用され
るデータ入力装置においては、置数レジスタに同一の数
値データが連続して記憶されているか否かをチェックす
るような機能がなかったため、オペレータの操作ミスに
より同一の数値データが連続して入力されても、その数
値データが有効として処理されていた。
[Problems to be Solved by the Invention] As described above, in the conventional data input device used for inputting numerical data, it is checked whether the same numerical data is continuously stored in the number register. Since there is no such function, even if the same numerical data is continuously input due to an operator's operation error, the numerical data is processed as valid.

そこで本発明は、置数レジスタに同一の数値データが
連続して記憶されている場合にはオペレータに警告を発
して注意を促すことができ、ダブル打ちミスなどの操作
ミスによる誤りデータをデータ処理前に無効にできるデ
ータ入力装置を提供しようとするものである。
Therefore, according to the present invention, when the same numerical data is continuously stored in the numerical register, the operator can be warned to call attention, and error data due to an operation error such as a double tap error can be processed. It seeks to provide a data entry device that can be disabled before.

[課題を解決するための手段] 本発明は、数値データを入力するための置数キーとそ
の数値データの処理を指示するためのファンクションキ
ーとが配設されたキーボード、および置数キーの入力操
作により入力された数値データを入力順に記憶する置数
レジスタを有し、、この置数レジスタに記憶された数値
データをファンクションキーからの指示に基づいて入力
処理するデータ入力装置において、所定のタイミングで
置数レジスタに同一数値データが連続して記憶されてい
るか否かを判断する判断手段と、この判断手段により同
一数値データが連続して記憶されていることが判定され
ると警報を出力する警報出力手段と、この出力手段によ
り警報が出力された数値データを有効とするか無効とす
るかを選択する選択手段と、この選択手段により無効が
選択されると置数レジスタの内容をクリアする置数クリ
ア手段とを備えたものである。
[Means for Solving the Problems] The present invention provides a keyboard provided with numerical keys for inputting numerical data and function keys for instructing processing of the numerical data, and input of numerical keys. A data input device that has a numerical register that stores numerical data input by operation in the order of input, and that processes numerical data stored in this numerical register based on instructions from function keys And a judging means for judging whether or not the same numerical value data is continuously stored in the numeral register, and an alarm is output when it is judged by this judging means that the same numerical value data is continuously stored. The alarm output means, a selection means for selecting whether to validate or invalidate the numerical data output by the output means, and the selection means. A unit for clearing the number of registers that clears the contents of the number register when invalid is selected.

[作用] このように構成された本発明であれば、オペレータが
置数キーを入力操作すると、その入力キーに対応する数
値データが入力順に置数レジスタに記憶される。その
後、例えばオペレータがファンクションキーを入力操作
して数値データの処理を指示すると、そのファンクショ
ンキーの入力に応動して上記置数レジスタに同一の数値
データが連続して記憶されているか否かがチェックされ
る。そして同一の数値データが連続して記憶されている
場合には警告が発せられる。ここで、オペレータが選択
手段によりその数値データの有効を選択すると、置数レ
ジスタに記憶された数値データが該当するファンクショ
ンキーの指示に基づいてデータ処理される。
[Operation] According to the present invention having such a configuration, when the operator performs an input operation on the numeric key, the numerical data corresponding to the input key is stored in the numeric register in the order of input. After that, for example, when an operator inputs a function key to instruct the processing of numerical data, it is checked whether the same numerical data is continuously stored in the above register in response to the input of the function key. To be done. Then, when the same numerical data is continuously stored, a warning is issued. Here, when the operator selects the validity of the numerical data by the selection means, the numerical data stored in the numerical register is processed based on the instruction of the corresponding function key.

これに対し、その数値データの無効を選択すると、置
数レジスタに記憶された数値データがクリアされる。従
って、オペレータのダブル打ちによって同一の数値デー
タが連続して入力された場合には必ず警報が発せられる
ので、数値データの無効を選択することによって誤入力
された数値データが入力処理されるのを未然に防止でき
るようになる。
On the other hand, when the invalidation of the numerical data is selected, the numerical data stored in the numerical register is cleared. Therefore, when the same numerical data is continuously input by double typing by the operator, an alarm is always issued, so by selecting invalid numerical data, the numerical input data that is erroneously input is processed. You can prevent it in advance.

[実施例] 以下、本発明を商店での商品発注業務に使用される携
帯型の発注ターミナルに適用した一実施例について図面
を参照しながら説明する。なお、この発注ターミナルは
商品発注業務の他、日付,時刻等の設定業務、ストアコ
ントローラへの書込業務等、種々の業務を実行できるよ
うになっている。
[Embodiment] An embodiment in which the present invention is applied to a portable ordering terminal used for product ordering work in a store will be described below with reference to the drawings. In addition to the product ordering work, this ordering terminal is capable of executing various works such as setting work such as date and time and writing work to the store controller.

第1図は上記発注ターミナルの外観構成を示す斜視図
であって、筐体1の右側面に電源スイッチ2が設けられ
ており、上面にキーボード3と液晶表示器4が設けられ
ている。
FIG. 1 is a perspective view showing an external configuration of the ordering terminal. The power switch 2 is provided on the right side surface of the housing 1, and the keyboard 3 and the liquid crystal display 4 are provided on the upper surface.

キーボード3には数値データを入力するための「0」
〜「9」の置数キー31の他に、「ENT」の登録キー32、
「↓」のダウンスクロールキー33、「↑」アップスクロ
ールキー34、「消」の取消キー35、「C」のクリアキー
36、「#」の特定キー37等の各種キーが配設されてい
る。
"0" for entering numerical data on the keyboard 3
~ In addition to the numeric key 31 of "9", the registration key 32 of "ENT",
"↓" down scroll key 33, "↑" up scroll key 34, "erase" cancel key 35, "C" clear key
36, various keys such as the "#" specific key 37 and the like.

液晶表示器4は、最大縦8行、横24文字の画面表示が
可能となっている。
The liquid crystal display 4 can display a screen with a maximum of 8 lines vertically and 24 characters horizontally.

第2図は上記発注ターミナルの制御ブロック図であっ
て、制御部本体としてのCPU(中央処理装置)11に、バ
スライン12を介して、ROM13及びRAM14の記憶部、現在時
刻を計時する時計回路15、エラー音,警告音等を発する
ブザー16を駆動させるブザー回路17、前記キーボード3
からキー信号が入力されるキーボード回路18、前記液晶
表示器4に表示データを出力する表示制御回路19、外部
との間でデータ送受信を行う通信インタフェース20等が
接続されている。
FIG. 2 is a control block diagram of the ordering terminal, in which a CPU (central processing unit) 11 serving as a control unit main body stores a storage unit of ROM 13 and RAM 14 via a bus line 12 and a clock circuit for measuring the present time. 15, a buzzer circuit 17 for driving a buzzer 16 that emits an error sound and a warning sound, the keyboard 3
A keyboard circuit 18 to which a key signal is input from, a display control circuit 19 that outputs display data to the liquid crystal display 4, a communication interface 20 that transmits and receives data to and from the outside are connected.

ROM13には、プログラムデータ等の固定的データが記
憶されている。
Fixed data such as program data is stored in the ROM 13.

RAM14には、第3図に示すように、店で取り扱う各商
品を分類する分類コード別にその分類コードに属する各
商品の商品コード、品名、売上実績、発注単位、最低発
注数等の単品データがプリセットされる商品テーブル14
1、各分類コード毎の分類名称及び商品数がプリセット
される分類テーブル142、数値データを入力順に記憶す
る置数レジスタ143、数値データの入力桁数を計数する
置数カウンタNの領域144、発注数が登録された各商品
の商品コードとその発注数を記憶する発注登録バッファ
145、このバッファ145への登録数を記憶する登録数カウ
ンタMの領域146、後述する数値データの照合処理に使
用される第1カウンタA,第2カウンタB及びフラグFの
各領域147,148,149、等が形成されている。
As shown in FIG. 3, the RAM 14 stores individual product data such as product code, product name, sales record, ordering unit, minimum ordering number, etc. of each product belonging to the classification code for classifying each product handled in the store. Preset Product Table 14
1, a classification table 142 in which the classification name and the number of products for each classification code are preset, a numerical register 143 that stores numerical data in the order of input, an area 144 of a numerical counter N that counts the number of input digits of numerical data, and an order Order registration buffer that stores the product code of each product whose number is registered and the number of orders
145, an area 146 of a registration number counter M for storing the number of registrations in the buffer 145, areas 147, 148, 149 of a first counter A, a second counter B and a flag F used for collation processing of numerical data described later. Has been formed.

なお、上記RAM14は図示しないバッテリによって電源
バックアップされている。また上記商品テーブル141に
対する単品データ及び分類テーブル142に対する分類デ
ータのプリセット処理は、設定業務選択時において通信
インタフェース20を介して電気的に接続される外部装置
によって適時行われる。ここで、売上実績とは前回の発
注時点から現在までの間に売上げられた該当商品の点数
である。発注単位とは該当商品に対する1回の発注数の
単位数である。最低発注数とは該当商品に対する1回の
発注数の最低数である。
The RAM 14 is backed up by a battery (not shown). Further, the preset processing of the single item data for the product table 141 and the classification data for the classification table 142 is performed at an appropriate time by an external device electrically connected via the communication interface 20 when the setting operation is selected. Here, the sales record is a score of the corresponding product sold from the time of the previous order to the present. The ordering unit is the unit number of one ordering order for the corresponding product. The minimum number of orders is the minimum number of orders for the corresponding product once.

しかして、前記CPU11は電源スイッチ2がオン操作さ
れると、前述した業務を選択するためのメニュー画面を
液晶表示器4に表示する。この状態で、キー操作により
商品発注業務が選択されると、第4A図乃室第4C図の流れ
図に示す処理を実行するようにプログラム制御されてい
る。
When the power switch 2 is turned on, the CPU 11 causes the liquid crystal display 4 to display a menu screen for selecting the above-mentioned work. In this state, when the product ordering work is selected by the key operation, the program is controlled so as to execute the processing shown in the flow chart of FIG. 4A.

すなわち、先ず、ST(ステップ)1としてRAM14の発
注登録バッファ145をクリアするとともに領域146の登録
数カウンタMを「0」に初期化する。次いで、ST2とし
て液晶表示器4に対して分類画面表示処理を行う。この
分類画面表示処理は、分類テーブル142のテーブルポイ
ンタが示すエリアに設定された分類コード、分類名称及
び商品数を表示させる処理で、上記テーブルポインタは
ダウンスクロールキー33が入力操作されると1ポイント
後退し、アップスクロールキー34が入力操作されると1
ポイント前進するようになっている。そして、電源スイ
ッチ2のオフ操作後は現在の値が保持される。
That is, first, as ST (step) 1, the order registration buffer 145 of the RAM 14 is cleared and the registration number counter M of the area 146 is initialized to "0". Next, as ST2, a classification screen display process is performed on the liquid crystal display 4. This classification screen display process is a process of displaying the classification code, classification name, and number of products set in the area indicated by the table pointer of the classification table 142. The table pointer is 1 point when the downscroll key 33 is input. When moving backward and inputting the up scroll key 34, 1
The point is designed to move forward. After the power switch 2 is turned off, the current value is held.

この状態で、ST3として登録キー32が入力操作される
と、ST4として液晶表示器4に対して単品画面表示処理
を行う。この単品画面表示処理は、分類テーブル142の
テーブルポインタが示すエリアに設定された分類コード
の商品テーブル141を抽出し、その商品テーブル141のテ
ーブルポインタが示すエリアに設定された商品コード,
品名,売上実績,発注単位及び最低発注数を前記液晶表
示器4に表示させる処理で、上記商品テーブル141のテ
ーブルポインタは初期値が“1"で、その後ダウンスクロ
ールキー33が入力操作されると1ポイント後退し、アッ
プスクロールキー34が入力操作されると1ポイント前進
するようになっている。
In this state, when the registration key 32 is operated as an input in ST3, a single item screen display process is performed on the liquid crystal display 4 as ST4. In this single-item screen display processing, the product table 141 of the classification code set in the area indicated by the table pointer of the classification table 142 is extracted, and the product code set in the area indicated by the table pointer of the product table 141,
In the process of displaying the product name, sales record, order unit, and minimum order number on the liquid crystal display device 4, the table pointer of the product table 141 has an initial value of "1", and then the down scroll key 33 is operated. It moves backward by one point and moves forward by one point when the up scroll key 34 is operated for input.

この状態で、ST5として取消キー35が入力操作される
と、ST2の分類画面表示処理に戻る。
In this state, if the cancel key 35 is input in ST5, the process returns to the classification screen display process in ST2.

これに対し、ST6として登録キー32が入力操作される
と、第4B図及び第4C図に示す発注数登録処理を実行す
る。すなわち、置数レジスタ143をクリアするととも
に、置数カウンタNを“0"に初期化して、次のキー入力
を待つ。
On the other hand, when the registration key 32 is input in ST6, the order quantity registration process shown in FIGS. 4B and 4C is executed. That is, the number register 143 is cleared and the number counter N is initialized to "0" to wait for the next key input.

ここで、ST7として置数キー31が入力操作されたなら
ば、置数カウンタNを「+1」だけ更新した後、置数レ
ジスタ143の最下位桁R(0)に入力置数キー31に対応
する数値データを格納する。また置数レジスタ143の内
容を液晶表示器4の所定エリアに表示させて、次のキー
入力を待つ。そして、次も置数キー31が入力されたなら
ば、置数カウンタNを「+1」だけ更新した後、置数レ
ジスタ143の最下位桁R(0)の内容を上位桁R(1)
へシフトさせ、空エリアとなった最下位桁R(0)に今
回入力された数値データを格納する。また置数レジスタ
143の内容を液晶表示器4の所定エリアに表示させて、
次のキー入力を待つ。このように、置数キー31により連
続して数値データが入力される毎に置数カウンタNを
「+1」だけ更新した後、置数レジスタ143の内容を順
次上位桁へシフトさせ、空エリアとなった最下位桁R
(0)に今回入力された数値データを格納する。そして
置数レジスタ143の内容を液晶表示器4の所定エリアに
表示させて、次のキー入力を待つ。ただし、置数カウン
タNが置数レジスタNの最大桁数「8」を越えたなら
ば、置数キー31の入力をエラーとして無視する。
If the numeric key 31 is operated as an input in ST7, the numeric counter N is updated by "+1", and the least significant digit R (0) of the numeric register 143 is input to the numeric key 31. Store the numerical data to be used. The contents of the numeral register 143 are displayed in a predetermined area of the liquid crystal display 4 and the next key input is awaited. If the numeric key 31 is also input next time, after updating the numeric counter N by "+1", the content of the least significant digit R (0) of the numeric register 143 is changed to the high digit R (1).
The numerical data input this time is stored in the least significant digit R (0) that has become an empty area. Also register register
Display the contents of 143 in a predetermined area of the liquid crystal display 4,
Wait for the next key input. In this way, every time numeric data is continuously input by the numeric key 31, the numeric counter N is updated by "+1", and then the content of the numeric register 143 is sequentially shifted to the upper digit to set an empty area. The lowest digit R
The numerical data input this time is stored in (0). Then, the contents of the numeral register 143 are displayed in a predetermined area of the liquid crystal display 4 and the next key input is awaited. However, if the number counter N exceeds the maximum digit number "8" of the number register N, the input of the number key 31 is ignored as an error.

ST7にて置数キー31の入力がなく、ST8として登録キー
32が入力操作されたならば、この登録キー32は置数キー
31により入力された数値データを発注数として登録処理
するためのファンクションキーとして入力されたので、
前記単品画面表示処理にて抽出された商品テーブル141
のテーブルポインタが示すエリアに設定された最低発注
数及び発注単位と、置数レジスタ143内の数値データと
を比較する。ここで数値データが最低発注数未満である
か、最低発注数以上ではあるが発注単位の正数倍数では
ない場合には、当該商品に対する発注数が設定どおり行
われていないので、登録キー32の入力をエラーとする。
There is no input of the numeric keypad 31 at ST7, and the registration key as ST8
If 32 is operated, this registration key 32 is a numeric key
Since the numerical data entered by 31 was entered as a function key for registration processing as the number of orders,
Product table 141 extracted in the single product screen display process
The minimum order number and the order unit set in the area indicated by the table pointer are compared with the numerical data in the number register 143. Here, if the numerical data is less than the minimum order quantity, or is more than the minimum order quantity but is not a positive multiple of the order unit, the order quantity for the product is not set as specified, so the registration key 32 Input error.

これに対し、数値データが最低発注以上であり、かつ
発注単位の正数倍数である場合には、当該商品に対する
発注数が設定どおり行われたので、ST9以降の数値デー
タ照合処理を実行する。すなわち、ST9として領域149の
フラグFを“0"にリセットする。また、ST10として領域
147の第1カウンタAを置数カウンタNのカウント値か
ら“1"を減算した値とする。さらに、ST11として領域14
8の第2カウンタBを第1カウンタAのカウント値から
“1"を減算した値とする。しかして、ST12として置数レ
ジスタ143の第1カウンタAに対応する桁R(A)の数
値データを調べる。そして、当該数値データが「0」の
場合にはST13としてフラグFを調べる。ここでフラグF
がリセットされている場合には第1カウンタAを「−
1」だけカウントダウンした後、ST11に戻る。
On the other hand, when the numerical value data is equal to or higher than the minimum order and is a positive multiple of the ordering unit, the numerical value data collating process from ST9 onward is executed because the ordering number for the product has been set. That is, as ST9, the flag F of the area 149 is reset to "0". Also, as ST10 area
It is assumed that the first counter A of 147 is a value obtained by subtracting “1” from the count value of the number counter N. Furthermore, as ST11, area 14
The second counter B of 8 is a value obtained by subtracting “1” from the count value of the first counter A. Then, as ST12, the numerical data of the digit R (A) corresponding to the first counter A of the number register 143 is checked. Then, if the numerical data is "0", the flag F is checked as ST13. Flag F here
Is reset, the first counter A is set to "-
After counting down "1", return to ST11.

これに対し、ST12にて置数レジスタ143の第1カウン
タAに対応する桁R(A)の数値データが「0」以外の
場合には、フラグFを“1"にセットした後、ST14へ進
む。また、ST13にてフラグFがセットされていた場合に
もST14へ進む。
On the other hand, in ST12, when the numerical data of the digit R (A) corresponding to the first counter A of the number register 143 is other than "0", the flag F is set to "1", and then the process goes to ST14. move on. Further, if the flag F is set in ST13, the process proceeds to ST14.

ST14においては、置数レジスタ143の第1カウンタA
に対応する桁R(A)の数値データと、置数レジスタ14
3の第2カウンタBに対応する桁R(B)の数値データ
とを比較する(判断手段)。ここで、両者が不一致であ
れば第1カウンタAを「−1」だけカウントダウンした
後、ST15として当該カウンタAのカウント値を調べる。
そして当該カウンタAのカウント値が“0"より大であれ
ば、ST11に戻る。
In ST14, the first counter A of the number register 143
Numerical data of digit R (A) corresponding to
The numerical data of the digit R (B) corresponding to the second counter B of 3 is compared (determination means). If they do not match, the first counter A is counted down by "-1", and then the count value of the counter A is checked in ST15.
If the count value of the counter A is larger than "0", the process returns to ST11.

ST15にて第1カウンタAのカウント値が“0"になった
場合には、置数レジスタ143に同一数値データが連続し
て記憶されていないので、領域146の登録数カウンタM
を「+1」だけ更新し、発注登録バッファ145のアドレ
スMに対応するエリアに、前記単品画面表示処理にて抽
出された商品テーブル141のテーブルポインタが示すエ
リアに設定された商品コードと、置数バッファ143内の
数値データ(発注数)とを登録処理する。その後、商品
テーブル141のテーブルポインタを“+1"だけ更新し
て、ST4に戻る。
When the count value of the first counter A becomes “0” in ST15, the same numerical value data is not continuously stored in the register number register 143.
Is updated by “+1”, and the product code and the number of products set in the area indicated by the table pointer of the product table 141 extracted in the single product screen display process are displayed in the area corresponding to the address M of the order registration buffer 145. Registration processing is performed with the numerical data (number of orders) in the buffer 143. After that, the table pointer of the product table 141 is updated by "+1", and the process returns to ST4.

一方、ST14にて置数レジスタ143における桁R(A)
の数値データと桁R(B)の数値データとが一致してい
る場合には、置数レジスタ143に同一数値データが連続
して記憶されているので、ブザー回路17を制御してブザ
ー16を鳴動させて(警報出力手段)、次のキー入力を待
つ。ここでST16として取消キー35が入力操作されたなら
ば、その数値データの無効が選択されたので、置数レジ
スタ143の内容をクリアするとともに置数カウンタNを
“0"に初期化して(置数クリア手段)、次のキー入力を
待つ。そして、置数キー31が入力されたならば前記ST7
以降の処理を実行し、登録キー32が入力されたならば、
前記ST8以降の処理を実行する。また、ST7にて置数キー
31の入力がなく、かつST8にて登録キー32の入力もな
く、ST17として取消キー35が入力された場合には、商品
テーブル141のテーブルポインタを“+1"だけ更新し
て、ST4に戻る。
On the other hand, in ST14, the digit R (A) in the number register 143
When the numerical value data of 1 and the numerical value data of the digit R (B) match, the same numerical value data is continuously stored in the register number register 143. Therefore, the buzzer circuit 17 is controlled and the buzzer 16 is turned on. Sounds (alarm output means) and waits for the next key input. If the cancel key 35 is input at ST16, the invalidation of the numerical data is selected. Therefore, the contents of the numerical register 143 are cleared and the numerical counter N is initialized to "0" (setting Wait for the next key input. If the numeric key 31 is pressed, the above-mentioned ST7
If the registration key 32 is input after performing the following processing,
The processing after ST8 is executed. Also, in ST7, the numeric key
If there is no input of 31 and the registration key 32 is not input in ST8 and the cancel key 35 is input in ST17, the table pointer of the product table 141 is updated by "+1" and the process returns to ST4.

これに対し、ST16にて取消キー35の入力がなく、ST18
として登録キー32が入力された場合には、その置数デー
タの有効が選択されたので、領域146の登録数カウンタ
Mを「+1」だけ更新し、発注登録バッファ145のアド
レスMに対応するエリアに、前記単品画面表示処理にて
抽出された商品テーブル141のテーブルポインタが示す
エリアに設定された商品コードと、置数バッファ143内
の数値データ(発注数)を登録処理する。その後、商品
テーブル141のテーブルポインタを“+1"だけ更新し
て、ST4に戻る。
On the other hand, there is no input of the cancel key 35 in ST16, and ST18
When the registration key 32 is input as, the registration number counter M in the area 146 is updated by "+1" because the registration data 32 is selected to be valid, and the area corresponding to the address M in the order registration buffer 145 is updated. Then, the product code set in the area indicated by the table pointer of the product table 141 extracted in the single-item screen display process and the numerical data (number of orders) in the number buffer 143 are registered. After that, the table pointer of the product table 141 is updated by "+1", and the process returns to ST4.

従って、前記登録キー32と取消キー35とはブザー16に
よる警報が出力された数値データを有効とするか無効と
するかを選択する選択手段として機能する。
Therefore, the registration key 32 and the cancel key 35 function as selection means for selecting whether to validate or invalidate the numerical data output by the buzzer 16.

なお、ブザー16は次の最初のキー入力に応動して、あ
るいは一定時間が経過することによって停止する。
The buzzer 16 stops in response to the next first key input or after a certain period of time has elapsed.

このように構成された本実施例の発注数ターミナルに
おいては、ある商品の発注業務を行う場合、オペレータ
は電源スイッチ2のオン操作後、表示器4に表示される
分類データ画面を見ながらスクロールキー33または34を
操作して発注対象商品が属する分類データを選択する。
そして、該当する分類データが表示器4に表示されたな
らば登録キー32を入力操作する。そうすると、表示器4
には該当分類コードの単品データ画面に切り替わるの
で、その画面を見ながらスクロールキー33または34を操
作して発注対象商品を選択する。そして、発注対象商品
の商品コード,品名,売上実績,発注単位,最低発注数
等の単品データが表示されると、先ず登録キー32を入力
操作する。次いで、表示中の最低発注数以上でかつ発注
単位の正数倍となるような数値を当該商品の発注数とし
て置数キー31から入力した後、再度登録キー32を入力操
作する。そうすると、置数バッファ143に同一の数値デ
ータが連続して記憶されているか否かが判断される。
In the order number terminal of the present embodiment configured as described above, when performing an ordering operation for a certain product, the operator, after turning on the power switch 2, looks at the classification data screen displayed on the display 4 and scroll keys. Operate 33 or 34 to select the classification data to which the ordered product belongs.
When the corresponding classification data is displayed on the display 4, the registration key 32 is operated. Then, display 4
Is switched to the single item data screen of the corresponding classification code, the scroll key 33 or 34 is operated while viewing the screen to select the order target product. When the individual product data such as the product code, product name, sales record, ordering unit, minimum ordering number, etc. of the product to be ordered is displayed, the registration key 32 is first operated. Next, after inputting a numerical value which is equal to or more than the minimum order number displayed and which is a positive multiple of the order unit from the numeric key 31, the registration key 32 is operated again. Then, it is determined whether or not the same numerical data is continuously stored in the numeral buffer 143.

ここで、例えば置数レジスタ143に記憶されている数
値データが「123」などの場合には、同一の数値データ
が連続して記憶されていないので、置数バッファ143の
内容が発注数として当該商品の商品コードとともに発注
登録バッファ145に登録処理される。
Here, for example, when the numerical data stored in the numerical register 143 is “123” or the like, since the same numerical data is not continuously stored, the contents of the numerical buffer 143 is the ordering number. Registration processing is performed in the order registration buffer 145 together with the product code of the product.

一方、例えば置数レジスタ143に記憶されている数値
データが「112」,「122」,「111」などの場合には、
同一の数値データが連続して記憶されているので、ブザ
ー16により警報音が発生される。
On the other hand, for example, when the numerical data stored in the numerical register 143 is “112”, “122”, “111”, etc.,
Since the same numerical data is continuously stored, the buzzer 16 produces an alarm sound.

そこで、オペレータは表示器4に表示されている発注
数の入力データを確認する。そして、所望の発注数が正
確に入力されている場合には登録キー32を入力操作す
る。そうすることにより、置数バッファ143の内容が発
注数として当該商品の商品コードとともに発注登録バッ
ファ145に登録処理される。
Therefore, the operator confirms the input data of the ordered quantity displayed on the display unit 4. Then, when the desired order quantity is correctly entered, the registration key 32 is operated. By doing so, the contents of the number buffer 143 are registered in the order registration buffer 145 together with the product code of the product as the number of orders.

これに対し、置数キー31のダブル打ち等の操作ミスに
よって所望の発注数が正確に入力されていない場合には
取消キー35を入力操作する。そうすることにより、置数
バッファ143の内容がクリアされて、発注数の再入力が
可能となる。
On the other hand, if the desired order quantity has not been accurately entered due to an operation error such as double-strike of the numeral keys 31, the cancel key 35 is operated. By doing so, the contents of the number input buffer 143 are cleared, and the number of orders can be input again.

従来のこの種の発注ターミナルにおいては、発注数の
誤入力があっても最低発注数や発注単位等の発注条件に
適合してさえいれば警報が発せられなかった。このた
め、オペレータは表示内容を確認することなく登録キー
32を入力操作してしまい、誤った発注数のまま登録され
る不具合があった。
In the conventional ordering terminal of this type, even if the ordering number is erroneously input, an alarm is not issued as long as the ordering conditions such as the minimum ordering number and the ordering unit are met. For this reason, the operator can
There was a problem that I entered 32 and registered the wrong number of orders.

これに対し、本実施例の発注ターミナルであれば、例
えば発注数として「12」と入力しなければならないとこ
ろを、置数キー31のダブル打ちにより「112」や「122」
等と誤入力してしまった場合にブザー16による警報音が
発せられてオペレータに注意が促される。従って、オペ
レータは誤入力に気が付き取消キー35を入力操作するこ
とによって誤った発注数のまま発注登録バッファ145に
登録されてしまう不具合を防止できるようになる。なお
所望の発注数が「112」,「122」,「111」等のように
同一数値が連続して存在する場合にも警報音が発せられ
るが、登録キー32を入力操作することによってその数値
データを有効に登録処理できるので、特に問題はない。
また、例えば日付及び時刻の設定業務においても置数キ
ー31をキー操作して数値データを入力するが、このとき
上述したダブル打ちチエックを行なうように構成して
も、また行なわないように構成してもどちらでもよい。
On the other hand, in the case of the ordering terminal of the present embodiment, for example, when the user has to enter "12" as the number of orders, "112" or "122" can be entered by double-pressing the numeric key 31.
If the user mistakenly inputs such as, an alarm sound is emitted by the buzzer 16 to alert the operator. Therefore, it is possible for the operator to be aware of erroneous input and to prevent the problem that the wrong number of orders is registered in the order registration buffer 145 by operating the cancel key 35. It should be noted that even if the desired number of orders is the same numerical value such as "112", "122", "111", etc., a warning sound will be emitted, but by operating the registration key 32, the numerical value can be changed. Since the data can be registered effectively, there is no particular problem.
In addition, for example, even in the work of setting the date and time, the numeric keypad 31 is operated to input numerical data, but at this time, even if the above-mentioned double striking check is performed, it is configured not to be performed again. It doesn't matter.

なお、本発明は前記実施例に限定されるものではな
い。例えば前記実施例では置数キー31による数値データ
の入力後、ファンクションキーとしての登録キー32の入
力操作に応動して置数レジスタ143に同一数値データが
連続して記憶されているか否かをチエックするようにし
たが、置数キー31が入力操作される毎にその直前に入力
された数値データと今回の数値データとを比較し、両者
が一致している場合に警報を発するようにしてもよい。
また、本発明は発注ターミナルに限定されるものではな
く、数値データを入力するデータ入力装置全般に適用で
きるのは言うまでもないことである。この他、本発明の
要旨を逸脱しない範囲で種々変形実施可能であるのは勿
論である。
The present invention is not limited to the above embodiment. For example, in the above-described embodiment, after inputting the numeric data by the numeric key 31, it is checked whether the same numeric data is continuously stored in the numeric register 143 in response to the input operation of the registration key 32 as the function key. However, each time the numeric key 31 is operated for input, the numerical data input immediately before is compared with the numerical data of this time, and an alarm is issued if the two match. Good.
Further, it goes without saying that the present invention is not limited to the ordering terminal and can be applied to all data input devices for inputting numerical data. In addition, it goes without saying that various modifications can be made without departing from the spirit of the present invention.

[発明の効果] 以上詳述したように、本発明によれば、置数レジスタ
に同一の数値データが連続して記憶されている場合には
オペレータに警告を発して注意を促すことができ、ダブ
ル打ちミスなどの操作ミスによる誤りデータをデータ処
理前に無効にできるデータ入力装置を提供できる。
[Effects of the Invention] As described in detail above, according to the present invention, when the same numerical data is continuously stored in the number register, the operator can be warned to call attention. It is possible to provide a data input device capable of invalidating error data due to an operation error such as a double hitting error before data processing.

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

図は本発明を発注ターミナルに適用した一実施例を示す
図であって、第1図は発注ターミナルの外観図、第2図
は制御ブロック図、第3図はRAMのメモリ構成図、第4A
図〜第4C図はCPUの処理を示す流れ図である。 3……キーボード、31……置数キー、 32……登録キー、35……取消キー、 16……ブザー、143……置数レジスタ。
FIG. 1 is a diagram showing an embodiment in which the present invention is applied to an ordering terminal. FIG. 1 is an external view of the ordering terminal, FIG. 2 is a control block diagram, FIG. 3 is a RAM memory block diagram, and FIG.
4 to 4C are flowcharts showing the processing of the CPU. 3 ... Keyboard, 31 ... Numeric key, 32 ... Register key, 35 ... Cancel key, 16 ... Buzzer, 143 ... Numeric register.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】数値データを入力するための置数キーとそ
の数値データの処理を指示するためのファンクションキ
ーとが配設されたキーボード、および前記置値キーの入
力操作により入力された数値データを入力順に記憶する
置数レジスタを有し、この置数レジスタに記憶された数
値データを前記ファンクションキーからの指示に基づい
て入力処理するデータ入力装置において、 所定のタイミングで前記置数レジスタに同一数値データ
が連続して記憶されているか否かを判断する判断手段
と、この判断手段により同一数値データが連続して記憶
されていることが判定されると警報を出力する警報出力
手段と、この出力手段により警報が出力された数値デー
タを有効とするか無効とするかを選択する選択手段と、
この選択手段により無効が選択されると前記置数レジス
タの内容をクリアする置数クリア手段とを具備したこと
を特徴とするデータ入力装置。
1. A keyboard provided with a numeral key for inputting numerical data and a function key for instructing processing of the numerical data, and numerical data inputted by an input operation of the numeral key. In a data input device that has a numerical register that stores in the order of input, and that processes the numerical data stored in the numerical register based on an instruction from the function key, is identical to the numerical register at a predetermined timing. A judging means for judging whether or not the numerical data is continuously stored; and an alarm outputting means for outputting an alarm when it is judged by the judging means that the same numerical data is continuously stored. Selection means for selecting whether to validate or invalidate the numerical data for which an alarm is output by the output means,
A data input device comprising: a register number clearing unit that clears the contents of the register number register when invalid is selected by the selecting unit.
JP2083951A 1990-03-30 1990-03-30 Data input device Expired - Lifetime JP2516697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2083951A JP2516697B2 (en) 1990-03-30 1990-03-30 Data input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2083951A JP2516697B2 (en) 1990-03-30 1990-03-30 Data input device

Publications (2)

Publication Number Publication Date
JPH03282814A JPH03282814A (en) 1991-12-13
JP2516697B2 true JP2516697B2 (en) 1996-07-24

Family

ID=13816894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2083951A Expired - Lifetime JP2516697B2 (en) 1990-03-30 1990-03-30 Data input device

Country Status (1)

Country Link
JP (1) JP2516697B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100116058A (en) * 2009-04-21 2010-10-29 삼성전자주식회사 Method for processing multi-touch input in a portable terminal

Also Published As

Publication number Publication date
JPH03282814A (en) 1991-12-13

Similar Documents

Publication Publication Date Title
JP2516697B2 (en) Data input device
WO2005006270A1 (en) Commodity registration device, commodity registration control method, and program
JP2995104B2 (en) Electronic cash register
JPH11240210A (en) Label-issuing machine
JPH10226142A (en) Operation device of electronic application apparatus
JP2599223B2 (en) Order management device
JP3103659B2 (en) Electronic cash register
JPS5846462A (en) Print processor of electronic cash register
JPS6313240B2 (en)
JP2673035B2 (en) Touch keyboard device
JPS5949659A (en) Returned article registration controlling method of electronic cash register
JP3080109B2 (en) Electronic clock
JPS6338723B2 (en)
JP2834636B2 (en) Handy scanner
JP3136245B2 (en) Key input test equipment
JP2506098B2 (en) Transaction processor
JP2000283832A (en) Commodity information retrieving apparatus
JPH01310498A (en) Electronic cash register
JPS6116090B2 (en)
JPH0664651B2 (en) Electronic cash register
JPS56135271A (en) Data processing system for returned commodity by electronic cash register
JPS5860338A (en) Input system for numerical data
JPH05204521A (en) Keyboard device
JPS59173871A (en) Electronic cash register
JPH06274762A (en) Commodity sales data processor