JPH05282529A - Controller for automatic vending machine - Google Patents

Controller for automatic vending machine

Info

Publication number
JPH05282529A
JPH05282529A JP8197092A JP8197092A JPH05282529A JP H05282529 A JPH05282529 A JP H05282529A JP 8197092 A JP8197092 A JP 8197092A JP 8197092 A JP8197092 A JP 8197092A JP H05282529 A JPH05282529 A JP H05282529A
Authority
JP
Japan
Prior art keywords
denomination
face value
storing
storage means
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8197092A
Other languages
Japanese (ja)
Inventor
Kazuhiko Sugino
一彦 杉野
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP8197092A priority Critical patent/JPH05282529A/en
Publication of JPH05282529A publication Critical patent/JPH05282529A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the controller of an automatic vending machine which easily corresponds to a case when a denomination changes by permitting a supplied sum calculation means to calculate a supplied sum based on a face value stored in a face value storage means by individual denominations as the face value of the supplied sum. CONSTITUTION:A supplied denomination discrimination means 11 discriminating which denomination is supplied, a supplied number storage means 12 storing the supplied number of money by the individual denominations, a supplied sum calculation means 13 calculating the supplied sum from the supplied number of the individual denominations and the face value of the denominations and a supplied sum storage means 14 storing the calculated supplied sum are provided. Furthermore, a denomination face value setting means 15 for setting the face values of the respective denominations and a face value storage means by individual denominations 16 storing the face value of the set denomination are provided. The supplied sum calculation means 12 calculates the supplied sum based on the face value stored in the face value storage means by individual denominations 15. When the denomination and the face value change, correspondence can easily be executed only by setting the face value of the denomination so as to save manpower.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動販売機の制御装置
に関し、特に金銭計算のための制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a controller for a vending machine, and more particularly to a controller for monetary calculation.

【0002】[0002]

【従来の技術】自動販売機の金銭制御としては、投入し
た各金銭の枚数より、合計投入金額の計算や、販売後の
残金をつり銭として払い出しができるだけの金銭が自動
販売機内に保有しているか等により、商品の販売が可能
か、つり銭を払い出す場合にどの金種を何枚払い出すか
等の制御がある。これらの制御に対しては、図1ないし
図4に示したす方法がとられている。
2. Description of the Related Art As a monetary control of a vending machine, whether there is enough money in the vending machine to calculate the total amount of money put in from the number of coins thrown in and to pay out the balance after sale as change. Etc., there is control such as whether or not the product can be sold and which denomination and how many coins are paid out when paying out the change. For these controls, the method shown in FIGS. 1 to 4 is used.

【0003】まず図1に示した投入金額を計算するフロ
ーでは、ステップS1にて金種別の枚数N(N1,N2
3,N4)がクリアされ、次にコインを投入すると、ス
テップS2からステップS3へ進み、金種識別装置にお
いて、投入したコインはその種別に応じて10円,50
円,100円,500円用の収納室へ選別収納され、そ
のコインの収容に呼応して対応する第1、第2、第3、
第4の金種信号が出力される。ステップS4では、前記
金種信号を受けて金種枚数Nが金種別にインクリメント
される。次のステップS6では、投入金額ZがZ=10
・N1+50・N2+100・N3+500・N4に従って
計算され、次にステップS7で商品選択釦がオンされる
まで上述のフローが繰り返される。
First, in the flow for calculating the input amount shown in FIG. 1, in step S1, the number N (N 1 , N 2 ,
N 3, N 4) is cleared, the next time inserting a coin, the process proceeds from step S2 to step S3, in the denomination discriminating device, charged was coin 10 yen according to the type 50
First, second, third, which are sorted and stored in the storage chambers for yen, 100 yen, and 500 yen, corresponding to the storage of the coins.
The fourth denomination signal is output. In step S4, the denomination number N is incremented for each denomination in response to the denomination signal. In the next step S6, the input amount Z is Z = 10.
· N 1 is calculated according to +50 · N 2 +100 · N 3 +500 · N 4, the above flow until the next product selection button in step S7 is turned on is repeated.

【0004】図2は、投入金額の別の計算例を示してお
り、ステップS1で投入金額Zが0にクリアされ、ステ
ップS4で金種信号に対応してZ=Z+10、Z=Z+
50、Z=Z+100、Z=Z+500の計算式によ
り、コイン投入毎に投入金額Zが加算される。
FIG. 2 shows another example of calculation of the input amount of money. In step S1, the input amount of money Z is cleared to 0, and in step S4, Z = Z + 10, Z = Z + corresponding to the denomination signal.
The insertion amount Z is added each time a coin is inserted by the calculation formula of 50, Z = Z + 100, Z = Z + 500.

【0005】図3に示す販売可否判断のフローでは、図
1または図2にて投入金額Zが新たに計算される毎に、
ステップS11でZ−販売価格の値がワークデータとさ
れ、ステップS12ではそのワークデータに対して内部
に保有している500円コインの保有枚数(払い出し可
能枚数)Nのとき、500円コインによる払い出し額、
500・Nがワークデータ未満か否かが判定され、未満
のときは、つまり500円コインをすべて払い出しても
まだワークデータがある場合、ステップS13にて、5
00円コインをすべて払い出した後のワークデータが計
算され、一方、500・Nがワークデータ以上の場合は
ステップS14、ステップS15のループを繰り返すこ
とにより、500円コインで最大必要枚数を払い出した
後のワークデータが計算される。
In the flow of sales approval / disapproval judgment shown in FIG. 3, every time the input amount Z is newly calculated in FIG. 1 or FIG.
In step S11, the value of the Z-sale price is used as work data, and in step S12, when the number of 500-yen coins held internally to the work data (the number of payable coins) is N, payout is made with 500-yen coins. amount,
It is determined whether or not 500 · N is less than the work data, and when it is less, that is, when there is still work data even after all the 500 yen coins have been paid out, at step S13, 5
After paying out all the 00 yen coins, the work data is calculated. On the other hand, if 500 · N is the work data or more, after repeating the loop of steps S14 and S15, after paying out the maximum required number of 500 yen coins. Work data is calculated.

【0006】ステップS16では上と同様な制御が10
0円コインに対して行われ、更にステップS17、ステ
ップS18では50円コイン、10円コインに対して行
なわれ、ステップS19では以上の演算後のワークデー
タが0以下であるか否かが判定され、販売可能か否かが
判定され、販売可能となった商品に対する販売可能表示
ランプが点灯される。
In step S16, the same control as above is performed.
It is performed for a 0-yen coin, and further, for steps S17 and S18, it is performed for a 50-yen coin and a 10-yen coin. At step S19, it is determined whether or not the work data after the above calculation is 0 or less. Then, it is determined whether or not the product can be sold, and the sellable display lamp for the product that has become available for sale is turned on.

【0007】又、図4は、金種別払い出し枚数を求める
フローを示しており、ステップS11で商品販売後のつ
り銭払い出し金額がワークデータとされ、ステップS1
2の判定で、500円コインを払い出し可能枚数すべて
を払い出してもワークデータが0にならない時は、ステ
ップS13で500円コインを払い出し可能枚数全部払
い出した後のワークデータが計算され、そしてステップ
S13'にて前記払い出し可能枚数が500円コインの
払い出し枚数とされ、一方、そうでなく、ステップS1
4へ進んだ時は、上述と同様にステップS14、ステッ
プS15のループを繰り返すことにより、500円コイ
ンで最大必要枚数を払い出した後のワークデータが計算
され、又、このループ繰り返し数をステップS15'で
カウントし、そのカウント数が500円コインの払い出
し枚数とされる。以下、ステップS16、ステップS1
7、ステップS18でそれぞれ100円、50円、10
円コインの払い出し枚数が計算され、ステップS20で
払い出しがなされる。
FIG. 4 shows a flow for obtaining the number of coins to be paid out by denomination. In step S11, the amount of change paid out after the product is sold is used as work data, and step S1
If the work data does not become 0 even if all 500 yen coins can be paid out in the judgment of 2, the work data after all 500 yen coins can be paid out is calculated in step S13, and step S13 In ', the number of coins that can be paid out is the number of coins to be paid out of 500 yen, while if not, step S1
When the process proceeds to 4, the work data after paying out the maximum required number of coins of 500 yen is calculated by repeating the loop of step S14 and step S15 as described above, and the number of loop repetitions is calculated as step S15. 'Is counted and the counted number is regarded as the payout number of 500 yen coins. Hereinafter, step S16 and step S1
7, 100 yen, 50 yen, 10 in step S18
The number of yen coins to be paid out is calculated and paid out in step S20.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記の
制御装置においては、第1金種=10円、第2金種=5
0円、第3金=100円、第4金種=500円のごとく
ROMに固定的に記憶されているか、もしくは図1のス
テップS6で用いた計算式をプログラムとして記憶して
いるために、国外へ輸出するような場合で自動販売機で
通用可能な金種が変わる場合や、金種の額面が変わった
場合には、ROMまたは制御プログラムを変更しなくて
はならず、手間がかかり、また、費用も高くついた。本
発明は、上述した課題を解決するためになされたもので
あり、金種が変わった場合でも容易に対応できる自動販
売機の制御装置を提供することを目的とする。
However, in the above control device, the first denomination = 10 yen and the second denomination = 5.
Since it is fixedly stored in the ROM such as 0 yen, 3rd money = 100 yen, and 4th denomination = 500 yen, or the calculation formula used in step S6 of FIG. 1 is stored as a program, If the denomination that can be used in the vending machine is changed or the denomination of the denomination is changed when exporting to a foreign country, the ROM or the control program must be changed, which takes time and labor. Also, the cost was high. The present invention has been made to solve the above problems, and an object of the present invention is to provide a control device for an automatic vending machine that can easily cope with a change in denomination.

【0009】[0009]

【課題を解決するための手段】本第1発明の自動販売機
の制御装置は、図5に示すように、どの金種が投入され
たかを判別する投入金種判別手段(11)と、投入枚数を金
種別に記憶する投入枚数記憶手段(12)と、金種別の投入
枚数および該金種の額面から投入金額を算出する投入金
額算出手段(13)と、算出された投入金額を記憶する投入
金額記憶手段(14)とを有する自動販売機の制御装置にお
いて、各金種の額面を設定するための金種額面設定手段
(15)と、設定した金種の額面を記憶する金種別額面記憶
手段(16)とを備え、上記の投入金額算出手段(12)は、投
入された金種の額面として、前記金種別額面記憶手段(1
5)に記憶された額面に基づき投入金額を算出することを
特徴とする。
As shown in FIG. 5, a control device for a vending machine according to the first aspect of the present invention includes an input denomination determination means (11) for determining which denomination has been input, and an input denomination. Insertion number storage means (12) for storing the number of coins by denomination, insertion amount calculation means (13) for calculating an insertion amount from the insertion number of each denomination and the denomination of the denomination, and storing the calculated insertion amount In the control device of the vending machine having the input money storage means (14), a denomination denomination setting means for setting the denomination of each denomination
(15) and a denomination type denomination storage means (16) for storing the denomination of the set denomination, and the above-mentioned input amount calculation means (12) is the denomination type denomination as the denomination of the inserted denomination. Memory means (1
It is characterized in that the input amount of money is calculated based on the face value stored in 5).

【0010】本第2発明の自動販売機の制御装置は、図
6に示すように、どの金種が投入されたかを判別する投
入金種判別手段(21)と、投入された金種の額面を投入金
額に加算する投入金額加算手段(22)と、投入金額加算手
段(22)で加算された投入金額を記憶する投入金額記憶手
段(23)とを有する自動販売機の制御装置において、各金
種の額面を設定するための金種額面設定手段(24)と、設
定した金種の額面を記憶する金種別額面記憶手段(25)と
を備え、上記の投入金額加算手段(22)は、投入された金
種の額面として、前記金種別額面記憶手段(25)に記憶さ
れた額面を用いて投入金額を算出することを特徴とす
る。
As shown in FIG. 6, the control device for the vending machine according to the second aspect of the present invention includes an input denomination determining means (21) for determining which denomination has been input, and a denomination of the input denomination. In the control device of the vending machine, which has an input amount adding means (22) for adding the input amount to the input amount and an input amount storage means (23) for storing the input amount added by the input amount adding means (22), The denomination denomination setting means (24) for setting the denomination of the denomination and the denomination denomination storage means (25) for storing the denomination of the set denomination are provided, and the above-mentioned input amount adding means (22) is As the denomination of the inserted denomination, the denomination stored in the denomination-based denomination storage means (25) is used to calculate the input amount.

【0011】本第3発明の自動販売機の制御装置は、図
7に示すように、投入した金額を記憶する投入金額記憶
手段(31)と、各コラムの商品の販売価格を記憶する販売
価格記憶手段(32)と、金種別につり銭として払い出しが
可能な枚数を記憶する払い出し可能枚数記憶手段(33)
と、金種別の払い出し可能枚数および該金種の額面か
ら、各コラムの商品販売後の残金をつり銭として払い出
し可能か否かを判定するつり銭払い出し可能判定手段(3
4)と、つり銭払い出し可能判定手段(34)の判断結果に基
づき各コラム毎に商品の販売が可能か否かを判定する販
売可否判定手段(35)とを備えた自動販売機の制御装置に
おいて、各金種の額面を設定するための金種額面設定手
段(36)と、設定した金種の額面を記憶する金種別額面記
憶手段(37)とを備え、上記のつり銭払い出し可能判定手
段(34)は、払い出す金種の額面として、前記金種別額面
記憶手段(37)に記憶された額面を採用してつり銭払い出
し可能か否かを判断することを特徴とする。
As shown in FIG. 7, the controller of the vending machine of the third aspect of the present invention, as shown in FIG. 7, has an input amount storage means (31) for storing the input amount and a selling price for storing the selling price of the product in each column. A storage means (32) and a payable number storage means (33) for storing the number of coins that can be paid out as change for each type of money.
And a changeable payout determination means (3) for determining whether or not the balance after the sale of the products in each column can be paid out as change based on the number of payouts by denomination and the face value of the denomination (3
4), and in the control device of the vending machine including the sale availability determination means (35) for determining whether or not the product can be sold for each column based on the determination result of the change-out possibility determination means (34) , A denomination denomination setting means (36) for setting the denomination of each denomination, and a denomination type denomination storage means (37) for storing the denomination of the set denomination, and the above-mentioned change payout determination means ( 34) is characterized in that the denomination stored in the denomination denomination storage means (37) is adopted as the denomination of the denomination to be paid out, and it is determined whether or not the change can be paid out.

【0012】本第4発明の自動販売機の制御装置は、図
8に示すように、販売後のつり銭金額を記憶するつり銭
金額記憶手段(41)と、金種別につり銭として払い出しが
可能な枚数を記憶する払い出し可能枚数記憶手段(42)
と、つり銭額、金種別の払い出し可能枚数および該金種
の額面から、どの金種にて何枚払い出すかを算出するつ
り銭払い出し枚数算出手段(43)と、金種別に払い出すつ
り銭払い出し手段(44)とを有する自動販売機の制御装置
において、各金種の額面を設定するための金種額面設定
手段(45)と、設定した金種の額面を記憶する金種別額面
記憶手段(46)とを備え、上記のつり銭払い出し可能枚数
算出手段(43)は、払い出す金種の額面として、前記金種
別額面記憶手段(46)に記憶された額面を採用してつり銭
払い出し枚数を算出することを特徴とする。
As shown in FIG. 8, the control device for a vending machine according to the fourth aspect of the present invention includes a change amount storage means (41) for storing the change amount after sale and the number of changeable coins according to the type of money. Means for storing the number of payable sheets (42)
And the change amount, the payable number of denominations, and the face value of the denominations, the change-out number calculation means (43) for calculating how many denominations to pay out in which denomination, and the change-out means for paying out according to denominations (44) In the control device of the vending machine having, the denomination denomination setting means (45) for setting the denomination of each denomination, and the denomination type denomination storage means (46) for storing the denomination of the set denomination. ) And the above-mentioned changeable payout number calculating means (43) calculates the payout amount of change by adopting the face value stored in the face value storing means (46) as the face value of the denomination to be paid out. It is characterized by

【0013】[0013]

【作用】第1発明によれば、投入したコインが投入金種
判別手段(11)によってコインの金種が判別され、投入枚
数記憶手段(12)によって金種別に投入枚数が記憶され
る。そして、投入金額算出手段(13)により、金種別の投
入枚数から投入金額が算出されるが、その際、投入した
金種の額面として、金種額面設定手段(15)で設定した額
面が採用されるので、金種の額面が変更されるような場
合でも容易に対処できる。
According to the first aspect of the invention, the coin type of the inserted coin is discriminated by the coin type discriminating means (11), and the coin number storing means (12) stores the coin number of coins inserted. Then, the input amount calculation means (13) calculates the input amount from the number of inputs of each denomination, and at that time, the denomination set by the denomination denomination setting means (15) is adopted as the denomination of the inserted denomination. Therefore, even if the denomination of the denomination is changed, it can be easily dealt with.

【0014】第2発明によれば、投入したコインが投入
金種判別手段(21)によってコインの金種が判別され、投
入金額加算手段(22)により、投入した金種の額面が加算
されるが、その際、投入した金種の額面として、金種額
面設定手段(24)で設定した額面が採用される。
According to the second aspect of the invention, the coin type of the inserted coin is discriminated by the coin type discriminating means (21), and the coin amount of the coin inserted is added by the coin amount adding means (22). However, at that time, the denomination set by the denomination denomination setting means (24) is adopted as the denomination of the introduced denomination.

【0015】第3発明によれば、投入金額憶手段(31)に
記憶された投入金額から販売価格記憶手段(32)に記憶さ
れた販売価格を減じた値と、払い出し可能枚数記憶手段
(33)に記憶された金種別の払い出し可能枚数および該金
種の額面とから、つり銭払い出し可能判定手段(34)によ
ってつり銭の払い出しが可能か否かが判定され、可能な
場合に販売可否判定手段(35)によって販売可能と判定さ
れるが、前記つり銭払い出し可能判定手段(34)は、払い
出しする金種の額面として、金種額面設定手段(36)で設
定した額面が採用されるので、金種額面の変更に容易に
対応できる。
According to the third aspect of the present invention, a value obtained by subtracting the selling price stored in the selling price storage means (32) from the input money stored in the input money storage means (31) and the payable number storage means.
From the payable number of coins of each denomination and the face value of the denomination stored in (33), it is determined whether or not the change can be paid out by the changeable payout determination means (34). Although it is determined that the means (35) is available for sale, the change payout possibility determination means (34) uses the denomination set by the denomination denomination setting means (36) as the denomination of the denomination to be paid out. Can easily respond to changes in denomination.

【0016】第4発明によれば、つり銭金額記憶手段(4
1)で記憶したつり銭額と、払い出し可能枚数記憶手段(4
2)で記憶した金種別のつり銭払い出し枚数および該金種
の額面とから、つり銭払い出し枚数算出手段(43)によっ
て金種別の払い出し枚数が算出されるが、その際、つり
銭として払い出す金種の額面として、各金種の額面を設
定するための金種額面設定手段(45)で設定した額面が採
用されるので、金種額面の変更に容易に対処できる。
According to the fourth invention, the change amount storage means (4
The change amount stored in 1) and the payable number storage means (4
From the number of coins to be dispensed for each denomination and the face value of the denomination stored in 2), the number of coins to be dispensed for each denomination is calculated by the change-out amount calculation means (43). As the denomination, the denomination set by the denomination denomination setting means (45) for setting the denomination of each denomination is adopted, so that the denomination denomination change can be easily dealt with.

【0017】[0017]

【実施例】図5に、本発明の自動販売機の制御装置の一
実施例を示している。1は、本自動販売機の全体の制御
を行う制御装置であり、CPU1A、CPU1Aの制御
プログラムを格納するROM1B、種々の販売データを
随時記憶するRAM1Cを備えると共に、設定した金種
の額面を記憶する書き換え可能なEEPROM1Dを含
む。2は、投入した金銭を処理するコインメックであ
り、投入した金銭の種類を識別する金銭識別装置2A
と、商品販売後のつり銭を払い出すつり銭払い出し装置
2Bとからなる。3は、コインメック2への入金額によ
り、販売可能な商品を示す販売可能表示ランプである。
4は、商品を選択する押釦であり、5は、各商品を搬出
する搬出機構である。6は、金種別にその額面を設定す
るための金種額面設定装置であり、テンキー6A、テン
キー6A上に設けた設定開始キー6B、および表示器6
Cを備える。
FIG. 5 shows an embodiment of a control device for a vending machine according to the present invention. Reference numeral 1 denotes a control device for controlling the entire vending machine, including a CPU 1A, a ROM 1B storing a control program for the CPU 1A, and a RAM 1C storing various sales data at any time, and storing a denomination of a set denomination. Rewritable EEPROM 1D. Reference numeral 2 is a coin mech for processing the inserted money, and is a money identifying device 2A for identifying the type of inserted money.
And a change payout device 2B for paying out change after the sale of the product. Reference numeral 3 is a sellable display lamp showing a product that can be sold depending on the amount of money deposited in the coin mech 2.
Reference numeral 4 is a push button for selecting a product, and reference numeral 5 is a carry-out mechanism for carrying out each product. Reference numeral 6 denotes a denomination denomination setting device for setting the denomination for each denomination, and includes a numeric keypad 6A, a setting start key 6B provided on the numeric keypad 6A, and a display unit 6.
With C.

【0018】最初に、金種額面設定装置5による額面設
定について述べる。その場合、設定開始キー5Aを押し
て金種別の額面設定モードとする。次にこの自動販売機
で使用可能な第1の金種として10円玉をコインメック
2に投入した上でテンキー5Bにより、“10”を入力
し、不図示のエンターキーを押す。第2の金種として5
0玉を投入したときは“50”を入力してエンターキー
を押し、以下、第3および第4の金種として100円
玉、500円玉に対して同様な操作を行う。1000円
紙幣を受け付けるものであれば、この1000円に対し
ても額面設定を行い、最後に不図示の終了キーを押すこ
とにより、この設定モードが終了する。
First, the denomination setting by the denomination denomination setting device 5 will be described. In that case, the setting start key 5A is pressed to enter the denomination-based denomination setting mode. Next, after inserting a 10-yen coin into the coin mech 2 as the first denomination that can be used in this vending machine, enter "10" with the ten keys 5B and press the enter key (not shown). 5 as the second denomination
When 0 coins are inserted, "50" is input and the enter key is pressed, and thereafter, the same operation is performed for 100-yen coins and 500-yen coins as the third and fourth denominations. If a 1000-yen bill is accepted, the face value is set for the 1000-yen bill, and the end key (not shown) is finally pressed to end the setting mode.

【0019】次に投入金額の計算を図10を参照して述
べる。ステップS1で金種別のカウント枚数Nがクリア
され、次に、例えば10円玉3個、100円玉1個を順
に投入するものとする。ステップS3では、投入した1
0円コインがコインメック2の金銭識別装置2Aで金種
が判定され、第1金種の信号が出力される。ステップS
4では第1金種の信号を受けて第1金種のカウント枚数
1=1となり、そして、ステップS5で各金種の額面
A,B,C,D(本実施例ではそれぞれ10,50,1
00,500円)が読み出され、ステップS6で、Z=
10・1+50・0+100・0+500・0の計算に
より、投入金額Z=10円となる。続いて10円コイン
を投入することにより、N1=2となり、Z=20円と
なる。このようにして10円コイン3枚、100円コイ
ン1枚を投入すれば、N1=3、N3=1となり、Z=1
0・3+50・0+100・1+500・0=130円
となる。後で説明するように130円を投入した時点で
販売可能となった商品選択釦をオンにすれば、ステップ
S7から販売制御のフローへ以降する。
Next, the calculation of the input amount will be described with reference to FIG. In step S1, the counted number N of denominations is cleared, and then, for example, three 10-yen coins and one 100-yen coin are sequentially inserted. In step S3, the input 1
The denomination of the 0-yen coin is determined by the money identifying device 2A of the coin mech 2, and the signal of the first denomination is output. Step S
In step 4, the first denomination signal is received and the count number N 1 = 1 of the first denomination is obtained. Then, in step S5, the denominations A, B, C and D of the denominations (10, 50 respectively in this embodiment). , 1
(00,500 yen) is read, and Z =
By the calculation of 10.1 + 50.0 + 100 + 0 + 500. 0, the input amount Z = 10 yen. Then, by inserting a 10-yen coin, N 1 = 2 and Z = 20 yen. If three 10-yen coins and one 100-yen coin are inserted in this way, N 1 = 3 and N 3 = 1 and Z = 1.
It becomes 0,3 + 50,0 + 100,1 + 500,0 = 130 yen. As will be described later, if the product selection button that can be sold at the time when 130 yen is put in is turned on, the flow proceeds from step S7 to the sales control flow.

【0020】投入金額の計算の別の実施例を図11に示
している。図11の計算法では、ステップS3にて金種
が識別された後、ステップS4で各金種の額面が読み出
され、そしてステップS5では0にクリアされていた投
入金額Zに投入した金種の額面が加算される。従って、
10円コイン3個、100円コイン1個を投入していく
と、Zは、10,20,30,130のごとく加算され
ていく。
Another embodiment of the calculation of the input amount is shown in FIG. In the calculation method of FIG. 11, after the denominations are identified in step S3, the denominations of the denominations are read in step S4, and the denominations inserted into the input amount Z which has been cleared to 0 in step S5. The face value will be added. Therefore,
When three 10-yen coins and one 100-yen coin are inserted, Z is added as 10, 20, 30, 130.

【0021】図12は、販売可否の判断を行うフローを
示している。ステップS12ないしステップS15に
て、図3の従来例で説明したのと同じように500円コ
インによる払い出し枚数が計算されるが、従来例と異な
るのは、額面が500円に固定されておらず、図10の
ステップS5で第4金種に対して読み出した設定額面D
(本実施例では500円)が用いられる。ステップS16
ないしステップS18においてもそれぞれ第3金種、第
2金種、第1金種に対して設定した額面C,B,A(本
実施例では100,50,10円)が用いられる。
FIG. 12 shows a flow for making a sale approval / disapproval decision. In steps S12 to S15, the number of coins to be paid out with a 500-yen coin is calculated in the same manner as described in the conventional example of FIG. 3, but the difference from the conventional example is that the face value is not fixed at 500 yen. , The set face value D read for the fourth denomination in step S5 of FIG.
(500 yen in this embodiment) is used. Step S16
Also in step S18, the denominations C, B, A (100, 50, 10 yen in this embodiment) set for the third denomination, the second denomination, and the first denomination are used, respectively.

【0022】また、図13は、金種別の払い出し枚数を
示したフローであり、ステップS12ないしステップS
15'にて、図4の従来例で説明したのと同じように5
00円コインによる払い出し枚数が計算されるが、ここ
でも、額面が500円に固定されておらず、設定額面D
(本実施例では500円)が用いられ、ステップS16な
いしステップS18においてもそれぞれ第3金種、第2
金種、第1金種に対して設定した額面C,B,A(本実
施例では100,50,10円)が用いられる。
Further, FIG. 13 is a flow showing the number of payouts by denomination, that is, step S12 to step S12.
15 ', as described in the conventional example of FIG.
The number of coins to be paid out with a 00 yen coin is calculated, but again, the face value is not fixed at 500 yen, and the set face value D
(500 yen in this embodiment) is used, and the third denomination and the second denomination are also used in steps S16 to S18, respectively.
The face value C, B, A set for the denomination and the first denomination (100, 50, 10 yen in this embodiment) is used.

【0023】[0023]

【発明の効果】以上説明したように、本発明は、自動販
売機で使用する各金種の額面を随意に設定可能とし、投
入金額の計算やつり銭の払い出しの計算を、設定した額
面に基づいて行うようにしたので、使用する金種を変え
る時や金種の額面が変わった場合にも、その金種の額面
を設定するだけで容易に対応でき省力化を図れる。
As described above, according to the present invention, the denomination of each denomination used in the vending machine can be arbitrarily set, and the calculation of the input amount and the change payment are calculated based on the set denomination. Since this is done by setting the denomination of the denomination when changing the denomination to be used or when the denomination of the denomination is changed, it is possible to easily deal with labor saving.

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

【図1】 従来の投入金額の計算例を示したフローチャ
ート
FIG. 1 is a flow chart showing an example of calculation of a conventional input amount.

【図2】 従来の別の投入金額の計算例を示したフロー
チャート
FIG. 2 is a flowchart showing another conventional calculation example of the input amount.

【図3】 従来の販売可否判断を示したフローチャートFIG. 3 is a flow chart showing a conventional sales approval / disapproval judgment.

【図4】 従来の金種別払い出し枚数の計算例を示した
フローチャート
FIG. 4 is a flowchart showing a conventional calculation example of the number of payouts by denomination.

【図5】 本発明になる投入金額の計算を行う回路構成
のクレーム対応図
FIG. 5 is a diagram illustrating a complaint structure of a circuit configuration for calculating an input amount according to the present invention.

【図6】 本発明になる別の投入金額の計算を行う回路
構成のクレーム対応図
FIG. 6 is a diagram showing a complaint structure of a circuit configuration for calculating another money to be paid according to the present invention.

【図7】 本発明になる販売可否判断を行う回路構成の
クレーム対応図
FIG. 7 is a diagram showing a complaint structure of a circuit configuration for determining whether the present invention can be sold.

【図8】 本発明になる金種別払い出し枚数の計算を行
う回路構成のクレーム対応図
FIG. 8 is a diagram showing a complaint structure of a circuit configuration for calculating the number of payouts by denomination according to the present invention.

【図9】 本発明の制御装置の1実施例を示した制御ブ
ロック図
FIG. 9 is a control block diagram showing an embodiment of a control device of the present invention.

【図10】 本発明になる投入金額の計算例を示したフ
ローチャート
FIG. 10 is a flow chart showing an example of calculation of the input amount according to the present invention.

【図11】 本発明になる別の投入金額の計算例を示し
たフローチャート
FIG. 11 is a flowchart showing another example of calculating the input amount of money according to the present invention.

【図12】 本発明になる販売可否判断を示したフロー
チャート
FIG. 12 is a flow chart showing a sales approval / disapproval judgment according to the present invention.

【図13】 本発明になる金種別払い出し枚数の計算例
を示したフローチャート
FIG. 13 is a flowchart showing an example of calculation of the number of coins to be paid out according to the present invention.

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

1 制御装置 1A CPU 1B ROM 1C RAM 1D EEPROM 2 コインメック 2A 金銭識別装置 2B つり銭払い出し装置 3 商品販売可能表示ランプ 4 商品選択釦 5 商品搬出機構 6 金銭額面設定装置 6A テンキー 6B 設定開始キー 6C 表示器 1 Control device 1A CPU 1B ROM 1C RAM 1D EEPROM 2 Coinmec 2A Money identification device 2B Money dispenser 3 Product sellable display lamp 4 Product selection button 5 Product carry-out mechanism 6 Money face value setting device 6A Numeric keypad 6B Setting start key 6C Indicator

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 どの金種が投入されたかを判別する投入
金種判別手段(11)と、 投入枚数を金種別に記憶する投入枚数記憶手段(12)と、 金種別の投入枚数および該金種の額面から投入金額を算
出する投入金額算出手段(13)と、 算出された投入金額を記憶する投入金額記憶手段(14)と
を有する自動販売機の制御装置において、 各金種の額面を設定するための金種額面設定手段(15)
と、 設定した金種の額面を記憶する金種別額面記憶手段(16)
とを備え、 上記の投入金額算出手段(12)は、投入された金種の額面
として、前記金種別額面記憶手段(15)に記憶された額面
に基づき投入金額を算出することを特徴とする自動販売
機の制御装置。
1. A coin type discriminating means (11) for discriminating which coin type has been inserted, a coin number storing means (12) for storing the coin number for each coin type, an coin number for each coin type and the coin type. In the controller of the vending machine having the input amount calculation means (13) for calculating the input amount from the denomination of the seed and the input amount storage means (14) for storing the calculated input amount, the denomination of each denomination is calculated. Money type face value setting means for setting (15)
And a denomination denomination storage means for storing the denomination of the set denomination (16)
The input money amount calculation means (12) is characterized in that the input money amount is calculated based on the denomination stored in the denomination type denomination storage means (15) as the denomination of the inserted denomination. Control device for vending machines.
【請求項2】 どの金種が投入されたかを判別する投入
金種判別手段(21)と、 投入された金種の額面を投入金額に加算する投入金額加
算手段(22)と、 投入金額加算手段(22)で加算された投入金額を記憶する
投入金額記憶手段(23)とを有する自動販売機の制御装置
において、 各金種の額面を設定するための金種額面設定手段(24)
と、 設定した金種の額面を記憶する金種別額面記憶手段(25)
とを備え、 上記の投入金額加算手段(22)は、投入された金種の額面
として、前記金種別額面記憶手段(25)に記憶された額面
を用いて投入金額を算出することを特徴とする自動販売
機の制御装置。
2. An input denomination determining means (21) for determining which denomination has been input, an input amount adding means (22) for adding the face value of the input denomination to the input amount, and an addition of the input amount. In the control device of the vending machine having the input amount storage means (23) for storing the input amount added by the means (22), the denomination denomination setting means (24) for setting the denomination of each denomination
And a denomination type denomination storage means for storing the denomination of the set denomination (25)
And the input amount adding means (22) is characterized in that the input amount is calculated by using the face value stored in the face value storing means (25) as the face value of the inserted denomination. Vending machine controller.
【請求項3】 投入した金額を記憶する投入金額記憶手
段(31)と、 各コラムの商品の販売価格を記憶する販売価格記憶手段
(32)と、 金種別につり銭として払い出しが可能な枚数を記憶する
払い出し可能枚数記憶手段(33)と、 金種別の払い出し可能枚数および該金種の額面から、各
コラムの商品販売後の残金をつり銭として払い出し可能
か否かを判定するつり銭払い出し可能判定手段(34)と、 つり銭払い出し可能判定手段(34)の判断結果に基づき各
コラム毎に商品の販売が可能か否かを判定する販売可否
判定手段(35)とを備えた自動販売機の制御装置におい
て、 各金種の額面を設定するための金種額面設定手段(36)
と、 設定した金種の額面を記憶する金種別額面記憶手段(37)
とを備え、 上記のつり銭払い出し可能判定手段(34)は、払い出す金
種の額面として、前記金種別額面記憶手段(37)に記憶さ
れた額面を採用してつり銭払い出し可能か否かを判断す
ることを特徴とする自動販売機の制御装置。
3. An input amount storage means (31) for storing the input amount and a selling price storage means for storing the selling price of the product in each column.
(32), the payable number storage means (33) for storing the number of coins that can be paid out as change, and the balance after the sale of the product in each column from the payable number of coins and the face value of the coin type. Based on the judgment result of the change-out possibility judgment means (34) and the change-out possibility judgment means (34), it is judged whether or not the product can be sold for each column In the control device of the vending machine provided with the possibility determination means (35), the denomination denomination setting means (36) for setting the denomination of each denomination
And a denomination type denomination storage means for storing the denomination of the set denomination (37)
The above-mentioned change-out possibility determination means (34) determines whether or not change-out is possible by adopting the face value stored in the above-mentioned denomination type face value storage means (37) as the face value of the denomination to be paid out. A control device for a vending machine characterized by:
【請求項4】 販売後のつり銭金額を記憶するつり銭金
額記憶手段(41)と、金種別につり銭として払い出しが可
能な枚数を記憶する払い出し可能枚数記憶手段(42)と、 つり銭額、金種別の払い出し可能枚数および該金種の額
面から、どの金種にて何枚払い出すかを算出するつり銭
払い出し枚数算出手段(43)と、 金種別に払い出すつり銭払い出し手段(44)とを有する自
動販売機の制御装置において、 各金種の額面を設定するための金種額面設定手段(45)
と、 設定した金種の額面を記憶する金種別額面記憶手段(46)
とを備え、 上記のつり銭払い出し可能枚数算出手段(43)は、払い出
す金種の額面として、前記金種別額面記憶手段(46)に記
憶された額面を採用してつり銭払い出し枚数を算出する
ことを特徴とする自動販売機の制御装置。
4. A change amount storage means (41) for storing a change amount after sale, a payable amount storage means (42) for storing the number of payable change amounts as a change amount, and a change amount and a change type. The payout number calculation means (43) for calculating how many coins are to be paid out in which denomination from the payable number of denominations and the face value of the denomination, and the changeout means (44) for the denomination. A denomination denomination setting means for setting the denomination of each denomination in the controller of the vending machine (45)
And a denomination denomination storage means for storing the denomination of the set denomination (46)
And the above-mentioned change-out payable number calculation means (43) adopts the face value stored in the above-mentioned denomination type face value storage means (46) as the face value of the denomination to be paid out, and calculates the change-out amount. Controller for a vending machine characterized by.
【請求項5】 請求項3の制御装置および請求項4の制
御装置を備えるとともに、請求項1もしくは請求項2の
制御装置を備えたことを特徴とする自動販売機の制御装
置。
5. A control device for a vending machine, comprising the control device according to claim 3 and the control device according to claim 4, and the control device according to claim 1 or 2.
JP8197092A 1992-04-03 1992-04-03 Controller for automatic vending machine Pending JPH05282529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8197092A JPH05282529A (en) 1992-04-03 1992-04-03 Controller for automatic vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8197092A JPH05282529A (en) 1992-04-03 1992-04-03 Controller for automatic vending machine

Publications (1)

Publication Number Publication Date
JPH05282529A true JPH05282529A (en) 1993-10-29

Family

ID=13761357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8197092A Pending JPH05282529A (en) 1992-04-03 1992-04-03 Controller for automatic vending machine

Country Status (1)

Country Link
JP (1) JPH05282529A (en)

Similar Documents

Publication Publication Date Title
US5147021A (en) Vending machine
JP2740979B2 (en) Vending machine control device
EP0560827B1 (en) Money validators
US20020195309A1 (en) Money handling apparatus and method
JP4497033B2 (en) vending machine
CA2170471C (en) Global coin payout method and control apparatus
JPH05282529A (en) Controller for automatic vending machine
US20040124063A1 (en) Token purchasing device
JP2686923B2 (en) Change control management device for vending machines
JP3157221B2 (en) vending machine
JPH04177494A (en) Coin processor for automatic vending machine
JPH07325975A (en) Change discharging device
JP3300589B2 (en) vending machine
JPH05143824A (en) Automatic exchange machine with exchange quantity display control function
JPS6052477B2 (en) money exchange machine
JPS6126116B2 (en)
JP2022093931A (en) Money processor, money processing method, and money processing system
JPH0517737Y2 (en)
JPH0431647Y2 (en)
KR100190624B1 (en) Article sale method of automatic vending machine
JP2536581Y2 (en) vending machine
JP2676389B2 (en) Sales information display for vending machines
JPS5922274B2 (en) vending machine
JPH05266297A (en) Money exchanging device
JPH1173531A (en) Coin changing machine