JPH11195164A - Controller for automatic vending machine - Google Patents

Controller for automatic vending machine

Info

Publication number
JPH11195164A
JPH11195164A JP36823897A JP36823897A JPH11195164A JP H11195164 A JPH11195164 A JP H11195164A JP 36823897 A JP36823897 A JP 36823897A JP 36823897 A JP36823897 A JP 36823897A JP H11195164 A JPH11195164 A JP H11195164A
Authority
JP
Japan
Prior art keywords
control unit
data
memory card
terminal control
vending machine
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
JP36823897A
Other languages
Japanese (ja)
Other versions
JP3632421B2 (en
Inventor
Katsuyoshi Tajima
勝好 田島
Masayuki Otani
正行 大谷
Seiji Hara
成治 原
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 JP36823897A priority Critical patent/JP3632421B2/en
Publication of JPH11195164A publication Critical patent/JPH11195164A/en
Application granted granted Critical
Publication of JP3632421B2 publication Critical patent/JP3632421B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain the rewriting of the control program or data of each terminal controlling part without spending any costs, and to prevent the mounting position of each terminal control part from being limited. SOLUTION: A controller is constituted of plural terminal controlling parts and a main control part 1 for overall controlling those terminal controlling parts. The main control part 1 is provided with a card connector 1f, and when a memory card in which the control program for update and display data of the terminal control part, for example, a display control part 2 are written is inserted into the card connector 1f, the data are read from the card connector 1f, and transferred to a display control part 2. At the time of receiving the control program for update and display data from the main control part 1, the display control part 2 stores the data in a flash memory ROM 2b.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、表示制御部等の端
末制御部の制御プログラムを書換え可能な自動販売機の
制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vending machine control device capable of rewriting a control program for a terminal control unit such as a display control unit.

【0002】[0002]

【従来の技術】自動販売機の制御装置は、通常、自動販
売機各部を複数のブロックに分け、各ブロック毎にそれ
ぞれの端末制御部で制御を行いながら、それらの各端末
制御部を主制御部が統括して制御するようにしている。
2. Description of the Related Art Generally, a vending machine control device divides each part of a vending machine into a plurality of blocks, and controls each terminal control unit while controlling each terminal control unit for each block. Department controls and controls.

【0003】図3は、自動販売機の制御装置のブロック
図である。自動販売機の各部は、それぞれ表示制御部
2,硬貨識別機構制御部3,商品払出機構制御部4,入
力制御部5等の端末制御部で個別に制御を行う。そし
て、主制御部1は、シリアル通信ライン6を通して、そ
れぞれの端末制御部を統括して制御する。
FIG. 3 is a block diagram of a control device of a vending machine. Each section of the vending machine is individually controlled by a terminal control section such as a display control section 2, a coin discrimination mechanism control section 3, a commodity payout mechanism control section 4, and an input control section 5. Then, the main controller 1 controls the respective terminal controllers through the serial communication line 6.

【0004】主制御部1及び各端末制御部は、CPU
(中央演算処理装置),ROM(読出し専用メモリ),
RAM(ランダム・アクセス・メモリ)を具えていて、
ROMに書き込まれたプログラムによりCPUを動作さ
せて、それぞれの制御を実行する。
The main control unit 1 and each terminal control unit have a CPU
(Central processing unit), ROM (read only memory),
With random access memory (RAM)
The CPU is operated by a program written in the ROM to execute each control.

【0005】そのような自動販売機では、設置後、仕様
の一部変更等のため、端末制御部の制御プログラムを変
更する必要が生じることがある。その点について、端末
制御部の一つである表示制御部を例にして説明する。表
示制御部2は、シリアル通信ライン6により主制御部1
と接続されており、表示制御部2の中にあるCPUによ
り、自動販売機の金額表示器,釣り銭切れ表示器等の制
御を行う。
In such a vending machine, after installation, it may be necessary to change the control program of the terminal control unit in order to partially change the specifications. This point will be described using a display control unit, which is one of the terminal control units, as an example. The display control unit 2 is connected to the main control unit 1 through the serial communication line 6.
And a CPU in the display control unit 2 controls an amount display, a change-out display, and the like of the vending machine.

【0006】そして近年、自動販売機の表示器は、マト
リックスLED等を使って、金額表示や釣り銭切れ表示
だけでなく、広告を含む各種メッセージの表示も行える
ものも開発されている。そのような自動販売機の表示器
を制御する表示制御部2では、自動販売機設置後に、表
示方法や表示内容を変更することがあり、そのため、表
示制御部2のCPUのプログラムを書き換える必要が生
じる。そのような場合、従来は、新しいプログラムや表
示用データを書き込んだROMを対象自動販売機の台数
分用意して、設置済の各自動販売機を巡回し、古いRO
Mを新しいものに交換するようにしていた。
[0006] In recent years, a display device of a vending machine has been developed using a matrix LED or the like, which can display not only an amount display and a change-out display but also various messages including advertisements. In the display control unit 2 that controls the display of such a vending machine, the display method and the display contents may be changed after the vending machine is installed. Therefore, it is necessary to rewrite the CPU program of the display control unit 2. Occurs. In such a case, conventionally, ROMs in which new programs and display data are written are prepared for the number of target vending machines, and each installed vending machine is visited, and the old RO is used.
M had to be replaced with a new one.

【0007】しかし、そのようなやり方では、プログラ
ムの更新を行う台数分のROMを用意する必要があり、
また、ROMを装着するには、ある程度作業に慣れた人
でないとROMを構成するICの端子ピンを折り曲げて
しまうおそれもあって、コスト高になる。そこで、われ
われは、先に、特願平8-358863号として、次のような自
動販売機の制御装置を提案した。
However, in such a method, it is necessary to prepare ROMs for the number of programs to be updated.
In addition, in order to mount the ROM, the terminal pins of the ICs constituting the ROM may be bent unless a person who is familiar with the work to some extent increases the cost. Therefore, we previously proposed the following vending machine control device as Japanese Patent Application No. 8-358863.

【0008】図4は、先に提案した自動販売機の制御装
置のブロック図である。表示制御部2は、CPU2aを
動作させるためのプログラムと表示データとを記憶保持
させるROMとして、電気的にデータ書換えが可能なフ
ラッシュROM2bを用いている。表示制御部2には、
さらに、メモリカードを接続するためのカードコネクタ
2fを具えており、更新用プログラムや表示データを書
き込んだメモリカードをそれに差し込むことにより、フ
ラッシュROM2bに新しいプログラムや表示データを
移し換えることができるようにしている。
FIG. 4 is a block diagram of the vending machine control device proposed above. The display control unit 2 uses an electrically rewritable flash ROM 2b as a ROM for storing and holding a program for operating the CPU 2a and display data. The display control unit 2 includes:
Furthermore, a card connector 2f for connecting a memory card is provided, and a new program or display data can be transferred to the flash ROM 2b by inserting a memory card into which an update program or display data has been written. ing.

【0009】また、カード処理中LED2d,カード異
常LED2eを設け、カードコネクタ2fにメモリカー
ドを差し込んでフラッシュROM2bの内容を書き換え
ている間や、カードコネクタ2fに差し込まれたメモリ
カードの内容に異常があったとき、それらを点灯させて
知らせるようにしている。
An LED 2d and a card error LED 2e are provided during card processing, and an error is detected while the memory card is inserted into the card connector 2f to rewrite the contents of the flash ROM 2b or when the contents of the memory card inserted into the card connector 2f are changed. When they do, they are lit to let them know.

【0010】このようにすれば、更新用プログラムや表
示データを書き込んだメモリカードを1枚用意し、それ
を設置済の各自動販売機のカードコネクタ2fに順次差
し込んでいくだけで、あまりコストをかけることなく、
表示器7への表示方法や表示内容を変更することが可能
になる。
In this case, one memory card in which the update program and the display data are written is prepared, and the memory card is inserted into the card connector 2f of each installed vending machine sequentially. Without calling
It is possible to change the display method and display contents on the display 7.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、プログ
ラムやデータの書き換えは、表示制御部2だけでなく硬
貨識別機構制御部3や商品払出機構制御部4等の他の端
末制御部も必要であり、上記のようにすると、それぞれ
の端末制御部にカードコネクタ及びカード処理中LE
D,カード異常LEDが必要になる。その分、コストア
ップにつながると共に、各端末制御部をメモリカードが
抜き差しできる場所に設ける必要が生じて、各端末制御
部の取り付け位置が限定され、自動販売機の設計が制約
されるという問題点がある。
However, rewriting of programs and data requires not only the display control unit 2 but also other terminal control units such as the coin discrimination mechanism control unit 3 and the product dispensing mechanism control unit 4. As described above, each terminal control unit has a card connector and a card processing LE.
D. A card abnormal LED is required. This leads to an increase in cost and the necessity of providing each terminal control unit in a place where a memory card can be inserted and removed, which limits the mounting position of each terminal control unit and limits the design of a vending machine. There is.

【0012】本発明は、そのような問題点を解決し、各
端末制御部の制御プログラムやデータの書き換えを、コ
ストをかけずにできる上、各端末制御部の取り付け位置
も限定されないようにすることを目的とするものであ
る。
The present invention solves such a problem, and can rewrite a control program and data of each terminal control unit at a low cost, and does not limit the mounting position of each terminal control unit. The purpose is to do so.

【0013】[0013]

【課題を解決するための手段】前記課題を解決するた
め、請求項1記載の自動販売機の制御装置は、複数の端
末制御部と、それらの端末制御部を統括制御する主制御
部とを有する自動販売機の制御装置であって、前記主制
御部は、カードコネクタを有し、該カードコネクタに端
末制御部の更新用データが書き込まれたメモリカードが
差し込まれたとき、該メモリカードからそれを読み取っ
て端末制御部に転送し、前記端末制御部では、主制御部
から更新用データを受信したとき、それをフラッシュR
OMに記憶させることを特徴とする。ここで、「更新用
データ」は、更新用の制御プログラムと制御データのい
ずれをも意味するものとする。このようにすると、各端
末制御部の制御プログラムやデータの書き換えを、コス
トをかけずにできる上、各端末制御部の取り付け位置も
限定を受けることがなくなる。
According to a first aspect of the present invention, there is provided a vending machine control apparatus comprising: a plurality of terminal control units; and a main control unit which controls the terminal control units. A control device for a vending machine, wherein the main control unit has a card connector, and when a memory card in which the update data of the terminal control unit is written is inserted into the card connector, The data is read and transferred to the terminal control unit. When the terminal control unit receives the update data from the main control unit, the data is transmitted to the flash R.
OM is stored. Here, “update data” means both the update control program and the control data. With this configuration, the control program and data of each terminal control unit can be rewritten without increasing the cost, and the mounting position of each terminal control unit is not limited.

【0014】そして、請求項2記載の自動販売機の制御
装置は、前記メモリカードに特定の端末制御部を示すス
レーブ番号を書き込み、前記主制御部は、差し込まれた
メモリカードに書き込まれているスレーブ番号を読み取
り、該スレーブ番号に対応する端末制御部に、更新用デ
ータを転送することを特徴とする。このようにすると、
複数の端末制御部が共通の通信ラインに接続されている
制御装置において、メモリカードに書き込まれているス
レーブ番号を主制御部で読み取ることにより、更新用デ
ータをどの端末制御部に転送すべきかを容易に判定する
ことができる。
The control device for a vending machine described in claim 2 writes a slave number indicating a specific terminal control unit in the memory card, and the main control unit is written in the inserted memory card. A slave number is read, and update data is transferred to a terminal control unit corresponding to the slave number. This way,
In a control device in which a plurality of terminal control units are connected to a common communication line, the main control unit reads the slave number written in the memory card to determine to which terminal control unit the update data should be transferred. It can be easily determined.

【0015】また、請求項3記載の自動販売機の制御装
置は、前記メモリカードに更新用データのバージョンデ
ータを書き込み、前記主制御部は、差し込まれたメモリ
カードに書き込まれているバージョンデータを読み取
り、該バージョンデータが端末制御部が保持しているデ
ータのバージョンより上位であるとき、端末制御部に更
新用データを転送することを特徴とする。このようにす
ると、古いバージョンのデータを間違って書き込んでし
まうことを防止することができる。
According to a third aspect of the present invention, there is provided a vending machine control device for writing version data of update data to the memory card, and the main control unit stores the version data written to the inserted memory card. When the version data is higher than the version of the data held by the terminal control unit, the update data is transferred to the terminal control unit. In this way, it is possible to prevent an old version of the data from being erroneously written.

【0016】また、請求項4記載の自動販売機の制御装
置は、メモリカードの更新データを端末制御部に転送中
であることを示すカード処理中表示ランプを前記主制御
部に設け、差し込まれたメモリカードに書き込まれてい
るバージョンデータが端末制御部が保持しているデータ
のバージョンより上位でなかったとき、前記カード処理
中表示ランプを点滅させることを特徴とする。このよう
にすると、カード挿入者に、そのメモリカードが古いバ
ージョンのカードであることを一目で認識させることが
できる。
According to a fourth aspect of the present invention, there is provided a control device for a vending machine, wherein a card processing indicator lamp indicating that the update data of the memory card is being transferred to the terminal control unit is provided in the main control unit. When the version data written to the memory card is not higher than the version of the data held by the terminal control unit, the card processing indicator lamp flashes. This allows the card inserter to recognize at a glance that the memory card is an old version of the card.

【0017】また、請求項5記載の自動販売機の制御装
置は、前記メモリカードに顧客コードを書き込み、前記
主制御部は、差し込まれたメモリカードに書き込まれて
いる顧客コードを読み取り、該顧客コードが端末制御部
で保持している顧客コードと一致したとき、端末制御部
に更新用データを転送することを特徴とする。このよう
にすると、異なる顧客用のデータを間違って書き込んで
しまうことを防止することができる。例えば、表示制御
部で顧客の宣伝表示を行うデータである場合、別の顧客
の顧客用の宣伝表示データを書き込むことを防止するこ
とができる。
According to a fifth aspect of the present invention, the vending machine control device writes a customer code in the memory card, and the main control unit reads a customer code written in the inserted memory card. When the code matches the customer code held in the terminal control unit, the update data is transferred to the terminal control unit. In this way, it is possible to prevent data for different customers from being erroneously written. For example, in the case where the data is for displaying a customer's advertisement in the display control unit, it is possible to prevent writing of advertisement display data for another customer's customer.

【0018】また、請求項6記載の自動販売機の制御装
置は、メモリカードの更新データを端末制御部に転送中
であることを示すカード処理中表示ランプを前記主制御
部に設け、前記顧客コードが一致しなかったとき、前記
カード処理中表示ランプを点滅させることを特徴とす
る。このようにすると、カード挿入者に、そのメモリカ
ードが異なる顧客用のカードであることを一目で認識さ
せることができる。
According to a sixth aspect of the present invention, in the vending machine control device, the main control unit is provided with a card processing indicator lamp indicating that the update data of the memory card is being transferred to the terminal control unit. When the codes do not match, the in-card processing indicator lamp flashes. This allows the card inserter to recognize at a glance that the memory card is a card for a different customer.

【0019】そしてまた、請求項7記載の自動販売機の
制御装置は、前記主制御部に書込スイッチを設け、前記
顧客コードが一致しなくても、前記書込スイッチが所定
時間押し続けられたときは端末制御部に更新用データを
転送することを特徴とする。このようにすると、特定の
顧客用のデータを書き込んだメモリカードでも、必要に
応じて他の顧客の自動販売機に使用することが可能にな
る。
According to a seventh aspect of the present invention, in the control device for a vending machine, a write switch is provided in the main control unit, and the write switch is kept pressed for a predetermined time even if the customer codes do not match. In this case, the update data is transferred to the terminal control unit. In this way, even a memory card in which data for a specific customer has been written can be used for a vending machine of another customer if necessary.

【0020】さらに、請求項8記載の自動販売機の制御
装置は、前記主制御部が、前記メモリカードから読み取
った更新用データを端末制御部に転送する際に、端末制
御部との間で通常の通信を行う通信速度より早い通信速
度で送信することを特徴とする。このようにすると、更
新データのデータ量が大きくなっても、短時間で送信す
ることが可能になる。
Further, in the control device for a vending machine according to claim 8, when the main control section transfers the update data read from the memory card to the terminal control section, the main control section communicates with the terminal control section. The transmission is performed at a communication speed higher than the communication speed at which normal communication is performed. In this way, even if the data amount of the update data becomes large, it is possible to transmit the update data in a short time.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図1は、本発明の主要部の
ブロック図である。図4のものでは、カードコネクタを
各端末制御部に設けていたのに対して、本発明の自動販
売機の制御装置では、カードコネクタを各端末制御部に
は設けずに、主制御部1に設けている。そして、各端末
制御部の制御プログラムやデータの書き換えは、主制御
部1を通して行う。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram of a main part of the present invention. In FIG. 4, the card connector is provided in each terminal control unit. On the other hand, in the vending machine control device of the present invention, the card connector is not provided in each terminal control unit. Is provided. Rewriting of control programs and data of each terminal control unit is performed through the main control unit 1.

【0022】主制御部1のフラッシュROM1bには、
CPU1aを動作させるためのプログラムと制御データ
とが記憶保持される。主制御部1は、さらに、メモリカ
ードを接続するためのカードコネクタ1fを具えてお
り、各端末制御部の更新用の制御プログラムやデータを
書き込んだメモリカードをそれに差し込むことにより、
各端末制御部のフラッシュROMに更新用の制御プログ
ラムやデータを移し換えることができるようにしてい
る。
The flash ROM 1b of the main control unit 1 has:
A program for operating the CPU 1a and control data are stored and held. The main control unit 1 further includes a card connector 1f for connecting a memory card, and by inserting a memory card in which a control program for updating each terminal control unit and data are written therein,
A control program and data for updating can be transferred to the flash ROM of each terminal control unit.

【0023】また、カード処理中LED1d,カード異
常LED1eを設け、カードコネクタ1fにメモリカー
ドを差し込んで、いずれかの端末制御部のフラッシュR
OMの内容を書き換えている間や、カードコネクタ1f
に差し込まれたメモリカードの内容に異常があったと
き、それらを点灯させて知らせるようにしている。
Further, a card processing LED 1d and a card abnormal LED 1e are provided, and a memory card is inserted into a card connector 1f, and a flash R of one of the terminal control units is inserted.
While rewriting the contents of the OM or the card connector 1f
When there is an abnormality in the contents of the memory card inserted into the memory card, they are illuminated to notify them.

【0024】そのような自動販売機の制御装置におい
て、例えば、表示制御部2のフラッシュROM2bに記
憶されている制御プログラムや表示データを書き換える
場合は、主制御部1のカードコネクタ1fに、更新用の
制御プログラムや表示データを書き込んだメモリカード
を差し込む。メモリカードには、図2に例示するよう
に、パスワード,顧客コード,スレーブ番号,バージョ
ン,データ区分及び更新データを書き込んである。
In the control device of such a vending machine, for example, when rewriting a control program or display data stored in the flash ROM 2b of the display control unit 2, the card connector 1f of the main control unit 1 Insert the memory card on which the control program and display data are written. As illustrated in FIG. 2, a password, a customer code, a slave number, a version, a data section, and updated data are written in the memory card.

【0025】パスワード及び顧客コードは、そのメモリ
カードがその自動販売機のデータ書き換え用ガードとし
て適正なものであることを確認するためのものであり、
スレーブ番号は、表示制御部2,硬貨識別機構制御部
3,・・・等の内、どの端末制御部に対するものである
かを示すものである。また、バージョンは、その更新デ
ータの新しさを示すためのものであり、データ区分は、
更新データが制御プログラムであるか表示データである
か、さらに、フラッシュROMの全てのデータを更新す
るか一部だけを更新するかを区分けするためのものであ
る。メモリカードへのこれらデータの書込は、パソコン
等を使って行っておく。
The password and the customer code are for confirming that the memory card is appropriate as a data rewriting guard of the vending machine.
The slave number indicates which terminal control unit among the display control unit 2, the coin identification mechanism control unit 3, and the like. The version indicates the newness of the update data, and the data classification is
This is to classify whether the update data is the control program or the display data, and whether to update all data or only a part of the flash ROM. Writing of these data to the memory card is performed using a personal computer or the like.

【0026】主制御部1は、カードコネクタ1fにその
ようなメモリカードが差し込まれると、それに書き込ま
れているパスワードと顧客コードとを確認して、そのメ
モリカードがその自動販売機に対して適正なものである
か否かを判別する。そのとき、パスワードや顧客コード
が一致しなかったら、データの更新は行わず、カード処
理中LED1dを点滅させて、カード操作者にそのこと
を知らせるようにする。
When such a memory card is inserted into the card connector 1f, the main control unit 1 checks the password and the customer code written therein, and confirms that the memory card is appropriate for the vending machine. Is determined. At this time, if the password and the customer code do not match, the data is not updated, and the LED 1d is flashed during the card processing to notify the card operator of the fact.

【0027】一方、パスワードと顧客コードとを確認し
た結果、適正なカードであったら、スレーブ番号に基づ
いて更新対象の端末制御部を確認し、バージョンを調べ
てメモリカードの更新データが現行のものより新しいも
のであるか否かを確認する。そして、そのバージョンが
古いバージョンであったときは、データの更新は行わ
ず、カード処理中LED1dを点滅させて、カード操作
者にそのことを知らせるようにする。
On the other hand, as a result of checking the password and the customer code, if the card is correct, the terminal control unit to be updated is checked based on the slave number, the version is checked, and the update data of the memory card is Check if it is newer. If the version is an old version, the data is not updated, and the LED 1d is flashed during the card processing to notify the card operator of the fact.

【0028】さらに、データ区分に基づいて、更新デー
タが制御プログラムであるか表示データであるか、さら
に、フラッシュROMの全てのデータを更新するか一部
だけを更新するかを確認する。
Further, based on the data division, it is confirmed whether the update data is the control program or the display data, and whether all the data in the flash ROM is updated or only a part thereof is updated.

【0029】それらの確認を行った結果、表示制御部2
のフラッシュROM2bの制御プログラムを書き換える
ことになったら、カードに書き込まれているデータ区分
及び更新データを順次読み込み、シリアル通信ライン6
を通して表示制御部2に転送する。その際、転送するデ
ータ量が多くなるため、通常の通信速度(例えば、48
00bps)より早い通信速度(例えば、19200b
ps)で転送を行う。
As a result of the confirmation, the display control unit 2
When the control program of the flash ROM 2b is rewritten, the data division and the update data written on the card are sequentially read, and the serial communication line 6 is read.
Is transferred to the display control unit 2 through. At this time, since the amount of data to be transferred increases, the normal communication speed (for example, 48
00 bps) (for example, 19200 b
ps).

【0030】表示制御部2のCPU2aは、それを受信
し、その中で指示されているデータ区分に基づいて、フ
ラッシュROM2bに書き込まれていた制御プログラム
又は表示データの一部又は全部を、新しい制御プログラ
ム又は表示データで置き換える。
The CPU 2a of the display control unit 2 receives the data, and, based on the data section specified in the received data, transfers a part or all of the control program or display data written in the flash ROM 2b to the new control. Replace with program or display data.

【0031】このようにすれば、カードコネクタを主制
御部1だけに設ければよく、各端末制御部には設ける必
要がなくなるので、その分コストを低減できる。また、
端末制御部では、メモリカードを差し込むことがなくな
り、場合によっては、手の届かない奥の方でも端末制御
部を設けることもできるようになり、設計の自由度が向
上する。
In this way, the card connector only needs to be provided in the main control unit 1 and need not be provided in each terminal control unit, so that the cost can be reduced accordingly. Also,
In the terminal control unit, the memory card is not inserted, and in some cases, the terminal control unit can be provided even in a deep area that is out of reach, so that the degree of freedom in design is improved.

【0032】なお、上記実施形態では、メモリカードの
顧客コードが自動販売機のものと一致しなかったら更新
用データの端末制御部への転送を行わないようにした
が、顧客コードが異なる場合でも、主制御部1に設けら
れている書込スイッチ(図示せず)が所定時間(数秒
間)押し続けられたときは、端末制御部に更新用データ
を転送するようにしてもよい。そのようにすることで、
特定の顧客用のデータを書き込んだメモリカードでも、
必要に応じて他の顧客の自動販売機に使用することが可
能になる。
In the above embodiment, if the customer code of the memory card does not match the one of the vending machine, the update data is not transferred to the terminal control unit. When a write switch (not shown) provided in the main control unit 1 is kept pressed for a predetermined time (several seconds), the update data may be transferred to the terminal control unit. By doing so,
Even a memory card with data for a specific customer,
It can be used for vending machines of other customers as needed.

【0033】[0033]

【発明の効果】本発明は、以上説明したように構成され
ているので、次に記載するような効果を奏する。請求項
1記載の自動販売機の制御装置は、各自動販売機の主制
御部に設けたカードコネクタにメモリカードを差し込む
だけで、端末制御部の制御プログラムやデータの書き換
えができるので、各端末制御部の制御プログラムやデー
タの更新を、コストをかけずにできる。その上、端末制
御部では、メモリカードを差し込むためのスペースを確
保する必要がなくなって、各端末制御部の取り付け位置
の選択の幅が広くなり、設計の自由度が向上する。
Since the present invention is configured as described above, it has the following effects. The control device for a vending machine according to claim 1 can rewrite a control program and data of a terminal control unit only by inserting a memory card into a card connector provided in a main control unit of each vending machine. It is possible to update the control program and data of the control unit without increasing costs. In addition, in the terminal control unit, it is not necessary to secure a space for inserting a memory card, so that the mounting position of each terminal control unit can be selected in a wider range, and the degree of freedom in design is improved.

【0034】また、請求項2記載の自動販売機の制御装
置は、メモリカードに特定の端末制御部を示すスレーブ
番号を書き込み、該スレーブ番号により、転送先の端末
制御部を決定できるようにしたので、複数の端末制御部
が共通の通信ラインに接続されている制御装置におい
て、メモリカードに書き込まれているスレーブ番号を主
制御部で読み取ることにより、更新用データをどの端末
制御部に転送すべきかを容易に判定することができる。
According to a second aspect of the present invention, a control device for a vending machine writes a slave number indicating a specific terminal control unit in a memory card, and can determine a transfer destination terminal control unit based on the slave number. Therefore, in a control device in which a plurality of terminal control units are connected to a common communication line, the update data should be transferred to any terminal control unit by reading the slave number written in the memory card by the main control unit. It can be easily determined.

【0035】また、請求項3記載の自動販売機の制御装
置は、メモリカードに更新用データのバージョンデータ
を書き込み、該バージョンデータを利用してメモリカー
ドに書き込まれているデータの新旧をチェックした上で
端末制御部に更新用データを転送するようにしたので、
古いバージョンのデータを間違って書き込んでしまうこ
とを防止することができる。
The control device for a vending machine described in claim 3 writes the version data of the update data to the memory card, and checks whether the data written to the memory card is new or old by using the version data. Since the update data is transferred to the terminal control unit above,
It is possible to prevent an old version of data from being erroneously written.

【0036】また、請求項4記載の自動販売機の制御装
置は、差し込まれたメモリカードに書き込まれているバ
ージョンデータが端末制御部が保持しているデータのバ
ージョンより上位でなかったとき、カード処理中表示ラ
ンプを点滅させるようにしたので、カード挿入者に、そ
のメモリカードが古いバージョンのカードであることを
一目で認識させることができる。
Further, in the vending machine control device according to the present invention, when the version data written in the inserted memory card is not higher than the data version held by the terminal control unit, Since the in-process indicator lamp is made to blink, the card inserter can recognize at a glance that the memory card is an old version of the card.

【0037】また、請求項5記載の自動販売機の制御装
置は、メモリカードに顧客コードを書き込み、それを利
用して、メモリカードに書き込まれているデータと端末
制御部とで対象とする顧客が一致するかをチェックした
上で端末制御部に更新用データを転送するようにしたの
で、異なる顧客用のデータを間違って書き込んでしまう
ことを防止することができる。
According to a fifth aspect of the present invention, there is provided a vending machine control device which writes a customer code in a memory card and uses the customer code in the data written in the memory card and the terminal control unit. Is checked before transferring the update data to the terminal control unit, thereby preventing erroneous writing of data for different customers.

【0038】また、請求項6記載の自動販売機の制御装
置は、顧客コードが一致しなかったとき、カード処理中
表示ランプを点滅させるようにしたので、カード挿入者
に、そのメモリカードが異なる顧客用のカードであるこ
とを一目で認識させることができる。
In the control device for a vending machine according to the present invention, when the customer code does not match, the display lamp is flashing during the card processing, so that the memory card differs for the card inserter. It can be recognized at a glance that the card is for a customer.

【0039】そしてまた、請求項7記載の自動販売機の
制御装置は、顧客コードが一致しなくても、書込スイッ
チが所定時間押し続けられたときは端末制御部に更新用
データを転送するようにしたので、特定の顧客用のデー
タを書き込んだメモリカードでも、必要に応じて他の顧
客の自動販売機に使用することが可能になる。
Further, the control device for the vending machine described in claim 7 transfers the update data to the terminal control unit when the write switch is kept pressed for a predetermined time even if the customer codes do not match. Thus, even a memory card in which data for a specific customer is written can be used for a vending machine of another customer if necessary.

【0040】さらに、請求項8記載の自動販売機の制御
装置は、主制御部が、メモリカードから読み取った更新
用データを端末制御部に転送する際に、端末制御部との
間で通常の通信を行う通信速度より早い通信速度で送信
するようにしたので、更新データのデータ量が大きくな
っても、短時間で送信することが可能になる。
Further, in the control device for a vending machine according to the present invention, when the main control section transfers the update data read from the memory card to the terminal control section, the main control section normally communicates with the terminal control section. Since the transmission is performed at a communication speed higher than the communication speed at which the communication is performed, it is possible to transmit the update data in a short time even if the data amount of the update data becomes large.

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

【図1】本発明の主要部のブロック図である。FIG. 1 is a block diagram of a main part of the present invention.

【図2】メモリカードの内容を示す図である。FIG. 2 is a diagram showing the contents of a memory card.

【図3】自動販売機の制御装置のブロック図である。FIG. 3 is a block diagram of a control device of the vending machine.

【図4】先に提案した自動販売機の制御装置のブロック
図である。
FIG. 4 is a block diagram of a vending machine control device proposed earlier.

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

1…主制御部 2…表示制御部 6…シリアル通信ライン 1: Main control unit 2: Display control unit 6: Serial communication line

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 複数の端末制御部と、それらの端末制御
部を統括制御する主制御部とを有する自動販売機の制御
装置であって、前記主制御部は、カードコネクタを有
し、該カードコネクタに端末制御部の更新用データが書
き込まれたメモリカードが差し込まれたとき、該メモリ
カードからそれを読み取って端末制御部に転送し、前記
端末制御部では、主制御部から更新用データを受信した
とき、それをフラッシュROMに記憶させることを特徴
とする自動販売機の制御装置。
1. A vending machine control device comprising: a plurality of terminal control units; and a main control unit for integrally controlling the terminal control units, wherein the main control unit has a card connector. When a memory card in which the update data of the terminal control section is written is inserted into the card connector, the memory card is read from the memory card and transferred to the terminal control section. The terminal control section updates the update data from the main control section. A vending machine control device, which stores the information in a flash ROM when receiving the voucher.
【請求項2】 前記メモリカードに特定の端末制御部を
示すスレーブ番号を書き込み、前記主制御部は、差し込
まれたメモリカードに書き込まれているスレーブ番号を
読み取り、該スレーブ番号に対応する端末制御部に、更
新用データを転送することを特徴とする請求項1記載の
自動販売機の制御装置。
2. A slave number indicating a specific terminal control unit is written in the memory card, and the main control unit reads a slave number written in the inserted memory card, and performs a terminal control corresponding to the slave number. 2. The vending machine control device according to claim 1, wherein update data is transferred to the unit.
【請求項3】 前記メモリカードに更新用データのバー
ジョンデータを書き込み、前記主制御部は、差し込まれ
たメモリカードに書き込まれているバージョンデータを
読み取り、該バージョンデータが端末制御部が保持して
いるデータのバージョンより上位であるとき、端末制御
部に更新用データを転送することを特徴とする請求項1
又は2記載の自動販売機の制御装置。
3. The version data of the update data is written in the memory card, the main control unit reads the version data written in the inserted memory card, and the version data is held by the terminal control unit. 2. The update data is transferred to the terminal control unit when the data version is higher than the version of the data.
Or the control device of the vending machine according to 2.
【請求項4】 メモリカードの更新データを端末制御部
に転送中であることを示すカード処理中表示ランプを前
記主制御部に設け、差し込まれたメモリカードに書き込
まれているバージョンデータが端末制御部が保持してい
るデータのバージョンより上位でなかったとき、前記カ
ード処理中表示ランプを点滅させることを特徴とする請
求項3記載の自動販売機の制御装置。
4. A card processing indicator lamp indicating that the update data of the memory card is being transferred to the terminal control unit is provided in the main control unit, and the version data written in the inserted memory card is controlled by the terminal control unit. 4. The vending machine control device according to claim 3, wherein when the data is not higher than the version of the data held by the section, the card processing display lamp flashes.
【請求項5】 前記メモリカードに顧客コードを書き込
み、前記主制御部は、差し込まれたメモリカードに書き
込まれている顧客コードを読み取り、該顧客コードが端
末制御部で保持している顧客コードと一致したとき、端
末制御部に更新用データを転送することを特徴とする請
求項1,2,3又は4記載の自動販売機の制御装置。
5. A customer code is written in the memory card, the main control unit reads the customer code written in the inserted memory card, and the customer code and the customer code held in the terminal control unit are read. 5. The vending machine control device according to claim 1, wherein the update data is transferred to the terminal control unit when the values match.
【請求項6】 メモリカードの更新データを端末制御部
に転送中であることを示すカード処理中表示ランプを前
記主制御部に設け、前記顧客コードが一致しなかったと
き、前記カード処理中表示ランプを点滅させることを特
徴とする請求項5記載の自動販売機の制御装置。
6. A card processing display lamp indicating that the update data of the memory card is being transferred to the terminal control unit is provided in the main control unit, and when the customer code does not match, the card processing display is displayed. 6. The vending machine control device according to claim 5, wherein the lamp blinks.
【請求項7】 前記主制御部に書込スイッチを設け、前
記顧客コードが一致しなくても、前記書込スイッチが所
定時間押し続けられたときは端末制御部に更新用データ
を転送することを特徴とする請求項5又は6記載の自動
販売機の制御装置。
7. A write switch is provided in the main control unit, and when the write switch is kept pressed for a predetermined time even if the customer codes do not match, update data is transferred to the terminal control unit. 7. The control device for a vending machine according to claim 5, wherein:
【請求項8】 前記主制御部が、前記メモリカードから
読み取った更新用データを端末制御部に転送する際に、
端末制御部との間で通常の通信を行う通信速度より早い
通信速度で送信することを特徴とする請求項1,2,
3,4,5,6又は7記載の自動販売機の制御装置。
8. When the main control unit transfers update data read from the memory card to a terminal control unit,
The transmission is performed at a communication speed higher than a communication speed for performing normal communication with the terminal control unit.
The control device for a vending machine according to 3, 4, 5, 6 or 7.
JP36823897A 1997-12-26 1997-12-26 Vending machine control device Expired - Fee Related JP3632421B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36823897A JP3632421B2 (en) 1997-12-26 1997-12-26 Vending machine control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36823897A JP3632421B2 (en) 1997-12-26 1997-12-26 Vending machine control device

Publications (2)

Publication Number Publication Date
JPH11195164A true JPH11195164A (en) 1999-07-21
JP3632421B2 JP3632421B2 (en) 2005-03-23

Family

ID=18491309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36823897A Expired - Fee Related JP3632421B2 (en) 1997-12-26 1997-12-26 Vending machine control device

Country Status (1)

Country Link
JP (1) JP3632421B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002196941A (en) * 2000-12-25 2002-07-12 Lecip Corp Program version control method and program using equipment
JP2006321356A (en) * 2005-05-19 2006-11-30 Matsushita Electric Ind Co Ltd Input system for vehicle
WO2011004707A1 (en) * 2009-07-06 2011-01-13 グローリー株式会社 Program setting system, program updating system, program updating method, program installing system, and program installing method for money identification device
EP2474955A4 (en) * 2009-09-03 2015-03-11 Sanden Corp Control device for a vending machine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002196941A (en) * 2000-12-25 2002-07-12 Lecip Corp Program version control method and program using equipment
JP2006321356A (en) * 2005-05-19 2006-11-30 Matsushita Electric Ind Co Ltd Input system for vehicle
WO2011004707A1 (en) * 2009-07-06 2011-01-13 グローリー株式会社 Program setting system, program updating system, program updating method, program installing system, and program installing method for money identification device
CN102473328A (en) * 2009-07-06 2012-05-23 光荣株式会社 Program setting system, program updating system, program updating method, program installing system, and program installing method for money identification device
CN102473328B (en) * 2009-07-06 2015-08-12 光荣株式会社 The program installation system of money discriminator and program installation method
EP2474955A4 (en) * 2009-09-03 2015-03-11 Sanden Corp Control device for a vending machine

Also Published As

Publication number Publication date
JP3632421B2 (en) 2005-03-23

Similar Documents

Publication Publication Date Title
CA2283950C (en) Gaming device identification method and apparatus
US6782313B1 (en) Diagnostic test device for motor vehicle with programmable control devices
KR910007037B1 (en) Smart card and method of loading application program an it
US7054909B1 (en) Automatic vending machine having a control system capable of easily and reliably rewriting a control program in each terminal control unit
US6643843B1 (en) Methods and apparatus for optical communication update of program memory in embedded systems
KR920006627A (en) Programming device and programming method for programming vehicle electronic controller
EP1324286A2 (en) Self-service terminal
WO2001004851A1 (en) Improved apparatus for remote payment transactions
EP1256102B1 (en) Validator with removable flash memory
JPH11195164A (en) Controller for automatic vending machine
JP2001319267A (en) Control system for automatic vending machine
JP3805548B2 (en) Program update method for bill validator
JP2006227677A (en) Method for download control of firmware
KR100536156B1 (en) Controller for automatic vending machine
JPH0635944A (en) Lot vending system
JPH11213229A (en) Controller for automatic vending machine
IE49452B1 (en) Control means for franking machines
US6741910B1 (en) Control device for automatic vending machine
EP2491539A1 (en) Multi-application mobile authentication device
JP4411773B2 (en) Vending machine communication control method
JP3235955B2 (en) Electronic cash register
JP3886304B2 (en) Vending machine service equipment
JPH10198845A (en) Controller for automatic vending machine
JPH0635943A (en) Various lots vending system
JPH07141190A (en) Miswriting check control device at down loading

Legal Events

Date Code Title Description
A977 Report on retrieval

Effective date: 20040513

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040518

A521 Written amendment

Effective date: 20040713

Free format text: JAPANESE INTERMEDIATE CODE: A523

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Effective date: 20041130

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Effective date: 20041213

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080107

Year of fee payment: 3

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 4

Free format text: PAYMENT UNTIL: 20090107

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100107

Year of fee payment: 5

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20110107

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120107

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20130107

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20130107

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 8

Free format text: PAYMENT UNTIL: 20130107

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20140107

LAPS Cancellation because of no payment of annual fees