Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0760472B2 - Input device - Google Patents
[go: Go Back, main page]

JPH0760472B2 - Input device - Google Patents

Input device

Info

Publication number
JPH0760472B2
JPH0760472B2 JP60151772A JP15177285A JPH0760472B2 JP H0760472 B2 JPH0760472 B2 JP H0760472B2 JP 60151772 A JP60151772 A JP 60151772A JP 15177285 A JP15177285 A JP 15177285A JP H0760472 B2 JPH0760472 B2 JP H0760472B2
Authority
JP
Japan
Prior art keywords
key
condition
register
input
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60151772A
Other languages
Japanese (ja)
Other versions
JPS6211992A (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.)
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 JP60151772A priority Critical patent/JPH0760472B2/en
Publication of JPS6211992A publication Critical patent/JPS6211992A/en
Publication of JPH0760472B2 publication Critical patent/JPH0760472B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はECR(電子式金銭登録機)などでコンパルソ
リー機能をもった入力装置に関するものである。
The present invention relates to an input device having a compulsory function such as an ECR (electronic cash register).

[従来の技術] 従来、コンパルソリー機能をもったECRでは、登録開始
前または登録終了後の何れかにコンパルソリーをかける
ようになっている。
[Prior Art] Conventionally, in ECRs having a compulsory function, the compulsory is applied either before registration is started or after registration is completed.

即ち、登録開始前にかけるものでは、例えば<客数>釦
コンパルソリーの場合、客数入力を行わないと登録処理
には入れない。
That is, in the case of the call before the registration starts, for example, in the case of the <customer number> button compulsory, the registration process cannot be performed unless the customer number is input.

他方、登録終了後にかけるものでは、例えば<税/奉>
コンパルソリーの場合、<税/奉>入力操作を行わない
と<現/預>釦の入力操作が行えない。
On the other hand, if you call after registration, for example, <tax / service>
In the case of compulsory, the input operation of the <cash / deposit> button cannot be performed unless the <tax / service> input operation is performed.

[発明が解決しようとする課題] このように従来のものでは、登録処理の開始前または登
録後の何れかでしかコンパルソリーがかけられないか
ら、登録途中で所定条件下になるとコンパルソリーがか
けられるというような特別な例、たとえば小計金額が1
万円を越えたときに割引きを行うなどのコンパルソリー
をかけるというようなことができず、大変不便である。
[Problems to be Solved by the Invention] As described above, in the related art, since the compulsory is applied only before the start of the registration process or after the registration, it is said that the compulsory is applied under a predetermined condition during the registration. Such a special case, for example, the subtotal amount is 1
It is very inconvenient because you cannot do a compulsory such as giving a discount when the amount exceeds 10,000 yen.

またコンパルソリー機能をもっていると、実際には不要
な場合でも必ずそのコンパルソリーの操作を行わねばな
らないから、無駄なキー操作が発生する煩雑さもある。
In addition, if the compulsory function is provided, the compulsory must be operated even when it is not actually needed, and thus there is the complication of unnecessary key operation.

この発明の課題は、特定キーに対応して予め記憶された
条件が満たされた際に、特定キー以降のキー入力を予め
特定キーに対応して記憶された複数のキーコードに限定
し、この複数のキーコード以外の他のキーコードが入力
された際にエラー処理を行ない、特定キー以降のキー入
力を予め設定されたキーシーケンスに限定できるように
することである。
An object of the present invention is to limit a key input after a specific key to a plurality of key codes stored in advance corresponding to a specific key when a condition stored in advance corresponding to the specific key is satisfied, An error processing is performed when a key code other than a plurality of key codes is input, so that the key input after a specific key can be limited to a preset key sequence.

[課題を解決するための手段] この発明の手段は、特定キーのキーコード、この特定キ
ーに対応して入力限定を行なう条件、及びこの条件が満
たされた際にキー入力を限定するための複数のキーコー
ドを含むキーシーケンスを記憶する条件記憶手段と、 入力されたキーが上記条件記憶手段に記憶された上記特
定キーか否かを判別するキー判別手段と、 このキー判別手段により上記特定キーが判別されたとき
に上記条件記憶手段から上記特定キーに対応する上記条
件を読み出して、上記条件が満たされたか否かを判別す
る条件判別手段と、 この条件判別手段により上記条件が満たされたと判別さ
れたときに、上記条件記憶手段から上記特定キーに対応
する複数のキーコードを読み出し、上記特定キー以降の
キー入力を読み出された上記複数のキーコードに限定
し、上記複数のキーコード以外の他のキーコードが入力
された際にエラー処理を行なうキー入力制限手段と を具備したことを特徴とする。
[Means for Solving the Problem] The means of the present invention is to provide a key code of a specific key, a condition for limiting the input corresponding to the specific key, and a key input when the condition is satisfied. Condition storing means for storing a key sequence including a plurality of key codes; key determining means for determining whether or not the input key is the specific key stored in the condition storing means; When the key is discriminated, the condition corresponding to the specific key is read out from the condition storing means, and the condition discriminating means for discriminating whether or not the condition is satisfied, and the condition discriminating means satisfies the condition. When it is determined that a plurality of key codes corresponding to the specific key are read from the condition storage means, the plurality of key inputs after the specific key are read. It is limited to the key code, and key input limiting means for performing an error process when a key code other than the plurality of key codes is input.

[作用] この発明の手段の作用は次の通りである。[Operation] The operation of the means of the present invention is as follows.

キーが入力されると、キー判別手段は入力されたキーが
条件記憶手段に記憶された特定キーか否かを判別し、特
定キーが判別されたときに条件判別手段は条件記憶手段
から特定キーに対応する条件を読み出して、条件が満た
されたか否かを判別する。
When a key is input, the key determination means determines whether or not the input key is the specific key stored in the condition storage means, and when the specific key is determined, the condition determination means causes the condition storage means to output the specific key. The condition corresponding to is read and it is determined whether or not the condition is satisfied.

そして、条件判別手段により条件が満たされたと判別さ
れたときに、キー入力制限手段は条件記憶手段から特定
キーに対応する複数のキーコードを読み出し、特定キー
以降のキー入力を読み出された複数のキーコードに限定
し、この複数のキーコード以外の他のキーコードが入力
された際にエラー処理を行なう。
When the condition determining unit determines that the condition is satisfied, the key input limiting unit reads a plurality of key codes corresponding to the specific key from the condition storing unit, and a plurality of key inputs after the specific key are read. The key code is limited to the above key code, and error processing is performed when a key code other than the plurality of key codes is input.

[第1実施例] 以下、第1図ないし第3図を参照して第1実施例を説明
する。
[First Embodiment] A first embodiment will be described below with reference to FIGS. 1 to 3.

第1図はECR(電子式金銭登録機)の回路図である。入
力部1には電源オフ、登録、設定、精算、点検の各モー
ドを設定する。モードキー1A、置数キー1B、部門別キー
1C、税/奉キー1D、クリアキー1E、客キー1F、小計キー
1G、現/預キー1H、%−キー1I、%+キー1J、その他フ
ァンクションキー1Kが夫々設けられており、また各キー
の出力はCPU2に入力して処理される。而してこのCPU2は
このECRのすべての動作を制御する回路であり、演算部2
A、制御部2Bのほか、今回キーコードがセットされるA
レジスタ、検索キーコードがセットされるBレジスタ、
条件データがセットされるCレジスタ、条件フラグがセ
ツトされるDレジスタ、小計等の入力データがセットさ
れるEレジスタ、アドレスがセットされるaレジスタ、
a′レジスタが設けられている。
FIG. 1 is a circuit diagram of an ECR (electronic cash register). The input unit 1 is set to power off, registration, setting, settlement, and inspection modes. Mode key 1A, Numeric key 1B, Department key
1C, tax / service key 1D, clear key 1E, customer key 1F, subtotal key
1G, cash / deposit key 1H,%-key 1I,% + key 1J, and other function keys 1K are provided respectively, and the output of each key is input to CPU 2 for processing. This CPU2 is a circuit that controls all the operations of this ECR.
In addition to A and control unit 2B, this time the key code is set A
Register, B register where search key code is set,
C register to set condition data, D register to set condition flag, E register to set input data such as subtotal, a register to set address,
An a'register is provided.

RAM3合計メモリ3Aとキーシーケンスメモリ3Bとから成
り、而してキーシーケンスメモリ3Bにはコンパルソリー
機能のキーシーケンスがプリセットされている。
RAM 3 is composed of a total memory 3A and a key sequence memory 3B, and a key sequence of the compulsory function is preset in the key sequence memory 3B.

ROM4はキーシーケンスメモリ3Bにセットされているキー
シーケンス以外のキー操作手順等が固定的にセットされ
ているメモリである。
The ROM 4 is a memory in which key operation procedures other than the key sequences set in the key sequence memory 3B are fixedly set.

またCPU2にはそのほかにドロア5、印字部6、表示部7
が接続されている。
In addition to the CPU 2, a drawer 5, a printing unit 6, and a display unit 7 are also provided.
Are connected.

次に第2図および第3図を参照して動作を説明する。い
まキーシーケンスメモリ3BのエリアM1〜M5のアドレス1
には、第2図に示すように夫々、キーコードとして「00
2」、キャラクタコードとして「小計」、次回キーコー
ドとして「[1][0][%−][現/預][E]」、
条件フラグ“0"、条件データ「小計≧10000」がプリセ
ットされているものとする。
Next, the operation will be described with reference to FIGS. 2 and 3. Address 1 of area M1 to M5 of key sequence memory 3B
As shown in Fig. 2, the key code is "00".
2 ”, the character code is“ subtotal ”, the next key code is“ [1] [0] [% −] [cash / deposit] [E] ”,
It is assumed that the condition flag “0” and the condition data “subtotal ≧ 10000” are preset.

またキーシーケンスメモリ3BのエリアM1〜M5のアドレス
2には、キーコードとして「002」、キャラクタコード
として「小計」、次回キーコードとして「[税/奉]
[現/預][E]」、条件フラグ“0"、条件データ「小
計/客≧2500」がプリセットされているものとする。
Also, in address 2 of areas M1 to M5 of the key sequence memory 3B, the key code is "002", the character code is "subtotal", and the next key code is "[tax / service].
[Cash / deposit] [E] ”, condition flag“ 0 ”, and condition data“ subtotal / customer ≧ 2500 ”are preset.

そしていま、あるお客が買物をしてその登録処理を行う
と、小計キー1Gを操作するまでは、置数キー1B、部門別
キー1Cが操作されるから第3図のフローチャートにおい
てステップA1、A2、A3が繰返し実行される。そして小計
キー1Gを操作すると演算部2Aによりその小計金額が算出
され、Eレジスタにセットされる。そしてステップA2か
らA4に進み、aレジスタが+1されて「1」となり、次
にステップA5によりBレジスタにキーシーケンスメモリ
3BのエリアM1のアドレス1のデータ「002」がBレジス
タにセットされ、次にステップA6によりAレジスタ内の
キーコード「002」と比較され、一致するからYESとなっ
てステップA8に進み、アドレス1のエリアM4の条件フラ
グ“0"がDレジスタにセットされ、次にステップA8によ
りDレジスタが“1"か否かが判断され、NOとなってステ
ップA9に進み、アドレス1のエリアM5の条件データ「小
計≧10000」がCレジスタにセットされ、次にステップA
10ではこのCレジスタのデータとEレジスタの小計金額
との比較が行われる。而して今回の小計金額が、10000
円以上であったときにはステップA11に進み、アドレス
1のエリアM3の次回キーコードがアドレス1のエリアM
6、M7、M8、M9に順次転送セットされる。そしてステッ
プA12ではアドレス1のエリアM4に条件フラグ“1"がセ
ットされ、ステップA13では、a′レジタに「6」がセ
ットされて、また、ステップA14では、M(a′)のデ
ータがBレジスタにセットされる。また、いま小計が10
000円以上であるから小計キー1Gの操作後、「10、%
−、現/預」のキー操作がなされるが、この場合置数
「1」が入力されるまで待機し、置数されるとステップ
A15ではそれを判断し、キー入力コードをAレジスタに
セットして、ステップA16に進む。
Now, when a customer makes a purchase and performs the registration process, the numeric keys 1B and department keys 1C are operated until the subtotal key 1G is operated, so steps A1 and A2 in the flowchart of FIG. 3 are operated. , A3 are repeatedly executed. When the subtotal key 1G is operated, the calculation unit 2A calculates the subtotal amount and sets it in the E register. Then, from step A2 to A4, the a register is incremented by 1 to become "1", and then the key sequence memory is stored in the B register in step A5.
The data "002" of address 1 in the area M1 of 3B is set in the B register, and then it is compared with the key code "002" in the A register in step A6. Since they match, YES is returned to step A8 and the address is set. The condition flag “0” of the area M4 of 1 is set in the D register, and then it is determined in step A8 whether or not the D register is “1”, the result is NO and the process proceeds to step A9. Condition data “subtotal ≧ 10000” is set in the C register, and then step A
At 10, the data in the C register is compared with the subtotal amount in the E register. And the subtotal amount of this time is 10,000
If it is equal to or more than the circle, the process proceeds to step A11, and the next key code of the area M3 of address 1 is the area M of address 1
6, transfer set to M7, M8, M9 sequentially. Then, in step A12, the condition flag "1" is set in the area M4 of address 1, in step A13, "6" is set in the a'resistor, and in step A14, the data of M (a ') is set to B. It is set in the register. Also, the subtotal is now 10
Since it is over 000 yen, after operating the subtotal key 1G, "10,%
-The key operation of "cash / deposit" is performed. In this case, wait until the number "1" is entered, and when the number is entered, step
In A15, that is judged, the key input code is set in the A register, and the process proceeds to step A16.

そして、ステップA16ではAレジスタの内容とBレジス
タの内容とを比較して、一致していればステップA17へ
と進み、キー入力されたデータに基づく処理が実行され
ステップA19へと進み、不一致であればエラー処理(ス
テップA18)を実行した後ステップA1へ戻る。また、ス
テップA19ではa′レジスタが+1されて「7」となりM
7の内容がBレジスタにセット(ステップA20)され、ス
テップA21へと進む。そして、ステップA21ではBレジス
タの内容がエンドコードであるか否かの判断、即ち小計
キー操作以後の一連の所定キー操作が終了したか否かが
判断されるが、この場合エンドコードではないのでステ
ップA15に進んで前述と同様の処理が順次実行される。
そうして、ステップA21にて次のキーコードがエンドコ
ードであると判断されると、ステップA22へと進んでM6
〜Mnの内容をクリアしてステップA4へと進み、順次キー
シーケンスメモリ3Bを検索して、入力されたキーコード
と同一のキーコードが検索され、しかも、以前に入力さ
れたことを示す条件フラグがセットされていない場合、
以上の処理を順次実行する。
Then, in step A16, the contents of the A register and the contents of the B register are compared, and if they match, the process proceeds to step A17, where the process based on the data input by the key is executed, and the process proceeds to step A19, where there is a mismatch. If there is, error processing (step A18) is executed and then the process returns to step A1. Also, in step A19, the a'register is incremented by 1 to become "7" and M
The contents of 7 are set in the B register (step A20), and the process proceeds to step A21. Then, in step A21, it is determined whether or not the content of the B register is the end code, that is, it is determined whether or not a series of predetermined key operations after the subtotal key operation are completed, but in this case, it is not the end code. The process proceeds to step A15, and the same processes as described above are sequentially executed.
Then, when it is determined that the next key code is the end code in step A21, the process proceeds to step A22 and M6
~ Clear the contents of Mn and proceed to step A4, sequentially search the key sequence memory 3B for the same key code as the entered key code, and also the condition flag indicating that it was previously entered. If is not set,
The above processing is sequentially executed.

また、上記ステップA6でAレジスタとBレジスタとのキ
ーコードとが不一致であると判断されるとステップA23
へと進んでキーシーケースメモリ3Bの検索アドレスが最
終アドレスか否かが判断され、もし、最終アドレスでな
ければステップA4へと進んで処理が続行され、他方最終
アドレスであればステップA24へと進んで、もし、M4に
フラグが1つもセットされていなければ(図示せず)通
常のファンクション処理を実行してステップA25へと進
み、a、a′レジスタ及びM4の内容をクリアしてステッ
プA1へと戻る。
If it is determined in step A6 that the key codes of the A register and B register do not match, step A23
Then, it is determined whether or not the search address of the key case memory 3B is the final address, and if it is not the final address, the process proceeds to step A4, and if it is the final address, the process proceeds to step A24. If no flag is set in M4 (not shown), a normal function process is executed to proceed to step A25, where the contents of a, a'register and M4 are cleared and step A1 Return to.

一方、小計金額が10000円以下のときにはステップA10か
らステップA4に戻り、ステップA5、A6、A23がaレジス
タのデータがnになるまで繰返されて終了する。
On the other hand, when the subtotal amount is 10,000 yen or less, the process returns from step A10 to step A4, and steps A5, A6 and A23 are repeated until the data in the a register becomes n, and the process ends.

またあるお客の小計金額が2500円以上で、第2図のアド
レス2に示すように、小計操作ののち、更に[税/
奉]、[現/預]操作を行った場合には、上述した動作
によってaレジスタが「2」になったときに、ステップ
A5、A6が実行され、更にステップA7、A8、A9、A10、A1
1、A12、A13、A14、A15、A16、A17、A19、A20、A21、A1
5、A16、A17、A19、A20、A21、A22、が夫々同様に実行
されてコンパルソリーが実行される。
Also, if the subtotal amount of a customer is 2500 yen or more, as shown in Address 2 in Fig. 2, after the subtotal operation, [tax /
If you perform a [Bong] or [Cash / Deposit] operation, when the a register becomes "2" by the above-mentioned operation, step
A5, A6 are executed, and further steps A7, A8, A9, A10, A1
1, A12, A13, A14, A15, A16, A17, A19, A20, A21, A1
5, A16, A17, A19, A20, A21, A22 are similarly executed, respectively, and the compulsory is executed.

一方、2500円以下ならばステップA4、A5、A6、A23がa
レジスタがnになるまで繰返されて終了する。
On the other hand, if it is 2500 yen or less, steps A4, A5, A6, A23 are a
The process is repeated until the register becomes n, and the process ends.

[第2実施例] 次に第4図ないし第8図を参照して第2実施例を説明す
る。
Second Embodiment Next, a second embodiment will be described with reference to FIGS. 4 to 8.

第4図はその回路図を示すが、第1実施例と同一部分に
は同一番号を付し、説明を省略する。而して入力部1に
はあらたにアレンジメントキー1Lが設けられ、アレンジ
メント処理を実行指示するようになっている。またDレ
ジスタにはエリアM3のアレンジメントコードがセットさ
れる。
FIG. 4 shows a circuit diagram thereof, but the same parts as those in the first embodiment are designated by the same reference numerals and the description thereof will be omitted. Thus, the input section 1 is newly provided with an arrangement key 1L for instructing execution of the arrangement process. The arrangement code of area M3 is set in the D register.

次に動作を説明する。いま第5図に示すように、キーシ
ーケンスメモリ3Bのアドレス1、2の各エリアM1〜M4に
は図示するようなコンパルソリーのためのデータがプリ
セットされているものとする。而してこのデータ設定操
作は第6図に示すように行えばよい。即ち、モードキー
1Aにより設定モードにし、次に現/預キー1H、小計キー
1G、置数キー1Bの1、0のキー、%−キー1I、アレンジ
メントキー1Lを操作するとアドレス1に第5図に示すよ
うに条件データ等がプリセットされる。アドレス2につ
いても同様である。
Next, the operation will be described. Now, as shown in FIG. 5, it is assumed that data for compulsory as shown in the figure is preset in each area M1 to M4 of addresses 1 and 2 of the key sequence memory 3B. Then, this data setting operation may be performed as shown in FIG. That is, the mode key
1A to enter setting mode, then cash / deposit key 1H, subtotal key
When 1G, the 1 and 0 keys of the numeral keys 1B, the% -key 1I, and the arrangement key 1L are operated, the condition data and the like are preset in the address 1 as shown in FIG. The same applies to the address 2.

またこのようなプリセットデータをクリアするときに
は、この設定モードにおいて、現/預キー1H、小計キー
1G、置数キー1Bの1、0のキー、%−キー1I、クリアキ
ー1Eを順次操作すればよい。
In addition, when clearing such preset data, in this setting mode, the cash / deposit key 1H, subtotal key
1G, the 1 and 0 keys of the numeric keypad 1B, the% -key 1I, and the clear key 1E may be operated sequentially.

次にいま、第7図(1)に示すキー操作を行って登録を
行った場合、現/預キー1Hを操作するまでは第8図のフ
ローチャートのステップB1、B2、B3が繰返され、データ
が入力する。そして現/預キー1Hを操作するとステップ
B2からステップB5に進み、aレジスタが+1されて
「1」となり、次にステップB6でBレジスタにアドレス
1のエリアM1のキーコード「001」がセットされ、次に
ステップB7ではAレジスタの今回のキーコード「001」
との比較が行われ、YESとなってステップB8に進み、エ
リアM4の条件データ小計≧10000がCレジスタにセット
され、次にステップB9ではこのCレジスタのデータに基
づきEレジスタにセットされている今回の小計データ15
00円と比較される。そして条件を満たさないからステッ
プB12に進み、aレジスタがnか否かが判断され、NOで
あるからステップB5に戻り、aレジスタが「2」とな
る。
Next, when the key operation shown in FIG. 7 (1) is performed for registration, steps B1, B2, B3 of the flowchart in FIG. 8 are repeated until the cash / deposit key 1H is operated, and the data is stored. To enter. And when you operate the cash / deposit key 1H, step
From B2 to step B5, the a register is incremented by 1 to become "1", then the key code "001" of the area M1 of the address 1 is set in the B register in step B6, and next in the step B7 the A register this time. Key code of "001"
Is compared with YES, the process proceeds to step B8, condition data subtotal ≧ 10000 of area M4 is set in the C register, and then in step B9, it is set in the E register based on the data in the C register. Subtotal data 15
Compared to 00 yen. Then, since the condition is not satisfied, the routine proceeds to step B12, where it is judged whether or not the a register is n, and when it is NO, the routine returns to step B5 and the a register becomes "2".

次にステップB6、B7、B8が実行され、B9ではアドレス2
の条件データ小計/客≧2500を満たさないことが判断さ
れ、ステップB12を介しステップB5に戻る。そして以
後、aレジスタがnとなるまで上述した動作が繰返され
る。
Then steps B6, B7 and B8 are executed, and at B9 address 2
It is determined that the condition data subtotal / customer ≧ 2500 is not satisfied, and the process returns to step B5 via step B12. After that, the above-described operation is repeated until the a register becomes n.

一方、ステップB12にてYESとなるとステップB13に進ん
でaレジスタがクリアされ、ステップB4に進んで各ファ
ンクション処理(実施例では現/預キーによる締メ処
理)実行後ステップB1に戻る。
On the other hand, if YES in step B12, the process proceeds to step B13, the a register is cleared, and the process proceeds to step B4 to execute each function process (in the embodiment, the tightening process by the present / deposit key) and then return to step B1.

また第7図(2)のようなキー操作例、即ち、1人の客
の小計が2500円を越えて現/預キー1Hの操作を行ったと
きには、ステップB9にてアドレス2の条件データを満た
したことが判断され、ステップB10に進む。そしてエリ
アM3(アドレス2)のデータ[小計][税/奉][E]
がDレジスタに転送され、ステップB11によりこのDレ
ジスタに基づくアレンジメント処理が行われる。そして
ステップB12に進む。
Further, when the key operation example as shown in FIG. 7 (2), that is, when the subtotal of one customer has operated the cash / deposit key 1H for more than 2500 yen, the condition data of address 2 is set in step B9. It is determined that the condition is satisfied, and the process proceeds to step B10. And area M3 (address 2) data [subtotal] [tax / service] [E]
Are transferred to the D register, and the arrangement process based on the D register is performed in step B11. Then, the process proceeds to step B12.

更に、第7図(3)のような登録が行われた場合、即
ち、アドレス1の条件データを満たす場合には、ステッ
プB9、B10、B11が実行され、ステップB12に進む。
Further, when the registration as shown in FIG. 7 (3) is performed, that is, when the condition data of the address 1 is satisfied, steps B9, B10 and B11 are executed, and the process proceeds to step B12.

更にまた第7図(4)に示すように、アドレス1、2の
両条件データを満たす登録処理の場合も上述したステッ
プB9〜B11が夫々実行され、ステップB12に進む。このよ
うな第2実施例においては、登録途中で条件に応じてコ
ンパルソリー機能が働らいた際に予じめ設定してあるキ
ーコードを読み出してアレンジメント処理をするように
したので、キー操作する手間がはぶけ、さらに、キー入
力ミスの防止も行い得る利点を有する。
Further, as shown in FIG. 7 (4), also in the case of the registration processing satisfying both condition data of the addresses 1 and 2, the above-mentioned steps B9 to B11 are respectively executed, and the process proceeds to step B12. In the second embodiment as described above, when the compulsory function operates according to the conditions during registration, the key code set beforehand is read and the arrangement processing is performed. There is an advantage that the key input error can be prevented.

[発明の効果] この発明によれば、特定キーに対応して予め記憶された
条件が満たされた際に、特定キー以降のキー入力を予め
特定キーに対応して記憶された複数のキーコードを含む
キーシーケンスに限定し、この複数のキーコード以外の
他のキーコードが入力された際にエラー処理を行なうの
で、必要なキー入力限定を予め設定でき、無駄なキー操
作を行なう必要がなくなるという利点がある。
[Effects of the Invention] According to the present invention, when a condition stored in advance corresponding to a specific key is satisfied, a plurality of key codes stored in advance corresponding to the specific key for key input after the specific key Is limited to key sequences including, and error processing is performed when a key code other than the plurality of key codes is input, so that necessary key input limitation can be set in advance and unnecessary key operation need not be performed. There is an advantage.

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

第1図ないし第3図は本発明の第1実施例を示し、第1
図はその回路図、第2図はキーシーケンスメモリの記憶
状態図、第3図はフローチャート、第4図ないし第8図
は第2実施例を示し、第4図は回路図、第5図はキーシ
ーケンスメモリの記憶状態図、第6図はキーシーケンス
メモリへのデータ設定操作を示す図、第7図はキー操作
手順を示す図、第8図はフローチャートである。 1……入力部、1A……モードキー、1B……置数キー、1C
……部門別キー、1D……税/奉キー、1E……クリアキ
ー、1F……客キー、1G……小計キー、1H……現/預キ
ー、1I……%−キー、1J……%+キー、1K……その他フ
ァンクションキー、1L……アレンジメントキー、2……
CPU、2A……演算部、2B……制御部、3……RAM、3A……
合計メモリ、3B……キーシーケンスメモリ、4……RO
M、5……ドロア、6……印字部、7……表示部。
1 to 3 show a first embodiment of the present invention.
FIG. 4 is a circuit diagram thereof, FIG. 2 is a storage state diagram of a key sequence memory, FIG. 3 is a flowchart, FIGS. 4 to 8 show a second embodiment, FIG. 4 is a circuit diagram, and FIG. FIG. 6 is a diagram showing a storage state of the key sequence memory, FIG. 6 is a diagram showing a data setting operation to the key sequence memory, FIG. 7 is a diagram showing a key operation procedure, and FIG. 8 is a flowchart. 1 …… Input section, 1A …… Mode key, 1B …… Numeric key, 1C
...... Department key, 1D ...... Tax / Service key, 1E ...... Clear key, 1F …… Customer key, 1G …… Subtotal key, 1H …… Cash / deposit key, 1I ……% -key, 1J …… % + Key, 1K …… Other function keys, 1L …… Arrangement key, 2 ……
CPU, 2A ... Calculator, 2B ... Control, 3 ... RAM, 3A ...
Total memory, 3B ... Key sequence memory, 4 ... RO
M, 5 ... Drawer, 6 ... Printing section, 7 ... Display section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】特定キーのキーコード、この特定キーに対
応して入力限定を行なう条件、及びこの条件が満たされ
た際にキー入力を限定するための複数のキーコードを含
むキーシーケンスを記憶する条件記憶手段と、 入力されたキーが上記条件記憶手段に記憶された上記特
定キーか否かを判別するキー判別手段と、 このキー判別手段により上記特定キーが判別されたとき
に上記条件記憶手段から上記特定キーに対応する上記条
件を読み出して、上記条件が満たされたか否かを判別す
る条件判別手段と、 この条件判別手段により上記条件が満たされたと判別さ
れたときに、上記条件記憶手段から上記特定キーに対応
する複数のキーコードを読み出し、上記特定キー以降の
キー入力を読み出された上記複数のキーコードに限定
し、上記複数のキーコード以外の他のキーコードが入力
された際にエラー処理を行なうキー入力制限手段と を具備したことを特徴とする入力装置。
1. A key sequence including a key code of a specific key, a condition for limiting the input corresponding to the specific key, and a key sequence including a plurality of key codes for limiting the key input when the condition is satisfied. Condition storing means, a key determining means for determining whether or not the input key is the specific key stored in the condition storing means, and the condition storing means when the specific key is determined by the key determining means. Condition determining means for reading out the condition corresponding to the specific key from the means and determining whether or not the condition is satisfied, and storing the condition when the condition determining means determines that the condition is satisfied. The plurality of key codes corresponding to the specific key are read from the means, and the key input after the specific key is limited to the plurality of read key codes. Input apparatus characterized by comprising a key input limiting means for performing error processing when the other key code other than over de is input.
JP60151772A 1985-07-10 1985-07-10 Input device Expired - Lifetime JPH0760472B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60151772A JPH0760472B2 (en) 1985-07-10 1985-07-10 Input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60151772A JPH0760472B2 (en) 1985-07-10 1985-07-10 Input device

Publications (2)

Publication Number Publication Date
JPS6211992A JPS6211992A (en) 1987-01-20
JPH0760472B2 true JPH0760472B2 (en) 1995-06-28

Family

ID=15525955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60151772A Expired - Lifetime JPH0760472B2 (en) 1985-07-10 1985-07-10 Input device

Country Status (1)

Country Link
JP (1) JPH0760472B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2554981Y2 (en) * 1991-03-28 1997-11-19 カシオ計算機株式会社 Sales data processing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5938625B2 (en) * 1977-09-20 1984-09-18 三洋電機株式会社 Electronic cash register memory device
JPS54110751A (en) * 1978-02-17 1979-08-30 Casio Comput Co Ltd Electronic cash register
JPS5872050U (en) * 1981-11-11 1983-05-16 カシオ計算機株式会社 Receipt printing device

Also Published As

Publication number Publication date
JPS6211992A (en) 1987-01-20

Similar Documents

Publication Publication Date Title
US4302816A (en) Key input control apparatus
US4771383A (en) Sales data processing apparatus
JPH0760472B2 (en) Input device
JPH06290345A (en) Electronic cash register
JP2506098B2 (en) Transaction processor
JPS61168095A (en) Electronic cash register
US4766578A (en) Method of setting time in digital clock and system therefor
JPS60142496A (en) Electronic type cash register
JPH028357B2 (en)
JPS62120595A (en) Sales data processing device
JPS6075993A (en) Electronic cash register
JPH0610434Y2 (en) Small electronic calculator
JPS601677B2 (en) Electronic cash register printing method
JPH07306834A (en) Electronic computer
JPS5773465A (en) Electronic register
JPS61110265A (en) Input data processor
JPH0749593Y2 (en) Sales data processor
JP2526181Y2 (en) Small electronic calculator
JPS605428Y2 (en) Electronic register with return registration function
JPH1098461A (en) Communication device, communication method, and medium recording communication control program
JPH06259659A (en) Pos terminal equipment
JPS58144966A (en) Electronic cash register
JPS6019296A (en) Electronic cash register
JPS6133223B2 (en)
JPH1049502A (en) Checking device