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

JPH0797431B2 - Vending machine controller - Google Patents

Vending machine controller

Info

Publication number
JPH0797431B2
JPH0797431B2 JP59164043A JP16404384A JPH0797431B2 JP H0797431 B2 JPH0797431 B2 JP H0797431B2 JP 59164043 A JP59164043 A JP 59164043A JP 16404384 A JP16404384 A JP 16404384A JP H0797431 B2 JPH0797431 B2 JP H0797431B2
Authority
JP
Japan
Prior art keywords
column
sales
product
sale
test
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
JP59164043A
Other languages
Japanese (ja)
Other versions
JPS6142093A (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 JP59164043A priority Critical patent/JPH0797431B2/en
Publication of JPS6142093A publication Critical patent/JPS6142093A/en
Publication of JPH0797431B2 publication Critical patent/JPH0797431B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は自動販売機における販売コラム毎の商品排出装
置の異常を検知して、異常販売コラムからの販売を中止
するようにした自動販売機の制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention is an automatic vending machine which detects an abnormality of a product discharging device for each selling column in an automatic vending machine and stops selling from the abnormal selling column. The control device of the machine.

(ロ)従来の技術 一般に商品排出装置は、駆動用減速モータの出力軸にキ
ャリアを装着し、キャリアの回動位置により商品排出装
置が待機位置にあるか或るいは動作位置にあるかを検出
装置にて検知するように構成している。そしてモータを
駆動してキャリアが待機位置から外れると、次にキャリ
アが待機位置に復帰するまでモータの駆動を保持するも
のである。したがって販売待機状態であってもキャリア
が待機位置から外れるとモータは通電されて駆動する
が、この場合商品排出機構がロックされているとキャリ
アが待機位置に復帰せずモータは通電され放しになる不
具合がある。そのため特開昭53−13498号公報には、販
売待機状態で一定時間モータが駆動してもキャリアが待
機位置に復帰しない場合にはこの販売コラムを販売中止
コラムとすることが開示されている。
(B) Conventional technology Generally, in a product discharging device, a carrier is attached to the output shaft of a drive deceleration motor, and it is detected whether the product discharging device is in a standby position or an operating position by the rotation position of the carrier. The device is configured to detect. When the motor is driven to move the carrier out of the standby position, the drive of the motor is maintained until the carrier returns to the standby position. Therefore, even if the carrier is out of the standby position, the motor is energized to drive when the carrier is out of the standby position.In this case, if the product discharge mechanism is locked, the carrier does not return to the standby position and the motor is energized and released. There is a defect. Therefore, Japanese Laid-Open Patent Publication No. 53-13498 discloses that if the carrier does not return to the standby position even when the motor is driven for a certain period of time in the sales standby state, this sales column is used as a sales suspension column.

しかしながらかかる異常の原因が商品排出機構内での商
品詰まりであると、モータの駆動期間中詰まり商品はモ
ータの駆動力を直接受けてその種類によっては変形する
不具合がある。そして最悪の場合には、商品排出機構を
分解しなければ詰まり商品を除去できなくなる事態もお
こる。
However, if the cause of the abnormality is a product jam in the product discharge mechanism, the product that is jammed during the driving period of the motor receives the driving force of the motor directly and is deformed depending on its type. In the worst case, the product cannot be removed due to clogging unless the product discharge mechanism is disassembled.

(ハ)発明が解決しようとする問題点 このように従来技術では、商品排出装置のロックの原因
が商品詰まりである場合には好ましくない事態を招来し
ていた。
(C) Problems to be Solved by the Invention As described above, in the related art, when the cause of the lock of the product discharge device is a product jam, an undesirable situation is brought about.

上記点より本発明は、かかる不具合を防止する自動販売
機の制御装置を提供するものである。更に本発明は異常
原因の解除後、システム上でも速やかに異常販売コラム
を通常販売コラムに切換可能な制御装置を提供するもの
である。
From the above point of view, the present invention provides a control device for a vending machine which prevents such a problem. Further, the present invention provides a control device capable of promptly switching the abnormal sales column to the normal sales column on the system even after the cause of the abnormality is removed.

(ニ)問題点を解決するための手段 本発明による自動販売機の制御装置は、販売コラム毎に
選択手段と商品排出装置を備えて、該商品排出装置の正
常な待機位置を検知可能な検出装置を設けた自動販売機
において、前記先着手段により選択された前記販売コラ
ムに対応する前記検出装置が待機位置以外であるとコラ
ム異常データを記憶手段にセットする異常検出手段と、
前記記憶手段にコラム異常データがセットされていると
対応する商品の販売を中止する販売可能判定手段と、テ
ストスイッチの動作に基づきテスト販売モードとするテ
スト販売制御手段とを備え、該テスト販売制御手段は、
該テスト販売モードにおいて前記記憶手段にコラム異常
データがセットされた販売コラムに対応する選択手段が
選択されると対応する前記商品排出装置を駆動するとと
もに前記記憶手段にセットされたコラム異常データをリ
セットする手段を具備したものである。
(D) Means for Solving the Problems The control device for a vending machine according to the present invention includes a selection means and a product discharging device for each sales column, and can detect a normal standby position of the product discharging device. In an automatic vending machine provided with a device, an abnormality detecting means for setting column abnormality data in the storage means when the detection device corresponding to the sales column selected by the first-come-first-serving device is other than the standby position,
The storage means is provided with sales availability determination means for stopping the sale of the corresponding product when column abnormality data is set, and test sales control means for setting the test sales mode based on the operation of the test switch. The means is
In the test sale mode, when the selection means corresponding to the sales column in which the column abnormality data is set in the storage means is selected, the corresponding article discharging device is driven and the column abnormality data set in the storage means is reset. It is equipped with a means to do.

(ホ)作用 販売可能商品が選択されたときに該商品の排出装置が正
常であるかを検出し、正常な場合は商品送出動作とな
り、異常な場合には該商品の販売コラムに対してコラム
異常データをセットして販売中止とし、コラム異常デー
タは当該コラムからの商品のテスト販売によりリセット
される。
(E) Action When a product that can be sold is selected, it is detected whether the discharge device for the product is normal. If it is normal, the product sending operation is performed, and if abnormal, the column for the sales column of the product The abnormal data is set and the sale is stopped, and the abnormal data of the column is reset by the test sale of the product from the column.

(ヘ)実施例 第1図は本発明による自動販売機の回路構成をブロック
図にて示すもので、1は貨幣種類毎の投入貨幣信号Cに
基づき投入金額を演算し、且つ販売後の釣銭額を演算す
る金額演算装置、21〜2nは1からnまでの各販売コラム
毎に配設された商品排出装置、31〜3nは商品排出装置の
駆動モータの出力軸に装着されたキャリアの回転に連動
してON−OFFする検出装置であり、商品排出装置の正常
な待機位置と、出力軸が待機位置以外に位置する動作位
置を検出することができる。4は販売コラム毎の商品の
選択スイッチを備えた商品選択手段、5は釣銭払出制御
手段、6は販売コラム毎の商品の販売価格が設定される
販売価格記憶手段である。7は販売不能コラムを示すコ
ラム異常データを記憶する手段、8は投入金額と販売価
格とを比較して販売可能コラムについてその商品販売の
可能性を判定する販売可能判定手段である。9は異常検
出手段で、販売可能判定手段8で販売可能と判定された
商品が選択されると、これに対応する検出装置31〜3n
より当該コラムが異常であるかを判定し、異常の場合に
はこのコラムに関してコラム異常データを記憶手段7に
セットするようになっている。10はテストスイッチ11が
動作されるとテスト販売モードでの制御を行うテスト販
売制御手段、12は販売制御手段である。
(F) Embodiment FIG. 1 is a block diagram showing a circuit configuration of an automatic vending machine according to the present invention, in which reference numeral 1 is used to calculate an input amount of money based on an input currency signal C for each type of currency, and a change after sale. Amount calculation device for calculating the amount, 2 1 to 2 n are product discharging devices arranged for each sales column from 1 to n, 3 1 to 3 n are attached to the output shaft of the drive motor of the product discharging device It is a detection device that turns on and off in synchronization with the rotation of the carrier, and can detect a normal standby position of the product discharging device and an operating position where the output shaft is located at a position other than the standby position. Reference numeral 4 is a product selection means provided with a product selection switch for each sales column, 5 is changeout control means, and 6 is a sales price storage means for setting the sales price of the products for each sales column. Reference numeral 7 is a means for storing abnormal column data indicating an unsellable column, and 8 is a sellability determining means for comparing the input amount and the selling price to determine the possibility of selling the product for the sellable column. Reference numeral 9 is an abnormality detecting means, and when a product which is judged to be sellable by the sellability judging means 8 is selected, it is judged by the detecting devices 3 1 to 3 n corresponding thereto whether the column is abnormal, In this case, column abnormality data is set in the storage means 7 for this column. Reference numeral 10 is a test sale control means for performing control in the test sale mode when the test switch 11 is operated, and 12 is a sale control means.

通常の状態で自動販売機に貨幣が投入されると、金額演
算手段1は投入貨幣信号Cにより投入金額を演算し、販
売可能判定手段8は投入金額と販売価格記憶手段6に設
定された販売コラム毎の各商品の販売価格とを比較し、
且つ釣銭及び商品の有無に応じて販売可能な商品を判定
する。このとき販売可能判定手段8は、販売価格記憶手
段6にコラム異常データがセットされていない正常な販
売コラムについてのみ販売可能判定を行う。そして販売
可能な商品に対し商品選択手段4の選択スイッチが操作
されると、異常検出手段9はこの販売コラムの検出装置
31〜3nにより当該コラムの異常を判定するが、例えば商
品排出装置22に対応する販売コラムの商品が選択される
と、異常検出手段9は検出装置32の検知出力にて判定す
る。このとき商品排出装置22の駆動モータの出力軸に装
着したキャリアが待機位置から外れていて、検出装置32
が商品排出装置22の動作位置を示す出力を生じている
と、この販売コラムは販売不能として記憶手段7にコラ
ム異常データをセットする。一方、販売制御手段12に
も、販売可能判定手段8からの販売可能商品データ及び
商品選択手段4からの選択信号が夫々導入されるが、異
常検出手段9にて選択した販売コラムの異常が検出され
ると、この販売コラムについての販売制御を行うことが
禁止される。そしてコラム異常データがセットされる
と、販売可能判定手段8はこの販売コラムについては商
品販売の可能性を判定しないためにコラムからの商品販
売は中止となる。
When money is inserted into the vending machine in a normal state, the amount calculation means 1 calculates the amount of money input by the input money signal C, and the sellability determination means 8 sells the amount of money set in the amount of money and sales price storage means 6. Compare the selling price of each product for each column,
Also, a sellable product is determined according to the change and the presence or absence of the product. At this time, the sellability determination means 8 makes a sellability determination only for a normal sales column for which no column abnormality data is set in the sales price storage means 6. When the selection switch of the merchandise selecting means 4 is operated with respect to the merchandise that can be sold, the abnormality detecting means 9 causes the detecting device of the selling column.
3 by 1 to 3 n determines an abnormality of the column determines, for example, products sold column corresponding to the product discharge device 2 2 is selected at the abnormality detecting means 9 detection device 3 second detection output . In this case the carrier mounted on the output shaft of the drive motor of the commodity discharge apparatus 2 2 is disconnected from the standby position, the detecting device 3 2
There When occurs an output indicative of the operating position of the product discharge device 2 2, the sales column sets column abnormality data in the storage means 7 as a sales impossible. On the other hand, the sales control means 12 also receives the sellable product data from the sellability determination means 8 and the selection signal from the product selection means 4, respectively, but an abnormality of the sales column selected by the abnormality detection means 9 is detected. Then, it is prohibited to perform sales control for this sales column. Then, when the column abnormality data is set, the sale possibility determining means 8 does not determine the possibility of selling the product for this sales column, and therefore the sale of the product from the column is stopped.

しかして選択した販売コラムの商品排出装置21〜2nが正
常な検出装置31〜3nが待機位置を示す出力を発生してい
ると、異常検出手段9にて販売制御手段12は動作が許可
されて、販売可能商品データ及び選択信号に基づき選択
商品の販売制御を行う。即ち、販売制御手段12は選択商
品に関する商品排出装置21〜2nを駆動させ、対応する検
出装置31〜3nが動作位置を示す出力を発生し、次に待機
位置を示す出力を発生するまで商品排出装置に駆動信号
を出力して、選択商品を送出する。また商品送出後、販
売制御手段12は送出した商品種を示す販売商品信号を販
売価格記憶手段6に出力し、金額演算手段1は販売商品
信号に基づき販売価格記憶手段6から導入される販売価
格を投入金額から減算する。そして釣銭払出制御手段5
は、販売制御手段12からの制御信号に基づき金額演算手
段1の釣銭額に応じて図示しない釣銭払出装置を動作さ
せて、貨幣を払出すごとに払出貨幣額の減算信号を金額
演算手段1に出力する。
Thus the commodity discharging device 2 1 to 2 n is normal detector 3 1 to 3 n of the selected sales column is generating output indicative of the standby position, sales control means by the abnormality detecting means 9 12 operation Is permitted, and sales control of the selected product is performed based on the available product data and the selection signal. In other words, sales control unit 12 drives the commodity discharge apparatus 2 1 to 2 n for the selected item, and generates an output corresponding detection device 3 1 to 3 n represents an operation position, then generating an output indicating a standby position Until then, the drive signal is output to the product discharging device to send the selected product. After the product is sent, the sales control means 12 outputs a sold product signal indicating the sent product type to the selling price storage means 6, and the price calculation means 1 introduces the selling price from the selling price storage means 6 based on the selling product signal. Is subtracted from the input amount. And changeout control means 5
Operates a change dispensing device (not shown) according to the change amount of the amount calculation means 1 based on a control signal from the sales control means 12, and outputs a subtraction signal of the amount of money to be paid to the amount calculation means 1 every time money is paid out. Output.

テストスイッチ11を操作するとテスト販売制御手段10は
テストモード信号を出力する。テストモードで販売制御
手段12は、商品選択手段4の選択スイッチの操作により
選択商品に対応する商品排出装置21〜2nの駆動を制御し
て商品のテスト販売を行う。このとき記録手段7は選択
スイッチの操作にて対応する販売コラムのコラム異常デ
ータをリセットする。したがって異常販売コラムの商品
排出装置を正常状態に回復させた後、この販売コラムの
テスト販売を行うとコラム異常データが自動的にリセッ
トされる。したがって異常販売コラムの異常原因を解除
してテスト販売を行うと、システム上でも異常販売コラ
ムが正常販売コラムに切換わる。
When the test switch 11 is operated, the test sale control means 10 outputs a test mode signal. Sales control unit in the test mode 12, to test product sales by controlling the driving of the commodity discharge apparatus 2 1 to 2 n corresponding to the selected items by operating the selection switch product selection means 4. At this time, the recording means 7 resets the column abnormality data of the corresponding sales column by operating the selection switch. Therefore, when the product discharge device of the abnormal sales column is restored to the normal state and the test sales of this sales column is performed, the abnormal column data is automatically reset. Therefore, if the cause of abnormality of the abnormal sales column is canceled and test sale is performed, the abnormal sales column is switched to the normal sales column on the system.

第2図は本発明による制御をマイクロコンピュータ13に
より構成した制御回路を示し、C1〜C4は貨幣の投入によ
り貨幣種類に応じた投入貨幣信号を出力する貨幣スイッ
チ、S1〜Snは1からnまでの各販売コラムに対応する選
択スイッチ、M1〜Mnは販売コラム毎の商品排出モータ、
15はモータM1〜Mnの駆動回路である。そして商品排出モ
ータM1〜Mnは商品排出装置を駆動するもので、商品排出
装置が待機位置か或るいは動作位置にあるかは検出装置
にて検知するが、本例ではモータM1〜Mnの出力軸に装着
したキャリアに連動してON−OFFするキャリアスイッチP
1〜Pnにて検出装置を構成している。m1〜m4は貨幣種類
の釣銭払出モータ、16はモータm1〜m4の駆動回路、17は
販売テストモードを指定するテストスイッチで、本例で
はテストスイッチ17の2度目の操作にて販売テストモー
ドを解除するようになっている。また14はメモリで、販
売コラムNo.がセットされるレジスタR1・R7と、テスト
販売フラグがセットされるレジスタR2と、投入金額或る
いは釣銭額がセットされるレジスタR3と、選択スイッチ
S1〜Snが操作されたことを示す各選択フラグがセットさ
れるR41からR4nまでの各レジスタと、1からnまでの各
販売コラムに対応してコラム異常データが夫々セットさ
れるR51からR5nまでの各レジスタと、キャリアスイッチ
P1〜PnがONしていることを示す各キャリアフラグがセッ
トされるR61からR6nまでの各レジスタと、販売コラム毎
の商品の販売価格を記憶する価格設定領域Mとが割り付
けられている。
Figure 2 shows a control circuit for the control according to the present invention is constituted by the microcomputer 13, C 1 ~C 4 is money switch for outputting the inserted money signal corresponding to the money kind by introduction of currency, S 1 to S n is Selection switches corresponding to each sales column from 1 to n, M 1 to M n are product discharge motors for each sales column,
Reference numeral 15 is a drive circuit for the motors M 1 to M n . The commodity discharge motor M 1 ~M n drives the commodity discharge apparatus, but commodity discharge apparatus is detected by whether the detection device is one Rui or standby position in the operating position, in this embodiment the motor M 1 ~ Carrier switch P that turns ON and OFF in synchronization with the carrier mounted on the output shaft of M n
The detector is composed of 1 to P n . m 1 to m 4 are currency type change dispensing motors, 16 is a drive circuit for the motors m 1 to m 4 , and 17 is a test switch that specifies the sales test mode. In this example, the test switch 17 is operated a second time. It is designed to cancel the sales test mode. Also, 14 is a memory, registers R 1 and R 7 for setting the sales column number, register R 2 for setting the test sales flag, and register R 3 for setting the input amount or change amount, Selection switch
Each selection flag indicating that S 1 to S n has been operated is set. Column error data is set corresponding to each register of R 41 to R 4n and each sales column of 1 to n. Each register from R 51 to R 5n and carrier switch
Each of the registers R 61 to R 6n in which each carrier flag indicating that P 1 to P n is ON is set, and the pricing area M that stores the selling price of the product for each selling column are allocated. ing.

第3図及び第4図はマイクロコンピュータ13のプログラ
ムを説明するフローチャートであるが、第4図の入力検
知フローはタイマ割込によって定期的に処理される。第
3図のメインフローのN1ステップはレジスタR1に販売コ
ラムNo.として「1」をセットし、N2ステップはレジス
タR2にテスト販売フラグがセットされているかを判定
し、該フラグがセットされていない場合に、N3ステップ
で販売コラムNo.1が正常であるか否かをレジスタR51
コラム異常データがセットされているかで確認する。そ
してコラム異常データがセットされている場合にはN6
テップに移行するが、販売コラムが正常でコラム異常フ
ラグがセットされていない場合にはN4ステップで販売コ
ラムNo.1の商品が販売可能であるかを判定する。自動販
売機に貨幣が投入されると貨幣スイッチC1〜C4が投入貨
幣信号を出力するが、タイマ割込による入力検知フロー
のn9ステップで投入貨幣信号を検出すると、n14ステッ
プでレジスタR3に投入貨幣信号が示す貨幣額を加算して
投入金額を演算している。したがってメインフローのN3
ステップでは、投入金額とメモリ14の価格設定領域Mに
ストアしている販売コラムNo.1の販売価格とを比較して
当該販売コラムの商品が販売可能であるかを判定する
が、このときマイクロコンピュータ13は図示しない釣銭
有無信号及び商品売切信号に応じても販売の可能性を決
定している。そして販売可能な場合にはN5ステップに移
行してレジスタR41に選択フラグがセットされているか
を確認する。しかして選択フラグがセットされていない
場合或るいは商品の販売が不可能な場合には、N6ステッ
プに移行してレジスタR1の内容をインクリメントして販
売コラムNo.2を指定し、N7ステップを通ってN2ステップ
に移行する。このように各販売コラム毎にかかる処理を
繰返すが、販売コラムNo.2の商品が販売可能で且つ選択
スイッチS2が操作されているとレジスタR42には選択フ
ラグがセットされているためにN5ステップからN8ステッ
プとなる。このとき選択フラグは、タイマ割込による入
力検知フローで選択スイッチの操作を検出したときにレ
ジスタR41〜R4nにセットされている。
3 and 4 are flowcharts for explaining the program of the microcomputer 13, the input detection flow of FIG. 4 is periodically processed by a timer interrupt. In the N 1 step of the main flow of FIG. 3, “1” is set in the register R 1 as the sales column number, and in the N 2 step, it is determined whether the test sale flag is set in the register R 2 and the flag is set. if not set, to check on whether sales column No.1 in N 3 step is column abnormal data set whether the normal in the register R 51. And if the column abnormality data is set, the process moves to N 6 step, but if the sales column is normal and the column abnormality flag is not set, the product in the sales column No. 1 can be sold in N 4 steps. Is determined. If the vending machine money is turned the currency switch C 1 -C 4 but outputs the inserted currency signals, detects the inserted currency signals at n 9 step input detection process by the timer interrupt, register n 14 step The amount of money input is calculated by adding the amount of money indicated by the input money signal to R 3 . Therefore, N 3 of the main flow
In the step, it is determined whether or not the product in the sales column can be sold by comparing the input amount with the sales price of the sales column No. 1 stored in the pricing area M of the memory 14. The computer 13 also determines the possibility of sale based on a change presence / absence signal and a product sold-out signal (not shown). And if salable confirms whether selection flag to the register R 41 shifts to N 5 steps are set. Thus if some Rui If the selection flag is not set, which can not be sold goods, increments the contents of register R 1 shifts to N 6 step specifies the sales column No.2, N Go to N 2 step through 7 steps. In this way, the process is repeated for each sales column. However, when the product in the sales column No. 2 can be sold and the selection switch S 2 is operated, the selection flag is set in the register R 42. From N 5 steps to N 8 steps. At this time, the selection flag is set in the registers R 41 to R 4n when the operation of the selection switch is detected in the input detection flow by the timer interrupt.

ここで入力検知フローの選択スイッチの入力検知をキャ
リアスイッチの入力検知とともに説明する。n1ステップ
はレジスタR7に販売コラムNo.として「1」をセット
し、n2ステップはキャリアスイッチP2の出力を検出して
OFFの場合はn3ステップでレジスタR61をクリアし、ONの
場合にはn4ステップでレジスタR61にキャリアフラグを
セットする。そしてn5ステップで選択スイッチS1の操作
を検出しONしているとn6ステップでレジスタR41に選択
フラグをセットし、n7ステップでレジスタR7の内容をイ
ンクリメントして販売コラムNo.2を指定し、n8ステップ
を通りn2ステップに移行する。このようにして全ての販
売コラムのキャリアスイッチ及び選択スイッチのONを検
出し、かかる処理を繰返してレジスタR7の内容により全
ての販売コラムが終了したことを検出するとn8ステップ
からn9ステップとなる。
Here, the input detection of the selection switch of the input detection flow will be described together with the input detection of the carrier switch. In the n 1 step, the register R 7 is set to “1” as the sales column number, and in the n 2 step, the output of the carrier switch P 2 is detected.
When it is OFF, the register R 61 is cleared in n 3 steps, and when it is ON, the carrier flag is set in the register R 61 in n 4 steps. Then, when the operation of the selection switch S 1 is detected and turned on in the step n 5 , the selection flag is set in the register R 41 in the step n 6, and the contents of the register R 7 is incremented in the step n 7 to increase the sales column number. Specify 2 and go through n 8 steps to n 2 steps. In this way, when the carrier switches and selection switches of all the sales columns are detected to be ON, and this processing is repeated, and it is detected that all the sales columns are finished by the contents of the register R 7 , steps n 8 to n 9 are performed. Become.

そしてメインフローにおいて、レジスタR42に選択フラ
グがセットされていてN6ステップとなると選択フラグを
リセットし、N9ステップではレジスタR2にテスト販売フ
ラグがセットされていないことを確認し、N10ステップ
ではレジスタR62にキャリアフラグがセットされている
かで商品排出装置の異常を判定する。商品排出モータM2
が非動作状態にあると、通常モータキャリアは待機位置
にあってキャリアスイッチP2はONしているために、入力
検知フローのn4ステップでレジスタR61にはキャリアフ
ラグがセットされている。キャリアフラグがセットされ
ていると商品排出装置は正常であり、N11ステップで商
品排出モータM2に駆動信号を出力して販売コラムNo.2か
らの商品の送出制御を行い、商品の送出後N12ステップ
でレジスタR52をクリアする。そしてN13ステップではレ
ジスタR3の金額から販売コラムNo.2の商品の販売価格を
減算し、減算後の残額が“0"円以外であるとこの額を釣
銭として払出す制御を行ってN1ステップに移行する。
Then, in the main flow, when the selection flag is set in the register R 42 and the N 6 step is reached, the selection flag is reset, and in the N 9 step it is confirmed that the test sale flag is not set in the register R 2 and N 10 In the step, it is determined whether or not the product discharge device is abnormal depending on whether the carrier flag is set in the register R 62 . Product discharge motor M 2
Is in the non-operating state, the motor switch is normally in the standby position and the carrier switch P 2 is ON, so that the carrier flag is set in the register R 61 in step n 4 of the input detection flow. When the carrier flag is set product discharge device is normal, N 11 and outputs a drive signal to the product discharge motor M 2 performs the transmission control of the product from sales column No.2 in step, after delivery of the product Clear register R 52 in step N 12 . Then, in the N 13 step, the selling price of the product in the sales column No. 2 is subtracted from the amount in the register R 3 , and if the remaining amount after subtraction is other than “0” yen, this amount is controlled to be paid out as change. Move to 1 step.

しかしながらモータキャリアが待機位置から外れていて
キャリアスイッチP2がOFFしていると、レジスタR61には
キャリアフラグがセットされていない。この場合、販売
コラムNo.2の商品排出装置は異常であり、N15ステップ
でレジスタR52にコラム異常データをセットしてN1ステ
ップに移行する。したがって販売コラムNo.2からは商品
が送出されない。そしてN1ステップでレジスタR1に販売
コラムNo.として「1」をセットして上記の動作を繰返
すが、次に販売コラムNo.2に関してN3ステップとなる
と、レジスタR52にはコラム異常フラグがセットされて
いるために販売不能であり、販売可否判定を行わずにN6
ステップに移行する。しかして客により販売コラムNo.2
に代わる他の販売コラムの選択スイッチが操作される
と、タイマー割込による入力検知フローで対応するレジ
スタR41〜R4nに選択フラグがセットされる。そしてメイ
ンフローにおいて、レジスタR1に操作された選択スイッ
チの販売コラムNo.がセットされ、この販売コラムに対
してはコラム異常データがセットされておらず且つ販売
可能であると、N5ステップからN8ステップに移行して当
該販売コラムからの商品送出動作を行う。
However, when the motor carrier is out of the standby position and the carrier switch P 2 is off, the carrier flag is not set in the register R 61 . In this case, the merchandise ejecting device of the sales column No. 2 is abnormal, and the column abnormality data is set in the register R 52 in the N 15 step, and the process proceeds to the N 1 step. Therefore, products are not sent from the sales column No.2. Then, in the N 1 step, “1” is set as the sales column No. in the register R 1 and the above operation is repeated. However, when the N 3 steps are performed for the sales column No. 2, the column error flag is stored in the register R 52. Since it is set, it is not possible to sell and N 6
Go to step. And then sold by customers Column No. 2
When the selection switch of another sales column in place of is operated, the selection flag is set in the corresponding register R 41 to R 4n in the input detection flow by the timer interruption. Then, in the main flow, the sales column No. of the selection switch operated in the register R 1 is set, and if no column abnormality data is set for this sales column and it is possible to sell, from the N 5 step N 8 Move to step 8 and perform product sending operation from the sales column.

一方、テストスイッチ17の操作をタイマ割込による入力
検知フローのn10ステップで検出すると、n11ステップで
レジスタR2のテスト販売フラグを確認し、該フラグがセ
ットされていない場合にn12ステップでレジスタR2にテ
スト販売フラグをセットしてテスト販売モードとし、テ
スト販売フラグがセットされているとn13ステップでレ
ジスタR2のテスト販売フラグをリセットしてテスト販売
モードを解除する。テスト販売モードとなると、メイン
フローはテスト販売フラグのセットにより常にN2ステッ
プからN5ステップに移行してコラム異常の確認及び販売
可能判定は行わない。したがってテスト販売モードでは
常に販売コラム毎の選択スイッチの操作を待機してい
る。そしてテスト販売するコラムに対応した選択スイッ
チが操作されると、入力検知フローで対応するレジスタ
R41〜R4nに選択フラグがセットされる。そのためメイン
フローに復帰するとN5ステップからN8ステップへ移行し
て商品を送出するが、このときはテスト販売フラグのセ
ットによりキャリアスイッチP1〜Pnの状態は確認しな
い。そしてN11ステップで商品を送出して、N12ステップ
となるとテスト販売のコラムに対応するレジスタR51〜R
5nのコラム異常データをリセットする。したがって販売
コラムNo.2の商品排出装置が異常であるときに、この異
常原因を解除してキャリアを待機位置に戻し、テストス
イッチ17を操作した後選択スイッチS2を操作するとレジ
スタR52のコラム異常データがリセットされる。
On the other hand, when the operation of test switch 17 for detecting at n 10 step input detection process by the timer interrupt, n 11 Verify test sales flag register R 2 in step, n 12 steps if the flag is not set The test sale flag is set in the register R 2 to set the test sale mode. When the test sale flag is set, the test sale flag of the register R 2 is reset and the test sale mode is released in step n 13 . When the test sale mode is entered, the main flow always shifts from N 2 step to N 5 step by setting the test sale flag, and does not check the column for abnormalities and judge the sale availability. Therefore, in the test sale mode, the operation of the selection switch for each sale column is always on standby. When the selection switch corresponding to the column for test sale is operated, the corresponding register in the input detection flow
The selection flags are set in R 41 to R 4n . Therefore, when returning to the main flow, the product is sent out from the N 5 step to the N 8 step, but at this time, the states of the carrier switches P 1 to P n are not confirmed by setting the test sale flag. Then, the product is sent in N 11 steps, and when it comes to N 12 steps, the registers R 51 to R corresponding to the columns for test sale
Reset the 5n column error data. Thus when product discharge device for a sales column No.2 is abnormal, the abnormality cause to release the back carrier to the standby position, the column of the operating the selection switch S 2 after operating the test switch 17 registers R 52 Abnormal data is reset.

(ト)発明の効果 本発明によると、販売可能商品の選択により検出装置の
検出位置に基づく販売コラムの異常検知を行うために、
待機状態で検出装置が商品排出装置の待機位置以外を検
出していると、モータを駆動することがない。したがっ
て詰まり商品を付勢して変形させることが防止される。
しかも異常の解除後はテスト販売動作により自動的にシ
ステム上でも異常が解除されるために操作性が向上す
る。
(G) Effect of the Invention According to the present invention, in order to detect an abnormality in the sales column based on the detection position of the detection device by selecting a salable product,
When the detection device detects a position other than the standby position of the product discharging device in the standby state, the motor is not driven. Therefore, it is possible to prevent the jammed product from being biased and deformed.
Moreover, after the abnormality is cleared, the test sale operation automatically clears the abnormality on the system, which improves operability.

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

第1図は本発明に依る自動販売機の制御回路を示すブロ
ック図、第2図はマイクロコンピュータによる本発明の
実施例を示す図、第3図はマイクロコンピュータの制御
を示すフローチャート、第4図はマイクロコンピュータ
の入力検知を示すフローチャートである。 21〜2n……商品排出装置、31〜3n……検出装置、4……
商品選択手段、7……コラム異常データ記憶手段、8…
…販売可能判定手段、9……異常検出手段、10……テス
ト販売制御手段、11……テストスイッチ。
FIG. 1 is a block diagram showing a control circuit of a 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 flow chart showing control of the microcomputer, and FIG. 6 is a flowchart showing input detection of a microcomputer. 2 1 to 2 n …… Merchandise ejection device, 3 1 to 3 n …… Detection device, 4 ……
Product selection means, 7 ... Column abnormal data storage means, 8 ...
… Sale availability judgment means, 9 …… Abnormality detection means, 10 …… Test sales control means, 11 …… Test switch.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】販売コラム毎に選択手段と商品排出装置を
備えて、該商品排出装置の正常な待機位置を検知可能な
検出装置を設けた自動販売機において、前記選択手段に
より選択された前記販売コラムに対応する前記検出装置
が待機位置以外であるとコラム異常データを記録手段に
セットする異常検出手段と、前記記憶手段にコラム異常
データがセットされていると対応する商品の販売を中止
する販売可能判定手段と、テストスイッチの動作に基づ
きテスト販売モードとするテスト販売制御手段とを備
え、該テスト販売制御手段は、核テスト販売モードにお
いて前記記憶手段にコラム異常データがセットされた販
売コラムに対応する選択手段が選択されると対応する前
記商品排出装置を駆動するとともに前記記憶手段にセッ
トされたコラム異常データをリセットする手段を具備し
たことを特徴とする自動販売機の制御装置。
1. An automatic vending machine provided with a selection means and a product discharge device for each sales column, and provided with a detection device capable of detecting a normal standby position of the product discharge device, wherein the selection means selects the product. If the detection device corresponding to the sales column is at a position other than the standby position, the abnormality detection means for setting the column abnormality data in the recording means, and if the column abnormality data is set in the storage means, the sale of the corresponding product is stopped. A sale column is provided with a sale enable determination means and a test sale control means for setting a test sale mode based on the operation of a test switch, and the test sale control means is a sale column in which column abnormality data is set in the storage means in the nuclear test sale mode. When the selecting means corresponding to is selected, the corresponding article discharging device is driven and the column abnormality set in the storage means Control apparatus for an automatic vending machine characterized by comprising a means for resetting the over data.
JP59164043A 1984-08-03 1984-08-03 Vending machine controller Expired - Lifetime JPH0797431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59164043A JPH0797431B2 (en) 1984-08-03 1984-08-03 Vending machine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59164043A JPH0797431B2 (en) 1984-08-03 1984-08-03 Vending machine controller

Publications (2)

Publication Number Publication Date
JPS6142093A JPS6142093A (en) 1986-02-28
JPH0797431B2 true JPH0797431B2 (en) 1995-10-18

Family

ID=15785714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59164043A Expired - Lifetime JPH0797431B2 (en) 1984-08-03 1984-08-03 Vending machine controller

Country Status (1)

Country Link
JP (1) JPH0797431B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4747062B2 (en) * 2006-09-26 2011-08-10 エヌイーシーコンピュータテクノ株式会社 Device migration method, device migration method, migration control apparatus, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5949688A (en) * 1982-09-16 1984-03-22 富士電機株式会社 Trouble recovery system for vending machine
JPS59105193A (en) * 1982-12-07 1984-06-18 松下冷機株式会社 Sales abnormality detector for vending machine

Also Published As

Publication number Publication date
JPS6142093A (en) 1986-02-28

Similar Documents

Publication Publication Date Title
JPH0797431B2 (en) Vending machine controller
JP2679364B2 (en) Controller for cup-type vending machine
JPH10222737A (en) Power supply controller for automatic vending machine and method therefor
JP3145028B2 (en) Vending machine control device
JPH0670821B2 (en) Vending machine controller
KR100238979B1 (en) How to detect product abnormality in vending machine
JPH0620226Y2 (en) Failure display device for vending machines
JP3255842B2 (en) Operation preparation method for vending machines
JP2502387Y2 (en) Parallel vending machine for vending machines
JP3174282B2 (en) vending machine
JP2582811B2 (en) Vending machine sales cancellation release device
JPS6245255Y2 (en)
JP2692371B2 (en) Product lifter control device for vending machines
KR100220713B1 (en) Extracting system and method of vending machine
KR0153699B1 (en) How to sell pizza after blackout of pizza vending machine
JP2524642B2 (en) Point-of-sale information management device
JPH05290250A (en) Automatic vending machine with plural purchase function
KR950004793B1 (en) Disorder detecting equipment and displaying method of goods selection button for vending machine
JP2000242843A (en) Controller for automatic vending machine
JPH09319941A (en) Abnormality detecting device for automatic vending machine
JP2708741B2 (en) Vending machine with game machine
JPH11110633A (en) Vending machine product unloading device
JP2516382Y2 (en) vending machine
JP2828671B2 (en) Vending machine control device
JP2000259928A (en) Controller for automatic vending machine