JP3692857B2 - Vending machine controller - Google Patents

Vending machine controller Download PDF

Info

Publication number
JP3692857B2
JP3692857B2 JP26944299A JP26944299A JP3692857B2 JP 3692857 B2 JP3692857 B2 JP 3692857B2 JP 26944299 A JP26944299 A JP 26944299A JP 26944299 A JP26944299 A JP 26944299A JP 3692857 B2 JP3692857 B2 JP 3692857B2
Authority
JP
Japan
Prior art keywords
control unit
program
main control
terminal
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.)
Expired - Fee Related
Application number
JP26944299A
Other languages
Japanese (ja)
Other versions
JP2001093030A (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.)
Fuji Electric Retail Systems Co Ltd
Original Assignee
Fuji Electric Retail Systems 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 Fuji Electric Retail Systems Co Ltd filed Critical Fuji Electric Retail Systems Co Ltd
Priority to JP26944299A priority Critical patent/JP3692857B2/en
Publication of JP2001093030A publication Critical patent/JP2001093030A/en
Application granted granted Critical
Publication of JP3692857B2 publication Critical patent/JP3692857B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、自動販売機各部をそれぞれ個別に制御する端末制御部と、それら端末制御部との間で通信を行いながらそれらを統括して制御する主制御部とからなる自動販売機制御装置に関するものである。
【0002】
【従来の技術】
従来の自動販売機制御装置では、各商品搬出機構を制御する販売制御部、投入された硬貨を判別処理するための硬貨処理機構の制御を行う硬貨処理制御部、金額表示器の表示制御を行う表示制御部のように、それぞれの端末制御部により自動販売機各部をそれぞれ個別に制御するようにしている。そして、主制御部が、信号ラインを介して通信しながらそれらの端末制御部を統括して制御するようにしている。
【0003】
各端末制御部は、それぞれ制御プログラムを保持していて、それにより所定の制御を行う。また、主制御部は、各端末制御部を統括制御するための制御プログラムを持っていて、それにより所定の制御を行う。主制御部の制御プログラムは、それぞれの端末制御部に対応する部分を含んでいる。したがって、いずれかの端末制御部を型式の異なる新しいものに交換したり、いままでなかった端末制御部を新たに設けたりした場合は、それに合わせて、主制御部の制御プログラムを更新する必要がある。
【0004】
そのため、従来の自動販売機制御装置では、端末制御部を交換したり新設したりした場合は、その都度、制御プログラムが書き込まれているROMを新しいものに差し換えたり、メモリに格納されている古いプログラムを手動操作により新しいプログラムに書き換えたりして対応していた。
【0005】
【発明が解決しようとする課題】
しかしながら、上記従来の自動販売機制御装置では、端末制御部を交換したり新設した場合に、ROMを差し換えたり、プログラムを書き換えたりするのに手間がかかるという問題点があった。また、それらの作業を手動操作で行うため、作業ミスが発生する可能性があるという問題点もあった。
【0006】
本発明は、そのような問題点を解決し、端末制御部を交換したり新設した場合に、主制御部の制御プログラムを自動的に更新できるようにして、作業の手間を軽減するとともに、作業ミスも防止できるようにすることを目的とするものである。
【0007】
【課題を解決するための手段】
前記課題を解決するため、請求項1に記載の自動販売機制御装置は、自動販売機各部をそれぞれ個別に制御する複数の端末制御部と、それら端末制御部との間で通信を行いながらそれらを統括して制御する主制御部とを有する自動販売機制御装置であって、
前記各端末制御部は、それぞれの製造元のメーカー識別コードとそれぞれに対応する制御プログラムのバージョンとを保持し、主制御部との最初の通信において、前記メーカー識別コードとバージョンとを主制御部に送信し、主制御部は、各端末制御部から受信したメーカー識別コードとバージョンとに基づいて、主制御部内に設けられたROM,拡張スロットに差し込まれたメモリカード,通信可能な外部記憶媒体の内部を順次検索し、それらの内のいずれかから、接続されている端末制御部に対応した制御プログラムを取得するようにしたことを特徴とする。このようにすると、端末制御部を交換したり新設した場合に、主制御部の制御プログラムを自動的に更新できるようにして、作業の手間を軽減するとともに、作業ミスも防止できる。さらに、端末制御部の接続と連動して、その後の制御プログラムを自動的に探し出し、自動的に書き換えることができる。
【0008】
そして、請求項に記載の自動販売機制御装置は、前記主制御部は、プログラム格納部に、機能別プログラムエリア,拡張プログラムエリアを規定し、それらのエリア単位で制御プログラムを部分的に書き換えることを特徴とする。このようにすると、書き換えるデータ量が少なくなって書き換え作業が効率的になる。
【0009】
また、請求項に記載の自動販売機制御装置は、前記端末制御部に、中間言語の形で前記制御プログラムを格納し、主制御部には、該中間言語の形の制御プログラムを主制御部用の機械語に変換する中間言語解釈プログラムを内蔵させたことを特徴とする。このようにすると、主制御部のマイコンが別のマイコンに取り替えられても、各端末制御部の制御プログラムは、そのまま使えるようになる。
【0010】
【発明の実施の形態】
以下、本発明の実施の形態を図面に基づいて詳細に説明する。
図1は、本発明の自動販売機制御装置のシステム概略図である。主制御部1は、販売制御部,硬貨処理制御部,表示制御部等の端末制御部2,3,4と通信しながらそれらを統括して制御する。
【0011】
各端末制御部2,3,4は、それぞれ商品搬出機構や硬貨処理機構や金額表示器を制御するための制御プログラムを保持していて、それらにより所定の制御を行う。また、主制御部1は、それら端末制御部2,3,4を統括制御するための制御プログラムを持っていて、それにより統括制御を行う。主制御部1の制御プログラムは、各端末制御部2,3,4とデータのやり取りを行いながら制御を行うため、それぞれの端末制御部2,3,4の製造元や機種に応じて内容が異なる。
【0012】
したがって、いずれかの端末制御部を新型のものに交換したり、いままでなかった端末制御部を新たに設けたりした場合は、それに合わせて、主制御部の制御プログラムを書き換える必要がある。
【0013】
主制御部1の制御プログラムは、EPROM,フラッシュメモリ等よりなるメモリ1Aに格納されている。メモリ1Aには、どのような端末制御部が組み込まれるかを想定して、端末制御部の組み合わせに対応した複数の制御プログラムが予め格納されており、それらの中から、その時組み込まれている端末制御部に適合した制御プログラムを選択し、それを使って制御が行われる。そして、いままであった端末制御部2,3,4の内のいずれかが新しいものに交換されたり、機能拡張のため新たに端末制御部5が組み込まれたりした時、メモリ1Aの中から変更後の端末制御部の組み合わせに適合した制御プログラムを探し出してプログラムの切り換えを行い、その後は、その制御プログラムにより動作させる。
【0014】
各端末制御部2〜5には、それぞれの製造元のメーカー識別コード及びそれぞれに対応する制御プログラムのバージョン等を、それぞれの内部に設けられている不揮発性のメモリに保持させている。また、主制御部1のメモリ1A内に格納されている各制御プログラムにも、それぞれを識別するため、対応する端末制御部のメーカー識別コードとバージョンとが記録されている。
【0015】
そして、端末制御部の変更があった後、電源を投入した直後に、各端末制御部から主制御部1に対して、それぞれのメーカー識別コード,バージョン等を送信する。なお、メーカー識別コード,バージョン等の送信は、まず、主制御部1が各端末制御部に要求し、各端末制御部がそれに応じて送信するようにしてもよい。
【0016】
いずれにしても、主制御部1は、各端末制御部からメーカー識別コード,バージョン等を受信したら、メーカー識別コード,バージョン等に基づいて、それらの組み合わせに適合する制御プログラムをメモリ1Aから探し出して、その後は、その制御プログラムにより制御を行う。
【0017】
ところで、機能拡張用の端末制御部5として、今まで設置が予定されていなかった新しいタイプの端末制御部を取り付ける場合等、新設した端末制御部に適合した制御プログラムが、メモリ1Aに格納されていない場合がある。そのような場合は、主制御部1に設けられた拡張スロット6に、新設した端末制御部用の制御プログラムを含む制御プログラムを格納したメモリカード7を差し込み、そのメモリカード7から適合する制御プログラムを読み込む。なお、メモリカード7に格納されている制御プログラムにも前記メーカー識別コード,バージョン等が記録されている。
【0018】
あるいは、主制御部1に通信端末8を設け、管理センターにある通信端末9を介して管理コンピュータ10から適合する制御プログラムを読み込むようにしてもよい。なお、その場合の通信は、公衆電話回線を通して行ってもよいし、無線により行ってもよい。そして、主制御部1は、新たな端末制御部が接続された場、まず、自己内部のメモリ1A内を探して適合する制御プログラムがあるか否かをみて、そこになければ、次はメモリカード7の内部を探し、そこにもなければ、通信端末8,9を介して管理コンピュータ10から取得するというように、自動的に取得先を切り換える。そのようにすれば、端末制御部の接続と連動して、その後の制御プログラムを自動的に探し出し、自動的に書き換えることができるので、プログラム書換の作業ミスがなくなる。
【0019】
また、制御プログラムの書き換えは、制御プログラム全体を書き換えるようにしてもよいし、必要な部分だけを書き換えるようにしてもよい。制御プログラム全体を書き換える場合は、図2に示すように、前記メーカー識別コード,バージョン等を判別してプログラムの書き換え処理等を行うためのブートプログラムを格納したエリア以外の、制御プログラムを格納したエリア全体を書き換える。
【0020】
一方、全体の制御プログラムの内、交換したり、新設したりした端末制御部に対応する部分だけを書き換える場合は、メモリのプログラム格納部を、機能別プログラムエリアと拡張プログラムエリアとに分けて予め規定しておく。すなわち、図3に示すように、前記ブートプログラムと制御プログラムの内の全体的な処理を行うための部分とを含む全体プログラムをどのエリアに格納し、端末制御部2,3,4を制御するプログラムをそれぞれどのエリアに格納し、将来機能を拡張する場合は、そのための新しい端末制御部を制御する拡張プログラムをどのエリアに格納するかを予め規定しておき、それらのエリア単位で制御プログラムを部分的に入れ換えるようにする。
【0021】
そして、例えば、端末制御部2を新しいものに取り替えた場合は、端末制御部2用の制御プログラムを格納しているエリア全体を新しいプログラムに書き換える。また、機能を拡張するための新しい端末制御部を新設した場合は、拡張用プログラムエリアに新設した端末制御部の制御プログラムを書き込む。
【0022】
そして、全体プログラムから分岐命令により適宜各端末制御部制御プログラムへ分岐させて、全体の制御を実行する。その際、拡張プログラムについては、拡張プログラムがない場合もあるので、管理テーブルのような分岐判定手段を用意し、それにより分岐させるか否かを指示するようにする。
【0023】
また、新しく取り付ける端末制御部内部にその端末制御部用の主制御部制御プログラムを格納しておき、その端末制御部を接続した時、該端末制御部に格納しておいた制御プログラムを主制御部に送信するようにしてもよい。そのようにすれば、主制御部1のメモリ1Aやメモリカード7や管理コンピュータ10に該当プログラムを蓄積しておく必要がなくなって、管理が容易になる。
【0024】
ところで、上述した各プログラムは、機械語で格納しておけば効率がよいが、プログラムを機械語で格納しておくと、何らかの事情で主制御部1のマイコンが別のマイコンに取り替えられると、新しいマイコン用の機械語プログラムに書き換える必要が生じ、非常に手間がかかる。そこで、各制御プログラムを中間言語の形で格納し、主制御部には、図4に示すように、中間言語の形の制御プログラムを主制御部マイコン用の機械語に変換する中間言語解釈プログラムを内蔵させる。
【0025】
そのようにすれば、主制御部1のマイコンが別のマイコンに取り替えられても、各端末制御部の制御プログラムは、そのまま使えるようになる。
【0026】
なお、上記実施形態では、主制御部1の制御プログラムは、EPROM,フラッシュメモリ等よりなるメモリ1Aに格納し、その状態で処理を実行させるようにしたが、制御プログラムを2次記憶装置としてフラッシュメモリ等に一旦格納し、その後、SRAM又はDRAMに展開してから実行させるようにしてもよい。そのようにすれば、処理スピードが向上するとともに、各端末制御部に対応する制御プログラムの格納番地を自由に決められるようになる。
【0027】
【発明の効果】
本発明は、以上説明したように構成されているので、次に記載するような効果を奏する。
すなわち、請求項1に記載の自動販売機制御装置は、各端末制御部に、それぞれの製造元のメーカー識別コードとそれぞれに対応する制御プログラムのバージョンとを保持させ、主制御部との最初の通信において、メーカー識別コードとバージョンとを主制御部に送信し、主制御部は、各端末制御部から受信したメーカー識別コードとバージョンとに基づいて、主制御部内に設けられたROM,拡張スロットに差し込まれたメモリカード,通信可能な外部記憶媒体の内部を順次検索し、それらの中から、接続されている端末制御部に対応した制御プログラムを取得するようにした。その結果、端末制御部を交換したり新設した場合に、主制御部の制御プログラムを自動的に更新できるようになって、作業の手間を軽減できるとともに、作業ミスも防止できるとともに、端末制御部の接続と連動して、その制御プログラムを自動的に探し出し、自動的に書き換えることができる。
【0028】
また、請求項に記載の自動販売機制御装置は、前記主制御部が、プログラム格納部に、機能別プログラムエリア,拡張プログラムエリアを規定し、それらのエリア単位で制御プログラムを部分的に書き換えるようにしたので、書き換えるデータ量が少なくなって書き換え作業が効率的になる。
【0029】
そしてまた、請求項に記載の自動販売機制御装置は、前記端末制御部に、中間言語の形で前記制御プログラムを格納し、主制御部には、該中間言語の形の制御プログラムを主制御部用の機械語に変換する中間言語解釈プログラムを内蔵させたので、主制御部のマイコンが別のマイコンに取り替えられても、各端末制御部の制御プログラムは、そのまま使えるようになる。
【図面の簡単な説明】
【図1】 本発明の自動販売機制御装置のシステム概略図である。
【図2】 制御プログラムのメモリへの格納状態を示す図である。
【図3】 制御プログラムを部分的に変更する場合の制御プログラムのメモリへの格納状態を示す図である。
【図4】 中間コード解釈プログラムを含む制御プログラムのメモリへの格納状態を示す図である。
【符号の説明】
1…主制御部
2〜4…端末制御部
5…拡張端末制御部
6…拡張スロット
7…メモリカード
8,9…通信端末
10…管理コンピュータ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a vending machine control device comprising a terminal control unit that individually controls each part of a vending machine and a main control unit that controls them collectively while communicating with the terminal control unit. Is.
[0002]
[Prior art]
In a conventional vending machine control device, a sales control unit that controls each commodity carry-out mechanism, a coin processing control unit that controls a coin processing mechanism for discriminating the inserted coins, and a display control of the amount indicator Like the display control unit, each part of the vending machine is individually controlled by each terminal control unit. The main control unit controls the terminal control units in an integrated manner while communicating via signal lines.
[0003]
Each terminal control unit holds a control program, thereby performing predetermined control. Further, the main control unit has a control program for performing overall control of each terminal control unit, thereby performing predetermined control. The control program of the main control unit includes a part corresponding to each terminal control unit. Therefore, if one of the terminal control units is replaced with a new one with a different model or a new terminal control unit is provided, it is necessary to update the control program of the main control unit accordingly. is there.
[0004]
Therefore, in the conventional vending machine control device, whenever the terminal control unit is replaced or newly installed, the ROM in which the control program is written is replaced with a new one, or the old one stored in the memory The program was rewritten to a new program manually.
[0005]
[Problems to be solved by the invention]
However, the conventional vending machine control apparatus has a problem that it takes time to replace the ROM or rewrite the program when the terminal control unit is replaced or newly installed. In addition, since these operations are performed manually, there is a problem that an operation error may occur.
[0006]
The present invention solves such a problem, and when the terminal control unit is replaced or newly installed, the control program of the main control unit can be automatically updated to reduce the work and The purpose is to prevent mistakes.
[0007]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the vending machine control device according to claim 1 includes a plurality of terminal control units that individually control each unit of the vending machine, while performing communication between these terminal control units. A vending machine control device having a main control unit for controlling and controlling
Each terminal control unit holds a manufacturer identification code of each manufacturer and a version of a control program corresponding to each manufacturer, and in the initial communication with the main control unit, the manufacturer identification code and version are stored in the main control unit. Based on the manufacturer identification code and version received from each terminal control unit, the main control unit transmits a ROM provided in the main control unit, a memory card inserted into an expansion slot, and a communicable external storage medium. The inside is sequentially searched, and a control program corresponding to the connected terminal control unit is obtained from any of them. In this way, when the terminal control unit is replaced or newly installed, the control program of the main control unit can be automatically updated, thereby reducing the labor of work and preventing work mistakes. Further, in conjunction with the connection of the terminal control unit, the subsequent control program can be automatically searched and automatically rewritten.
[0008]
In the vending machine control apparatus according to claim 2 , the main control unit defines a function-specific program area and an extended program area in the program storage unit, and partially rewrites the control program in units of these areas. It is characterized by that. This reduces the amount of data to be rewritten and makes rewriting work more efficient.
[0009]
The vending machine control device according to claim 3 stores the control program in the form of an intermediate language in the terminal control unit, and main control unit stores the control program in the form of the intermediate language. An intermediate language interpretation program for converting into machine language for departments is built in. In this way, even if the microcomputer of the main control unit is replaced with another microcomputer, the control program of each terminal control unit can be used as it is.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a system schematic diagram of a vending machine control apparatus according to the present invention. The main control unit 1 performs overall control while communicating with terminal control units 2, 3, and 4 such as a sales control unit, a coin processing control unit, and a display control unit.
[0011]
Each of the terminal control units 2, 3, and 4 holds a control program for controlling the product carry-out mechanism, the coin processing mechanism, and the money amount display, and performs predetermined control using them. Further, the main control unit 1 has a control program for performing overall control of the terminal control units 2, 3, and 4, thereby performing overall control. Since the control program of the main control unit 1 performs control while exchanging data with each terminal control unit 2, 3, 4, the contents differ depending on the manufacturer and model of each terminal control unit 2, 3, 4. .
[0012]
Therefore, when any one of the terminal control units is replaced with a new one or a terminal control unit that has not been provided is newly provided, it is necessary to rewrite the control program of the main control unit accordingly.
[0013]
The control program of the main control unit 1 is stored in a memory 1A composed of EPROM, flash memory, and the like. In the memory 1A, a plurality of control programs corresponding to combinations of terminal control units are stored in advance, assuming what type of terminal control unit is to be installed, and the terminal installed at that time is selected from among them. A control program suitable for the control unit is selected, and control is performed using it. When one of the existing terminal control units 2, 3, and 4 is replaced with a new one, or when the terminal control unit 5 is newly incorporated for function expansion, it is changed from the memory 1A. A control program suitable for the combination of the terminal control units later is searched for, and the program is switched. Thereafter, the control program is operated.
[0014]
Each terminal control unit 2 to 5 holds a manufacturer identification code of each manufacturer and a version of a control program corresponding to each manufacturer in a non-volatile memory provided therein. In addition, in order to identify each control program stored in the memory 1A of the main control unit 1, a manufacturer identification code and a version of the corresponding terminal control unit are recorded.
[0015]
Then, after the terminal control unit is changed, immediately after the power is turned on, each terminal control unit transmits its manufacturer identification code, version, and the like to the main control unit 1. In addition, transmission of a manufacturer identification code, a version, etc. may request | require first to each terminal control part from the main control part 1, and you may make it each terminal control part transmit according to it.
[0016]
In any case, when receiving the manufacturer identification code, version, etc. from each terminal controller, the main control unit 1 searches the memory 1A for a control program suitable for the combination based on the manufacturer identification code, version, etc. Thereafter, control is performed by the control program.
[0017]
By the way, a control program suitable for the newly installed terminal control unit is stored in the memory 1A, such as when a new type of terminal control unit that has not been planned for installation is attached as the terminal control unit 5 for function expansion. There may not be. In such a case, a memory card 7 storing a control program including a control program for the newly installed terminal control unit is inserted into the expansion slot 6 provided in the main control unit 1, and a control program adapted from the memory card 7 is inserted. Is read. The manufacturer identification code, version, etc. are also recorded in the control program stored in the memory card 7.
[0018]
Alternatively, the main control unit 1 may be provided with the communication terminal 8 and a suitable control program may be read from the management computer 10 via the communication terminal 9 in the management center. In this case, communication may be performed through a public telephone line or may be performed wirelessly. When the new terminal control unit is connected, the main control unit 1 first searches the internal memory 1A to see if there is a matching control program. The inside of the card 7 is searched, and if it is not there, the acquisition destination is automatically switched, such as acquisition from the management computer 10 via the communication terminals 8 and 9. By doing so, in conjunction with the connection of the terminal control unit, the subsequent control program can be automatically found out and automatically rewritten, so there is no mistake in program rewriting.
[0019]
The control program can be rewritten by rewriting the entire control program or by rewriting only necessary portions. In the case of rewriting the entire control program, as shown in FIG. 2, the area storing the control program other than the area storing the boot program for discriminating the manufacturer identification code, version, etc. and performing the program rewriting process, etc. Rewrite the whole thing.
[0020]
On the other hand, when rewriting only the part corresponding to the exchanged or newly installed terminal control part in the entire control program, the memory program storage part is divided into a function-specific program area and an extended program area in advance. It prescribes. That is, as shown in FIG. 3, in which area the entire program including the boot program and the portion for performing the overall processing of the control program is stored, and the terminal control units 2, 3 and 4 are controlled. In which area each program is stored and future functions are to be expanded, it is specified in advance in which area the expansion program that controls the new terminal control unit is stored. Try to replace part.
[0021]
For example, when the terminal control unit 2 is replaced with a new one, the entire area storing the control program for the terminal control unit 2 is rewritten with a new program. When a new terminal control unit for expanding functions is newly installed, the control program for the newly installed terminal control unit is written in the expansion program area.
[0022]
Then, the entire program is appropriately branched to each terminal control unit control program by a branch instruction, and the entire control is executed. At this time, since there may be no extended program for the extended program, a branch determination unit such as a management table is prepared and an instruction is given to determine whether or not to branch.
[0023]
Also, a main control unit control program for the terminal control unit is stored inside the newly installed terminal control unit, and when the terminal control unit is connected, the control program stored in the terminal control unit is controlled by the main control unit. You may make it transmit to a part. By doing so, it is not necessary to store the corresponding program in the memory 1A, the memory card 7 or the management computer 10 of the main control unit 1, and management becomes easy.
[0024]
By the way, each program described above is efficient if stored in machine language, but if the program is stored in machine language, if the microcomputer of the main control unit 1 is replaced with another microcomputer for some reason, It becomes necessary to rewrite a machine language program for a new microcomputer, which is very time-consuming. Therefore, each control program is stored in the form of an intermediate language, and an intermediate language interpretation program for converting the control program in the form of the intermediate language into a machine language for the main control unit microcomputer as shown in FIG. 4 in the main control unit Is built in.
[0025]
By doing so, even if the microcomputer of the main control unit 1 is replaced with another microcomputer, the control program of each terminal control unit can be used as it is.
[0026]
In the above embodiment, the control program of the main control unit 1 is stored in the memory 1A composed of EPROM, flash memory, etc., and the processing is executed in that state, but the control program is flashed as a secondary storage device. The data may be temporarily stored in a memory or the like and then expanded into SRAM or DRAM and then executed. By doing so, the processing speed is improved and the storage address of the control program corresponding to each terminal control unit can be freely determined.
[0027]
【The invention's effect】
Since the present invention is configured as described above, the following effects can be obtained.
In other words, the vending machine control device according to claim 1 causes each terminal control unit to retain the manufacturer identification code of each manufacturer and the version of the control program corresponding to each manufacturer, and performs initial communication with the main control unit. , The manufacturer identification code and the version are transmitted to the main control unit, and the main control unit receives the ROM and the expansion slot provided in the main control unit based on the manufacturer identification code and the version received from each terminal control unit. The inside of the inserted memory card and the communicable external storage medium is sequentially searched, and a control program corresponding to the connected terminal control unit is obtained from them. As a result, when the terminal control unit is replaced or newly installed, it becomes possible to automatically update the control program of the main control unit, reducing the labor of work, preventing work mistakes, and the terminal control unit. In conjunction with this connection, the control program can be automatically found and rewritten automatically.
[0028]
Further, in the vending machine control apparatus according to claim 2 , the main control unit defines a function-specific program area and an extended program area in the program storage unit, and partially rewrites the control program in units of those areas. As a result, the amount of data to be rewritten is reduced, and the rewriting work becomes efficient.
[0029]
The vending machine control device according to claim 3 stores the control program in the form of an intermediate language in the terminal control unit, and the main control unit stores the control program in the form of the intermediate language. Since the intermediate language interpretation program for converting the machine language for the control unit is built in, the control program of each terminal control unit can be used as it is even if the microcomputer of the main control unit is replaced with another microcomputer.
[Brief description of the drawings]
FIG. 1 is a system schematic diagram of a vending machine control apparatus according to the present invention.
FIG. 2 is a diagram illustrating a storage state of a control program in a memory.
FIG. 3 is a diagram illustrating a storage state of a control program in a memory when the control program is partially changed.
FIG. 4 is a diagram illustrating a storage state of a control program including an intermediate code interpretation program in a memory.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Main control part 2-4 ... Terminal control part 5 ... Expansion terminal control part 6 ... Expansion slot 7 ... Memory card 8, 9 ... Communication terminal 10 ... Management computer

Claims (3)

自動販売機各部をそれぞれ個別に制御する複数の端末制御部と、それら端末制御部との間で通信を行いながらそれらを統括して制御する主制御部とを有する自動販売機制御装置であって、
前記各端末制御部は、それぞれの製造元のメーカー識別コードとそれぞれに対応する制御プログラムのバージョンとを保持し、主制御部との最初の通信において、前記メーカー識別コードとバージョンとを主制御部に送信し、主制御部は、各端末制御部から受信したメーカー識別コードとバージョンとに基づいて、主制御部内に設けられたROM,拡張スロットに差し込まれたメモリカード,通信可能な外部記憶媒体の内部を順次検索し、それらの内のいずれかから、接続されている端末制御部に対応した制御プログラムを取得するようにしたことを特徴とする自動販売機制御装置。
A vending machine control device having a plurality of terminal control units that individually control each part of the vending machine, and a main control unit that performs overall control while communicating with the terminal control units. ,
Each terminal control unit holds a manufacturer identification code of each manufacturer and a version of a control program corresponding to each manufacturer, and in the initial communication with the main control unit, the manufacturer identification code and version are stored in the main control unit. Based on the manufacturer identification code and version received from each terminal control unit, the main control unit transmits a ROM provided in the main control unit, a memory card inserted into an expansion slot, and a communicable external storage medium. A vending machine control apparatus characterized by sequentially searching the inside and acquiring a control program corresponding to a connected terminal control unit from any of them .
前記主制御部は、プログラム格納部に、機能別プログラムエリア,拡張プログラムエリアを規定し、それらのエリア単位で制御プログラムを部分的に書き換えることを特徴とする請求項1記載の自動販売機制御装置。  2. The vending machine control device according to claim 1, wherein the main control unit defines a function-specific program area and an extended program area in the program storage unit, and partially rewrites the control program in units of these areas. . 前記端末制御部に、中間言語の形で前記制御プログラムを格納し、主制御部には、該中間言語の形の制御プログラムを主制御部用の機械語に変換する中間言語解釈プログラムを内蔵させたことを特徴とする請求項1又は2記載の自動販売機制御装置。The terminal control unit stores the control program in the form of an intermediate language, and the main control unit incorporates an intermediate language interpretation program that converts the control program in the form of the intermediate language into a machine language for the main control unit. The vending machine control device according to claim 1 or 2, wherein
JP26944299A 1999-09-22 1999-09-22 Vending machine controller Expired - Fee Related JP3692857B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26944299A JP3692857B2 (en) 1999-09-22 1999-09-22 Vending machine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26944299A JP3692857B2 (en) 1999-09-22 1999-09-22 Vending machine controller

Publications (2)

Publication Number Publication Date
JP2001093030A JP2001093030A (en) 2001-04-06
JP3692857B2 true JP3692857B2 (en) 2005-09-07

Family

ID=17472502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26944299A Expired - Fee Related JP3692857B2 (en) 1999-09-22 1999-09-22 Vending machine controller

Country Status (1)

Country Link
JP (1) JP3692857B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4770075B2 (en) * 2001-07-02 2011-09-07 富士電機リテイルシステムズ株式会社 Vending machine control device
JP4618015B2 (en) * 2005-06-27 2011-01-26 富士電機リテイルシステムズ株式会社 Vending machine, vending machine management device and vending machine management system
JP5261149B2 (en) * 2008-11-21 2013-08-14 サンデン株式会社 Reader / writer for information storage media
CN113508303A (en) * 2019-03-27 2021-10-15 株式会社日立高新技术 Automatic analyzer

Also Published As

Publication number Publication date
JP2001093030A (en) 2001-04-06

Similar Documents

Publication Publication Date Title
US6402026B1 (en) Smart card and method for bidirectional data transfer between a terminal and a smart card
AU630038B2 (en) Firmware modification system wherein older version can be retrieved
US7054909B1 (en) Automatic vending machine having a control system capable of easily and reliably rewriting a control program in each terminal control unit
US6199120B1 (en) IC card reading/writing apparatus and method for allowing use of multiple vendors
CA1222824A (en) Data collection system
GB2256734A (en) Modifying program code.
GB2172720A (en) A system for collecting data from a vending machine
US6498965B2 (en) System for controlling vending machine
JP3692857B2 (en) Vending machine controller
JP3385844B2 (en) vending machine
CN109313761A (en) Application on selection card
KR100615123B1 (en) Memory rewriting apparatus
JPH07191841A (en) Program updating method for computer
US6496753B1 (en) Control system for automatic vending machine
CN1145118C (en) Control device of automatic vendor
JPH09128605A (en) Vending machine main box, portable terminal and method for rewriting vending machine control program using
JP3763180B2 (en) Vending machine program rewriting device
JP4411773B2 (en) Vending machine communication control method
JPH09270059A (en) Control program display system for automatic vending machine
JPH05298530A (en) Automatic vending machine of memory card system
JP2003207194A (en) Control unit for air conditioner
JP3037136B2 (en) Download program backup device
JPH10177674A (en) Vending machine
EP1244076A1 (en) Control device for automatic vending machine
JP2000020302A (en) Vending machine control information writing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050405

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050531

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050613

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080701

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090701

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090701

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100701

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110701

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110701

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120701

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130701

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130701

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 (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130701

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees