JPH0129665Y2 - - Google Patents

Info

Publication number
JPH0129665Y2
JPH0129665Y2 JP1984092131U JP9213184U JPH0129665Y2 JP H0129665 Y2 JPH0129665 Y2 JP H0129665Y2 JP 1984092131 U JP1984092131 U JP 1984092131U JP 9213184 U JP9213184 U JP 9213184U JP H0129665 Y2 JPH0129665 Y2 JP H0129665Y2
Authority
JP
Japan
Prior art keywords
inventory
timer
coin
switch
coin storage
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
Application number
JP1984092131U
Other languages
Japanese (ja)
Other versions
JPS618383U (en
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 filed Critical
Priority to JP9213184U priority Critical patent/JPS618383U/en
Publication of JPS618383U publication Critical patent/JPS618383U/en
Application granted granted Critical
Publication of JPH0129665Y2 publication Critical patent/JPH0129665Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【考案の詳細な説明】 (イ) 産業上の利用分野 本考案は、複数の硬貨収納筒を備えた自動販売
機の硬貨回収制御装置に関する。
[Detailed Description of the Invention] (a) Industrial Application Field The present invention relates to a coin collection control device for a vending machine equipped with a plurality of coin storage tubes.

(ロ) 従来技術 自動販売機において、販売時に客が投入して硬
貨収納筒に蓄積した硬貨を回収する必要がある
が、この場合回収スイツチの操作により硬貨収納
筒の硬貨払出装置を駆動させて回収するのが一般
的である。そして複数の硬貨収納筒を備えた自動
販売機では硬貨収納筒毎にこの回収スイツチを設
けるのであるが、近年500円硬貨の登場により従
来からの100円・50円・10円を含め4本の硬貨収
納筒があり夫々に回収スイツチを設けると装置が
煩雑化する。特に最近の傾向としては、かかる自
動補給の硬貨収納筒に限らず釣銭として頻繁に使
用する硬貨を予め補充しておく予備釣銭用の硬貨
収納筒からも硬貨を回収する自動販売機も現れ、
この場合5本乃至6本の硬貨収納筒に回収スイツ
チを設けると装置の煩雑化に加えてコストの上昇
も相当なものとなる。そのため実開昭54−49994
号公報明細書や実開昭55−81866号公報明細書に
は単一個の回収スイツチにより複数の硬貨収納筒
から硬貨の回収制御を行なうことが開示されてい
る。
(b) Prior art In a vending machine, it is necessary to collect coins inserted by a customer and accumulated in a coin storage tube at the time of sale, but in this case, the coin dispensing device of the coin storage tube is activated by operating a collection switch. It is common to collect them. Vending machines equipped with multiple coin storage tubes are equipped with this recovery switch for each coin storage tube, but in recent years, with the advent of 500 yen coins, there are four coin collection switches, including 100 yen, 50 yen, and 10 yen. If there are coin storage tubes and a collection switch is provided for each, the device becomes complicated. In particular, recent trends have seen the emergence of vending machines that collect coins not only from automatically replenishing coin storage cylinders, but also from spare change coin storage cylinders that are pre-filled with coins that are frequently used as change.
In this case, if a collection switch is provided for five or six coin storage cylinders, the apparatus will become complicated and the cost will increase considerably. Therefore, Utsukai Showa 54-49994
The specification of Japanese Utility Model Publication No. 55-81866 discloses that a single recovery switch controls the collection of coins from a plurality of coin storage tubes.

(ハ) 考案が解決しようとする問題点 しかしながら上記の従来技術で前者の場合は、
各硬貨収納筒に対応するビツトを有したシフトレ
ジスタを備えて、回収スイツチの動作によりシフ
トレジスタの各ビツトを順次シフトして各硬貨収
納筒からの収納硬貨の払出しを制御する構成であ
るために各硬貨収納筒の回収順序は決められてお
り、回収順序を変更したい場合や特定の収納筒か
らのみ回収したい場合には回収スイツチによつて
各ビツトをセツト/リセツトして当該収納筒に対
応するビツトが出力を生じるようにしなければな
らず、操作が非常に煩わしいものとなる。また後
者の場合には、一度回収スイツチを操作すると自
動的に順次各硬貨収納筒を移行するために特定の
硬貨収納筒を指定できない。
(c) Problems to be solved by the invention However, in the case of the former with the above prior art,
The structure is such that a shift register having a bit corresponding to each coin storage cylinder is provided, and each bit of the shift register is sequentially shifted by the operation of a collection switch to control the payout of stored coins from each coin storage cylinder. The collection order of each coin storage tube is determined, and if you want to change the collection order or collect coins only from a specific storage tube, use the collection switch to set/reset each bit to correspond to that storage tube. The bits must be made to produce an output, making the operation very cumbersome. In the latter case, once the collection switch is operated, each coin storage tube is automatically transferred in sequence, so a specific coin storage tube cannot be designated.

したがつて本考案は、回収する硬貨収納筒を指
定するための選定スイツチと回収動作の開始を指
定するためのインベントリスイツチとを設けて、
選定スイツチにて硬貨収納筒を指定した後インベ
ントリスイツチを動作すると目的の硬貨収納筒か
らの硬貨排出動作となるよう構成することで、回
収する硬貨収納筒を直接指定でき、しかも特定の
硬貨収納筒からの硬貨回収中に再び選定スイツチ
及びインベントリスイツチを動作すると速やかに
次の硬貨収納筒からの硬貨排出制御をなしうる装
置を提供するものである。
Therefore, the present invention provides a selection switch for specifying the coin storage tube to be collected and an inventory switch for specifying the start of the collection operation,
By configuring the system so that coins are ejected from the target coin storage tube when the inventory switch is activated after specifying a coin storage tube with the selection switch, it is possible to directly specify the coin storage tube to be collected, and also to select a specific coin storage tube. To provide a device that can quickly control coin ejection from the next coin storage cylinder when the selection switch and inventory switch are operated again during coin collection from the coin storage cylinder.

(ニ) 問題点を解決するための手段 上記の問題点を解決するために本考案による自
動販売機の硬貨回収制御装置は、複数の硬貨収納
筒を備えた自動販売機において、操作回数に応じ
て何れかの前記硬貨収納筒を指定する単一の選定
スイツチと、該スイツチが操作されるたびにカウ
ント動作するインベントリ金種カウンタと、硬貨
回収動作の開始或いは停止を指令する単一のイン
ベントリスイツチと、前記選定スイツチの操作に
よりタイマ動作を開始するタイマと、該タイマ動
作期間内での前記インベントリスイツチの操作に
てインベントリフラグをセツトするとともに前記
タイマを不動作にし、該フラグのセツト状態で前
記インベントリスイツチが操作されると該フラグ
及び前記インベントリ金種カウンタをリセツトす
る制御手段と、前記インベントリフラグがセツト
状態にあると前記カウンタのカウント値に応じた
前記硬貨収納筒からの硬貨払出を指令するととも
に、該硬貨収納筒からの硬貨回収が完了すると硬
貨払出の停止を指令して前記インベントリフラグ
をリセツトする払出制御手段とから成り、前記制
御手段は前記タイマの動作期間内に前記インベン
トリスイツチが操作されないと前記インベントリ
金種カウンタをリセツトする構成である。
(d) Means for Solving the Problems In order to solve the above problems, the coin collection control device for a vending machine according to the present invention is capable of controlling the coin collection according to the number of operations in a vending machine equipped with a plurality of coin storage cylinders. a single selection switch that designates any of the coin storage cylinders; an inventory denomination counter that performs a counting operation each time the switch is operated; and a single inventory switch that commands the start or stop of coin collection operation. Then, by operating the selection switch, the timer starts its operation, and by operating the inventory switch within the timer operating period, the inventory flag is set and the timer is made inactive, and with the flag set, the A control means for resetting the flag and the inventory denomination counter when the inventory switch is operated, and a control means for commanding coin dispensing from the coin storage tube according to the count value of the counter when the inventory flag is set. and a dispensing control means for instructing a stop of coin dispensing and resetting the inventory flag when the coin collection from the coin storage tube is completed, and the control means is configured to operate the inventory switch within the operation period of the timer. If not, the inventory denomination counter is reset.

(ホ) 作用 本考案の作用を第4図の機能ブロツク図にて説
明すると、選定スイツチの操作回数により回収す
る硬貨収納筒を指定するが、カウンタはこのとき
の操作回数をカウントする。同時に選定スイツチ
を操作したときにタイマが動作を開始するが、こ
のタイマ期間内にインベントリスイツチが操作さ
れると、制御手段はインベントリフラグをセツト
するとともにタイマを不動作にして硬貨回収モー
ドにセツトする。硬貨回収モードとなると、払出
制御手段はカウンタのカウント値に応じた硬貨収
納筒からの硬貨払出を指令し、これにより選定さ
れた硬貨収納筒からの硬貨払出動作となる。
(E) Function The function of the present invention will be explained with reference to the functional block diagram of FIG. 4. The coin storage cylinder to be collected is designated by the number of times the selection switch is operated, and the counter counts the number of times the selection switch is operated. When the selection switch is operated at the same time, the timer starts operating, but if the inventory switch is operated within this timer period, the control means sets the inventory flag, deactivates the timer, and sets the coin collection mode. . When the coin collection mode is entered, the dispensing control means commands coin dispensing from the coin storage cylinder according to the count value of the counter, thereby causing a coin dispensing operation from the selected coin storage cylinder.

そして硬貨収納筒からの硬貨払出中に選定スイ
ツチが操作されるとカウンタの内容はインクリメ
ントされ、また選定スイツチの操作に応答してタ
イマも動作する。しかして所望の硬貨収納筒に対
応する値までカウンタの値をインクリメントした
後、タイマ期間内でインベントリスイツチを操作
すると、インベントリフラグが引き続いてセツト
しているために新たな硬貨収納筒からの払出動作
となる。
When the selection switch is operated while coins are being dispensed from the coin storage cylinder, the contents of the counter are incremented, and the timer also operates in response to the operation of the selection switch. However, when the inventory switch is operated within the timer period after incrementing the value of the counter to the value corresponding to the desired coin storage cylinder, the inventory flag continues to be set, so the operation for dispensing from the new coin storage cylinder is performed. becomes.

払出制御手段は現在払出中の硬貨収納筒からの
硬貨の払出しを完了したことを検出するとインベ
ントリフラグをリセツトし、これにより制御手段
は硬貨回収モードを解除する。
When the dispensing control means detects that dispensing of coins from the currently dispensing coin storage cylinder is completed, the dispensing control means resets the inventory flag, thereby canceling the coin collection mode.

またインベントリフラグをセツトしている状態
でインベントリスイツチだけを操作すると、この
場合選定スイツチを操作しておらずタイマが不動
作なため、制御手段はインベントリフラグをリセ
ツトして硬貨回収モードを解除する。
Furthermore, if only the inventory switch is operated while the inventory flag is set, the selection switch is not operated and the timer is inactive, so the control means resets the inventory flag and cancels the coin collection mode.

しかるに選定スイツチを操作して回収を行なう
硬貨収納筒を指定したものの、タイマの動作期間
内にインベントリスイツチが操作されないと、制
御手段はインベントリ金種カウンタをリセツトす
る。
However, if the selection switch is operated to designate the coin storage tube to be collected, but the inventory switch is not operated within the timer operation period, the control means resets the inventory denomination counter.

(ヘ) 実施例 第1図は本考案に依る装置の回路構成図を示し
ており、1は回収動作制御部で第5図に示された
インベントリ金種カウンタ10、タイマ11、制
御手段12、払出制御手段13の各機能を全て含
み、また2は硬貨払出部である。回収動作制御部
1はマイクロコンピユータ3により構成されてお
り、RAM4の所定アドレスに夫々インベントリ
金種カウンタINV・インベントリフラグレジス
タIFR・インベントリタイマフラグレジスタ
TFR・タイマカウンタTC・払出枚数カウンタ
POCを割付けている。5はその操作回数に応じ
て回収動作を行なう硬貨収納筒を指定する選定ス
イツチであり、自動復帰型のスイツチで構成され
る。6は硬貨回収動作の開始或いは停止を指定す
るインベントリスイツチである。本例の自動販売
機は、例えば¥500・¥100・¥50・¥10の4通り
の硬貨種に対応する4本の硬貨収納筒と2本の予
備釣銭用の硬貨収納筒を具備して、硬貨払出部2
には各硬貨収納筒の硬貨払出板を駆動するモータ
M1〜M6を配置しているが、これらモータはドラ
イバD1〜D6を介してマイクロコンピユータ3に
接続されており、マイクロコンピユータ3から出
力される“L”レベルの駆動信号によつて駆動す
る。キヤリアスイツチC1〜C6は夫々モータM1
M6の駆動に連動してON−OFFするもので、モ
ータの駆動開始によりONからOFFに切換わり、
モータが硬貨払出板を動作させて硬貨収納筒より
1枚の硬貨を取り出すのに必要な回動を行なうと
OFFからONに切換わるもので、マイクロコンピ
ユータ3はこのOFFからONの切換わりによつて
硬貨1枚の払出しを検出する。また各硬貨収納筒
には収納硬貨枚数が10枚あるかを検知することで
硬貨の有無を示す硬貨検知スイツチS1〜S6を夫々
配設しているが、これらスイツチもマイクロコン
ピユータ3に接続される。
(F) Embodiment FIG. 1 shows a circuit configuration diagram of an apparatus according to the present invention, in which 1 is a collection operation control section, which includes an inventory denomination counter 10, a timer 11, a control means 12, shown in FIG. It includes all the functions of the payout control means 13, and 2 is a coin payout section. The collection operation control unit 1 is composed of a microcomputer 3, which stores an inventory denomination counter INV, an inventory flag register IFR, and an inventory timer flag register at predetermined addresses of a RAM 4, respectively.
TFR/Timer counter TC/Payout number counter
POC is assigned. Reference numeral 5 designates a selection switch which designates the coin storage cylinder to be used for collecting according to the number of times the selection switch is operated, and is an automatic return type switch. 6 is an inventory switch that specifies the start or stop of the coin collection operation. The vending machine of this example is equipped with four coin storage tubes corresponding to four types of coins, for example, ¥500, ¥100, ¥50, and ¥10, and two coin storage tubes for spare change. , coin dispensing section 2
There is a motor that drives the coin dispensing plate of each coin storage tube.
These motors are connected to the microcomputer 3 via drivers D1 to D6 , and are driven by the "L" level drive signal output from the microcomputer 3. Drive. Carrier switches C1 to C6 are connected to motors M1 to C6 , respectively.
It turns ON and OFF in conjunction with the drive of M6 , and switches from ON to OFF when the motor starts driving.
When the motor operates the coin dispensing plate and performs the rotation necessary to take out one coin from the coin storage cylinder,
The microcomputer 3 detects the payout of one coin by switching from OFF to ON. In addition, each coin storage cylinder is equipped with coin detection switches S 1 to S 6 that indicate the presence or absence of coins by detecting whether there are 10 coins stored, and these switches are also connected to the microcomputer 3. be done.

上記構成において、マイクロコンピユータ3は
選定スイツチ5が操作されるとその操作回数をイ
ンベントリ金種カウンタINVでカウントし、且
つインベントリタイマフラグレジスタTFRにタ
イマフラグをセツトするとともに、タイマカウン
タTCによつてタイマ動作を開始する。このタイ
マ動作中(タイマフラグのセツト状態)にインベ
ントリスイツチ6が操作されると、マイクロコン
ピユータ3はインベントリフラグレジスタIFRに
インベントリフラグをセツトし、且つタイマフラ
グレジスタTFRのタイマフラグをリセツトする。
そしてマイクロコンピユータ3はインベントリフ
ラグがセツトされていると、カウンタINVのカ
ウント値に応じた硬貨収納筒に対応する何れかの
モータM1〜M6に“L”レベルの駆動信号を与え
て、その硬貨収納筒からは硬貨回収が成される。
そしてマイクロコンピユータ3は、回収動作中の
硬貨収納筒から全ての硬貨が回収されると、或い
はインベントリスイツチ6が操作されると、駆動
信号の出力を停止してインベントリフラグをリセ
ツトする。このとき硬貨収納筒の回収完了を確認
するには、対応する硬貨検知スイツチS1〜S6が硬
貨切れ信号を出力してから、やはり対応するキヤ
リアスイツチC1〜C6がOFFからONに切換わるの
を10回以上検出したときに回収完了としている。
一方、インベントリフラグがセツト状態である硬
貨収納筒の回収動作を行なつているときに選定ス
イツチ2が操作されると、マイクロコンピユータ
3はカウンタINVをインクリメントするととも
にタイマカウンタTCによつてタイマ動作を開始
し、続いてタイマ動作中にインベントリスイツチ
が操作されると、カウンタINVのカウントアツ
プした内容に基づき次の硬貨収納筒に対応するモ
ータM1〜M6に“L”レベルの駆動信号を与え
る。またマイクロコンピユータ3はタイマ動作中
にインベントリスイツチが操作されないと、イン
ベントリフラグレジスタIFR・インベントリタイ
マフラグレジスタTFR及びインベントリ金種カ
ウンタINVの全てをリセツトして硬貨回収モー
ドを解除する。
In the above configuration, when the selection switch 5 is operated, the microcomputer 3 counts the number of operations using the inventory denomination counter INV, sets a timer flag in the inventory timer flag register TFR, and sets the timer flag using the timer counter TC. Start operation. When the inventory switch 6 is operated during this timer operation (timer flag set state), the microcomputer 3 sets the inventory flag in the inventory flag register IFR and resets the timer flag in the timer flag register TFR.
When the inventory flag is set, the microcomputer 3 applies an "L" level drive signal to one of the motors M 1 to M 6 corresponding to the coin storage tube according to the count value of the counter INV. Coins are collected from the coin storage tube.
When all the coins are collected from the coin storage tube during the collection operation, or when the inventory switch 6 is operated, the microcomputer 3 stops outputting the drive signal and resets the inventory flag. At this time, to confirm the completion of collection of the coin storage cylinder, after the corresponding coin detection switches S 1 to S 6 output a coin out signal, the corresponding carrier switches C 1 to C 6 are also turned from OFF to ON. Collection is considered complete when the change is detected 10 times or more.
On the other hand, if the selection switch 2 is operated while the coin storage cylinder whose inventory flag is set is being collected, the microcomputer 3 increments the counter INV and starts the timer operation using the timer counter TC. Then, when the inventory switch is operated while the timer is operating, an “L” level drive signal is given to the motors M 1 to M 6 corresponding to the next coin storage cylinder based on the counted up contents of the counter INV. . If the inventory switch is not operated during timer operation, the microcomputer 3 resets all of the inventory flag register IFR, inventory timer flag register TFR, and inventory denomination counter INV to cancel the coin collection mode.

第2図及び第3図はかかるマイクロコンピユー
タ3のプログラムを説明するフローチヤートであ
るが、第3図の入力検知フローはタイマ割込によ
つて定期的に処理される。いま選定スイツチ5が
操作されたことをタイマ割込による入力検知フロ
ーのn0ステツプで検出すると、n1ステツプでカウ
ンタINVをインクリメントし、n2ステツプでタ
イマカウンタTCにタイマ定数をセツトし、n3
テツプではインベントリフラグレジスタIFRをリ
セツトしてインベントリフラグIFを解除すると
ともに、タイマフラグレジスタTFRにタイマフ
ラグTFをセツトして第2図の払出し制御フロー
に復帰する。またこのとき選定スイツチ5が数回
操作されると、そのたびごとに入力検知フローで
はカウンタINVをインクリメントして操作回数
をカウントするとともにタイマカウンタTCには
タイマ定数をセツトする。
FIGS. 2 and 3 are flowcharts explaining the program of the microcomputer 3, and the input detection flow shown in FIG. 3 is periodically processed by a timer interrupt. When it is detected that the selection switch 5 has been operated at step n0 of the input detection flow using a timer interrupt, the counter INV is incremented at step n1 , the timer constant is set in the timer counter TC at step n2 , and the timer constant is incremented at step n2. In step 3 , the inventory flag register IFR is reset to release the inventory flag IF, and the timer flag TF is set in the timer flag register TFR, returning to the payout control flow shown in FIG. At this time, when the selection switch 5 is operated several times, the input detection flow increments the counter INV to count the number of operations each time, and sets a timer constant in the timer counter TC.

払出し制御フローのN0ステツプではインベン
トリフラグIFを確認するが、この場合は入力検
知フローのn3ステツプでフラグレジスタIFRはリ
セツトされているためにN1ステツプとなる。N1
ステツプはインベントリタイマフラグTFを確認
するが、この場合入力検知フローのn3ステツプで
タイマフラグレジスタTFRにはタイマフラグTF
がセツトされているために、N2ステツプとなつ
てタイマカウンタTCを減算することでタイマ減
算を行ない、N3ステツプでタイマカウンタTCの
内容によつてタイマ動作の終了を確認する。この
N0ステツプからN3ステツプまでの処理は、減算
によりタイマカウンタTCが“0”になつたこと
をN3ステツプにて検出するまで繰返されるが、
かかるタイマ動作中にインベントリスイツチ6が
操作されると、タイマ割込による入力検知フロー
のn4ステツプでこれを検出してn5ステツプとな
る。そしてn5ステツプでカウンタINVの内容が
“0”か“0”以外であるかを判定するが、この
場合インベントリスイツチ6の前に選定スイツチ
5が操作されてカウンタINVの内容は“0”以
外にあるためにn6ステツプはインベントリフラグ
IFを確認するが、フラグレジスタIFRはリセツト
されているためにn7ステツプとなつてタイマフラ
グTFを確認する。この場合タイマフラグTFがフ
ラグレジスタTFRにセツトされており、n8ステ
ツプとなつてフラグレジスタIFRにインベントリ
フラグIFをセツトし、フラグレジスタTFRをリ
セツトする。即ち、n8ステツプではタイマ動作中
にインベントリスイツチ6が正常に操作されたた
めに、タイマフラグTFをリセツトしてタイマ動
作を終了するとともに、硬貨回収動作の開始によ
りインベントリフラグIFをセツトするものであ
る。
The inventory flag IF is checked at step N0 of the payout control flow, but in this case, the flag register IFR is reset at step n3 of the input detection flow, so it becomes step N1 . N1
The step checks the inventory timer flag TF, but in this case, in the n3 step of the input detection flow, the timer flag register TFR contains the timer flag TF.
is set, the timer is subtracted by subtracting the timer counter TC at the N2 step, and the end of the timer operation is confirmed by the contents of the timer counter TC at the N3 step. this
The processing from step N0 to step N3 is repeated until step N3 detects that the timer counter TC has become "0" due to subtraction.
If the inventory switch 6 is operated during such timer operation, this is detected at step n4 of the input detection flow by timer interrupt, and the process proceeds to step n5 . Then, in step n5 , it is determined whether the content of the counter INV is "0" or something other than "0", but in this case, the selection switch 5 is operated before the inventory switch 6, and the content of the counter INV is other than "0". 6 steps to inventory flag
IF is checked, but since the flag register IFR has been reset, the timer flag TF is checked at step n7 . In this case, the timer flag TF is set in the flag register TFR, and in step n8 , the inventory flag IF is set in the flag register IFR, and the flag register TFR is reset. That is, in step n8 , since the inventory switch 6 was operated normally during the timer operation, the timer flag TF is reset to end the timer operation, and the inventory flag IF is set by starting the coin collection operation. .

そして払出し制御フローに復帰して、N5ステ
ツプではカウンタINVのカウント値に基づき回
収動作が指定された硬貨収納筒を判別して対応す
る何れかのモータM1〜M6に駆動信号を出力す
る。N6ステツプは、駆動信号を与えたモータM1
〜M6に対応するキヤリアスイツチC1〜C6の出力
を確認することで、硬貨収納筒から硬貨が1枚払
出されるのを待機する。例えばモータM1に駆動
信号を出力した場合、モータM1の駆動によりキ
ヤリアスイツチC1がONからOFFとなつて出力が
“H”から“L”に切換わり、その後キヤリアス
イツチC1が再びONしてその出力が“L”から
“H”となると、モータM1によつて駆動する硬貨
払出板により1枚の硬貨が払出されたことを検出
し、N7ステツプとなつてモータM1への駆動信号
の出力を停止する。N8ステツプは、モータM1
対応する硬貨収納筒より全硬貨の払出しが終了し
たかを判定するもので、本例では硬貨検知スイツ
チS1〜S6に生じる“H”レベルの硬貨切れ信号に
基づき判定する。したがつてこの場合、硬貨検知
スイツチS1から硬貨切れ信号が発生していないと
そのままN0ステツプに移行し、一方硬貨切れ信
号が発生していると払出枚数カウンタPOCに
“1”を加算して、カウント値が“10”未満であ
ることを条件にN0ステツプに移行する。そして
N0ステツプ・N6ステツプからN8ステツプまでの
一連の処理を繰返して硬貨収納筒より硬貨を1枚
づつ払出し、N8ステツプで払出枚数カウンタ
POCのカウント値が“10”に達したことを検出
すると、N4ステツプとなつてインベントリフラ
グレジスタIFR・インベントリタイマフラグレジ
スタTFR及びインベントリ金種カウンタINVを
全てリセツトする。このようにして或る硬貨収納
筒からの硬貨払出しが全て終了して回収を完了し
た状態で他の硬貨収納筒からの回収を行なうに
は、前述したのと同様に選定スイツチ5の操作に
て回収する硬貨収納筒を指定するとともに、イン
ベントリスイツチ6の操作により当該硬貨収納筒
からの硬貨払出し動作を開始させる。
Then, returning to the dispensing control flow, in step N5 , the coin storage cylinder for which the collection operation is specified is determined based on the count value of the counter INV, and a drive signal is output to one of the corresponding motors M1 to M6 . . N6 step gave drive signal to motor M1
By checking the outputs of the carrier switches C 1 to C 6 corresponding to M 6 , it waits for one coin to be dispensed from the coin storage tube. For example, when a drive signal is output to motor M1 , the drive of motor M1 turns carrier switch C1 from ON to OFF, the output switches from "H" to "L", and then carrier switch C1 turns ON again. When the output changes from "L" to "H", it is detected that one coin has been dispensed by the coin dispensing plate driven by motor M1 , and the output is transferred to motor M1 at step N7 . Stop outputting the drive signal. The N8 step is to determine whether all coins have been dispensed from the coin storage cylinder corresponding to the motor M1 , and in this example, the "H" level coin out signal generated at the coin detection switches S1 to S6 is used. Judgment will be made based on. Therefore, in this case, if a coin out signal is not generated from the coin detection switch S1 , the process moves directly to step N0 , while if a coin out signal is generated, "1" is added to the payout number counter POC. Then, on the condition that the count value is less than "10", the process moves to the N0 step. and
Repeat the series of steps from N 0 step, N 6 step to N 8 step to pay out coins one by one from the coin storage cylinder, and at N 8 step, the number of coins dispensed is countered.
When it is detected that the POC count value has reached "10", the process goes to step N4 and resets all the inventory flag register IFR, inventory timer flag register TFR, and inventory denomination counter INV. In this way, in order to collect coins from another coin storage cylinder after all the coins have been paid out and collected from one coin storage cylinder, operate the selection switch 5 in the same manner as described above. In addition to specifying the coin storage tube to be collected, the operation of the inventory switch 6 starts the coin dispensing operation from the coin storage tube.

斯るN0ステツプ・N6ステツプからN8ステツプ
までの処理を繰返し行なつて或る硬貨収納筒から
の硬貨を払出している際中に、インベントリスイ
ツチ6が操作されたことをタイマ割込による入力
検知フローのn4ステツプで検出すると、n5ステツ
プでインベントリ金種カウンタINVのカウント
内容を判定する。このときカウンタINVは現在
払出動作中の硬貨収納筒に応じた値をカウントし
ているために“0”以外にあり、n6ステツプに移
行してインベントリフラグを確認する。しかして
フラグレジスタIFRにはインベントリフラグがセ
ツトされており、n9ステツプとなつてインベント
リフラグレジスタIFR・インベントリタイマフラ
グレジスタTFR及びインベントリ金種カウンタ
INVを全てリセツトした後、払出し制御フロー
に復帰する。したがつて払出し制御フローではイ
ンベントリフラグ及びインベントリタイマフラグ
が共にリセツトされているためにN0ステツプ・
N1ステツプを通つて払出し制御フローから抜け
出る。即ち、硬貨収納筒からの硬貨払出し中にイ
ンベントリスイツチ6が操作されると、インベン
トリフラグIFの解除及びカウンタINVのリセツ
トにより硬貨払出しを停止する。
While repeating the process from step N0 , step N6 to step N8 , and dispensing coins from a certain coin storage cylinder, it is detected by a timer interrupt that the inventory switch 6 has been operated. When detected in step n4 of the input detection flow, the count content of the inventory denomination counter INV is determined in step n5 . At this time, the counter INV is other than "0" because it counts a value corresponding to the coin storage cylinder currently in the payout operation, and the process moves to step n6 to check the inventory flag. Therefore, the inventory flag is set in the flag register IFR, and in step n9 , the inventory flag register IFR, inventory timer flag register TFR, and inventory denomination counter are set.
After resetting all INVs, return to the payout control flow. Therefore, in the payout control flow, both the inventory flag and the inventory timer flag are reset, so the N0 step
Exit from the payout control flow through the N1 step. That is, when the inventory switch 6 is operated while coins are being dispensed from the coin storage cylinder, the coin dispensing is stopped by canceling the inventory flag IF and resetting the counter INV.

またN0ステツプからN8ステツプまでの処理を
繰返し行なつて或る硬貨収納筒から硬貨を払出し
ている際中に、選定スイツチ5が操作されたこと
をタイマ割込による入力検知フローのn0ステツプ
で検出すると、n1ステツプでカウンタINVをイ
ンクリメントし、n2ステツプでカウンタTCにタ
イマ定数をセツトする。続いてn3ステツプではフ
ラグレジスタIFRをリセツトしてインベントリフ
ラグIFを解除するとともに、タイマフラグレジ
スタTFRにタイマフラグTFをセツトした後払出
し制御フローに復帰する。したがつて払出し制御
フローではN0ステツプ・N1ステツプからN3ステ
ツプまでの処理を繰返してタイマ減算を行ない、
タイマ動作中にインベントリスイツチ6が操作さ
れたことをタイマ割込による入力検知フローのn4
ステツプで検出すると、n5・n6・n7・n8ステツプ
を順次処理してインベントリフラグIFをセツト
するとともに、タイマフラグTFを解除して払出
し制御フローに復帰する。そして払出し制御フロ
ーではN0ステツプからN5ステツプに移行して、
カウンタINVのインクリメントによる新たなカ
ウント内容に応じたモータM1〜M6に駆動信号を
出力し、別の硬貨収納筒から硬貨の払出しを行な
う。したがつて選定スイツチによつて他の硬貨収
納筒を指定した後、直ちにインベントリスイツチ
6を操作すれば新たな回収動作を開始することが
でき、現在払出中の硬貨収納筒の払出動作が停止
したことをシステム的に確認する必要がない。
In addition, when the selection switch 5 is operated while repeating the process from step N0 to step N8 and dispensing coins from a certain coin storage cylinder, n0 of the input detection flow is detected by a timer interrupt. When detected in a step, the counter INV is incremented in the n1 step, and a timer constant is set in the counter TC in the n2 step. Subsequently, in step n3 , the flag register IFR is reset to cancel the inventory flag IF, and the timer flag TF is set in the timer flag register TFR, after which the process returns to the payout control flow. Therefore, in the payout control flow, the process from N0 step, N1 step to N3 step is repeated to subtract the timer,
n 4 of the input detection flow using a timer interrupt to detect that the inventory switch 6 has been operated while the timer is operating
When detected in step n5 , n6 , n7 , and n8 steps are sequentially processed to set the inventory flag IF, cancel the timer flag TF, and return to the payout control flow. Then, in the payout control flow, move from N0 step to N5 step,
A drive signal is output to the motors M 1 to M 6 according to the new count content by incrementing the counter INV, and coins are dispensed from another coin storage cylinder. Therefore, by operating the inventory switch 6 immediately after specifying another coin storage cylinder using the selection switch, a new collection operation can be started, and the dispensing operation of the coin storage cylinder currently being dispensed is stopped. There is no need to systematically confirm this.

尚、払出し制御フローのN0ステツプ・N1ステ
ツプからN3ステツプまでの処理を繰返すタイマ
動作期間内でインベントリスイツチ6が操作され
ない場合、N3ステツプでタイマカウンタTCの内
容が“0”であることを検出するとN4ステツプ
に移行して、フラグレジスタIFR及びTFRとカ
ウンタINVを全てリセツトする。即ち、所定の
タイマ期間内にインベントリスイツチ6が操作さ
れないと、タイマフラグTFをリセツトし且つカ
ウンタINVのリセツトにより硬貨回収モードを
解除して、払出し制御フローより抜き出る。
In addition, if the inventory switch 6 is not operated within the timer operation period that repeats the processing from the N0 step/ N1 step to the N3 step of the payout control flow, the content of the timer counter TC is "0" at the N3 step . When this is detected, the process moves to step N4 and all flag registers IFR and TFR and counter INV are reset. That is, if the inventory switch 6 is not operated within a predetermined timer period, the timer flag TF is reset and the counter INV is reset to cancel the coin collection mode and exit from the payout control flow.

(ト) 考案の効果 本考案に依ると、選定スイツチにより回収を行
なう硬貨収納筒を指定した後にインベントリスイ
ツチを操作して指定された硬貨収納筒からの硬貨
の払出しを行なうために、回収を行なう硬貨収納
筒を直接指定することができる。すなわち本考案
の構成はシフトレジスタ等によつて各硬貨収納筒
の回収動作の順位が決められていないために、所
望の硬貨収納筒からの回収を行なうのに、その硬
貨収納筒までの順位にある他の各硬貨収納筒を順
次駆動、停止させることなく直接所望の硬貨収納
筒からの硬貨の回収を指定できるのである。
(g) Effects of the invention According to the invention, after specifying a coin storage cylinder to be collected using a selection switch, coins are collected by operating an inventory switch to dispense coins from the designated coin storage cylinder. You can directly specify the coin storage tube. In other words, in the configuration of the present invention, since the order of collecting operation of each coin storage tube is not determined by a shift register or the like, in order to collect coins from a desired coin storage tube, it is necessary to adjust the order of the coin storage tubes up to that coin storage tube. It is possible to directly specify the collection of coins from a desired coin storage cylinder without sequentially driving and stopping other coin storage cylinders.

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

第1図は本考案に依る装置の回路構成図、第2
図は硬貨の払出し制御を示すフローチヤート、第
3図は入力検知を示すフローチヤート、第4図は
本考案の機能ブロツク図である。 5……選定スイツチ、6……インベントリスイ
ツチ、10……インベントリ金種カウンタ、11
……タイマ、12……制御手段、13……払出制
御手段。
Figure 1 is a circuit diagram of the device according to the present invention;
FIG. 3 is a flowchart showing coin payout control, FIG. 3 is a flowchart showing input detection, and FIG. 4 is a functional block diagram of the present invention. 5...Selection switch, 6...Inventory switch, 10...Inventory denomination counter, 11
...Timer, 12...Control means, 13...Payout control means.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 複数の硬化収納筒を備えた自動販売機におい
て、操作回数に応じて何れかの前記硬貨収納筒を
指定する単一の選定スイツチと、該スイツチが操
作されるたびにカウント動作するインベントリ金
種カウンタと、硬化回収動作の開始或いは停止を
指令する単一のインベントリスイツチと、前記選
定スイツチの操作によりタイマ動作を開始するタ
イマと、該タイマ動作期間内での前記インベント
リスイツチの操作にてインベントリフラグをセツ
トするとともに前記タイマを不動作にし、該フラ
グのセツト状態で前記インベントリスイツチが操
作されると該フラグ及び前記インベントリ金種カ
ウンタをリセツトする制御手段と、前記インベン
トリフラグがセツト状態にあると前記カウンタの
カウント値に応じた前記硬貨収納筒からの硬貨払
出を指令するとともに、該硬貨収納筒からの硬貨
回収が完了すると硬貨払出の停止を指令して前記
インベントリフラグをリセツトする払出制御手段
とから成り、前記制御手段は前記タイマの動作期
間内に前記インベントリスイツチが操作されない
と前記インベントリ金種カウンタをリセツトする
ことを特徴とした自動販売機の硬貨回収装置。
In a vending machine equipped with a plurality of hardened storage tubes, a single selection switch designates one of the coin storage tubes according to the number of operations, and an inventory denomination counter that counts each time the switch is operated. a single inventory switch that commands the start or stop of the curing recovery operation; a timer that starts timer operation by operating the selection switch; and an inventory flag that is set by operating the inventory switch within the timer operation period. control means for setting the timer and disabling the timer, and resetting the flag and the inventory denomination counter when the inventory switch is operated while the flag is set; and a dispensing control means that commands the dispensing of coins from the coin storage tube according to the count value of the coin storage tube, and when the coin collection from the coin storage tube is completed, commands to stop coin dispensing and resets the inventory flag. . A coin collecting device for a vending machine, wherein the control means resets the inventory denomination counter if the inventory switch is not operated within the operating period of the timer.
JP9213184U 1984-06-20 1984-06-20 Vending machine coin collection control device Granted JPS618383U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9213184U JPS618383U (en) 1984-06-20 1984-06-20 Vending machine coin collection control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9213184U JPS618383U (en) 1984-06-20 1984-06-20 Vending machine coin collection control device

Publications (2)

Publication Number Publication Date
JPS618383U JPS618383U (en) 1986-01-18
JPH0129665Y2 true JPH0129665Y2 (en) 1989-09-08

Family

ID=30648648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9213184U Granted JPS618383U (en) 1984-06-20 1984-06-20 Vending machine coin collection control device

Country Status (1)

Country Link
JP (1) JPS618383U (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6112173U (en) * 1984-06-22 1986-01-24 三洋電機株式会社 Vending machine coin collection control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6220048Y2 (en) * 1978-05-30 1987-05-22

Also Published As

Publication number Publication date
JPS618383U (en) 1986-01-18

Similar Documents

Publication Publication Date Title
US5940915A (en) Error checking device for washing machine and checking method thereof
JPH0129665Y2 (en)
JP6404272B2 (en) Game machine
JPH0319015Y2 (en)
JP2018140270A (en) Game machine
JP5956530B2 (en) Game machine
JP3133456B2 (en) Vending machine coin processing equipment
JP2539440Y2 (en) Warning display device
JPH0633963Y2 (en) Slot machine
JPS5838821B2 (en) Electronic control display and test equipment for postage equipment
JPS5822789B2 (en) Vending machine control device
JPS6343793B2 (en)
JPS6245255Y2 (en)
US5070518A (en) Coin counting control apparatus for a vending machine
JP6404271B2 (en) Game machine
JP2541861Y2 (en) Slot machine
JPS6127025Y2 (en)
JPH0331986A (en) Change controller for automatic vending machine
JP2018140269A (en) Game machine
JPS6220048Y2 (en)
JP2776567B2 (en) Vending machine change control device
JP2552548B2 (en) Continuous sales test equipment for vending machines
JPH0746396B2 (en) Vending machine controller
JPH0311027Y2 (en)
JPS5825497Y2 (en) Vending machine control device