JPH0498391A - Controller for automatic vending machine - Google Patents

Controller for automatic vending machine

Info

Publication number
JPH0498391A
JPH0498391A JP2212012A JP21201290A JPH0498391A JP H0498391 A JPH0498391 A JP H0498391A JP 2212012 A JP2212012 A JP 2212012A JP 21201290 A JP21201290 A JP 21201290A JP H0498391 A JPH0498391 A JP H0498391A
Authority
JP
Japan
Prior art keywords
product
code
vending machine
selection switch
merchandise
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.)
Granted
Application number
JP2212012A
Other languages
Japanese (ja)
Other versions
JP3005260B2 (en
Inventor
Hiromu Otsuka
大塚 博武
Katsuyoshi Tajima
勝好 田島
Atsushi Ebara
江原 淳
Keita Shinozaki
啓太 篠崎
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 JP2212012A priority Critical patent/JP3005260B2/en
Priority to KR1019910013622A priority patent/KR0124368B1/en
Priority to DE69126484T priority patent/DE69126484T2/en
Priority to EP91307308A priority patent/EP0470846B1/en
Priority to US07/741,862 priority patent/US5272321A/en
Priority to CA002048718A priority patent/CA2048718A1/en
Publication of JPH0498391A publication Critical patent/JPH0498391A/en
Application granted granted Critical
Publication of JP3005260B2 publication Critical patent/JP3005260B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To surely register only the designated merchandise as handling merchandise by deciding whether or not this merchandise is registered as the handling merchandise of the corresponding automatic vending machine while utilizing a merchandise code printed on the merchandise to be sold. CONSTITUTION:When a merchandise code printed on the merchandise to be set as the handling merchandise of an automatic vending machine 5 with the help of a bar code reader 1, merchandise code file searching means 8 and 29 decide whether or not the same merchandise code as the one when the bar code reader 1 reads in a file. When the same merchandise code is filed, the register means 8 and 23d register this merchandise as the handling merchandise of the corresponding automatic vending machine 5. Thus, the merchandise code can be registered as the handling merchandise of the automatic vending machine when it is the one for the designated merchandise.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、あらかじめ決めである以外の商品の販売を禁
止する自動販売機の制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a control device for a vending machine that prohibits the sale of products other than those specified in advance.

(ロ)従来の技術 自動販売機の運用形態としては、自動販売機の所有者が
、自動販売機の管理を小売店に委託するケースが最も多
く、この場合、自動販売機の所有者は、中身商品のメー
カーであったり販売業者であったりする。ところで、か
かる運用形態で問題となるのは、管理者が自動販売機の
所有者の指定する以外の商品を販売することであり、こ
のようなことが行われると、自動販売を通じて自分の商
品を拡販したい所有者の意思とは反することになる。
(b) Conventional technology In most cases, the vending machine owner outsources the management of the vending machine to a retailer; in this case, the vending machine owner This may be the manufacturer or distributor of the product. By the way, the problem with this type of operation is that the manager sells products other than those specified by the vending machine owner. This goes against the wishes of the owner who wants to expand sales.

そのため従来より、指定以外の商品を販売できないよう
にした自動販売機が望まれていた。かかる目的を達成す
るのに、特開平1−233692号公報は、販売商品見
本を商品選択ボタンに対応させて展示した陳列棚を有す
る自動販売機において、販売商品見本にそれぞれ一定の
抵抗値の回路構成の導電材料を固着し、その各回路構成
材料を直列に接続させ異常検出回路を構成させると共に
、その総抵抗値が所定の値にあるか否かを判別し、出力
する判別手段を備えた構成の自動販売機を開示している
。この発明は、自動販売機には販売する商品の見本を展
示することに着目し、指定商品の見本を展示しなければ
販売できないようにしたものである。
For this reason, there has been a desire for vending machines that do not allow the sale of products other than those specified. To achieve this purpose, Japanese Patent Application Laid-Open No. 1-233692 discloses that in a vending machine having a display shelf in which samples of products to be sold are displayed in correspondence with product selection buttons, each sample of products to be sold is provided with a circuit having a constant resistance value. An abnormality detection circuit is constructed by fixing the conductive materials of the structure and connecting each of the circuit constituent materials in series, and also includes determining means for determining whether the total resistance value is within a predetermined value and outputting the result. The configuration of the vending machine is disclosed. This invention focuses on displaying samples of products to be sold in vending machines, and makes it impossible to sell unless a sample of a specified product is displayed.

(ハ)発明が解決しようとする課題 しかしながら従来例の構成は、商品見本を展示する構成
を備えた自動販売機しか適用されない欠点がある。また
、こうした商品見本は、比較的真似されやすいという課
題もある。
(c) Problems to be Solved by the Invention However, the configuration of the conventional example has the disadvantage that it can only be applied to vending machines equipped with a configuration for displaying product samples. Another problem is that these product samples are relatively easy to imitate.

従って、本発明は、自動販売機で販売しようとする商品
にバーコードにて印刷されている商品コードを読み取り
、この商品コードが指定商品の商品コードと異なる場合
は、自動販売機の取扱商品として登録しないようにする
自動販売機の制御装置を提供するものである。
Therefore, the present invention reads the product code printed in the form of a bar code on the product to be sold in a vending machine, and if this product code is different from the product code of the designated product, the product is not handled by the vending machine. The present invention provides a control device for a vending machine that prevents registration.

(ニ)課題を解決するための手段 上記の課題を解決するために本発明による自動販売機の
制御装置は、当該自動販売機にて販売できる商品の商品
コードを記憶している商品コードファイルと、バーコー
ドリーダーと、該バーコードリーダーが読み取った商品
コードに基づき前記商品コードファイルを探索する商品
コードファイル探索手段と、前記バーコードリーダーに
て読み取った商品コードが前記商品コードファイルが記
憶している何かの商品コードと一致していることを前記
商品コード探索手段が検出したとき、この商品を当該自
動販売機の取扱商品として登録する登録手段とを具備し
ている。
(d) Means for Solving the Problems In order to solve the above problems, the vending machine control device according to the present invention includes a product code file that stores product codes of products that can be sold in the vending machine. , a barcode reader, a product code file search means for searching the product code file based on the product code read by the barcode reader, and a product code file that stores the product code read by the barcode reader. and registering means for registering this product as a product handled by the vending machine when the product code searching means detects that the product code matches the product code of some other product in the vending machine.

(ホ)作用 バーコードリーダーにて、自動販売機の取扱商品として
設定したい商品に印刷されている商品コードを読み取る
と、商品コードファイル探索手段は、商品コードファイ
ルを探索してファイル内にバーコードリーダーが読み取
ったのと同じ商品コードがファイルされているかを判別
する。そして、同じ商品コードがファイルされている場
合には、登録手段はこの商品を当該自動販売機の取扱商
品として登録する。これにより、この商品を自動販売機
内に収納しておいて選択された場合には、あらかじめ登
録されているために販売することができる。
(E) Operation When the barcode reader reads the product code printed on the product that you want to set as a product handled by the vending machine, the product code file search means searches the product code file and inserts the barcode in the file. Determine whether the same product code as the one read by the reader is on file. If the same product code is filed, the registration means registers this product as a product handled by the vending machine. As a result, if this product is stored in a vending machine and selected, it can be sold because it has been registered in advance.

(へ)実施例 第1図はこの発明の実施例を示す自動販売機の全体斜視
図である。自動販売機5の接客パネル6には、硬貨投入
ロアや7個の商品選択スイ・ンチ8が設けられている。
(F) Embodiment FIG. 1 is an overall perspective view of a vending machine showing an embodiment of the present invention. A customer service panel 6 of the vending machine 5 is provided with a coin insertion lower and seven product selection switches 8.

そして、自動販売機5の扉9を開けた内部には制御ボッ
クス10及び硬貨処理装置IIが取り付けられている。
A control box 10 and a coin processing device II are installed inside the vending machine 5 when the door 9 is opened.

制御ボックス】0にはバーコードリーダー1が接続され
ると共にこの制御ボックス10の中には、CPUなどに
よって構成される制御装置が収納されている。硬貨処理
装置1(11は、硬貨投入ロアに投入された硬貨を選別
する硬貨セレクタ11A、硬貨収納部lIB及びこの硬
貨収納部に収納されている硬貨を硬貨取出口17に払い
出すための硬貨払出装置11Cから成る。また、扉9の
背面には、各商品選択スイッチ8に対応しており、それ
ぞれ該当している商品選択スイッチを表す商品選択スイ
・7チコードがバーコードにて表示されている商品選択
スイッチ識別部29を設けている。この商品選択スイ/
チコードは、例えば各商品選択スイッチ8に割り付けた
スイッチ番号を表示するものである。
A barcode reader 1 is connected to the control box 10, and a control device including a CPU and the like is housed in the control box 10. Coin processing device 1 (11 includes a coin selector 11A for sorting coins inserted into a coin input lower, a coin storage section IIB, and a coin dispensing unit for discharging coins stored in this coin storage section to a coin ejection port 17. It consists of a device 11C.Furthermore, on the back of the door 9, a product selection switch 7 code corresponding to each product selection switch 8 and representing the corresponding product selection switch is displayed in the form of a bar code. A product selection switch identification section 29 is provided.
The code is for displaying, for example, the switch number assigned to each product selection switch 8.

第2図は、前面扉3を開放した状態を示しており、自動
販売機5の庫内には5列の商品収納コラム2を設け、商
品収納コラム2の下方には商品取出口4に連通するシュ
ート12を配置している。
FIG. 2 shows a state in which the front door 3 is opened, and the inside of the vending machine 5 is provided with five product storage columns 2, and the lower part of the product storage column 2 is connected to the product takeout port 4. A chute 12 is arranged.

商品収納コラム2の上部には商品投入口2Aが開口され
ており、収納する商品はこの商品投入口2Aを通して内
部に充填される。また、商品収納コラム2のそれぞれに
は、対応しているコラムを表わすコラムコードをバーコ
ードにて表示するコラム識別部28が設けられている。
A product inlet 2A is opened at the top of the product storage column 2, and the products to be stored are filled into the interior through the product inlet 2A. Further, each of the product storage columns 2 is provided with a column identification section 28 that displays a column code representing the corresponding column in the form of a barcode.

このコラムコードは、例えば各商品収納コラム2に$I
 Q付けたコラム番号等を表示するものである。
This column code is, for example, $I for each product storage column 2.
It displays the column number etc. with Q.

この自動販売機5は、初期状態においては商品選択スイ
ッチ8と商品収納コラム2とは対応しておらず、この状
態においては、商品選択スイッチ8を操作しても、いず
れの商品収納コラム2からも商品は販売されない。しか
して、商品選択スイッチ8と商品収納コラム2との対応
が設定されると、商品選択スイッチ8が操作されたとき
にはこれに対応する商品収納コラム2より商品を販売す
ることができる。
In this vending machine 5, in the initial state, the product selection switch 8 and the product storage column 2 do not correspond, and in this state, even if the product selection switch 8 is operated, neither of the product storage columns 2 No products will be sold. Thus, when the correspondence between the product selection switch 8 and the product storage column 2 is set, when the product selection switch 8 is operated, the product can be sold from the corresponding product storage column 2.

このような設定は、販売させようとする商品にバーコー
ドにて印刷されている商品コードを利用して次のごとく
行われる。即ち、バーコードリーダー1にて、設定した
い商品収納コラム2に対応するコラム識別部28に表示
されているコラムコードと当該商品収納コラムに収納す
る商品に印刷されている商品コードとを読み取ることで
商品収納コラムと商品との対応を自動販売機に認識させ
また、バーコードリーダーlにて、商品コードと同じく
設定したい商品選択スイッチ8に対応する商品選択スイ
ッチ識別部29に表示されている商品選択スイッチコー
ドとを読み取ることで商品選択スイッチ8と商品との対
応を自動販売機に認識させる。これにより自動販売機は
、同じ商品コードの商品選択スイッチ8と商品収納コラ
ム2とを検出するために、商品選択スイッチ8と商品収
納コラム2との対応が設定されたことになる。こノドき
、バーコードリーダー1にて商品選択スイッチコードを
読み取る代わりに、商品選択スイッチ8を操作すること
でも、商品選択スイッチ8と商品との対応を認識するこ
とができる。
Such settings are performed as follows using the product code printed in the form of a bar code on the product to be sold. That is, by using the barcode reader 1 to read the column code displayed in the column identification section 28 corresponding to the desired product storage column 2 and the product code printed on the product to be stored in the product storage column concerned. Make the vending machine recognize the correspondence between the product storage column and the product, and use the barcode reader l to select the product displayed in the product selection switch identification section 29 corresponding to the product selection switch 8 that you want to set in the same way as the product code. By reading the switch code, the vending machine is made to recognize the correspondence between the product selection switch 8 and the product. This means that the vending machine is set to correspond to the product selection switch 8 and product storage column 2 in order to detect the product selection switch 8 and product storage column 2 having the same product code. Now, instead of reading the product selection switch code with the barcode reader 1, by operating the product selection switch 8, the correspondence between the product selection switch 8 and the product can be recognized.

このように、販売しようとする商品に印刷されている商
品コードを入力することにより、商品選択スイッチ8と
商品収納コラム2との対応が設定されて当該商品の取扱
商品としての登録が行われる。従って、この自動販売機
5は、バーコードリーダー1にて読み取った商品コード
が指定商品以外のものであるときは、商品選択スイッチ
8と商品収納コラム2との対応を設定できなくしており
このように構成することで指定商品以外の商品を取扱商
品として登録することを不可能にしている。
In this way, by inputting the product code printed on the product to be sold, the correspondence between the product selection switch 8 and the product storage column 2 is set, and the product is registered as a handled product. Therefore, in this vending machine 5, when the product code read by the barcode reader 1 is other than the specified product, the correspondence between the product selection switch 8 and the product storage column 2 cannot be set. This configuration makes it impossible to register products other than designated products as handled products.

第3図は自動販売機5の構成をブロックにて示すもので
、制御ボックス10に格納される制御部は、プログラム
により制御動作を実行する中央処理ユニット(CPUン
21を含み、このCPUl0にアドレスバス25及びデ
ータバス26を介して、動作用のプログラムを格納した
ROM22゜RAM23.I10インターフェース24
を接続している。そして、I10インターフェース24
には、バーコードリーダーlと、硬貨処理装置llと、
表示装置14と、選択装置15と、販売装置16と、モ
ードスイッチ18とが接続されている。
FIG. 3 shows the configuration of the vending machine 5 in block form. Through the bus 25 and data bus 26, the ROM 22° RAM 23 stores operating programs, and the I10 interface 24.
are connected. And I10 interface 24
includes a barcode reader l, a coin processing device l,
A display device 14, a selection device 15, a vending device 16, and a mode switch 18 are connected.

硬貨処理装置11は、硬貨セレクタ16にて適正と判別
された硬貨の金額を表す信号をI10インターフェース
24を通してCPU21に出力する。また、硬貨処理装
置11は、CPUl0がら硬貨の払い出しを表す信号が
f10インターフェース24を通して入力されると硬貨
払出装置18を駆動する。
The coin processing device 11 outputs a signal representing the amount of the coin determined to be appropriate by the coin selector 16 to the CPU 21 through the I10 interface 24. Further, the coin processing device 11 drives the coin dispensing device 18 when a signal indicating coin dispensing is input from the CPU 10 through the f10 interface 24.

表示装置14は、各商品収納コラム2に対応して設けた
5個のコラムインジケータ19と、各商品選択スイッチ
8に対応して設けた7個の選択スイッチインジケータ2
0を含み、それぞれのインジケータは、I10インター
フェース24を通してCPU21から入力される表示デ
ータに基づいて駆動が制御される。選択スイッチインジ
ケータ20は接客パネル6に設けられており、通常の販
売モードにおいては、顧客が貨幣を投入したときに投入
金額にて購入可能な商品を点灯にて示す、いわゆる販売
可インジケータとして機能するものである。
The display device 14 includes five column indicators 19 provided corresponding to each product storage column 2 and seven selection switch indicators 2 provided corresponding to each product selection switch 8.
The driving of each indicator including 0 is controlled based on display data input from the CPU 21 through the I10 interface 24. The selection switch indicator 20 is provided on the customer service panel 6, and in the normal sales mode, when the customer inserts money, it functions as a so-called sales ready indicator that lights up to indicate the products that can be purchased with the inserted amount. It is something.

選択装置15は複数の商品選択スイッチ8を含み、この
選択装置15からは、商品選択スイッチ8が操作された
ことを表す信号がI10インターフェース24を通して
CPU21に入力される。
The selection device 15 includes a plurality of product selection switches 8, and a signal indicating that the product selection switch 8 has been operated is input from the selection device 15 to the CPU 21 through the I10 interface 24.

販売装置16は、商品収納コラム2に対応して商品送出
用の駆動モータを含み、CPU21は、I10インター
フェース24を通してこのモータに商品の退出を表す指
令を与える。
The vending device 16 includes a drive motor for sending out the product corresponding to the product storage column 2, and the CPU 21 gives a command to this motor through the I10 interface 24 to indicate the withdrawal of the product.

モードスイッチ18は、通常の販売モードと設定モード
とを切り換えるために操作される。CPU21は、販売
モードにおいてこのモードスイッチ14が操作されると
自動販売機を設定モードとしてバーコードリーダー1を
駆動する。これにより、バーコードリーダー1は、商品
13に印刷されている商品コード、コラム識別部28に
表示されているコラムコード、及び商品選択スイッチ識
別部29に表示されている商品選択スイッチコードを読
み取ることができる。
The mode switch 18 is operated to switch between normal sales mode and setting mode. When the mode switch 14 is operated in the vending mode, the CPU 21 sets the vending machine to the setting mode and drives the barcode reader 1. This allows the barcode reader 1 to read the product code printed on the product 13, the column code displayed in the column identification section 28, and the product selection switch code displayed in the product selection switch identification section 29. I can do it.

商品コードは、POSシステムのためのJIS規格で規
定された共通コード用バーコードシンボル、いわゆるJ
ANコードと呼ばれているものであり、先頭から順に2
桁の国別コード(49で日本を表す)と、5桁の商品メ
ーカーコードと、5桁の商品アイテムコード(以下、便
宜上これを商品コードと言う)と、1桁のチエツクデジ
ットが配列されている。このようにJANコードは、頭
の2桁のコードが49であることが決められているため
に、先頭の2桁をチエツクすることでJANコードであ
るかが判別される。従って、本例のコラムコード及び商
品選択スイッチコードはその頭の2桁を識別コード部に
して、ここに49以外の数値に設定することで3つのコ
ードを区Sすできるようにしている。
The product code is a common code barcode symbol specified by the JIS standard for POS systems, so-called J
This is called an AN code, and from the beginning it is 2.
A digit country code (49 represents Japan), a 5-digit product manufacturer code, a 5-digit product item code (hereinafter referred to as the product code for convenience), and a 1-digit check digit are arranged. There is. In this way, since the first two digits of the JAN code are determined to be 49, it is determined whether it is a JAN code by checking the first two digits. Therefore, in the column code and product selection switch code of this example, the first two digits are used as an identification code part, and by setting a value other than 49 here, three codes can be distinguished.

CPU21は、バーコードリーダー1の読み取りに基づ
いて商品収納コラム2と商品選択スイッチ8との対応を
RAM23に格納するが、この自動販売機5は商品収納
コラム2の数と商品選択スイッチ8の数とが一致してい
ないために、一つで複数の商品選択スイッチ8に対応す
る商品収納コラムが存在することになる。
The CPU 21 stores the correspondence between the product storage columns 2 and the product selection switches 8 in the RAM 23 based on the reading by the barcode reader 1. Since these do not match, there is one product storage column corresponding to a plurality of product selection switches 8.

第4図はRAM23の記憶フォーマットを示しており、
RAM23は少なくとも5通りの記憶領域を有する。
Figure 4 shows the storage format of the RAM 23.
The RAM 23 has at least five storage areas.

記憶領域23aはバッファ記憶部であり、バーコードリ
ーダー1にて読み取った商品コードを記憶する商品コー
ドバッファ、コラムインジケータ表示バッファ、選択ス
イッチインジケータ表示バンファを備えている。そして
、5ビツトのコラムインジケータ表示バッファには、5
個のコラムインジケータ19の点灯あるいは消灯を1ビ
ツトの“1”あるいは“0”にて示す表示データが記憶
される。また、7ビツトの選択スイッチインジケータ表
示バッファには、7個の選択スイッチインジケータ20
の点灯あるいは消灯を1ビツトの“1”あるいは“0”
にて示す表示データが記憶される。
The storage area 23a is a buffer storage section, and includes a product code buffer for storing the product code read by the barcode reader 1, a column indicator display buffer, and a selection switch indicator display buffer. The 5-bit column indicator display buffer contains 5 bits.
Display data indicating lighting or extinguishing of each column indicator 19 as one bit "1" or "0" is stored. In addition, the 7-bit selection switch indicator display buffer contains 7 selection switch indicators 20.
1 bit “1” or “0” to turn on or off
Display data shown in is stored.

記憶領域23bは、各商品選択スイフチ8とこの商品選
択スイッチ8の操作により販売する商品の商品コードと
の対応を記憶する領域であり、商品選択スイッチ8の数
と等しい7個のアドレスを有する。
The storage area 23b is an area for storing the correspondence between each product selection switch 8 and the product code of the product sold by operating the product selection switch 8, and has seven addresses equal to the number of product selection switches 8.

記憶領域23cは、各商品収納コラム2とこの商品収納
コラム2に収納する商品の商品コードとの対応を記憶す
る領域であり、商品収納コラム2の数と等しい5個のア
ドレスを有する。
The storage area 23c is an area for storing the correspondence between each product storage column 2 and the product code of the product stored in this product storage column 2, and has five addresses equal to the number of product storage columns 2.

記憶領域23dは、商品選択スイッチ8と商品収納コラ
ム2との対応を記憶する領域であり、商品選択スイフチ
8の数と等しい7個のアドレスを有する。
The storage area 23d is an area for storing the correspondence between the product selection switch 8 and the product storage column 2, and has seven addresses equal to the number of product selection switchers 8.

記憶領域23dは商品コードファイルの領域である。こ
の商品コードファイル23dには、この自動販売機5に
て販売する指定商品に印刷されている商品コードがあら
かじめ格納されている。
The storage area 23d is an area for product code files. This product code file 23d stores in advance the product code printed on the specified product sold by this vending machine 5.

上記構成の自動販売機5において、設定モードでの動作
を第5図により説明する。
In the vending machine 5 having the above configuration, the operation in the setting mode will be explained with reference to FIG.

まず、ステップS1では、CPU21はバーコードリー
ダー1に駆動信号を与え、これにより、バーコードリー
ダー1はバーコードを読み取ることができる。そして、
ステップS2にてバーコードが入力されると、CPU2
1は、次の53.S4、S5の各ステップにおいて、入
力されたバーコードの種類を判別する。
First, in step S1, the CPU 21 provides a drive signal to the barcode reader 1, so that the barcode reader 1 can read the barcode. and,
When the barcode is input in step S2, the CPU2
1 is the following 53. In each step of S4 and S5, the type of the input barcode is determined.

ステップS3において、ステップS2で入力されたバー
コードがJANコードであることを判別すると、ステッ
プ521の処理に進む。ステップS21においては、C
PU21はこのJANコードに含まれている商品コード
を取り出して、同じ商品コードが商品コードファイル2
3dに格納されているかを探索する。そして、同じ商品
コードが商品コードファイルに格納していることをステ
ップS22にて検出すると、ステンプS23の処理へと
進む。しかしながら、同じ商品コードが商品コードファ
イル23dに格納されていないと、ステップSlの処理
に復帰する。従って、バーコードリーダー1にて商品コ
ードが読み取られた商品は、自動販売機の取扱商品とし
てあらかじめ決められた以外の商品であるためにこの商
品は登録されない。
In step S3, if it is determined that the barcode input in step S2 is a JAN code, the process proceeds to step 521. In step S21, C
PU21 extracts the product code included in this JAN code and stores the same product code in product code file 2.
Search to see if it is stored in 3d. If it is detected in step S22 that the same product code is stored in the product code file, the process advances to step S23. However, if the same product code is not stored in the product code file 23d, the process returns to step Sl. Therefore, the product whose product code is read by the barcode reader 1 is not registered because it is a product other than those predetermined as products handled by the vending machine.

ステップS23においては、JANコードに含まれてい
る商品コードがRAM23の記憶領域23b、23cに
格納されているかを判別する。そして、格納されている
場合にはステップS24に進み、この商品コードに対応
しているコラムインジケータ19及び選択スイッチイン
ジケータ20を駆動する。即ち、CPU21は、記憶領
域23bから当該商品コードを記憶している商品選択ス
イッチ8を検出し、この商品選択スイッチ8に対応して
いる選択スイッチインジケータ20の駆動を指示する表
示データをRAM23の選択スイッチインジケータ表示
バッファに格納して表示装置14に出力する。また、C
PU21は、記憶領域23cからは当該商品コードを記
憶している商品収納コラム2を検出し、この商品収納コ
ラム2に対応しているコラムインジケータ19の駆動を
指示する表示データをRAM23のコラムインジケータ
表示バッファに格納して表示装置14に出力する。
In step S23, it is determined whether the product code included in the JAN code is stored in the storage areas 23b, 23c of the RAM 23. If the product code is stored, the process advances to step S24, and the column indicator 19 and selection switch indicator 20 corresponding to this product code are driven. That is, the CPU 21 detects the product selection switch 8 storing the product code from the storage area 23b, and selects display data in the RAM 23 that instructs to drive the selection switch indicator 20 corresponding to the product selection switch 8. It is stored in the switch indicator display buffer and output to the display device 14. Also, C
The PU 21 detects the product storage column 2 storing the product code from the storage area 23c, and displays display data instructing the drive of the column indicator 19 corresponding to this product storage column 2 in the RAM 23 as a column indicator. The data is stored in a buffer and output to the display device 14.

ステップS23の処理にて、該当の商品コードが記憶領
域23b、23cに記憶されていないことを判別すると
ステップ525の処理に進み、この商品コードを商品コ
ードバッファに格納する。
If it is determined in the process of step S23 that the corresponding product code is not stored in the storage areas 23b, 23c, the process proceeds to step 525, and this product code is stored in the product code buffer.

ステップS4において、ステップS2で入力されたバー
コードがコラムコードであることを判別すると、ステッ
プ518の処理に進む。このステップ318においては
、商品コードバッファに商品コードを格納しているかを
判別し、格納してし)るとステップ519の処理に進む
。ステ・ノブS19においては、CPU21は、RAM
23の記憶領jd23cにおいて、コラムコードにて示
されている商品収納コラム2に対応するアドレスにこの
商品コードを格納する。一方、商品コードノく・7フア
に商品コードを格納していないと、ステ・ノブS20に
てエラー処理を行ってステップS1の処理に復帰する。
If it is determined in step S4 that the barcode input in step S2 is a column code, the process proceeds to step 518. In this step 318, it is determined whether the product code is stored in the product code buffer, and if it is stored, the process proceeds to step 519. In the Ste Nobu S19, the CPU 21 uses the RAM
In the storage area jd23c of No. 23, this product code is stored in the address corresponding to the product storage column 2 indicated by the column code. On the other hand, if the product code is not stored in the product code no.

ステップS5において、ステップS2で入力されたバー
コードが商品選択スイッチコードであることを判別する
と、ステップS7の処理に進む。
In step S5, if it is determined that the barcode input in step S2 is a product selection switch code, the process proceeds to step S7.

しかして、商品選択スイッチ8の指定は、バーコードリ
ーダー1にて商品選択スイッチコードを読み取る以外に
、商品選択スィッチ8自体を操作することでも行える。
Therefore, the product selection switch 8 can be designated by operating the product selection switch 8 itself, in addition to reading the product selection switch code with the barcode reader 1.

従って、ステップS5において商品選択スイッチコード
でないことを判別するとステップS6の処理となり、こ
こで商品選択スイッチ8が操作されたかを判別する。そ
して、商品選択スイッチ8が操作されていると、ステッ
プS7の処理に進む。
Therefore, if it is determined in step S5 that it is not the product selection switch code, the process proceeds to step S6, where it is determined whether the product selection switch 8 has been operated. If the product selection switch 8 is operated, the process advances to step S7.

ステップS7においては、商品コードバッファに商品コ
ードを格納しているかを判別し、格納しているとステッ
プS8の処理に進むが、格納していないとステップS2
0にてエラー処理を行う。
In step S7, it is determined whether the product code is stored in the product code buffer, and if it is stored, the process proceeds to step S8, but if it is not stored, step S2
Error processing is performed at 0.

ステップS8においては、CPU21は選択スイッチイ
ンジケータ表示バッファに記憶している表示データから
、この商品選択スイッチ8に対応する選択スイッチイン
ジケータ20を駆動しているかを判別する。そして、該
当の選択スイッチインジケータ20を駆動していると、
ステップS9の処理に進む。このステップS9において
は、RAM23の記憶領域23bにおいて、この商品選
択スイッチ8に対応するアドレスに格納している内容を
クリアする。次の、ステップS10においては、CPU
21は、この商品選択スイッチ8に対応している選択ス
イッチインジケータ20を消灯する表示データを選択ス
イッチインジケータ表示バッファに格納し表示装置14
に出力する。
In step S8, the CPU 21 determines whether the selection switch indicator 20 corresponding to this product selection switch 8 is being driven from the display data stored in the selection switch indicator display buffer. Then, when the corresponding selection switch indicator 20 is activated,
The process advances to step S9. In this step S9, the contents stored in the address corresponding to this product selection switch 8 in the storage area 23b of the RAM 23 are cleared. In the next step S10, the CPU
21 stores display data for turning off the selection switch indicator 20 corresponding to this product selection switch 8 in the selection switch indicator display buffer, and displays the display device 14.
Output to.

しかるに、指示された商品選択スイッチ8に対応する選
択スイッチインジケータ20を駆動していない場合はス
テップSllの処理となる。このステップSlにおいて
は、CPU21は、RAM23の記憶領域23bにおい
て、この商品選択スイッチ8に対応するアドレスに商品
コードバッファに記憶している商品コードを格納する。
However, if the selection switch indicator 20 corresponding to the instructed product selection switch 8 is not activated, the process goes to step Sll. In this step Sl, the CPU 21 stores the product code stored in the product code buffer at the address corresponding to the product selection switch 8 in the storage area 23b of the RAM 23.

そして、次のステップS12においてCPU21は、こ
の商品選択スイッチ8に対応している選択スイッチイン
ジケータ20を点灯する表示データを選択スイッチイン
ジケータ表示バッファに格納し表示装置14に出力する
Then, in the next step S12, the CPU 21 stores display data for lighting up the selection switch indicator 20 corresponding to the product selection switch 8 in the selection switch indicator display buffer and outputs it to the display device 14.

このように、バーコードリーダー1によりJANコード
を読み取らせ、続いて、この商品を収納する商品コラム
に該当するコラムコードを全て読み取らせることにより
、指定の商品収納コラム2に対応する記憶領域23cの
アドレスにはJANコードに含まれている商品コードが
格納される。
In this way, by having the barcode reader 1 read the JAN code and then reading all the column codes that correspond to the product column that stores this product, the storage area 23c corresponding to the designated product storage column 2 is stored. The product code included in the JAN code is stored in the address.

また、バーコードリーダー1によりJANコードを読み
取らせ、続いて、バーコードリーダー1によりこの商品
に対応させたい商品選択スイッチ8に該当する商品選択
スイッチコードを全て読み取らせるか、または直接商品
選択スイッチ8を操作することにより、指定の商品選択
スイッチ8に対応する記憶領域23bのアドレスにはJ
ANコードに含まれている商品コードが格納される。こ
のとき、バーコードリーダー1によりJANコードを読
み取らせ、続いて商品選択スイッチ8の指定と商品収納
コラム2の指定を連続して行えば、商品選択スイッチと
商品コードとの対応と、商品収納コラムと商品コードと
の対応とを一緒に行うことができる。
Also, the barcode reader 1 reads the JAN code, and then the barcode reader 1 reads all the product selection switch codes that correspond to the product selection switch 8 that you want to correspond to this product, or you can directly read the product selection switch 8 By operating , the address of the storage area 23b corresponding to the specified product selection switch 8 is set to J.
The product code included in the AN code is stored. At this time, if you read the JAN code with the barcode reader 1 and then specify the product selection switch 8 and the product storage column 2 in succession, you can see the correspondence between the product selection switch and the product code and the product storage column. and correspondence with the product code can be done together.

ステップS13においては、モードスイッチ18の再度
の操作により設定が終了されたかを判別する。そして、
終了されていない場合はステップS1の処理に復帰する
In step S13, it is determined whether the setting is completed by operating the mode switch 18 again. and,
If the process has not been completed, the process returns to step S1.

ステップ514においては、CPU21は、RAM23
の記憶領域23b、23cの記憶内容から同じ商品コー
ドを記憶している商品選択スイッチ8と商品収納コラム
2とを検出して、RAM23の記憶領域23dにおいて
、各商品選択スイッチ8に対応するアドレスに対応して
いる商品収納コラム番号を格納していく。これによF)
RAM23には、商品選択スイッチと商品収納コラムと
の対応が設定されることになる。
In step 514, the CPU 21 uses the RAM 23
The product selection switch 8 and product storage column 2 storing the same product code are detected from the storage contents of the storage areas 23b and 23c, and the address corresponding to each product selection switch 8 is stored in the storage area 23d of the RAM 23. The corresponding product storage column number is stored. This is F)
The correspondence between the product selection switch and the product storage column is set in the RAM 23.

しかしながら、バーコードリーダー1にて読み取られた
JANコード(商品コード)が商品コードファイル23
dにファイルされていないと、商品選択スイッチ8と商
品収納コラム2との対応をRAM23に格納することが
できず、この商品は自動販売機5の取扱商品としては登
録されないことになる。
However, the JAN code (product code) read by barcode reader 1 is
d, the correspondence between the product selection switch 8 and the product storage column 2 cannot be stored in the RAM 23, and this product will not be registered as a product handled by the vending machine 5.

そして、設定の終了により販売モードとなるとCPU2
1は商品選択スイッチ8が操作されたときはこの商品選
択スイッチ8に対応する記憶領域23dのアドレスから
商品収納コラム番号を読み取って、このデータに基づき
販売制御を行う。
Then, when the setting is completed and the sales mode is entered, CPU2
1 reads the product storage column number from the address in the storage area 23d corresponding to the product selection switch 8 when the product selection switch 8 is operated, and performs sales control based on this data.

(ト)発明の効果 本発明によれば、販売する商品に印刷されている商品コ
ードを利用してこの商品を当該自動販売機の取扱商品と
して登録するがを判別するために、指定商品だけを確実
に取扱商品として登録することができる。
(G) Effects of the Invention According to the present invention, the product code printed on the product to be sold is used to register the product as a product handled by the vending machine. You can definitely register it as a handled product.

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

第1図はこの発明の実施例の自動販売機の全体斜視図、
第2図は前面扉を開けた状態を示す図、第3図は電気的
な構成をブロックにて示す図、第4図はRAMの記憶7
オーマツトを模式的に示す図、第5図は動作を説明する
フローチャートである。
FIG. 1 is an overall perspective view of a vending machine according to an embodiment of the present invention;
Figure 2 shows the front door open, Figure 3 shows the electrical configuration in blocks, and Figure 4 shows the RAM memory 7.
FIG. 5, which is a diagram schematically showing the automation, is a flowchart explaining the operation.

Claims (1)

【特許請求の範囲】 1、商品コードがバーコードにて印刷されている商品を
販売する自動販売機において、 当該自動販売機にて販売できる商品の商品コードを記憶
している商品コードファイルと、バーコードリーダーと
、該バーコードリーダーが読み取った商品コードに基づ
き前記商品コードファイルを探索する商品コードファイ
ル探索手段と、前記バーコードリーダーにて読み取った
商品コードが前記商品コードファイルが記憶している何
かの商品コードと一致していることを前記商品コード探
索手段が検出したとき、この商品を当該自動販売機の取
扱商品として登録する登録手段とを具備した自動販売機
の制御装置。
[Claims] 1. In a vending machine that sells products whose product codes are printed in barcodes, a product code file that stores product codes of products that can be sold in the vending machine; a barcode reader; a product code file search means for searching the product code file based on the product code read by the barcode reader; and the product code file stores the product code read by the barcode reader. A control device for a vending machine, comprising: a registering means for registering a product as a product handled by the vending machine when the product code searching means detects that the product code matches a certain product code.
JP2212012A 1990-08-09 1990-08-09 Vending machine control device Expired - Fee Related JP3005260B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2212012A JP3005260B2 (en) 1990-08-09 1990-08-09 Vending machine control device
KR1019910013622A KR0124368B1 (en) 1990-08-09 1991-08-07 Automatic vending machine
DE69126484T DE69126484T2 (en) 1990-08-09 1991-08-08 Vending machine
EP91307308A EP0470846B1 (en) 1990-08-09 1991-08-08 Automatic vending machine
US07/741,862 US5272321A (en) 1990-08-09 1991-08-08 Automatic vending machine having a bar code reader and bar coded columns and switches
CA002048718A CA2048718A1 (en) 1990-08-09 1991-08-08 Automatic vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2212012A JP3005260B2 (en) 1990-08-09 1990-08-09 Vending machine control device

Publications (2)

Publication Number Publication Date
JPH0498391A true JPH0498391A (en) 1992-03-31
JP3005260B2 JP3005260B2 (en) 2000-01-31

Family

ID=16615421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2212012A Expired - Fee Related JP3005260B2 (en) 1990-08-09 1990-08-09 Vending machine control device

Country Status (1)

Country Link
JP (1) JP3005260B2 (en)

Also Published As

Publication number Publication date
JP3005260B2 (en) 2000-01-31

Similar Documents

Publication Publication Date Title
KR0124368B1 (en) Automatic vending machine
JPH0498391A (en) Controller for automatic vending machine
JP3005259B2 (en) Vending machine column setting device
JP3015439B2 (en) Vending machine product delivery device
JP3030067B2 (en) Vending machine sales control device
JP2994715B2 (en) Vending machine mis-sale prevention device
JPH04135295A (en) Vending machine controller
JP3036803B2 (en) Vending machine control device
JP2975694B2 (en) Vending machine control device
JPH04111093A (en) Price setting device for automatic vending machine
JPH0256715B2 (en)
JPH0495191A (en) Column setting device of automatic vending machine
JP2517390B2 (en) Vending machine data setting device
JPH04142695A (en) Display device for automatic vending machine
JP3036797B2 (en) Vending machine sales aggregation device
JPH1139556A (en) Automatic vending machine
JPH0514956B2 (en)
JP3101317B2 (en) Vending machine control device
JPH1139555A (en) Automatic vending machine
KR100294627B1 (en) Method for discriminating same goods of same price
JPH1139548A (en) Automatic vending machine
JPS59183489A (en) Management data confirmation apparatus for vending machine
JP2681201B2 (en) Sold-out information display device for vending machines
JPH07249158A (en) Automatic vending machine
JP2003109073A (en) Vending machine

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees