JPH0329016A - Key input device for vending machine - Google Patents
Key input device for vending machineInfo
- Publication number
- JPH0329016A JPH0329016A JP1164154A JP16415489A JPH0329016A JP H0329016 A JPH0329016 A JP H0329016A JP 1164154 A JP1164154 A JP 1164154A JP 16415489 A JP16415489 A JP 16415489A JP H0329016 A JPH0329016 A JP H0329016A
- Authority
- JP
- Japan
- Prior art keywords
- key
- data
- mode
- input
- cpu
- 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
Links
- 238000012545 processing Methods 0.000 claims description 25
- 239000000758 substrate Substances 0.000 claims description 7
- 238000000034 method Methods 0.000 abstract description 33
- 238000012360 testing method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000012790 confirmation Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】 (イ)産業上の利用分野 本発明は自動販売機のキー入力装置に関する。[Detailed description of the invention] (b) Industrial application fields The present invention relates to a key input device for a vending machine.
(ロ〉従来の技術
自動販売機を運用し管理していくには、販売する商品の
価格や補給数等の種々のデータを設定したり、また自動
販売機が保持している売上集計データや収納商品数等の
種々のデータを確認する作業が必要となる.モしてこの
ような作業は、キー入力により自動販売機に所定のモー
ドを指定して行なうのが一般的であるが、自動販売機の
機能が多用化,高度化するのに伴ないかかるモードの数
も増大して、キー入力の方法が複雑化してきている.そ
のため昨今においては、自動販売機を熟知したものしか
データを設定したり確認したりすることができないのが
実情である.
そこで特開昭61−216096号公報には、自動販売
機の設定モードを第1および第2のモード群に分け、第
1のモード群に属する設定モードに対しては互いに異な
る番号を割当てておき、その番号のキー入力により設定
モードを指定し、第2のモード群に属する設定モードに
ついて#まモードキーが操作される毎にモードを歩進す
ることにより設定モードを指定するよう構成することで
、自動販売機のより複雑化する設定内容に対応しながら
、かつより製品知識の少ない人でも容易に自動販売機の
日常的な運用に十分な程度の操作ができるようにしたキ
ー入力方法についてか開示されている.
(ハ)発明が解決しようとする課題
上記の従来技術は、一部のモードを簡略化されたキー操
作により指定できるようにしたものである。しかしなが
らこの方法でも、キーの操作面には自動販売機を熟知し
た人が押すキーと知識の少ない人が押すキーとが一緒に
配列されているためにかえって紛わしく、操作がしづら
いという課題がある.
したがって本発明は、弾性押圧板に配列しているキー表
示部を押圧するとキー接点がオンしてキー入力を行なえ
るように構成し、このとき弾性押圧板は、専門家が操作
するキー表示部を配列しているものと、知識の少い人が
操作するキー表示部を配列しているものとの2通り設け
、これを使い分けることで入力方法を選択できるように
した自動販売機のキー入力装置を提供するものである。(B) Conventional technology In order to operate and manage a vending machine, it is necessary to set various data such as the price of the products to be sold and the number of supplies, and also to set the sales aggregated data held by the vending machine. It is necessary to confirm various data such as the number of stored products.This kind of work is generally performed by specifying a predetermined mode on the vending machine by key input, but automatic As the functions of vending machines become more versatile and sophisticated, the number of modes has also increased, and the key input method has become more complex.As a result, only those who are familiar with vending machines are able to input data these days. The reality is that it is not possible to set or confirm settings.Therefore, in Japanese Patent Application Laid-Open No. 61-216096, the setting modes of vending machines are divided into the first and second mode groups, and the first mode Different numbers are assigned to the setting modes belonging to a group, and the setting mode is specified by key input of that number, and each time the # mode key is operated for a setting mode belonging to the second mode group, the mode is changed. By configuring the configuration to specify the setting mode by advancing the steps, it is possible to handle increasingly complex vending machine settings while also making it easier for people with less product knowledge to easily operate the vending machine on a daily basis. (c) Problems to be Solved by the Invention The above-mentioned prior art does not allow for specifying some modes using simplified key operations. However, even with this method, the keys that would be pressed by someone who is familiar with vending machines and the keys that would be pressed by someone with less knowledge of vending machines are arranged together on the key operation surface, which can lead to confusion. Therefore, the present invention is configured such that when the key display section arranged on the elastic pressing plate is pressed, the key contact is turned on and key input can be performed. There are two types of boards: one with a key display array that can be operated by experts, and one with a key display array that can be operated by people with little knowledge, and by using these differently, it is possible to select input methods. To provide a key input device for a vending machine that allows selection.
(二〉課題を解決するための手段
上記課題を解決するために本発明による自動販売機のキ
ー入力装置は、表面に複数のキー接点を備えた基板と、
該基板の表面に重ねたときに所定の前記キー接点にそれ
ぞれ対応する複数のキー表示部をその表面に有する第1
弾性押圧板と、同じく前記基板の表面に重ねたとき所定
の前記キー接点にそれぞれ対応する複数のキー表示部を
その表面に有する第2弾性押圧板と、前記第F弾性押圧
板または前記第2弾性押圧板のいずれの操作による入力
モードであるかを検知するモード検出手段と、前記キー
接点のオンを検知すると当該キー接点の種類とそのとき
の前記入力モードの種類を示す所定のキー入力データを
自動販売機の制御部に出力する処理手段とを具備してい
る。(2) Means for Solving the Problems In order to solve the above problems, a key input device for a vending machine according to the present invention includes a substrate having a plurality of key contacts on its surface;
A first device having a plurality of key display portions on its surface, each corresponding to a predetermined key contact point when stacked on the surface of the substrate;
an elastic pressing plate; a second elastic pressing plate having on its surface a plurality of key display portions respectively corresponding to predetermined key contact points when stacked on the surface of the substrate; and the F-th elastic pressing plate or the second elastic pressing plate; mode detecting means for detecting which operation of the elastic press plate is the input mode; and when detecting that the key contact is turned on, predetermined key input data indicating the type of the key contact and the type of the input mode at that time. and processing means for outputting the information to a control unit of the vending machine.
(0作用
キー入力装置の操作者は、希望する入カモードに対応す
る弾性押圧板が基板上に配置された状態でキー表示部を
押し圧する.そしてこれによりキー接点がオンすると、
処理手段は、オンしたキー接点の種類とそのときの入力
モードの種類を示すキー入力データを自動販売機の制御
部に出力する.自動販売機の制御部はこのキー入力デー
タを解析して入力内容を判別する.
(へ)実施例
第1図及び第2図はこの発明によるキー入力装置の実施
例を示している。まずキー入力装置1はケース2を含み
、このケース2の中に多数のキー接点13が配列された
基板4が内蔵されるとともに、ケース2の表面には、表
示器5及びキー配列部6が設けられている.
キー配列部6は、弾性押圧板7の表面に複数のキー表示
部8を配列して成り、各キー表示部8は第3a図に示す
ごとくキー接点13にそれぞれ対応させるとともに、こ
れらキー接点3は所定の間隙9を介して弾性押圧板7と
平行となるように構成している.この間隙9は、キー表
示部8の押し圧(F.)L.たときに、これに対応する
キー接点3が弾性押圧板7との接触によりオンできる寸
法となっている.
またケース2は、ケース2の本体に対して摺動自在なカ
バー10を有しており、このカバー10には、弾性押圧
板7Aの表面に複数のキー表示部8Aを配列して或るキ
ー配列部6Aを設けている.キー配列部6Aは、カバー
10がケース2の本体と第2図に示す状態で重なったと
き、全てのキー表示部8Aがキー接点13に対応するよ
うに構成している.そしてカバー10をケース2の本体
に重ねると、弾性押圧板7Aは弾性押圧板7の上方に位
置して、この状態でキー表示部8Aを押し圧(F,〉す
ると、これに対応する接点3が弾性押圧板7との接触に
よりオンするようになっている.
キー配列部6のキー表示部8を押し圧することでキー接
点13を操作する場合と、キー配列部6Aのキー表示部
8Aを押し圧することでキー接点13を操作する場合と
では全く別の入力モードであり、前者が標準入力モード
で後者が簡易入力モードとなっている.
すなわちキー配列部6は、自動販売機を熟知している人
が操作できるような各種モードを表わすキー表示部8と
、O〜9までのそれぞれの数値を表わすキー表示部8と
を含む.キー表示部8が示す各種モードの作用は以下の
通りである。(The operator of the 0-action key input device presses the key display section with the elastic press plate corresponding to the desired input mode placed on the board. Then, when this turns on the key contact,
The processing means outputs key input data indicating the type of key contact that has been turned on and the type of input mode at that time to the control unit of the vending machine. The control unit of the vending machine analyzes this key input data and determines the input content. (F) Embodiment FIGS. 1 and 2 show an embodiment of a key input device according to the present invention. First, the key input device 1 includes a case 2. A board 4 on which a large number of key contacts 13 are arranged is built into the case 2, and a display 5 and a key arrangement section 6 are provided on the surface of the case 2. It is provided. The key arrangement section 6 is made up of a plurality of key display sections 8 arranged on the surface of an elastic press plate 7, and each key display section 8 is made to correspond to a key contact point 13, respectively, as shown in FIG. 3a. is configured to be parallel to the elastic pressing plate 7 with a predetermined gap 9 in between. This gap 9 corresponds to the pressing force (F.) L of the key display section 8. The dimensions are such that the corresponding key contact 3 can be turned on by contact with the elastic press plate 7 when the key contact 3 is pressed. Further, the case 2 has a cover 10 that is slidable with respect to the main body of the case 2, and the cover 10 has a plurality of key display portions 8A arranged on the surface of the elastic pressing plate 7A to display certain keys. An array section 6A is provided. The key arrangement section 6A is configured such that all the key display sections 8A correspond to the key contacts 13 when the cover 10 overlaps the main body of the case 2 in the state shown in FIG. When the cover 10 is stacked on the main body of the case 2, the elastic pressing plate 7A is positioned above the elastic pressing plate 7, and when the key display section 8A is pressed (F, >) in this state, the corresponding contact point 3 is turned on by contact with the elastic pressing plate 7. When operating the key contacts 13 by pressing the key display section 8 of the key arrangement section 6, and when operating the key display section 8A of the key arrangement section 6A, This is a completely different input mode from the case where the key contacts 13 are operated by pressing, the former being a standard input mode and the latter being a simple input mode. The key display section 8 includes a key display section 8 indicating various modes that can be operated by a person who is using the key display section 8, and a key display section 8 indicating each numerical value from O to 9.The functions of the various modes indicated by the key display section 8 are as follows. It is.
売上額二期間売上額、コラム別売上額など各種売上額を
確認するモード。Sales amount A mode to check various sales amounts such as sales amount for two periods and sales amount by column.
売上数:売上額のデータに対応する売上数を確認するモ
ード.
補給数:コラム毎の補給数、残数を確認し、また満杯収
容数を設定するモード。Number of sales: Mode to check the number of sales corresponding to the sales amount data. Number of supplies: A mode to check the number of supplies and remaining capacity for each column, and to set the number of full capacity.
故障:故障状況や経歴を確認するモード.テスト:テス
ト販売モード.
価格:商品の販売価格の設定・確認モード.選択:グル
ープ設定、交互販売設定、ルーレットの当たり確率設定
等各種機能の設定・確認モード.
タイマー二節電時間や販売時間などの時間の設?・確認
モード。Failure: Mode for checking failure status and history. Test: Test sales mode. Price: Mode for setting and checking the product's selling price. Selection: Setting/confirmation mode for various functions such as group settings, alternate sales settings, roulette winning probability settings, etc. Timer 2 Setting times such as power saving time and sales time?・Confirmation mode.
そしてキー配列部6は、上記のモード以外に、キー入力
時に使用する次の各種のコマンドを表わすキー表示部8
を含む.
設定/順送り:設定データの書込み、コラム・グループ
等の順送り.
終了:キ一入力の終了。In addition to the above-mentioned modes, the key layout section 6 also includes a key display section 8 that displays the following various commands used during key input.
including. Settings/Sequential forwarding: Writing of setting data, sequential forwarding of columns, groups, etc. End: End of key input.
クリア:各種データの消去、或いは初期状態へのセット
.
=:カーソルの移動.
またキー配列部6Aは、自動販売機の知識が少い人が操
作しやすいような次の各種モードとコマンドを表わすキ
ー表示部8Aを含む。Clear: Erase various data or set to initial state. =: Move the cursor. The key array section 6A also includes a key display section 8A that displays the following various modes and commands that are easy to operate for people with little knowledge of vending machines.
コラム確認:自動販売機の商品選択スイッチを押すこと
でそれに該当するコラム番号を確認するモード.
コラム設定:自動販売機の商品選択スイッチをそれぞれ
各コラムに対応するよう設定するモード.このときまた
は△のキー表示■8Aを押し圧することでコラム番号を
シフトする。Column confirmation: A mode in which you press the product selection switch on a vending machine to confirm the corresponding column number. Column setting: A mode in which the vending machine's product selection switches are set to correspond to each column. At this time or by pressing the △ key display ■8A, the column number is shifted.
連続販売テスト:予め商品選択スイッチの操作にて指定
した複数のコラムから商品を順次テスト販売するモード
.このとき「スタート.のキー表示部8Aを押し圧する
ことでテスト販売を開始し、′ストップ」のキー表示部
8Aを押し圧することでテスト販売を停止する.モして
停止後に再度「スタート」を押し圧すると、その続きま
たは指定してあるコラムからテスト販売を開始する.補
給数クリア:コラム毎の補給数のクリア.そしてキー配
列部6Aによる入力においても、売上額及び売上数のモ
ード指定はキー配列部6のキー表示部8に行なわれ、ま
た終了のコマンドもキー配列部6,6Aとも同じキー接
点3が操作される.
表示器5ほ、項目番号を2桁の数値にて表示する項目表
示部5Aと、コラム番号またはグループ番号を2桁の数
値にて表示するクルーブ・コラム表示部5Bと、データ
を6桁の数値にて表示するデータ表示部5Cとから成る
.
例えばキー配列部6による標準入力モードに拘いて1売
上数」のキー表示部8を押し圧すると、第4図aに示す
ように、項目表示部5Aには期間売上数であることを表
わすr1」が表示されるとともに、データ表示部5Cに
は自動販売機が記憶している売上数データの’1234
,が表示される.この状態で1クリア」のキー表示部8
を押し圧すれば売上数データの記憶がクリアされて、第
4図bに示すようにデータ表示部5Cの表示が「0」に
変わる.「売上数」のキー表示部を押し圧したとき項目
表示部5Aの表示はブラッシングしており、項目番号の
変更が可能であることを示している。したがって1売上
数jの押し圧につづいて12」のキー表示部8を押し圧
すると、第4図Cに示すように、項目別表示部5Aの表
示は′:1ラム別売上数であることを表わす「2,に切
り換わり、それと同時にグループ・コラム表示部5Bに
ItNQ1コラムの売上数であることを表わすr1」が
表示され、データ表示部5Cには自動販売機が記憶して
いる庵1コラムの売上数データの’365,が表示され
る。モして「=」のキー表示g,8を押し圧するとグル
ープ・コラム表示部5Bの表示がブラッシングするよう
になり、コラム山の変更が可能であることを示すように
なる.ここでr4」のキー表示部8を押し圧すると、第
4図dに示すように、グループ・コラム表示部5Bには
NQ4コラムの売上数であることを表わす「4」が表示
され、データ表示部5Cには自動販売機が記憶している
&4コラムの売上数データの「278」が表示される.
このような表示の各段階において、′終了」のキー表示
部8を押し圧することで表示器5の表示は全て消えて待
機状態にもどる.
第5図は回路構成をブロックにて示すもので、キー接点
13はデコーダ21に接続される6本のドライブライン
15と処理手段20に接続される4本のセンスライン1
6とのX,Y座標上に配列されている.そしてデコーダ
2lは3本の信号線17にて処理手段20と接続されて
おり、処理手段20にて示される3ビットのデータに基
づき所定のドライブライン15を駆動するようになって
いる.処理手段20はデコーダ21に3ビットのデータ
を出力するとセンスライン16を走査して、駆動したド
ライブライン15に配列されている何れのキー接点13
がオンしているかを検出するもので、具体的にはCPU
にて構成される。また処理手段20には、標準入力モー
ドまたは簡易入力モードの何れの操作モードであるかを
検知するモード検出手段としてのスイッチ22が接続さ
れている.このスイッチ22は、カバー10をケース2
に押し込んだときにオンするようになっている.そして
処理手段20は、キー接点13のオンを検知すると当該
キー接点とそのときの入力モードの種類を示すキー入力
データを自動販売機の制御部23に出力し、これに応じ
て制御部23より送られてくる表示データに基づき表示
器5を駆動する.
第6図はキー入力データのフォーマットを示しており、
3バイトのデータの各ビットは22個のキー接点13と
スイッチ22にそれぞれ対応しており、処理手段20は
、何れかのキー接点のオンを検出するとそれに該当する
ビットに″1″をセットして、且つ24ビット目には、
そのときの入力モードに応じて“1”(簡易入力モード
)または“O”(標準入力モード)をセットしたキー入
力データを自動販売機の制御部23に出力する。Continuous sales test: A mode in which test sales of products are performed sequentially from multiple columns specified by operating the product selection switch in advance. At this time, the test sale is started by pressing the ``Start.'' key display section 8A, and the test sale is stopped by pressing the ``Stop'' key display section 8A. If you press "Start" again after stopping, the test sale will start from the continuation or the specified column. Clear supply number: Clear the supply number for each column. When inputting data using the keyboard layout section 6A, the sales amount and number of sales modes are specified on the key display section 8 of the keyboard layout section 6, and the end command is also operated using the same key contacts 3 in both the keyboard layout sections 6 and 6A. It will be done. The display 5 includes an item display section 5A that displays the item number as a two-digit number, a club column display section 5B that displays the column number or group number as a two-digit number, and a six-digit number that displays the data. It consists of a data display section 5C that is displayed on the screen. For example, in the standard input mode using the key arrangement section 6, if you press the key display section 8 for "Number of sales per year", as shown in FIG. '' is displayed, and the data display section 5C displays '1234' of the sales data stored in the vending machine.
, is displayed. "1 clear in this state" key display section 8
If you press , the memory of the sales number data will be cleared and the display on the data display section 5C will change to "0" as shown in Figure 4b. When the "Sales Number" key display section is pressed, the display on the item display section 5A is brushed, indicating that the item number can be changed. Therefore, if you press the key display part 8 of 12'' after pressing the number j of sales per 1, as shown in FIG. At the same time, the group column display section 5B displays "r1, which indicates the sales number of the ItNQ1 column", and the data display section 5C switches to "2," representing the number of sales for the ItNQ1 column. '365' is displayed as the sales number data in the column. If you press the "=" key display g, 8, the display on the group/column display section 5B will begin to brush, indicating that the column height can be changed. If you press the "r4" key display section 8, "4" representing the sales number of the NQ4 column is displayed on the group column display section 5B, as shown in FIG. 4d, and the data is displayed. In section 5C, "278" of the sales data in the &4 column stored in the vending machine is displayed.
At each stage of such display, by pressing the 'end' key display part 8, all the displays on the display 5 disappear and the machine returns to the standby state. FIG. 5 shows the circuit configuration in blocks, and the key contacts 13 are connected to six drive lines 15 connected to the decoder 21 and four sense lines 1 connected to the processing means 20.
It is arranged on the X and Y coordinates of 6. The decoder 2l is connected to a processing means 20 through three signal lines 17, and drives a predetermined drive line 15 based on 3-bit data indicated by the processing means 20. When the processing means 20 outputs 3-bit data to the decoder 21, it scans the sense line 16 and selects which key contacts 13 arranged on the driven drive line 15.
It detects whether the CPU is on or not.
Consists of. Further, a switch 22 is connected to the processing means 20 as a mode detection means for detecting whether the operation mode is the standard input mode or the simple input mode. This switch 22 connects the cover 10 to the case 2.
It turns on when you push it in. When the processing means 20 detects that the key contact 13 is turned on, the processing means 20 outputs key input data indicating the key contact and the type of input mode at that time to the control section 23 of the vending machine. The display device 5 is driven based on the sent display data. Figure 6 shows the format of key input data,
Each bit of the 3-byte data corresponds to each of the 22 key contacts 13 and switches 22, and when the processing means 20 detects that any key contact is turned on, it sets the corresponding bit to "1". And in the 24th bit,
Key input data set to "1" (simple input mode) or "O" (standard input mode) according to the input mode at that time is output to the control unit 23 of the vending machine.
自動販売機の制御部23は、CPU24 ,RAM2
5 ,ROM26及びインタフェース27とから或り、
インタフェース27は伝送線28によって処理手段20
と接続される.第7図はROM26の記憶領域を示して
おり、自動販売機の制御プログラムの領域26aと、キ
ー入力データを数字データに変換する変換テーブルの領
域26bと、ジャンプ先アドレスがプログラムされてい
る領域26cと、標準入力モードでの動作がプログラム
されている領域26dと、簡易入力モードでの動作がプ
ログラムされている領域26eと、処理SUUG Iが
プログラムされている領域26f’と、処理NASIが
プログラムされている領域26gとを含む.そして自動
販売機の制御プログラムには、CPU24がキー入力装
置1を制御するプログラムも含まれている.そしてRA
M25には各種売上額や売上数のデータ,販売価格等の
設定データ,コラム毎の補給数や残数のデータを記憶し
ており、これらデータを確認するモードがキー入力装置
1にて指定されると、CPU24は該当するデータを読
み出してキー入力装e1に伝送する.
かかるキー入力装置1を備えた自動販売機の制御部23
の動作を第8図のフローチャートに基づき説明する.
CPU24は、ステップS1にてインタフェース27を
通して処理手段20からキー入力データを受取ると、つ
ぎのステップS2に進む。The control unit 23 of the vending machine includes a CPU 24 and a RAM 2.
5, from the ROM 26 and the interface 27,
The interface 27 connects the processing means 20 by means of a transmission line 28.
is connected to. FIG. 7 shows the storage areas of the ROM 26, including an area 26a for the vending machine control program, an area 26b for a conversion table for converting key input data into numerical data, and an area 26c for programming jump destination addresses. , an area 26d where operations in standard input mode are programmed, an area 26e where operations in simple input mode are programmed, an area 26f' where processing SUUG I is programmed, and an area 26f' where processing NASI is programmed. area 26g. The control program for the vending machine also includes a program for the CPU 24 to control the key input device 1. and R.A.
The M25 stores data on various sales amounts and sales numbers, setting data such as selling prices, and data on the number of supplies and remaining quantities for each column, and the mode for checking these data is specified by the key input device 1. Then, the CPU 24 reads out the corresponding data and transmits it to the key input device e1. Control unit 23 of a vending machine equipped with such a key input device 1
The operation will be explained based on the flowchart in Figure 8. When the CPU 24 receives key input data from the processing means 20 through the interface 27 in step S1, it proceeds to the next step S2.
このステップS2においてCPU24は、キー入力デー
タをROM2Bにプログラムされている変換テーブル(
第11図)にしたがって数字データに変換する.具体的
な変換の方法を、第9図のブローチ〜一トにて説明する
.先ずCPU24は、ステップS100においては、内
部に具備し?レジスタR2 ,R3 ,R4に0.22
.8をそれぞれセットする.つぎのステップS101で
CPU2 4は、キー人カデータの1バイト目のデータ
をレジスタACCにセットし、つぎのステップS102
ではレジスタACCのOビット目のデータが″1゛であ
るかを判別する.キー入力装置が標準入カモードでr6
」のキー表示部8が押し圧されるとこの0ビット目のデ
ータは′1”となっているがr■,が押し圧されていな
いとOビット目のデータは″0”でステップS103に
進む.このステップS103では、CPU24はレジス
タR3の内容から1を減算してつぎのステップS104
に進み、ここではレジスタR3の値が0であるかを判別
する.モしてCPU24は、レジスタR3の値が0でな
いとステップS105に進んでレジスタR2の内容に1
を加算し、更にステップ8106でレジスタR4の値か
ら1を減算するとともに、つぎのステップS107でレ
ジスタR4の値がOであるかを判別する.そしてレジス
タR4の値が0でないと、CPU24はレジスタACC
のデータを1ビット右にシフトした後、ステップS10
2に戻る.これによりCPU24ほ、こんどはキー入力
データの1バイト目のデータのうちの1ビット目のデー
タが“1”であるかの判別を行なう.キー入力装置は標
準入力モードで「1」のキー表示部8が押し圧されると
、または簡易入力モードで1ストップJのキー表示部8
Aが押し圧されると、1バイト目のデータの1ビット目
には″1”をセットしている.したがってCPU24ほ
このビットにa1″がセットされているときはステップ
S111に進み、レジスタR2が記憶している1をこの
キー入力データの数字データとしてセットしてステップ
S2の処理を抜け出す.
しかるに1ビット目のデータが″0”であるとステップ
8103に進み上記処理を繰返す。そしてキー入力デー
タの1バイト目の8ビットのデータが全て“O”である
と、このときレジスタR4の内容はOとなっておりCP
U24の処理はステップS109に進む.このステップ
S109では、CPU24はキー入力データの2バイト
目のデータをレジスタACCにセットして、その後ステ
ップS102に戻る.このときレジスタR2の値ほ7と
なっており、レジスタR3の値は15となっている.モ
してCPU24はキー入力データの2バイト目の各ビッ
トのデータについて上記の処理を行なうが、例えばキー
入力装置が標準入力モードで「価格,のキー表示部8が
押し圧されたとき、または簡易入力モードで「コラム設
定.のキー表示部8Aが押し圧されたときはレジスタR
2の値は12となっており、CPU24はステップS1
11でこのときのキー入力データを12に変換してステ
ップS2の処理を抜け出す.しかしてキー人カデータの
2バイト目のデータも、1バイト目と同様全てのビット
のデータが″O”であると、CPU24はステップS1
09にてキー入力データの3バイト目のデータをレジス
タACCにセットして、ステップS102からの処理を
繰り返す.この場合3バイト目の5ビット目のデータ(
1バイト目から通算して21ビット目のデータ)までが
全て0であると、ステップS103にてレジスタR3の
値を減算したときにはその値が0となるために、CPU
24の処理はステップS104からステップS110に
進む。In this step S2, the CPU 24 converts the key input data into a conversion table (
Convert to numerical data according to Figure 11). The specific method of conversion will be explained with reference to the broach in Fig. 9. First, in step S100, the CPU 24 is internally equipped? 0.22 in registers R2, R3, R4
.. Set 8 each. In the next step S101, the CPU 24 sets the first byte of the key person data in the register ACC, and then in the next step S102.
Then, determine whether the O-th bit data of register ACC is "1".The key input device is in standard input mode and r6
'' is pressed, the 0th bit data is ``1'', but if r■, is not pressed, the 0th bit data is ``0'' and the process goes to step S103. In this step S103, the CPU 24 subtracts 1 from the contents of the register R3 and proceeds to the next step S104.
Proceed to step 3, where it is determined whether the value of register R3 is 0. If the value of register R3 is not 0, the CPU 24 proceeds to step S105 and sets the contents of register R2 to 1.
Furthermore, in step 8106, 1 is subtracted from the value of register R4, and in the next step S107, it is determined whether the value of register R4 is O. If the value of register R4 is not 0, the CPU 24 uses register ACC.
After shifting the data of 1 bit to the right, step S10
Return to 2. As a result, the CPU 24 next determines whether the first bit of the first byte of key input data is "1". When the key display part 8 of "1" is pressed in the standard input mode, or the key display part 8 of 1 stop J in the simple input mode, the key input device is activated.
When A is pressed, the first bit of the first byte of data is set to "1". Therefore, when a1'' is set in the bit of the CPU 24, the process advances to step S111, sets 1 stored in register R2 as the numerical data of this key input data, and exits from the process of step S2. However, 1 bit If the data in the first byte of the key input data is "0", the process proceeds to step 8103 and repeats the above process.If all the 8-bit data in the first byte of the key input data is "O", then the contents of register R4 are "0". It becomes CP
The process of U24 proceeds to step S109. In this step S109, the CPU 24 sets the second byte of the key input data in the register ACC, and then returns to step S102. At this time, the value of register R2 is 7, and the value of register R3 is 15. The CPU 24 then performs the above processing on each bit of the second byte of the key input data. When key display section 8A of "Column setting." is pressed in simple input mode, register R
The value of 2 is 12, and the CPU 24 executes step S1.
At 11, the key input data at this time is converted to 12, and the process of step S2 is exited. However, if all the bits of the second byte of the key data are "O" as in the first byte, the CPU 24 performs step S1.
At step S09, the third byte of the key input data is set in the register ACC, and the processing from step S102 is repeated. In this case, the data of the 5th bit of the 3rd byte (
If the data from the 1st byte to the 21st bit in total is all 0, then when the value of register R3 is subtracted in step S103, the value becomes 0, so the CPU
24 proceeds from step S104 to step S110.
このステップS110でit、CPU24はレジスタR
2にFFをセットし、つづいてステップS111でこの
FFを数字データにセットしてステップS2の処理を抜
け出す.因みにCPU24が数字データとしてFFをセ
ットするのは、何れのキー接点13も操作されなかった
と判断したことによる.しかるに例えばキー入力装置が
標準入力モードで「テスト」のキー表示部8が押し圧さ
れたとき、または簡易入力モードで1連続テスト」のキ
ー表示部8Aが押し圧されたときは、3バイト目の3ビ
ット目のデータが′1″であり、CPU24はこのとき
のレジスタR2の値18を数字データにセットしてステ
ップS2の処理を抜け出す.
ステップS2の処理を抜け出してステップS3の処理と
なると、CPU24は変換した数字デー?がFFかを判
別し、FFであればキー入力データは無効であるとして
ステップS1に復帰する.キー入力データが有効である
とステップS4の処理となり、CPU24はキー入力デ
ータの3バイト目の7ビット目のデータが“1″か″O
”かを検出することで、このとき何れの入力モードであ
るかを判別する.そしてこの7ビット目のデータが“1
”であると標準入力モードであり、CPU24の処理は
ステップS5に進む.CPU24は、ステップS5では
数字データから10を減算し、つぎのステップS6では
この減算にて桁上げが生じたかを判別する.第11図の
変換テーブルから明らかなように、標準入力モードにお
いてr■,〜r9」までの各キー表示部8が押し圧され
ると、CPU24は処理手段20より送られてくるそれ
ぞれのキー人カデータを0〜9までの数字データに変換
するが、これら数字データから10を減算すると何れの
数字データの場合にも桁上げが生じる.したがって桁上
げの発生により数字のキー表示部8が押し圧されたこと
を判別すると、CPU24の処理はステップS7に進む
。このステップS7では、CPU24はレジスタR1に
記憶するジャンプデータに0をセットし、その後ステッ
プS10に進む。In this step S110, it, the CPU 24 registers R.
FF is set to 2, and then, in step S111, this FF is set to numerical data, and the process of step S2 is exited. Incidentally, the reason why the CPU 24 sets FF as numerical data is because it has determined that none of the key contacts 13 has been operated. However, for example, when the key display section 8 of "Test" is pressed in the standard input mode of the key input device, or when the key display section 8A of "1 continuous test" is pressed in the simple input mode, the third byte is The third bit of data is '1'', and the CPU 24 sets the value 18 in register R2 at this time to numeric data and exits from the process of step S2. When exiting from the process of step S2, the process proceeds to step S3. , the CPU 24 determines whether the converted numerical data is FF, and if it is FF, the key input data is invalid and the process returns to step S1.If the key input data is valid, the process goes to step S4, and the CPU 24 determines whether the key input data is FF or not. The data in the 7th bit of the 3rd byte of input data is “1” or “O”
”, it is determined which input mode is in use at this time.Then, this 7th bit data is
”, it is the standard input mode, and the processing of the CPU 24 proceeds to step S5. In step S5, the CPU 24 subtracts 10 from the numerical data, and in the next step S6, determines whether a carry has occurred as a result of this subtraction. As is clear from the conversion table in FIG. Personal data is converted into numeric data from 0 to 9, but when 10 is subtracted from these numeric data, a carry occurs in any numeric data. Therefore, when it is determined that the numeric key display section 8 has been pressed due to the occurrence of a carry, the process of the CPU 24 proceeds to step S7. In this step S7, the CPU 24 sets the jump data stored in the register R1 to 0, and then proceeds to step S10.
また標準入力モードにおいて数字以外のキー表示部8が
押し圧されると、このときのキー入力データは10以上
の数字データであるために10を減算しても桁上げを発
生しない。この場合、CPU2 4はステップS8に進
み、数字データから10を減算した後の値をジ勺ンブデ
ータとしてレジスタR1にセットし、その後ステップS
1oに進む。Further, when the non-numeric key display section 8 is pressed in the standard input mode, the key input data at this time is numeric data of 10 or more, so even if 10 is subtracted, no carry occurs. In this case, the CPU 24 proceeds to step S8, sets the value obtained by subtracting 10 from the numerical data in the register R1 as digital data, and then steps S8.
Proceed to 1o.
一方、ステップS4の処理にて簡易入力モードであるこ
とを判別すると、CPU24の処理はステップS9に進
む.このステップS9では、CPU24は数字データに
13を加算した値をジ々ンブデー夕としてレジスタR1
にセットし、その後ステップS10に進む.
ステップSIOでは、CPU24はJMPデータに基づ
きROM26にプログラムされているジ勺ンブテーブル
(第12図)からジ勺ンブ先アドレスを読み出して、つ
ぎのステップSllではROM26のジャンプ先アドレ
スにプログラムされている処理を実行する。On the other hand, if it is determined in the process of step S4 that the mode is the simple input mode, the process of the CPU 24 proceeds to step S9. In this step S9, the CPU 24 sets the value obtained by adding 13 to the numerical data as the digital data in the register R1.
, and then proceeds to step S10. In step SIO, the CPU 24 reads the jump destination address from the jump table (FIG. 12) programmed in the ROM 26 based on the JMP data, and in the next step SIO, the jump destination address is programmed in the ROM 26. Execute processing.
このステップS11の処理において、ジャンプデータが
0でジャンプ先アドレスにSUUGIが指定されると、
CPU24は第10図のフローチャートの処理を行なう
.ジ〜ンブデータがOということは、標準入力モードで
数字のキー表示部8が押し圧されたときであるが、この
とき正常な操作手順を踏んでいれば自動販売機は売上額
,売上数,故障,テスト,補給数,価格,選択,タイマ
ーの何れかのモードにある.したがってステップS20
0においては、CPU2 4はモード指定が既になされ
ているかを判別し、モード指定がないとステップS20
2にてCPU24はエラー音を発生するよう処理手段2
0を制御する。これは上述の各モードを示しているキー
表示部8を押し圧することなしに、直接、数字のキー表
示部8が押し圧された場合であり、CPU24はエラー
処理を行なってステップSllの処理を抜け出す。In the process of step S11, if the jump data is 0 and SUUGI is specified as the jump destination address,
The CPU 24 performs the processing shown in the flowchart of FIG. Geneb data is O when the numeric key display section 8 is pressed in the standard input mode, but if the normal operating procedure is followed at this time, the vending machine will display the sales amount, number of sales, It is in one of the following modes: Failure, Test, Supply Quantity, Price, Selection, and Timer. Therefore, step S20
0, the CPU 24 determines whether the mode has already been specified, and if the mode has not been specified, the process proceeds to step S20.
2, the CPU 24 causes the processing means 2 to generate an error sound.
Controls 0. This is a case where the numerical key display section 8 is directly pressed without pressing the key display section 8 indicating each of the modes described above, and the CPU 24 performs error processing and executes the process of step Sll. Get out.
しかして正常な操作手順にしたがって、モードを示すキ
ー表示部8が押し圧された後に数字を示すキー表示部8
が押し圧されると、CPU24の処理はステップS20
1に進む。このステップS201では、CPU24はこ
のとき指定されているモードの処理がプログラムされて
いるAからLまでの何れかのアドレスにジャンプする.
またジャンプデータが0以外であるときのステップSl
lの処理では、CPU24はジャンプデータに対応する
AからWまでの何れかのアドレスにジャンプして、そこ
にプログラムされている処理を実行する。かかるプログ
ラムは売上額等ノ各種モード及びクリア等の各種コマン
ドに応じて設定されている.簡易入力モードにおいては
該当するキー表示部8Aがなく使用されないキー接点1
3があるが、この1ようなキー接点13が誤って操作さ
れたときのジャンプデータは13,16,17.1B,
19,22,26.28.29.31の何れかである.
この場合のジャンプ先アドレスにはステップSllを抜
け出ず処理NASIがプログラムされている。According to the normal operating procedure, after the key display section 8 indicating the mode is pressed, the key display section 8 indicating the number
When pressed, the process of the CPU 24 goes to step S20.
Go to 1. In this step S201, the CPU 24 jumps to any address from A to L where the processing of the mode specified at this time is programmed.
Also, step Sl when the jump data is other than 0.
In the process 1, the CPU 24 jumps to any address from A to W corresponding to the jump data and executes the process programmed there. These programs are set according to various modes such as sales amount and various commands such as clear. In the simple input mode, there is no corresponding key display part 8A and the key contact 1 is not used.
3, but when the key contact 13 like this 1 is operated by mistake, the jump data is 13, 16, 17.1B,
It is either 19, 22, 26, 28, 29, or 31.
In this case, the jump destination address is programmed with a processing NASI that does not exit step Sll.
上記した本発明によるキー入力装置1は、キー接点13
に対応するようキー表示部を配列した弾性押圧板を2種
類設け、該弾性押圧板を使い分けることで2通りの入力
を可能にしている.そして本実施例では一方の弾性押圧
板をケース2に固定にして、他方をこのケース2に対し
てスライドするよう構成したカバー10に取り付けるこ
とで両方を使い分けているが、別の例としては第13図
に示すように、カバー10をケース2に対して回動自在
なよう一端を枢支さ曖てもよい.この場合カバー10を
ケース2に閉止させたときに、カバー10に設けた突起
30により作動するスイッチ31をケース2に設けて、
処理手段20はこのスイッチ31のオン・オフに応じて
標準入力モードまたは簡易入力モードとを識別している
.更に2種類の弾性押圧板の何れもケース2に対して取
り外しができるようにして、操作者は好みの入力方法に
応じて所定の弾性押圧板をケース2にセットして、選定
した弾性押圧板の種類を切換スイッチにより指定する構
成でもよい。The key input device 1 according to the present invention described above has a key contact 13
There are two types of elastic press plates with key display sections arranged to correspond to the above, and two types of input are possible by using the elastic press plates differently. In this embodiment, one of the elastic pressing plates is fixed to the case 2, and the other is attached to the cover 10, which is configured to slide with respect to the case 2, so that both are used properly. As shown in FIG. 13, the cover 10 may be pivoted at one end so that it can rotate relative to the case 2. In this case, the case 2 is provided with a switch 31 that is activated by the protrusion 30 provided on the cover 10 when the cover 10 is closed on the case 2.
The processing means 20 identifies the standard input mode or the simple input mode depending on whether this switch 31 is turned on or off. Furthermore, both of the two types of elastic pressing plates are made removable from the case 2, and the operator sets a predetermined elastic pressing plate in the case 2 according to his/her preferred input method, and selects the selected elastic pressing plate. The configuration may be such that the type is specified by a changeover switch.
クト〉発明の効果
本発明によれば、2通りの弾性押圧板を使い分けること
で任意の入力方法を選択できるようにしたために、装置
を大型化することなく複数の入力方法を備えたキー入力
装置が提供される.そして入力方法に応じて専用のキー
表示部をそれぞれの弾性押圧板に配列するために、容易
にしかも確実に操作を行なうことができる.Effects of the Invention According to the present invention, an arbitrary input method can be selected by using two different types of elastic pressing plates, thereby providing a key input device that is equipped with a plurality of input methods without increasing the size of the device. is provided. Since dedicated key display sections are arranged on each elastic press plate according to the input method, operations can be performed easily and reliably.
第1図及び第2図は本発明によるキー入力装置の二通り
の操作態様をそれぞれ示す図、第3a図及び第3b図は
要部の側断面図を操作態様ごとに示す図、第4図はキー
入力時の表示動作を説明する図、第5図は回路構成のブ
ロック図、第6図はキー入力データのフォーマットを示
す図、第7図はROMの記憶領域を説明する図、第8図
から第10図まではキー入力時における自動販売機の制
御部の動作を説明するブローチ+−ト、第11図番よキ
一人カデータを数字データに変換する変換テーブルを示
す図、第12図はジ々ンプデー夕とこれに対応したジャ
ンプ先アドレスとを記憶したジ勺ンブテーブルを示す図
、第13図はキー入力装置の他の実施例を示す図である
。
4・・・基板、 7,7A・・・弾性押し圧板、 8
・・・キー表示部、 13・・・キー接点、 20
・・・あ理手段、 22.31・・・モード検出手段
。
第4図1 and 2 are diagrams showing two operating modes of the key input device according to the present invention, FIGS. 3a and 3b are side sectional views of main parts for each operating mode, and FIG. 4 5 is a block diagram of the circuit configuration, FIG. 6 is a diagram showing the format of key input data, FIG. 7 is a diagram explaining the storage area of the ROM, and FIG. Figures 10 to 10 are a brooch explaining the operation of the control unit of the vending machine during key input, Figure 11 is a diagram showing a conversion table for converting key data into numerical data, and Figure 12 is a diagram showing a conversion table for converting key data into numerical data. 13 is a diagram showing a jump table storing jump data and corresponding jump destination addresses, and FIG. 13 is a diagram showing another embodiment of the key input device. 4...Substrate, 7,7A...Elastic pressing plate, 8
...Key display section, 13...Key contact, 20
...A method, 22.31...Mode detection means. Figure 4
Claims (1)
面に重ねたときに所定の前記キー接点にそれぞれ対応す
る複数のキー表示部をその表面に有する第1弾性押圧板
と、同じく前記基板の表面に重ねたとき所定の前記キー
接点にそれぞれ対応する複数のキー表示部をその表面に
有する第2弾性押圧板と、前記第1弾性押圧板または前
記第2弾性押圧板のいずれの操作による入力モードであ
るかを検知するモード検出手段と、前記キー接点のオン
を検知すると当該キー接点の種類とそのときの前記入力
モードの種類を示す所定のキー入力データを自動販売機
の制御部に出力する処理手段とから成る自動販売機のキ
ー入力装置。1. A substrate having a plurality of key contacts on its surface, and a first elastic pressing plate having on its surface a plurality of key display portions each corresponding to a predetermined key contact when stacked on the surface of the substrate; a second elastic pressing plate having on its surface a plurality of key display portions each corresponding to a predetermined key contact point when stacked on the surface of the substrate; and either the first elastic pressing plate or the second elastic pressing plate. a mode detecting means for detecting whether the input mode is an input mode by operation; and a mode detecting means for detecting whether the key contact is turned on, controlling the vending machine by transmitting predetermined key input data indicating the type of the key contact and the type of the input mode at that time. A key input device for a vending machine, which comprises a processing means for outputting an output to a section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1164154A JPH0329016A (en) | 1989-06-27 | 1989-06-27 | Key input device for vending machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1164154A JPH0329016A (en) | 1989-06-27 | 1989-06-27 | Key input device for vending machine |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0329016A true JPH0329016A (en) | 1991-02-07 |
Family
ID=15787766
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1164154A Pending JPH0329016A (en) | 1989-06-27 | 1989-06-27 | Key input device for vending machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0329016A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001283299A (en) * | 2000-03-31 | 2001-10-12 | Izumi Denshi Kk | Remote control keyboard for automatic vending machine |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS633654B2 (en) * | 1980-04-24 | 1988-01-25 | Toyota Motor Co Ltd |
-
1989
- 1989-06-27 JP JP1164154A patent/JPH0329016A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS633654B2 (en) * | 1980-04-24 | 1988-01-25 | Toyota Motor Co Ltd |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001283299A (en) * | 2000-03-31 | 2001-10-12 | Izumi Denshi Kk | Remote control keyboard for automatic vending machine |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4688174A (en) | Electronic cash register | |
| JPS58205214A (en) | Monitor display system of programmable controller | |
| JPS6034160B2 (en) | Vending machine price setting device | |
| JPS6024476B2 (en) | Cursor display control method | |
| JPS5929892B2 (en) | Display method of data input device | |
| JPH0110699Y2 (en) | ||
| JPH0999173A (en) | Control pad for game machine | |
| JP3293657B2 (en) | Cosmetic filling equipment | |
| JPH0444318B2 (en) | ||
| WO1991017489A1 (en) | Method of searching sequence program | |
| JPS61110289A (en) | Data setting for vending machine | |
| JPH02235198A (en) | Failure display device for automatic vending machine | |
| JP2000315195A (en) | Electronic computer with currency conversion function and storage medium storing currency conversion calculation display program | |
| JPH0512829Y2 (en) | ||
| JP3632465B2 (en) | Vending machine control device | |
| JP2671876B2 (en) | Vending machine control device | |
| JP3001729U (en) | Vending machine pricing and display | |
| JPS59183488A (en) | Selling column confirmation apparatus for vending machine | |
| JPH0751659Y2 (en) | Vending machine controller | |
| JPS5922594Y2 (en) | cash register machine | |
| JPH04115289A (en) | Composite function display processor | |
| JPS61262892A (en) | Price setter for vending machine | |
| JPS599790A (en) | Setting of vending machine | |
| JPH10255123A (en) | Device for selecting merchandise of automatic vending machine | |
| JP2863862B2 (en) | Vending machine price setting device |