JPH0670814B2 - Vending machine pricing device - Google Patents

Vending machine pricing device

Info

Publication number
JPH0670814B2
JPH0670814B2 JP59138762A JP13876284A JPH0670814B2 JP H0670814 B2 JPH0670814 B2 JP H0670814B2 JP 59138762 A JP59138762 A JP 59138762A JP 13876284 A JP13876284 A JP 13876284A JP H0670814 B2 JPH0670814 B2 JP H0670814B2
Authority
JP
Japan
Prior art keywords
price
selling
product
selling price
input
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
JP59138762A
Other languages
Japanese (ja)
Other versions
JPS6118092A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP59138762A priority Critical patent/JPH0670814B2/en
Publication of JPS6118092A publication Critical patent/JPS6118092A/en
Publication of JPH0670814B2 publication Critical patent/JPH0670814B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、半導体記憶手段に商品の販売価格をセットす
る自動販売機の価格設定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a price setting device for an automatic vending machine, which sets a selling price of a product in a semiconductor storage means.

(ロ) 従来の技術 半導体記憶手段に商品の販売価格をセットする自動販売
機は特開昭53−29197号公報に示されている。この従来
技術は、価格設定装置に設定した販売価格を商品選択ス
イッチの操作により該当するメモリの記憶部へセットす
るようにしたものである。しかしながらかかる記憶手段
に販売価格をセットする方式は、スイッチ装置により価
格を設定する従来方式(例えば特公昭58−45752号公
報)と違って視覚により価格設定の有無を確認できない
欠点がある。
(B) Prior Art An automatic vending machine for setting a selling price of a product in a semiconductor memory means is disclosed in Japanese Patent Laid-Open No. 53-29197. In this prior art, the selling price set in the price setting device is set in the storage unit of the corresponding memory by operating the product selection switch. However, the method of setting the selling price in the storage means has a drawback that the presence or absence of the price setting cannot be visually confirmed unlike the conventional method of setting the price by the switch device (for example, Japanese Patent Publication No. 58-45752).

(ハ) 発明が解決しようとする問題点 ところで自動販売機を新しく設置する場合に、この自動
販売機が工場での製造時或いは工場出荷後の過程で既に
販売価格が設定されているか、また販売価格が設定され
ているとすれば、どのコラムにいくらの販売価格が設定
されているかを確認する必要がある。しかしてかかる記
憶手段に販売価格をセットする自動販売機は上記欠点に
より簡単に確認できないために、実際に貨幣を投入して
販売動作を行なわせ商品が販売されるかで確認してい
た。
(C) Problems to be solved by the invention By the way, when a new vending machine is newly installed, whether the selling price has already been set at the time of manufacturing at the factory or after the factory shipment, If they are priced, you need to see what columns are priced and how much they are sold. However, since the vending machine that sets the selling price in the storage means cannot be easily confirmed due to the above-mentioned drawbacks, it has been confirmed whether the product is sold by actually inserting money to perform the selling operation.

また設置後の自動販売機でも、例えばRAMのように電源
バックアップが必要な記憶手段を使用している場合は、
電源遮断により設定した販売価格が消滅する。しかしな
がら電源が復帰してしまうと、自動販売機の管理者は停
電があったことを知らないと販売価格の消滅に気づかな
いことになる。
In addition, even in the vending machine after installation, if you are using a storage means such as RAM that requires power backup,
The selling price set by the power shutdown is lost. However, when the power is restored, the manager of the vending machine will not notice the disappearance of the selling price unless he / she knows that there is a power failure.

上記点より本発明は、価格設定がされていないコラム及
び価格設定が行われているコラムを価格別に表示可能な
自動販売機を提供するものである。
From the above point of view, the present invention provides an automatic vending machine capable of displaying columns not priced and columns priced by price.

(ニ)問題点を解決するための手段 上記問題点を解決するために本発明は、販売可商品検出
手段にて演算した投入金額と商品の販売価格とを比較
し、この比較に基づき販売可能な商品を判定するととも
に、販売の可能性を販売可能表示手段により商品毎に表
示して、販売可能商品に対する選択スイッチの操作によ
り選択商品を販売する販売動作モードを持つ自動販売機
において、前記販売動作モードと販売価格を設定するた
めの価格設定モードとを切換えるためのモード切換手段
と、設定すべき販売価格を入力する価格入力手段と、販
売価格がセットされる商品種類毎の販売価格記憶手段
と、前記価格入力手段からの入力価格を記憶する金額記
憶手段と、価格設定モードで動作する価格設定制御手段
とから成り、該価格設定制御手段は、前記金額記憶手段
が記憶している内容と前記販売価格記憶手段が商品毎に
記憶している記憶内容とが一致していると当該商品種類
を表示するよう前記販売可能表示手段を制御する手段
と、前記価格入力手段より入力される設定販売価格デー
タを前記金額記憶手段にロードする手段と、前記選択ス
イッチの操作により前記金額記憶手段がストアしている
設定販売価格データを、当該選択スイッチに対応する商
品の販売価格として前記販売価格記憶手段にロードする
手段とを具備したものである。
(D) Means for Solving Problems In order to solve the above problems, the present invention compares the input amount of money calculated by the sellable product detecting means with the selling price of the product, and sells based on this comparison. In the vending machine having a sales operation mode in which the sale possibility is displayed for each product by the sale enable display unit and the selected product is sold by operating the selection switch for the sellable product, Mode switching means for switching between the operation mode and the price setting mode for setting the selling price, the price inputting means for inputting the selling price to be set, and the selling price storing means for each product type in which the selling price is set. And an amount storage means for storing an input price from the price input means, and a price setting control means operating in a price setting mode, the price setting control means comprising: When the contents stored in the amount storage means and the storage contents stored in the sales price storage means for each product match, a means for controlling the sellable display means so as to display the product type, A unit for loading the set sales price data input from the price input unit into the amount storage unit and a set sales price data stored in the amount storage unit by operating the selection switch correspond to the selection switch. And a means for loading the selling price of the product into the selling price storage means.

(ホ)作用 価格設定モードにおいて、価格入力手段からの入力価格
を記憶する設定価格記憶手段の内容と販売価格がセット
される商品種類毎の販売価格記憶手段の内容とが一致し
たときに販売可能表示手段が表示動作することで、価格
設定の有無及び価格設定が行われているコラムを価格別
に表示可能とすることができる。
(E) Action In the price setting mode, it is possible to sell when the content of the set price storage means that stores the input price from the price input means matches the content of the sale price storage means for each product type for which the sale price is set. By the display operation of the display means, it is possible to display the presence / absence of price setting and the columns for which price setting is performed by price.

(ヘ) 実施例 第1図は本発明による自動販売機の回路構成をブロック
図にて示すもので、(1)は自動販売機を販売動作モー
ドと価格設定モードとに切換えるモード切換手段、
(2)は販売動作モードで動作する販売制御手段、
(3)は価格設定モードで動作する価格設定制御手段、
(4)は販売商品に夫々対応して選択スイッチを備えた
商品選択手段、(5)は価格設定モードで設定すべき販
売価格を入力する価格入力手段、(6)は貨幣種類毎の
投入貨幣信号Cに基づき投入金額を演算するとともに販
売後の残額を演算する演算手段である。そして価格設定
モードで演算手段(6)には価格入力手段(5)からの
設定販売価格が導入される。また(7A)は販売商品に夫
々対応した販売価格記憶領域を備えた販売価格記憶手
段、(7B)は演算手段(6)により演算された投入金額
或いは釣銭額をストアする金額記憶手段であり、価格設
定モードで金額記憶手段(7B)は設定販売価格をストア
する。そして(8)は販売価格記憶手段(7A)にストア
されている販売価格と金額記憶手段(7B)にストアされ
ている金額とを比較する販売可商品検出手段、(9)は
商品毎に販売の可能性を表示する販売可能表示手段、
(10)は販売制御手段(2)からの制御信号により金額
記憶手段(7B)にストアされている金額の払出制御を行
なう金額払出制御手段である。
(F) Embodiment FIG. 1 is a block diagram showing a circuit configuration of a vending machine according to the present invention. (1) is a mode switching means for switching the vending machine between a sales operation mode and a price setting mode,
(2) is sales control means that operates in the sales operation mode,
(3) is price setting control means that operates in the price setting mode,
(4) is a product selection means provided with a selection switch corresponding to each sale product, (5) is a price input means for inputting a selling price to be set in the price setting mode, and (6) is an input currency for each currency type. The calculating means calculates the amount of money to be input based on the signal C and also calculates the remaining amount after sale. Then, in the price setting mode, the set selling price from the price inputting means (5) is introduced into the calculating means (6). Further, (7A) is a selling price storage means having a selling price storage area corresponding to each sale product, and (7B) is an amount storage means for storing the input amount or change amount calculated by the calculating means (6), In the price setting mode, the amount storage means (7B) stores the set selling price. And (8) is a sellable product detecting means for comparing the selling price stored in the selling price storage means (7A) with the amount stored in the amount storage means (7B), and (9) is selling for each product Sellable display means for displaying the possibility of
(10) is an amount payout control means for controlling the payout of the amount stored in the amount storage means (7B) by a control signal from the sales control means (2).

かかる構成でモード切換手段(1)にて販売動作モード
を指定すると販売制御手段(2)が動作する。そして演
算手段(6)は貨幣の投入により発生する投入貨幣信号
Cにより投入金額を演算して金額記憶手段(7B)へ導入
する。また販売可商品検出手段(8)は記憶手段(7B)
の投入金額と記憶手段(7A)に設定された各商品毎の販
売価格とを比較し、且つ釣銭及び商品の有無に応じて販
売可能な商品を判定し、販売可能表示手段(9)はこの
判定により販売可能な商品を表示する。一方、商品選択
手段(4)により購入するべき商品が指定されると、販
売制御手段(2)は選択商品が販売可商品検出手段
(8)にて検出された販売可能な商品であるかを判定
し、販売可能な場合に販売駆動手段(11)を動作させて
選択商品を販売する。そして演算手段(6)は、商品選
択手段(4)に指定された商品の販売価格を記憶手段
(7A)から読取るとともに、記憶手段(7B)からは投入
金額を読取って釣銭額を演算して記憶手段(7B)に導入
し、釣銭額が“0"円以外の場合、釣銭払出制御手段(1
0)はこの釣銭額の払出制御を行なう。
When the selling operation mode is designated by the mode switching means (1) with such a configuration, the selling control means (2) operates. Then, the calculation means (6) calculates the amount of money to be inserted by the money signal C that is generated by the insertion of money and introduces it into the amount storage means (7B). Further, the sellable product detection means (8) is a storage means (7B).
Is compared with the selling price of each product set in the storage means (7A), and the sellable product is judged according to the change and the presence or absence of the product. Displays products that can be sold according to the judgment. On the other hand, when the product to be purchased is designated by the product selection means (4), the sales control means (2) determines whether the selected product is a sellable product detected by the sellable product detection means (8). If it is determined that the product can be sold, the sales drive means (11) is operated to sell the selected product. The calculation means (6) reads the selling price of the product specified by the product selection means (4) from the storage means (7A), and also reads the input amount from the storage means (7B) to calculate the change amount. Introduced in the storage means (7B), if the change amount is other than "0" yen, change change control means (1
0) controls the payout of the change amount.

モード切換手段(1)にて価格設定モードを指定すると
価格設定制御手段(3)が動作する。価格設定モードで
販売可商品検出手段(8)は、記憶手段(7B)の内容と
記憶手段(7A)との内容を比較して一致している商品種
を検出し、販売可能表示手段(9)はこの商品を表示す
る。このとき販売可商品検出手段(8)は記憶手段(7
A)と(7B)の内容が共に“0"で一致している場合も一
致出力を生じ販売可能表示手段(9)が表示する。した
がって記憶手段(7A)の内容が電源投入後のイニシャル
動作により“0"になっていると、販売可能表示手段
(9)の表示により販売価格の設定を表示する。
When the price setting mode is designated by the mode switching means (1), the price setting control means (3) operates. In the price setting mode, the sellable product detection means (8) compares the contents of the storage means (7B) with the contents of the storage means (7A) to detect the matching product type, and the sellable display means (9). ) Displays this item. At this time, the sellable product detection means (8) is stored in the storage means (7
Even when the contents of A) and (7B) are both "0", a coincidence output is generated and the sale enable display means (9) displays it. Therefore, when the content of the storage means (7A) is "0" due to the initial operation after the power is turned on, the sale price display means (9) displays the selling price setting.

そして演算手段(6)は価格入力手段(5)から設定す
べき販売価格が導入されると、これを記憶手段(7B)へ
導入する。価格入力手段(5)は、置数キー或いは2進
符号による設定スイッチ等の従来周知の入力装置で構成
されているが、設定すべき販売価格分の貨幣を投入する
ことでも入力できる。この場合、演算装置(6)は投入
貨幣信号Cにより演算した投入金額を設定販売価格とし
て記憶手段(7B)へ導入するものである。こうして設定
販売価格が記憶手段(7B)にストアされると、記憶手段
(7A)の内容は“0"円であるために一致しなくなり、そ
のため販売可商品検出手段(8)の出力が停止して販売
可能表示手段(9)は表示しなくなる。次に商品選択手
段(4)の選択スイッチを操作して価格設定する商品を
指定すると、価格設定制御手段(3)は記憶手段(7B)
より設定販売価格を読取るとともに、指定商品種に関す
る記憶手段(7A)の販売価格記憶領域をアドレスして設
定販売価格を書込む。このように価格入力手段(8)に
設定すべき販売価格を入力し、且つ商品選択手段(4)
にて価格設定する商品を指定すると、記憶手段(7A)に
は販売価格がセットされる。そして記憶手段(7A)に記
憶手段(7B)の設定販売価格がセットされると、販売可
商品検出手段(8)では再び一致が検出され、該検出手
段(8)は一致している商品種に関して一致信号を出力
するために販売可能表示手段(9)はこの商品を表示す
る。したがって販売可商品検出手段(8)は価格入力手
段(5)に入力した販売価格がセットされた商品を検出
するもので、かかる商品を販売可能表示手段(9)に表
示することで販売価格を設定した商品が確認できる。
Then, when the selling price to be set is introduced from the price inputting means (5), the calculating means (6) introduces it into the storing means (7B). The price input means (5) is composed of a conventionally known input device such as a numeric keypad or a setting switch using a binary code, but the price input means (5) can also be input by inserting money for the selling price to be set. In this case, the arithmetic unit (6) introduces the input amount calculated by the input currency signal C into the storage means (7B) as the set selling price. When the set selling price is stored in the storage means (7B) in this way, the contents of the storage means (7A) do not match because they are "0" yen, so that the output of the salable item detection means (8) stops. The display means (9) for sale is no longer displayed. Next, when the selection switch of the product selection means (4) is operated to specify the product to be priced, the price setting control means (3) is stored in the storage means (7B).
While reading the set selling price, the setting selling price is written by addressing the selling price storage area of the storage means (7A) for the designated product type. In this way, the selling price to be set is input to the price input means (8), and the product selection means (4)
When the product to be priced is specified in, the selling price is set in the storage means (7A). Then, when the set selling price in the storage means (7B) is set in the storage means (7A), a match is again detected by the salable product detection means (8), and the detection means (8) indicates the matched product type. The saleable display means (9) displays this product in order to output a coincidence signal regarding. Therefore, the sellable product detection means (8) detects a product for which the selling price entered in the price input means (5) is set, and the selling price is displayed by displaying the product on the sellable display means (9). You can check the set products.

第2図は本発明による価格設定をマイクロコンピュータ
(14)にて達成する場合の実施例を示しており、L1〜Ln
は商品毎に対応する販売可能表示手段(3)の各表示
器、S1〜Snは商品選択手段(4)の各選択スイッチ、
(12)は価格設定モードを指定する自己復帰型の切換ス
イッチである。第2図の実施例によるモード切換手段
は、切換スイッチ(12)の操作により価格設定モードと
するとともにタイマ動作を開始し、タイマ動作の終了或
いは切換スイッチ(12)の再度の操作により価格設定モ
ードを解除して販売動作モードに切換えるものである。
またタイマ動作は、そのタイマ期間内に選択スイッチS1
・S2…Snの操作或いは価格入力手段(5)への販売価格
指定操作により更新し、期間内に選択スイッチS1〜Sn或
いは価格入力手段(5)が操作されないと販売動作モー
ドに切換えるものである。また本例の価格入力手段
(5)はアップキー(15)及びダウンキー(16)とから
成り、キー操作により10円づつ加算或いは減算して販売
価格を設定する。そしてメモリ(13)には、商品毎の販
売価格記憶領域M1・M2…Mnと、各選択スイッチS1・S2
Snの操作を示す選択スイッチフラグレジスタR1・R2…Rn
と、価格設定フラグレジスタR0と、金額レジスタRSと、
タイマカウンタTCとが割り付けられている。
FIG. 2 shows an embodiment in which the price setting according to the present invention is achieved by the microcomputer (14), and L 1 to Ln
Is a display unit of the available sale display means (3) corresponding to each product, S 1 to Sn are respective selection switches of the product selection means (4),
(12) is a self-returning changeover switch that specifies the price setting mode. The mode switching means according to the embodiment of FIG. 2 sets the price setting mode by operating the changeover switch (12), starts the timer operation, and ends the timer operation or operates the changeover switch (12) again to set the price setting mode. Is released to switch to the sales operation mode.
Also, the timer operation is performed by selecting switch S 1 within the timer period.
· S 2 ... and updated by the operation or sale price specified operation to the price input means (5) of Sn, which switched to the sales operation mode selection switch S 1 ~Sn or price input means within the period (5) is not operated Is. The price input means (5) of this example comprises an up key (15) and a down key (16), and the selling price is set by adding or subtracting 10 yen each by key operation. Then, in the memory (13), sales price storage areas M 1 , M 2, ... Mn for each product and selection switches S 1 , S 2 , .
Selection switch flag register R 1 · R 2 … Rn indicating Sn operation
, A price setting flag register R 0 , an amount register R S ,
The timer counter TC is assigned.

第3図及び第4図はマイクロコンピュータ(14)のプロ
グラムを説明するフローチャートであるが、第4図の入
力検知フローはタイマ割込によって定期的に処理され
る。いま切換スイッチ(12)が操作されたことを入力検
知フローのn3ステップで検知すると、n4ステップでレジ
スタR0の価格設定フラグFPを確認し、価格設定フラグが
セットされていないと、n5ステップでレジスタR0にこの
フラグFPをセットするとともにタイマカウンタTCにタイ
マ定数をセットする。
3 and 4 are flowcharts for explaining the program of the microcomputer (14), the input detection flow of FIG. 4 is periodically processed by a timer interrupt. When it is detected that the changeover switch (12) has been operated at step n 3 of the input detection flow, the price setting flag FP of the register R 0 is checked at step n 4 and if the price setting flag is not set, n In 5 steps, this flag FP is set in the register R 0 and the timer constant is set in the timer counter TC.

価格設定制御フローのN0ステップでは価格設定フラグFP
を確認するが、切換スイッチ(12)が操作されて入力検
知フローのn5ステップでフラグFPがセットされていると
N1ステップとなる。N1ステップはレジスタRSの内容とメ
モリ(13)の各販売価格記憶領域M1〜Mnとを比較する。
このときメモリ(13)が電源投入によりイニシャル設定
されていると、レジスタRS及び各販売価格記憶領域M1
Mnはともに“0"であるために、N2ステップとなってマイ
クロコンピュータ(14)は全ての販売可表示器L1〜Lnを
点灯させるべく各表示器及びドライバ(17)に夫々“H"
レベルの信号を出力する。N3ステップはレジスタR1〜Rn
の何れかに選択スイッチフラグFS1〜FSnがセットされて
いるかを確認する。選択スイッチフラグFS1・FS2…FSn
は、タイマ割込による入力検知フローのn0ステップで何
れかの選択スイッチS1・S2…Snが操作されたことを検出
したときに、n1ステップで対応するレジスタR1・R2…Rn
にセットされるものである。そして次のn2ステップでは
タイマカウンタTCにタイマ定数をセットしてタイマ動作
を更新する。またタイマ割込による入力検知フローのn7
ステップでアップキー(15)の操作を検出すると、n8
テップでレジスタRSの内容をインクリメントして10円分
を加算計数し、n9ステップでタイマカウンタTCにタイマ
定数をセットしてタイマ動作を更新する。一方、タイマ
割込による入力検知フローのn10ステップでダウンキー
(16)の操作を検出すると、n11ステップでレジスタRS
の内容をデクリメントして10円分を減算計数し、n12
テップでタイマカウンタTCにタイマ定数をセットしてタ
イマ動作を更新する。したがって設定すべき販売価格に
応じてアップキー(15)或いはダウンキー(16)を操作
すると、その都度タイマ割込による入力検知フローで検
出されて、レジスタRSには販売価格がストアされる。N6
ステップではタイマカウンタTCを減算することでタイマ
減算し、N7ステップでタイマカウンタTCの内容によって
タイマ動作の終了を確認し未終了であるとN0ステップに
復帰する。またタイマ動作期間内で選択スイッチS1〜Sn
或いはアップキー(15)若しくはダウンキー(16)が操
作されると、入力検知フローにおいてタイマ動作が更新
されて価格設定モードが延長される。しかしてレジスタ
RSに販売価格をストアした後にN1ステップとなると、各
販売価格記憶領域M1〜Mnは何れも“0"のために一致が検
出されずN3ステップとなる。したがって、価格入力手段
(5)によりレジスタR5に設定販売価格がストアされる
と、販売可表示器L1〜Lnは全て消灯する。
Pricing flag FP in N 0 step of pricing control flow
Confirm that the flag FP is set at step n 5 of the input detection flow due to the changeover switch (12) being operated.
N 1 step. The N 1 step compares the contents of the register R S with the sales price storage areas M 1 to Mn of the memory (13).
At this time, if the memory (13) is initially set by turning on the power, the register R S and each selling price storage area M 1 ...
Since both Mn are “0”, it becomes N 2 step and the microcomputer (14) displays “H” on each display and driver (17) to turn on all the displayable displays L 1 to Ln.
Output level signal. N 3 steps are registers R 1 to Rn
Check if any of the selection switch flags FS 1 to FSn are set. Selection switch flag FS 1 / FS 2 ... FSn
When it is detected that any one of the selection switches S 1 · S 2 ··· Sn has been operated in step n 0 of the input detection flow by the timer interrupt, the corresponding register R 1 · R 2 ··· in step n 1 is detected. Rn
Is set to. Then, in the next n 2 steps, the timer constant is set in the timer counter TC and the timer operation is updated. In addition, n 7 of the input detection flow by timer interruption
When detecting the operation of the up key (15) in step increments the contents of register R S with n 8 step adds counted 10 yen, timer operation by setting the timer constant with the timer counter TC at n 9 step To update. On the other hand, when detecting the operation of the down key (16) at n 10 step input detection process by the timer interrupt, register n 11 Step R S
Decrements the contents of the 10 yen counted subtracted, and sets the timer constant with the timer counter TC at n 12 step updates the timer operation. Therefore, when the up key (15) or the down key (16) is operated according to the selling price to be set, the selling price is stored in the register R S as detected by the input detection flow by the timer interruption each time. N 6
Timer is subtracted by subtracting the timer counter TC at step, returns to N 0 Step When it is confirmed the completion of the timer operation by the contents of the timer counter TC at N 7 step unfinished. Also, within the timer operating period, the selection switches S 1 to Sn
Alternatively, when the up key (15) or the down key (16) is operated, the timer operation is updated in the input detection flow to extend the price setting mode. Te register
When the selling price is stored in R S and N 1 steps are reached, no matching is detected in all the selling price storage areas M 1 to Mn because it is “0”, and N 3 steps are performed. Therefore, when the set selling price is stored in the register R 5 by the price inputting means (5), all of the available sale indicators L 1 to Ln are turned off.

ところでいま選択スイッチS2が操作されて、タイマ割込
による入力検知フローでレジスタR2に選択スイッチフラ
グFS2がセットされたとすると、価格設定制御フローはN
3ステップからN4ステップとなって選択スイッチS2の商
品に対応するメモリ(13)の販売価格記憶領域M2に、レ
ジスタRSにストアしている販売価格を書込む。そしてN5
ステップでレジスタR2の選択スイッチフラグをリセット
し、更にN6ステップ・N7ステップからN1ステップとなる
と、レジスタRSにストアしている販売価格とメモリ(1
3)の各販売記憶領域にセットしている販売価格とを比
較して、等しい場合にN2ステップで一致している商品に
対応する販売可表示器L1〜Lnを点灯して販売価格のメモ
リ(13)へのセットを表示する。この場合、レジスタRS
の販売価格をメモリ(2)の販売価格記憶領域M2に書込
みRS=M2となっているために、N2ステップでは販売可表
示器L2を点灯して販売価格セットを表示する。またレジ
スタRSにストアしている販売価格を複数の商品種につい
て設定する場合、対応する選択スイッチS1〜Snを操作す
ると、その都度入力検知フローのn0ステップで検出され
て選択スイッチフラグFS1〜FSnがセットし、価格設定制
御フローのN4ステップで販売価格記憶領域M1…Mnに販売
価格をセットし、N5ステップで選択スイッチフラグをリ
セットするとともに、N1ステップでレジスタRSにストア
している販売価格をセットした商品を検出して、N2ステ
ップではその商品に対応する全ての販売可表示器L1〜Ln
を点灯する。しかして価格入力手段(5)に新たな販売
価格が入力されると、レジスタRSにストアされたこの販
売価格は何れの記憶領域M1〜Mnの内容とも一致しないた
めに販売可表示器L1〜Lnは全て消灯する。しかしながら
選択スイッチの操作によりこの販売価格をセットする商
品が指定されると、対応する記憶領域M1〜Mnに販売価格
が書込まれ、それに応じた販売可表示器L1〜Lnが点灯す
る。
By the way, if the selection switch S 2 is operated and the selection switch flag FS 2 is set in the register R 2 in the input detection flow by the timer interruption, the pricing control flow is N
From 3 steps to N 4 steps, the selling price stored in the register R S is written in the selling price storage area M 2 of the memory (13) corresponding to the product of the selection switch S 2 . And N 5
Reset the selection switch flag register R 2 in step, further N 6 when steps · N 7 steps becomes N 1 step, sales are stored in the register R S price and the memory (1
3) Compare the sales prices set in each sales storage area, and if they are the same, turn on the sale enable indicators L 1 to Ln corresponding to the matching products in N 2 steps to display the sales prices. Display set to memory (13). In this case, register R S
Since the selling price is written in the selling price storage area M 2 of the memory (2) and R S = M 2 , the sale possible display L 2 is turned on and the selling price set is displayed in the N 2 step. When setting the selling price stored in the register R S for multiple product types, each time the corresponding selection switch S 1 to Sn is operated, the selection switch flag FS is detected at step n 0 of the input detection flow. 1 to FSn are set, the selling price is set in the selling price storage area M 1 ... Mn in the N 4 step of the pricing control flow, the selection switch flag is reset in the N 5 step, and the register R S is set in the N 1 step. Detects the product set with the selling price stored in the store, and in the N 2 step, all the sellable indicators L 1 to Ln corresponding to the product are detected.
Lights up. When a new selling price is input to the price input means (5), the selling price stored in the register R S does not match the contents of any of the storage areas M 1 to Mn. All 1 to Ln are turned off. However, when the product for which the selling price is set is specified by operating the selection switch, the selling price is written in the corresponding storage areas M 1 to Mn, and the corresponding sale-permitted indicators L 1 to Ln are lit.

しかしてN7ステップでタイマカウンタTCの内容が“0"に
なったことを検出すると、タイマ動作が終了したとして
N8ステップとなってレジスタR0の価格設定フラグFPをリ
セットし、N9ステップでレジスタRSの販売価格をクリア
して価格設定制御フローを終了する。一方タイマ動作期
間内に切換スイッチ(12)が再び操作されると、タイマ
割込による入力検知フローのn3ステップにて切換スイッ
チ(12)の操作を検出するが、この場合価格設定フラグ
FPがレジスタR0にセットされているために、n6ステップ
でレジスタR0がリセットされるとともにレジスタRSがク
リアされる。そして価格設定制御フローに復帰すると、
価格設定フラグFPのリセットによりN0ステップから抜け
出て価格設定制御フローを終了する。即ち、タイマ動作
期間内における切換スイッチ(12)の二度目の操作にて
価格設定が解除される。
When Thus the contents of the timer counter TC at N 7 step detects that becomes "0", the timer operation is completed
At the N 8th step, the price setting flag FP of the register R 0 is reset, and at the N 9th step, the selling price of the register R S is cleared and the price setting control flow ends. On the other hand, if the changeover switch (12) is operated again during the timer operation period, the operation of the changeover switch (12) is detected at step n 3 of the input detection flow by the timer interrupt. In this case, the price setting flag is set.
For FP is set to the register R 0, the register R 0 at n 6 steps register R S is cleared while being reset. And when returning to the pricing control flow,
When the price setting flag FP is reset, the process exits the N 0 step and ends the price setting control flow. That is, the price setting is released by the second operation of the changeover switch (12) within the timer operation period.

(ト)発明の効果 本発明によると、半導体記憶手段に商品の販売価格を設
定する自動販売機において、販売価格の設定の有無を販
売可能表示手段により確認できる。
(G) Effect of the Invention According to the present invention, in the vending machine that sets the selling price of the product in the semiconductor storage means, it is possible to confirm the presence or absence of the setting of the selling price by the sale enable display means.

なお、価格入力手段からの価格の入力が無い状態で販売
可能表示手段が表示しているのであれば、対応する販売
価格記憶手段に販売価格が設定されていないことを判定
することができ、価格入力手段に販売価格の入力が行わ
れると価格の入力が無い状態であった販売価格記憶手段
に対応する販売可能表示手段は表示しなくなり、対応す
る選択スイッチを操作することにより、販売価格が販売
価格記憶手段に入力されるとともに、再び販売可能表示
手段が表示するので、販売価格が設定されたことを確認
できる。
If the sellable display means is displaying without inputting the price from the price input means, it can be determined that the sale price is not set in the corresponding sale price storage means, and the price can be determined. When the selling price is entered in the input means, the sale available display means corresponding to the selling price storage means which has not been entered is no longer displayed, and the selling price is sold by operating the corresponding selection switch. Since the price is stored in the price storage means and is displayed again by the sellable display means, it can be confirmed that the selling price has been set.

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

第1図は本発明に依る自動販売機の構成を示すブロック
図、第2図はマイクロコンピュータによる本発明の実施
例を示す図、第3図はマイクロコンピュータの価格設定
制御を示すフローチャート、第4図はマイクロコンピュ
ータの入力検知を示すフローチャートである。 (1)……モード切換手段、(3)……価格設定制御手
段、(4)……商品選択手段、(5)……価格入力手
段、(7A)……販売価格記憶手段、(7B)……金額記憶
手段、(8)……販売可商品検出手段、(9)……販売
可能表示手段。
FIG. 1 is a block diagram showing a configuration of an automatic vending machine according to the present invention, FIG. 2 is a diagram showing an embodiment of the present invention by a microcomputer, FIG. 3 is a flowchart showing price setting control of the microcomputer, and FIG. The figure is a flow chart showing the input detection of the microcomputer. (1) ... Mode switching means, (3) ... price setting control means, (4) ... product selection means, (5) ... price input means, (7A) ... sales price storage means, (7B) ...... Amount storage means (8) ...... Sellable product detection means (9) ...... Sellable display means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】販売可商品検出手段にて演算した投入金額
と商品の販売価格とを比較し、この比較に基づき販売可
能な商品を判定するとともに、販売の可能性を販売可能
表示手段により商品毎に表示して、販売可能商品に対す
る選択スイッチの操作により選択商品を販売する販売動
作モードを持つ自動販売機において、前記販売動作モー
ドと販売価格を設定するための価格設定モードとを切換
えるためのモード切換手段と、設定すべき販売価格を入
力する価格入力手段と、販売価格がセットされる商品種
類毎の販売価格記憶手段と、前記価格入力手段からの入
力価格を記憶する金額記憶手段と、価格設定モードで動
作する価格設定制御手段とから成り、該価格設定制御手
段は、前記金額記憶手段が記憶している内容と前記販売
価格記憶手段が商品毎に記憶している記憶内容とが一致
していると当該商品種類を表示するよう前記販売可能表
示手段を制御する手段と、前記価格入力手段より入力さ
れる設定販売価格データを前記金額記憶手段にロードす
る手段と、前記選択スイッチの操作により前記金額記憶
手段がストアしている設定販売価格データを、当該選択
スイッチに対応する商品の販売価格として前記販売価格
記憶手段にロードする手段とを具備することを特徴とす
る自動販売機の価格設定装置。
1. A selling price of a product is determined based on the comparison between the input price calculated by the selling possible product detecting means and the selling price of the product, and the selling possibility is displayed by the selling possible display means. In order to switch between the selling operation mode and the price setting mode for setting the selling price, in the vending machine having the selling operation mode for displaying the selected product by operating the selection switch for the sellable product. A mode switching means, a price input means for inputting a selling price to be set, a selling price storing means for each product type for which the selling price is set, an amount storing means for storing the input price from the price inputting means, The price setting control means operates in a price setting mode, and the price setting control means stores the contents stored in the price storage means and the selling price storage means. When the stored contents stored for each match, the means for controlling the sellable display means for displaying the product type, and the set sales price data input from the price input means are the amount storage means. And a means for loading the set selling price data stored in the amount storage means by operating the selection switch into the selling price storage means as the selling price of the product corresponding to the selection switch. A price setting device for a vending machine.
JP59138762A 1984-07-04 1984-07-04 Vending machine pricing device Expired - Lifetime JPH0670814B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59138762A JPH0670814B2 (en) 1984-07-04 1984-07-04 Vending machine pricing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59138762A JPH0670814B2 (en) 1984-07-04 1984-07-04 Vending machine pricing device

Publications (2)

Publication Number Publication Date
JPS6118092A JPS6118092A (en) 1986-01-25
JPH0670814B2 true JPH0670814B2 (en) 1994-09-07

Family

ID=15229589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59138762A Expired - Lifetime JPH0670814B2 (en) 1984-07-04 1984-07-04 Vending machine pricing device

Country Status (1)

Country Link
JP (1) JPH0670814B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54125096A (en) * 1978-03-23 1979-09-28 Fuji Electric Co Ltd Price setting device for automatic vending machines
JPS54125097A (en) * 1978-03-23 1979-09-28 Fuji Electric Co Ltd Price setting device fof automatic vending machines
JPS54125098A (en) * 1978-03-23 1979-09-28 Fuji Electric Co Ltd Price setting device for automatic vending machines

Also Published As

Publication number Publication date
JPS6118092A (en) 1986-01-25

Similar Documents

Publication Publication Date Title
US4679150A (en) Automatic vending machine with discount function
US4654800A (en) Control and monitoring apparatus for vending machines
CA1223358A (en) Direct plu function in an electronic cash register
JPH0670814B2 (en) Vending machine pricing device
JP3873543B2 (en) Vending machine controller
JPH0110699Y2 (en)
JPH02196393A (en) Commodity selection controller for automatic vending machine
JPH0620226Y2 (en) Failure display device for vending machines
JPH08329332A (en) Ice making controller for automatic vending machine
JP4369270B2 (en) How to set up a vending machine
JPS63255795A (en) Price setting system for vending machine
KR930007167B1 (en) Price setting method of vending machine
JP3030067B2 (en) Vending machine sales control device
JPH0631576Y2 (en) Vending machine pricing device
JPS6326919B2 (en)
JP3005259B2 (en) Vending machine column setting device
JP3508882B2 (en) Vending machine display
JPH02235198A (en) Failure display device for automatic vending machine
KR830002627B1 (en) Control circuit of vending machine
JPH0620218Y2 (en) Vending machine setting device
JPS6113391A (en) Price setting system for vending machine
JPH0896231A (en) Controller for automatic vending machine
JPS62108390A (en) Stock soldout detection system for vending machine
JP2502354B2 (en) Electronic cash register
JPS60108993A (en) Display for vending machine

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term