JP3005259B2 - Vending machine column setting device - Google Patents

Vending machine column setting device

Info

Publication number
JP3005259B2
JP3005259B2 JP2209954A JP20995490A JP3005259B2 JP 3005259 B2 JP3005259 B2 JP 3005259B2 JP 2209954 A JP2209954 A JP 2209954A JP 20995490 A JP20995490 A JP 20995490A JP 3005259 B2 JP3005259 B2 JP 3005259B2
Authority
JP
Japan
Prior art keywords
product
code
selection switch
column
stored
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 - Fee Related
Application number
JP2209954A
Other languages
Japanese (ja)
Other versions
JPH0495192A (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 JP2209954A priority Critical patent/JP3005259B2/en
Publication of JPH0495192A publication Critical patent/JPH0495192A/en
Application granted granted Critical
Publication of JP3005259B2 publication Critical patent/JP3005259B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、自動販売機において商品収納コラムと販売
する商品との対応を設定するコラム設定装置に関する。
The present invention relates to a column setting device for setting a correspondence between a product storage column and a product to be sold in a vending machine.

(ロ)従来の技術 自動販売機は、商品選択スイッチの操作により購入を
希望する商品を選択すると、商品送出装置が動作してこ
の商品を収納しているコラムから商品を払い出すように
なっている。そのため、従来から自動販売機は、例えば
特開昭63−90796号公報でも開示されているように、商
品選択スイッチと商品収納コラムとを対応させて設定す
るのが一般的であった。
(B) Conventional technology In a vending machine, when a product desired to be purchased is selected by operating a product selection switch, a product sending device operates to pay out the product from a column storing the product. I have. For this reason, conventionally, vending machines have generally been set in correspondence with a product selection switch and a product storage column, as disclosed in, for example, Japanese Patent Application Laid-Open No. 63-90796.

(ハ)発明が解決しようとする課題 しかしながら、従来例の構成であると、商品選択スイ
ッチと商品収納コラムとの対応を誤ることがあり、この
ような場合、顧客が購入したい商品に該当する商品選択
スイッチを操作すると別の商品を払い出すという課題が
ある。
(C) Problems to be Solved by the Invention However, with the configuration of the conventional example, the correspondence between the product selection switch and the product storage column may be erroneous. In such a case, the product corresponding to the product desired by the customer is purchased. There is a problem that another product is paid out when the selection switch is operated.

従って、本発明は、その商品収納コラムで販売しよう
とする商品にバーコードで印刷されている商品コードを
当該商品収納コラムと関連してメモリに格納する装置を
提供することにより、設定に誤りのない自動販売機を提
供するものである。
Accordingly, the present invention provides an apparatus for storing a product code printed in a barcode on a product to be sold in the product storage column in a memory in association with the product storage column, thereby enabling an error in setting. There is no vending machine to offer.

(ニ)課題を解決するための手段 上記課題を解決するため、本発明による自動販売機の
コラム設定装置は、商品コードがバーコードにて印刷さ
れている商品を販売する自動販売機において、バーコー
ドリーダーと、各商品収納コラムを特定する信号を出力
するコラム特定手段と、各商品選択スイッチを特定する
信号を出力する商品選択スイッチ特定手段と、設定モー
ドにおいて前記バーコードリーダーにより商品コードを
含む特定コードが読み取られたとき、前記コラム特定手
段にて特定された商品収納コラムと前記バーコードリー
ダーが読み取った特定コードに含まれる商品コードとを
関連して記憶するとともに前記商品選択スイッチ特定手
段にて特定された商品選択スイッチと前記バーコードリ
ーダーが読み取った特定コードに含まれる商品コードと
を関連して記憶するメモリとを具備している。
(D) Means for Solving the Problems In order to solve the above problems, a vending machine column setting device according to the present invention is a vending machine that sells products whose product codes are printed as bar codes. A code reader, column specifying means for outputting a signal for specifying each product storage column, product selection switch specifying means for outputting a signal for specifying each product selection switch, and a bar code reader including a product code in a setting mode. When the specific code is read, the product storage column specified by the column specifying means and the product code included in the specific code read by the barcode reader are stored in association with each other, and the product selection switch specifying means is stored in the product selection switch specifying means. Included in the specified code selected by the bar code reader and the product selection switch specified by A memory for storing the product code in association with the product code.

(ホ)作用 バーコードリーダーにて、その商品収納コラムに収納
する商品に印刷されている商品コードを読み取る。そし
て、コラム特定手段により当該商品収納コラムを特定す
ることで、メモリにはその商品収納コラムと商品コード
とが関連して記憶される。
(E) Function The bar code reader reads the product code printed on the product stored in the product storage column. By specifying the product storage column by the column specifying means, the product storage column and the product code are stored in the memory in association with each other.

(ヘ)実施例 第1図はこの発明の実施例を示す自動販売機の全体斜
視図である。自動販売機5の接客パネル6には、硬貨投
入口7や複数の商品選択スイッチ8が設けられている。
そして、自動販売機5の扉9を開けた内部には制御ボッ
クス10及び硬貨処理装置11が取り付けられている。制御
ボックス10にはバーコードリーダー1が接続されると共
に、この制御ボックス10の中には、CPUなどによって構
成される制御部が収納されている。硬貨処理装置11は、
硬貨投入口7に投入された硬貨を選別する硬貨セレクタ
11A,硬貨収納部11Bおよびこの硬貨収納部に収納されて
いる硬貨を硬貨取出口17に払い出すための硬貨払出装置
11Cから成る。また、扉9の背面には、各商品選択スイ
ッチ8に対応しており、それぞれ該当している商品選択
スイッチを表す商品選択スイッチコードがバーコードに
て表示されている商品選択スイッチ識別部29を設けてい
る。この商品選択スイッチコードは、例えば各商品選択
スイッチ8に割り付けたスイッチ番号を表示するもので
ある。
(F) Embodiment FIG. 1 is an overall perspective view of a vending machine showing an embodiment of the present invention. The customer service panel 6 of the vending machine 5 is provided with a coin slot 7 and a plurality of product selection switches 8.
A control box 10 and a coin processing device 11 are mounted inside the vending machine 5 with the door 9 opened. The bar code reader 1 is connected to the control box 10, and a control unit including a CPU and the like is housed in the control box 10. The coin processing device 11
Coin selector for sorting coins inserted into coin slot 7
11A, coin storage unit 11B and a coin dispensing device for dispensing coins stored in the coin storage unit to the coin outlet 17
Consists of 11C. A product selection switch identification unit 29 corresponding to each product selection switch 8 and displaying a corresponding product selection switch code as a bar code is provided on the back surface of the door 9. Provided. The product selection switch code indicates, for example, a switch number assigned to each product selection switch 8.

第2図は、前面扉3を開放した状態を示しており、自
動販売機5の庫内には5列の商品収納コラム2を設け、
商品収納コラム2の下方には商品取出口4に連通するシ
ュート12を配置している。商品収納コラム2の上部には
商品投入口2Aが開口されており、収納する商品はこの商
品投入口2Aを通して内部に充填される。また、商品収納
コラム2のそれぞれには、対応しているコラムを表わす
コラムコードをバーコードにて表示するコラム識別部28
が設けられている。このコラムコードは、例えば各商品
収納コラム2に割り付けたコラム番号等を表示するもの
である。
FIG. 2 shows a state in which the front door 3 is opened, and five rows of product storage columns 2 are provided in the vending machine 5,
A chute 12 communicating with the product outlet 4 is arranged below the product storage column 2. At the upper part of the product storage column 2, a product input port 2A is opened, and the product to be stored is filled inside through the product input port 2A. Further, each of the product storage columns 2 has a column identification unit 28 that displays a column code representing a corresponding column by a bar code.
Is provided. The column code indicates, for example, a column number or the like assigned to each product storage column 2.

第3図は自動販売機5の構成をブロックにて示すもの
で、制御ボックス10に格納される制御部は、プログラム
により制御動作を実行する中央処理ユニット(CPU)21
を含み、このCPU10にアドレスバス25及びデータバス26
を介して、動作用のプログラムを格納したROM22,RAM23,
I/Oインターフェース24を接続している。そして、I/Oイ
ンターフェース24には、バーコードリーダー1と、硬貨
処理装置11と、表示装置14と、選択装置15と、販売装置
16と、モードスイッチ18とが接続されている。
FIG. 3 is a block diagram showing the configuration of the vending machine 5. The control unit stored in the control box 10 includes a central processing unit (CPU) 21 for executing a control operation by a program.
And an address bus 25 and a data bus 26
Through the ROM22, RAM23,
I / O interface 24 is connected. The I / O interface 24 includes a barcode reader 1, a coin processing device 11, a display device 14, a selection device 15, and a vending device.
16 and a mode switch 18 are connected.

硬貨処理装置11は、硬貨セレクタ16にて適正と判別さ
れた硬貨の金額を表す信号をI/Oインターフェース24を
通してCPU21に出力する。また、硬貨処理装置11は、CPU
10から硬貨の払い出しを表す信号がI/Oインターフェー
ス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 I / O interface 24. The coin processing device 11 has a CPU
When a signal indicating coin dispensing is input from 10 through the I / O interface 24, the coin dispensing device 18 is driven.

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

選択装置15は複数の商品複数スイッチ8を含み、この
選択装置15からは、商品選択スイッチ8が操作されたこ
とを表す信号がI/Oインターフェース24を通してCPU21に
入力される。
The selection device 15 includes a plurality of product multiple 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 I / O interface 24.

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

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

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

CPU21は、バーコードリーダー1の読み取りに基づい
て商品収納コラム2と商品選択スイッチ8との対応をRA
M23に格納するが、この自動販売機5は商品収納コラム
2の数と商品選択スイッチ8の数とが一致していないた
めに、一つで複数の商品選択スイッチ8に対応する商品
収納コラムが存在することになる。
The CPU 21 determines the correspondence between the product storage column 2 and the product selection switch 8 based on the reading of the barcode reader 1 by RA.
In the vending machine 5, since the number of the product storage columns 2 does not match the number of the product selection switches 8, only one product storage column corresponding to the plurality of product selection switches 8 is provided. Will exist.

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

記憶領域23aはバッファ記憶部であり、バーコードリ
ーダー1にて読み取った商品コードを記憶する商品コー
ドバッファ,コラムインジケータ表示バッファ,選択ス
イッチインジケータ表示バッファ,投入金額バッファ等
を備えている。そして、5ビットのコラムインジケータ
表示バッファには、5個のコラムインジケータ19の点灯
あるいは消灯を1ビットの“1"あるいは“0"にて示す表
示データが記憶される。また、7ビットの選択スイッチ
インジケータ表示バッファには、7個の選択スイッチイ
ンジケータ20の点灯あるいは消灯を1ビットの“1"ある
いは“0"にて示す表示データが記憶される。
The storage area 23a is a buffer storage unit, and includes a product code buffer for storing a product code read by the barcode reader 1, a column indicator display buffer, a selection switch indicator display buffer, an input amount buffer, and the like. The 5-bit column indicator display buffer stores display data indicating whether the five column indicators 19 are turned on or off by 1-bit "1" or "0". The 7-bit selection switch indicator display buffer stores display data indicating whether the seven selection switch indicators 20 are turned on or off by 1-bit “1” or “0”.

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

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

記憶領域23dは、商品コードとこのコードに該当する
商品の販売価格を記憶する領域であり、この自動販売機
5は、5列の商品収納コラムを有して最大5種類の商品
を販売できるために、5個のアドレスを有する。そし
て、本例ではシート30に印刷されているバーコードをバ
ーコードリーダー1にて読み取ることにより、記憶領域
23dに販売価格を格納することができる。
The storage area 23d is an area for storing a product code and a selling price of a product corresponding to the code. Since the vending machine 5 has five product storage columns and can sell up to five types of products. Has five addresses. In this example, the barcode printed on the sheet 30 is read by the barcode reader 1 so that the storage area is read.
23d can store the selling price.

記憶領域23eは、各商品コードごとに前回販売動作を
行った商品収納コラム2の番号を記憶する領域であり、
商品コードの設定によりその設定数に応じたアドレスが
設けられる。かかる記憶領域23eは、後述するローテー
ション販売において有効となる。
The storage area 23e is an area for storing, for each product code, the number of the product storage column 2 in which the last selling operation was performed,
An address corresponding to the set number is provided by setting the product code. This storage area 23e is effective in rotation sales described later.

上記構成の自動販売機5において設定モードでの動作
を第5A図のフローチャートにより説明する。
The operation of the vending machine 5 having the above configuration in the setting mode will be described with reference to the flowchart of FIG. 5A.

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

ステップS3において、ステップS2で入力されたバーコ
ードがJANコードであることを判別すると、ステップS15
の処理に進む。ステップS15においては、CPU21はこのJA
Nコードに含まれている商品コードを取り出して、同じ
商品コードがRAM23の記憶領域23b,23cに格納されている
かを判別する。そして、格納されている場合にはステッ
プS16に進み、この商品コードに対応しているコラムイ
ンジケータ19及び選択スイッチインジケータ20を駆動す
る。即ち、CPU21は、記憶領域23bから当該商品コードを
記憶している商品選択スイッチ8を検出し、この商品選
択スイッチ8に対応している選択スイッチインジケータ
20の駆動を指示する表示データをRAM23の選択スイッチ
インジケータ表示バッファに格納して表示装置14に出力
する。また、CPU21は、記憶領域23cからは当該商品コー
ドを記憶している商品収納コラム2を検出し、この商品
収納コラム2に対応しているコラムインジケータ19の駆
動を指示する表示データをRAM23のコラムインジケータ
表示バッファに格納して表示装置14に出力する。
In step S3, if it is determined that the barcode input in step S2 is a JAN code, step S15
Proceed to processing. In step S15, the CPU 21
The product code included in the N code is extracted, and it is determined whether the same product code is stored in the storage areas 23b and 23c of the RAM 23. If it is stored, the process proceeds to step S16, and the column indicator 19 and the selection switch indicator 20 corresponding to the 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 the selection switch indicator corresponding to the product selection switch 8.
The display data instructing the drive of 20 is stored in the selection switch indicator display buffer of the RAM 23 and output to the display device 14. Further, the CPU 21 detects the product storage column 2 storing the product code from the storage area 23c, and displays display data for instructing driving of the column indicator 19 corresponding to the product storage column 2 in the column of the RAM 23. The data is stored in the indicator display buffer and output to the display device 14.

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

ステップS4において、ステップS2で入力されたバーコ
ードがコラムコードであることを判別すると、ステップ
S18の処理に進む。このステップS18においては、商品コ
ードバッファに商品コードを格納しているかを判別し、
格納しているとステップS19の処理に進む。ステップS19
においては、CPU21は、RAM23の記憶領域23cにおいて、
コラムコードにて示されている商品収納コラム2に対応
するアドレスにこの商品コードを格納する。一方、商品
コードバッファに商品コードを格納していないと、ステ
ップS20にてエラー処理を行ってステップS1の処理に復
帰する。
If it is determined in step S4 that the barcode input in step S2 is a column code,
Proceed to step S18. In this step S18, it is determined whether or not the product code is stored in the product code buffer,
If stored, the process proceeds to step S19. Step S19
In the CPU 21, the storage area 23c of the RAM 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 buffer, error processing is performed in step S20, and the process returns to step S1.

ステップS5において、ステップS2で入力されたバーコ
ードが販売価格コードであることを判別すると、ステッ
プS21の処理に進む。ステップS21においては、商品コー
ドバッファに商品コードを格納しているかを判別し、格
納しているとステップS22の処理に進むが、格納してい
ないとステップS23にてエラー処理を行う。
If it is determined in step S5 that the barcode input in step S2 is a sales price code, the process proceeds to step S21. In step S21, it is determined whether or not a product code is stored in the product code buffer. If the product code is stored, the process proceeds to step S22. If not, an error process is performed in step S23.

ステップS22においては、CPU21は、商品コードバッフ
ァに格納している商品コードとバーコードリーダー1に
て読み取った販売価格を表すバーコードとをRAM23の記
憶領域23dに格納する。このように、販売価格を設定し
たい商品18に印刷されているバーコードをバーコードリ
ーダー1にて読み取り、続いてシート30の中から設定す
べき販売価格を表示しているバーコードを選び出しバー
コードリーダー1により読み取ることで商品と販売価格
の対応がRAM23に格納される。
In step S22, the CPU 21 stores the product code stored in the product code buffer and the barcode indicating the selling price read by the barcode reader 1 in the storage area 23d of the RAM 23. In this way, the barcode printed on the product 18 for which the selling price is to be set is read by the barcode reader 1, and then the barcode indicating the selling price to be set is selected from the sheet 30 and the barcode is selected. By reading with the reader 1, the correspondence between the product and the selling price is stored in the RAM 23.

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

しかして、商品選択スイッチ8の指定は、バーコード
リーダー1にて商品選択スイッチコードを読み取る以外
に、直接、商品選択スイッチ8を操作することでも行え
る。従って、ステップS6において商品選択スイッチコー
ドでないことを判別するとステップS7の処理となり、こ
こで商品選択スイッチ8が操作されたかを判別する。そ
して、商品選択スイッチ8が操作されていると、ステッ
プS8の処理に進む。
Thus, the product selection switch 8 can be specified by directly operating the product selection switch 8 in addition to reading the product selection switch code with the barcode reader 1. Therefore, if it is determined in step S6 that the code is not a product selection switch code, the process proceeds to step S7, where it is determined whether the product selection switch 8 has been operated. If the product selection switch 8 has been operated, the process proceeds to step S8.

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

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

しかるに、指示された商品選択スイッチ8に対応する
選択スイッチインジケータ20を駆動していない場合はス
テップS12の処理となる。このステップS12においては、
CPU21は、RAM23の記憶領域23bにおいて、この商品選択
スイッチ8に対応するアドレスに商品コードバッファに
記憶している商品コードを格納する。そして、次のステ
ップS13においてCPU21は、この商品選択スイッチ8に対
応している選択スイッチインジケータ20を点灯する表示
データを選択スイッチインジケータ表示バッファに格納
し表示装置14に出力する。
However, if the selection switch indicator 20 corresponding to the indicated product selection switch 8 has not been driven, the process proceeds to step S12. In this step S12,
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. Then, in the next step S13, the CPU 21 stores display data for turning on the selection switch indicator 20 corresponding to the product selection switch 8 in a selection switch indicator display buffer and outputs the display data to the display device 14.

このように、バーコードリーダー1によりJANコード
を読み取らせ、続いて、この商品を収納する商品コラム
に該当するコラムコードを全て読み取らせることによ
り、指定の商品収納コラム2に対応する記憶領域23cの
アドレスにはJANコードに含まれている商品コードが格
納される。また、バーコードリーダー1によりJANコー
ドを読み取らせ、続いて、バーコードリーダー1により
この商品に対応させたい商品選択スイッチ8に該当する
商品選択スイッチコードを全て読み取らせるか、または
直接商品選択スイッチ8を操作することにより、指定の
商品選択スイッチ8に対応する記憶領域23bのアドレス
にはJANコードに含まれている商品コードが格納され
る。このとき、バーコードリーダー1によりJANコード
を読み取らせ、続いて商品選択スイッチ8の指定と商品
収納コラム2の指定を連続して行えば、商品選択スイッ
チと商品コードとの対応と、商品収納コラムと商品コー
ドとの対応とを一緒に行うことができる。また、このと
きシート30からのバーコードの読み取りも行えば、商品
コードと販売価格との対応も同時に行うことができる。
In this manner, the bar code reader 1 reads the JAN code, and then reads all the column codes corresponding to the product column storing the product, thereby reading the storage area 23c corresponding to the specified product storage column 2. The product code included in the JAN code is stored in the address. Further, the JAN code is read by the bar code reader 1, and then the bar code reader 1 reads all the product selection switch codes corresponding to the product selection switch 8 corresponding to this product, or the product selection switch 8 directly. Is operated, the product code included in the JAN code is stored in the address of the storage area 23b corresponding to the specified product selection switch 8. At this time, the JAN code is read by the barcode reader 1, and subsequently, the designation of the product selection switch 8 and the designation of the product storage column 2 are performed continuously. And the product code can be handled together. At this time, if the bar code is read from the sheet 30, the correspondence between the product code and the selling price can be performed at the same time.

そして、ステップS14においては、モードスイッチ18
の再度の操作により設定が終了されたかを判別し、終了
していると自動販売機5は販売モードとなる。しかる
に、終了されていない場合はステップS1の処理に復帰す
る。
Then, in step S14, the mode switch 18
It is determined whether or not the setting has been completed by the above operation again. If the setting has been completed, the vending machine 5 enters the vending mode. However, if the processing has not been completed, the process returns to step S1.

次に、この自動販売機5の販売モードでの動作を5B図
のフローチャートにより説明する。
Next, the operation of the vending machine 5 in the vending mode will be described with reference to the flowchart of FIG. 5B.

ステップS100においては、CPU21は、硬貨処理装置11
から投入硬貨の金額を示す信号が送られているかを判別
し、送られてきていると次のステップS101で投入金額バ
ッファに格納している金額にこの金額を加算する。次
の、ステップS102では、商品選択スイッチ8が操作され
て商品の選択が行われたかを判別し、商品選択スイッチ
8が操作されているとステップS103の処理に進む。この
ステップS103においては、RAM23の記憶領域23bから選択
された商品選択スイッチ8に対応する商品コードを検出
し、商品コードバッファに格納する。次の、ステップS1
04においては、商品コードバッファに格納した商品コー
ドに基づき、RAM23の記憶領域23dから当該商品の販売価
格を検索し、この販売価格と投入金額バッファに格納し
ている投入金額との比較を行って選択された商品が販売
可能であるかを判別する。
In step S100, the CPU 21
, It is determined whether a signal indicating the amount of the inserted coin has been sent, and if it has been sent, this amount is added to the amount stored in the inserted amount buffer in the next step S101. In the next step S102, it is determined whether or not the product selection switch 8 has been operated to select a product. If the product selection switch 8 has been operated, the process proceeds to step S103. In step S103, the product code corresponding to the selected product selection switch 8 is detected from the storage area 23b of the RAM 23 and stored in the product code buffer. Next, step S1
In 04, the sales price of the product is searched from the storage area 23d of the RAM 23 based on the product code stored in the product code buffer, and the sales price is compared with the input amount stored in the input amount buffer. It is determined whether the selected product is available for sale.

選択された商品が販売可能であるとステップS105の処
理となり、商品コードバッファに格納している商品コー
ドに基づいて、RAM23の記憶領域23cから当該商品を収納
している商品収納コラム2を検索する。尚、複数の商品
収納コラム2に同一の商品を収納している場合にはいわ
ゆるローテーション販売の制御を行う。即ち、CPU21
は、RAM23の記憶領域23eから、その商品コードに関して
前回に販売動作を行った商品収納コラム2を検索し、一
定の順番に従って次に販売動作を行う商品収納コラム2
を決定する。
If the selected product is available for sale, the process proceeds to step S105. Based on the product code stored in the product code buffer, the product storage column 2 storing the product is searched from the storage area 23c of the RAM 23. . When the same product is stored in a plurality of product storage columns 2, so-called rotation sales control is performed. That is, CPU 21
Searches the storage area 23e of the RAM 23 for the product storage column 2 that previously performed the selling operation with respect to the product code, and according to a certain order, performs the next selling operation.
To determine.

そして、次のステップS106にて販売制御処理となり、
この検索した商品収納コラム2に対応している商品送出
用の駆動モータに駆動信号を与えて商品送出動作を制御
すると共に、釣銭を演算し必要に応じて硬貨処理装置11
の釣銭払い出し動作を制御する。
Then, in the next step S106, sales control processing is performed,
A drive signal is supplied to a product delivery drive motor corresponding to the retrieved product storage column 2 to control the product delivery operation, change is calculated, and the coin processing device 11 is operated as necessary.
Is controlled.

(ト)発明の効果 本発明によれば、商品収納コラムとこのコラムより販
売する商品との対応を設定するのに、この商品に印刷さ
れている商品コードを介して行うために、設定が容易で
あるばかりか確実となる。
(G) Effects of the Invention According to the present invention, since the correspondence between the product storage column and the product to be sold from this column is set via the product code printed on this product, the setting is easy. Not only is it certain.

【図面の簡単な説明】 第1図はこの発明の実施例の自動販売機の全体斜視図、
第2図は前面扉を開けた状態を示す図、第3図は電気的
な構成をブロックにて示す図、第4図はRAMの記憶フォ
ーマットを模式的に示す図、第5A図及び第5B図は動作を
説明するフローチャートである。 1……バーコードリーダー、2……商品収納コラム、8
……商品選択スイッチ、21……CPU、22……RAM。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an overall perspective view of a vending machine according to an embodiment of the present invention,
FIG. 2 is a view showing a state in which a front door is opened, FIG. 3 is a view showing an electric configuration in blocks, FIG. 4 is a view schematically showing a storage format of a RAM, FIGS. 5A and 5B. The figure is a flowchart for explaining the operation. 1 ... Barcode reader, 2 ... Product storage column, 8
…… Product selection switch, 21 …… CPU, 22 …… RAM.

フロントページの続き (72)発明者 篠崎 啓太 大阪府守口市京阪本通2丁目18番地 三 洋電機株式会社内 (56)参考文献 特開 平2−191094(JP,A) 実開 平3−6766(JP,U) 実開 昭60−135980(JP,U) (58)調査した分野(Int.Cl.7,DB名) G07F 9/00 Continuation of the front page (72) Keita Shinozaki 2-18-18 Keihanhondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (JP, U) Japanese Utility Model 60-135980 (JP, U) (58) Fields investigated (Int. Cl. 7 , DB name) G07F 9/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】商品コードがバーコードにて印刷されてい
る商品を販売する自動販売機において、バーコードリー
ダーと、各商品収納コラムを特定する信号を出力するコ
ラム特定手段と、各商品選択スイッチを特定する信号を
出力する商品選択スイッチ特定手段と、設定モードにお
いて前記バーコードリーダーにより商品コードを含む特
定コードが読み取られたとき、前記コラム特定手段にて
特定された商品収納コラムと前記バーコードリーダーが
読み取った特定コードに含まれる商品コードとを関連し
て記憶するとともに前記商品選択スイッチ特定手段にて
特定された商品選択スイッチと前記バーコードリーダー
が読み取った特定コードに含まれる商品コードとを関連
して記憶するメモリとを具備した自動販売機のコラム設
定装置。
1. A vending machine which sells products whose product codes are printed as bar codes, a bar code reader, a column specifying means for outputting a signal for specifying each product storage column, and each product selection switch. A product selection switch specifying means for outputting a signal for specifying the product code, and a product storage column specified by the column specifying means and the bar code when a specific code including a product code is read by the bar code reader in the setting mode. The product code included in the specific code read by the reader is stored in association with the product selection switch specified by the product selection switch specifying means and the product code included in the specific code read by the barcode reader. A column setting device for a vending machine, comprising a memory for storing related data.
JP2209954A 1990-08-07 1990-08-07 Vending machine column setting device Expired - Fee Related JP3005259B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2209954A JP3005259B2 (en) 1990-08-07 1990-08-07 Vending machine column setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2209954A JP3005259B2 (en) 1990-08-07 1990-08-07 Vending machine column setting device

Publications (2)

Publication Number Publication Date
JPH0495192A JPH0495192A (en) 1992-03-27
JP3005259B2 true JP3005259B2 (en) 2000-01-31

Family

ID=16581419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2209954A Expired - Fee Related JP3005259B2 (en) 1990-08-07 1990-08-07 Vending machine column setting device

Country Status (1)

Country Link
JP (1) JP3005259B2 (en)

Also Published As

Publication number Publication date
JPH0495192A (en) 1992-03-27

Similar Documents

Publication Publication Date Title
KR0124368B1 (en) Automatic vending machine
JP3005259B2 (en) Vending machine column setting device
JP3036803B2 (en) Vending machine control device
JP3036797B2 (en) Vending machine sales aggregation device
JP2994715B2 (en) Vending machine mis-sale prevention device
JP3005260B2 (en) Vending machine control device
JP2975694B2 (en) Vending machine control device
JP3101317B2 (en) Vending machine control device
JP3030067B2 (en) Vending machine sales control device
JP3015439B2 (en) Vending machine product delivery device
JPH04135295A (en) Vending machine controller
JP2517390B2 (en) Vending machine data setting device
JPH04111093A (en) Price setting device for automatic vending machine
JPH04142695A (en) Display device for automatic vending machine
JPH0256715B2 (en)
JPS59183489A (en) Management data confirmation apparatus for vending machine
JPH0495191A (en) Column setting device of automatic vending machine
JP2783818B2 (en) Card type vending machine
JPH04294484A (en) Commodity name registering device for automatic vending machine
JPS59186088A (en) Management data confirmation apparatus for vending machine
JP2975674B2 (en) vending machine
JPS63255795A (en) Price setting system for vending machine
JPH04195388A (en) Automatic vending machine
JPH0769987B2 (en) Product sales data processor
JPH0555918B2 (en)

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