JPS6394394A - Controller for master slave type vending machine - Google Patents

Controller for master slave type vending machine

Info

Publication number
JPS6394394A
JPS6394394A JP24009586A JP24009586A JPS6394394A JP S6394394 A JPS6394394 A JP S6394394A JP 24009586 A JP24009586 A JP 24009586A JP 24009586 A JP24009586 A JP 24009586A JP S6394394 A JPS6394394 A JP S6394394A
Authority
JP
Japan
Prior art keywords
signal
reset
slave
control unit
control
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
JP24009586A
Other languages
Japanese (ja)
Other versions
JPH0670822B2 (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 Co Ltd
Original Assignee
Fuji 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP61240095A priority Critical patent/JPH0670822B2/en
Publication of JPS6394394A publication Critical patent/JPS6394394A/en
Publication of JPH0670822B2 publication Critical patent/JPH0670822B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野1 この発明は、自動販売機の制御装置に関し、特に、マス
タースレーブ方式により集中制御する自動販売機の制御
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field 1] The present invention relates to a control device for a vending machine, and particularly to a control device for a vending machine that performs centralized control using a master-slave system.

[従来の技術1 この種のシステムを第4図に示している。[Conventional technology 1 A system of this type is shown in FIG.

100は、主制御部であるマスター制御部であり、伝送
ラインXを介して送/受信するための送受信装置101
を備えている。200は、端末制御部として機能するス
レーブ制御部であり、内部の制御回路201は、送受信
装置202を介して伝送ラインXに接続され、商品選択
釦機構、商品搬出磯枯等の制御を行なう、300は、ス
レーブ制御部200と同一の端末制御部である。
100 is a master control unit which is a main control unit, and a transmitting/receiving device 101 for transmitting/receiving via the transmission line
It is equipped with Reference numeral 200 denotes a slave control unit that functions as a terminal control unit, and an internal control circuit 201 is connected to the transmission line 300 is the same terminal control unit as the slave control unit 200.

更に、電源投入時あるいはスレーブ制御部200.30
0等が機能停止となった際に、該スレーブ制御部200
,300等に対してリセットできるように、マスター制
御部100から各又レープ制御部200,300等に対
してリセット信号ラインYが設けられている。102〜
106〜は、各スレーブ制御部200.300等にそれ
ぞれリセット信号を送出するためのリセット信号送信装
置であり、203は、スレーブ制御部200の制御回路
201のリセット端子Rに接続されるリセット信号受信
装置を示している。
Furthermore, when the power is turned on or when the slave control unit 200.30
0 etc. stops functioning, the slave control unit 200
, 300, etc., a reset signal line Y is provided from the master control section 100 to each of the rape control sections 200, 300, etc. 102~
106 - are reset signal transmitting devices for respectively sending reset signals to each slave control section 200, 300, etc., and 203 is a reset signal receiving device connected to the reset terminal R of the control circuit 201 of the slave control section 200. The device is shown.

このシステムでは、各スレーブ制御部200゜300等
毎にリセット信号ラインYを設ける必要があるので信号
線が多くなり、又、マスター制御部100においても、
各スレーブ制御部200に対してリセット信号を送出す
るための複数の回路構成を必要とした。
In this system, it is necessary to provide a reset signal line Y for each slave control unit 200, 300, etc., which increases the number of signal lines.
A plurality of circuit configurations were required to send a reset signal to each slave control section 200.

第2図は、本出願人により、先に提案したシステムを示
している。
FIG. 2 shows a system previously proposed by the applicant.

マスター制御部110内には、リセット信号を作成する
リセット信号作成回路112が新たに設けられ、通常の
制御信号とリセット信号とが送受信装置111を介して
伝送ラインXに対して入出力される。210はスレーブ
制御部であり、内部の制御回路211は送受信装置21
2を介して伝送ラインXに接続される。又、伝送ライン
又と制御回路211のリセット端子R間にはリセット回
路213が接続されていて、このリセット回路213は
、伝送ラインXからの信号を受信する受信装置213a
と、前記受信装置213aで受信した信号からローレベ
ルの期間を計数し、計数時間が所定時間になれば所定の
信号を出力するタイマー回路213bと、タイマー回路
213bからの信号により、前記制御回路211のリセ
ット端子Rにリセット信号を出力するリセット信号出力
装r!1213cとを備えている。310は、スレーブ
制御部210と同一のものであり、伝送ラインXに接続
されている。
A reset signal generation circuit 112 that generates a reset signal is newly provided in the master control unit 110, and normal control signals and reset signals are input and output to and from the transmission line X via the transmitting/receiving device 111. 210 is a slave control unit, and an internal control circuit 211 is a slave control unit.
2 to the transmission line X. Further, a reset circuit 213 is connected between the transmission line or the reset terminal R of the control circuit 211, and this reset circuit 213 is connected to a receiving device 213a that receives a signal from the transmission line X.
and a timer circuit 213b that counts the low level period from the signal received by the receiver 213a and outputs a predetermined signal when the counting time reaches a predetermined time, and the control circuit 211 by the signal from the timer circuit 213b. A reset signal output device r! that outputs a reset signal to the reset terminal R of the r! 1213c. 310 is the same as the slave control unit 210, and is connected to the transmission line X.

第3図(A)、(B)にマスター制御部110から伝送
ラインXに送出される信号を示していて、信号の前半部
Aは、所望のスレーブ制御部を選択する信号データと、
選択したスレーブ制御部の制御回路211と交信する通
常の制御信号であり、後半部Bは、リセット信号として
送出された部分であり、ローレベルの期間La+ tb
が比較的長く続いている。
FIGS. 3A and 3B show signals sent from the master control unit 110 to the transmission line X, and the first half A of the signal includes signal data for selecting a desired slave control unit,
This is a normal control signal that communicates with the control circuit 211 of the selected slave control unit, and the latter half B is the part sent out as a reset signal, and the low level period La+tb
has been going on for a relatively long time.

次に、上記システムの動作を説明する。Next, the operation of the above system will be explained.

マスター制御部110から伝送ラインXに送出された信
号の前半部Aは、スレーブ制御部210の受信装置21
2を介して制御回路211に送出され通常のデータ交信
がなされる。一方、伝送ラインXの信号は、リセット回
路213の受信装置213aにも入力されていて、タイ
マー回路213bによりローレベルの期間が計数されて
いる。この計数期間が所定時間よりも長くなればタイマ
ー回路213bから所定の信号が出力され、これにより
、送信装置213cからリセット信号が制御回路211
のリセット端子Rに入力される。
The first half A of the signal sent from the master control unit 110 to the transmission line
2 to the control circuit 211 for normal data communication. On the other hand, the signal on the transmission line X is also input to the receiving device 213a of the reset circuit 213, and the low level period is counted by the timer circuit 213b. If this counting period becomes longer than a predetermined time, a predetermined signal is output from the timer circuit 213b, and as a result, a reset signal is sent from the transmitter 213c to the control circuit 211.
It is input to the reset terminal R of.

第3図(A)、(B)に示したように、リセット信号を
表わすローレベルの期間をta、tbのように2種類の
異なった幅にすることにより、制御回路2″i1に対し
て2種類のリセット信号を送出することもできる。
As shown in FIGS. 3(A) and 3(B), by setting the low level period representing the reset signal to two different widths such as ta and tb, the control circuit 2''i1 is It is also possible to send out two types of reset signals.

[発明が解決しようとする問題点1 ところが、上述のシステムにおいて、スレーブ制御部の
うちのいずれか一つが異常を呈し、例えば、一定レベル
の制御信号を出力したままになったり、あるいはタイミ
ングの異なるパルス信号を出力するようになった場合、
マスター制御部110は、スレーブ制御部の異常を検知
するものの、いずれのスレーブ制御部が異常なのかを判
別することはできず、又、異常信号の流出により、以後
、いずれのスレーブ制御部とも交信が行なえなくなる。
[Problem to be Solved by the Invention 1] However, in the above-mentioned system, one of the slave control units exhibits an abnormality, and for example, the control signal continues to be output at a certain level, or the control signal is output at a different timing. When it starts outputting pulse signals,
Although the master control unit 110 detects an abnormality in the slave control unit, it is unable to determine which slave control unit is abnormal, and due to the outflow of the abnormal signal, it is unable to communicate with any slave control unit from now on. become unable to do so.

この場合には、電源投入時の機動と同様なリセット操作
が必要であるが、一つのスレーブ制御部が異常となった
場合でも、システム全体の機能が停止してしまうため、
販売のトラブルが生じる恐れがあった9 この発明は、異常あるいは交信不能となったスレーブ制
御部に対してのみ、復旧の行なうようにしたマスタース
レーブ方式の自動販売機の制御装置を提供することを目
的とする。
In this case, a reset operation similar to the one used when turning on the power is required, but even if one slave control unit becomes abnormal, the entire system will stop functioning.
This invention aims to provide a master-slave type vending machine control device in which recovery is performed only for a slave control unit that has become abnormal or unable to communicate. purpose.

[問題点を解決するための手段1 この発明のマスタースレーブ方式の自動販売機の制御装
置は、端末制御部である複数のスレーブ制御部と、伝送
ラインを介して前記スレーブ制御部を集中制御するマス
ター制御部とを具1qするマスタースレーブ方式の自動
販売機において、各スレーブ制御部は、伝送ラインに制
御信号を送信する送信手段と、伝送ライン上の信号を受
信する受信手段と、前記送信手段から異常信号が出力さ
れていないか否かをモニターするモニター手段と、前記
モニター手段により異常信号がモニターされたとき、該
スレーブ制御部に対してリセットをかけるリセット手段
とを備えている。
[Means for Solving the Problems 1] The master-slave vending machine control device of the present invention includes a plurality of slave control units that are terminal control units, and centrally controls the slave control units via a transmission line. In a master-slave vending machine comprising a master control section, each slave control section includes a transmitting means for transmitting a control signal to a transmission line, a receiving means for receiving a signal on the transmission line, and a transmitting means for receiving a signal on the transmission line. and a reset means for resetting the slave control section when the abnormal signal is monitored by the monitoring means.

[作用1 上記構成によI)、あるスレーブ制御部の送信手段から
通常の制御信号と異なる異常信号が出力されると、この
異常信号がモニター手段によりモニターされ、リセット
手段から該スレーブ制御部に対すしてのみ、リセットが
か(すられる。
[Operation 1 With the above configuration I), when an abnormal signal different from a normal control signal is output from the transmitting means of a certain slave control section, this abnormal signal is monitored by the monitor means and sent from the reset means to the slave control section. Only then will the reset be applied.

[実施例1 第1図はこの発明の1実施例を示している。尚、第2図
の制御システムと同一の部分については同一の符号を付
していて説明を省略する。
[Embodiment 1 FIG. 1 shows one embodiment of the present invention. Note that the same parts as those in the control system of FIG. 2 are designated by the same reference numerals, and the explanation thereof will be omitted.

スレーブ制御部210内において、212゛は、イ云送
ラインXと制御回路211との間に接続される受信装置
であり、212″は送信装置であり、この送信装置21
2”の出力側と伝送ラインXとの間には、リセット信号
流入防止用のダイオード214が接続される。尚、この
ダイオード214は定電圧ダイオードであり、この定電
圧ダイオード214の降伏電圧は、マスター制御部11
0から出力されるリセット信号レベルより低く、各スレ
ーブ制御部210,310等から出力される異常信号の
レベルより高くなっている。213はリセット回路であ
り、マスター制御部110からのりセラY信号により制
御回路211にリセットをかけるとともに、該制御部2
11からの出力信号に異常がないか否かをモニターする
ために、このリセット回路213は、前記送信装置21
2”とダイオード214との接続点と、制御回路211
のリセット端子Rとの間に接続され、一定時間ローレベ
ルあるいはハイレベルの信号が継続したとき、これを検
知して所定の信号を出力するタイマー回路213bと、
タイマー回路213bからの信号により、制御回路21
1のリセット端子Rにリセット信号を出力するリセット
信号出力回路213cとを備元ている。
In the slave control unit 210, 212'' is a receiving device connected between the transmission line X and the control circuit 211, and 212'' is a transmitting device.
A diode 214 for preventing reset signal inflow is connected between the output side of the 2" and the transmission line X. This diode 214 is a constant voltage diode, and the breakdown voltage of this constant voltage diode 214 is: Master control unit 11
It is lower than the level of the reset signal outputted from 0, and higher than the level of the abnormality signal outputted from each slave control section 210, 310, etc. 213 is a reset circuit, which resets the control circuit 211 by a signal Y from the master control section 110, and resets the control circuit 211.
In order to monitor whether there is any abnormality in the output signal from the transmitting device 21, the reset circuit 213
2” and the connection point between the diode 214 and the control circuit 211
a timer circuit 213b connected between the reset terminal R of the timer circuit 213b, which detects a low level or high level signal when it continues for a certain period of time, and outputs a predetermined signal;
The control circuit 21 is activated by the signal from the timer circuit 213b.
A reset signal output circuit 213c that outputs a reset signal to the reset terminal R of 1 is provided.

次に、上記システムの動作を説明する。Next, the operation of the above system will be explained.

マスター制御部110から出力された制御信号は、例え
ば、スレーブ制御部210の受信装置212゛で受信さ
れ、制御回路211に入力される。
The control signal output from the master control section 110 is received by, for example, the receiving device 212' of the slave control section 210, and is input to the control circuit 211.

又、この制御装置211からの制御信号は、送信装置2
12”とダイオード214とを介して伝送ラインXに送
出されることにより、マスター制御部110で受信され
るようになっている。
Further, the control signal from this control device 211 is sent to the transmitting device 2.
12'' and a diode 214 to the transmission line X, so that it is received by the master control unit 110.

次に、制御回路211が、例えば暴走して異常動作をな
し、販売停止状態となった場合について説明する。この
とき、送信装置212”から出力される制御信号は、一
般に、ハイレベルになったままの信号か、あるいはロー
レベルになったままの異常信号が出力される。このハイ
レベルあるいはローレベルの継続時間が所定異常になれ
ば、タイマー回路213bによりこの異常信号が検知さ
れ、タイマー回路213bは所定の信号を出力する。こ
れにより、リセット信号出力回路213Cは起動し、制
御回路211に対してリセット信号を出力し、制御回路
211の異常動作がリセットされ、販売可能状態に復旧
する。このとき、ダイオード21・tを介して伝送ライ
ンXにも異常信号が流出し、池のスレーブ制御g310
等にも流入するが、各スレーブ制御部310等内に設け
られすこダイオード(図示せず)の介在により、スレー
ブ制御部310のリセット回路(図示せず)への入力は
阻止され、池のスレーブ制御部310等はリセット動作
しない。
Next, a case will be described in which the control circuit 211 goes out of control and operates abnormally, resulting in a state where sales are stopped. At this time, the control signal output from the transmitting device 212'' is generally a signal that remains at a high level or an abnormal signal that remains at a low level.This high level or low level continues. When the time becomes a predetermined abnormality, this abnormal signal is detected by the timer circuit 213b, and the timer circuit 213b outputs a predetermined signal.As a result, the reset signal output circuit 213C is activated and sends a reset signal to the control circuit 211. is output, the abnormal operation of the control circuit 211 is reset, and the state is restored to a state ready for sale.At this time, an abnormal signal also flows out to the transmission line X via the diode 21.t, and the slave control g310
However, the input to the reset circuit (not shown) of the slave control unit 310 is blocked by the intervention of a small diode (not shown) provided in each slave control unit 310, etc. The control unit 310 and the like do not perform a reset operation.

一方、電源投入時等において、各スレーブ制御部210
,310等に対して一括にリセットする場合には、マス
ター制御部110のリセット信号作成回路112から既
述したダイオード214の降伏電圧を超えるハイレベル
のりセント信号が出力される。これにより、例えば、ス
レーブ制御部210のダイオード214は導通状態とな
り、伝送ラインX上のリセット信号は、ダイオード21
4を通り、リセット回路213のタイマー回路213b
に入力されることにより、スレーブ制御部210はリセ
ットされる。
On the other hand, when the power is turned on, etc., each slave control unit 210
, 310, etc., the reset signal generation circuit 112 of the master control unit 110 outputs a high-level signal exceeding the breakdown voltage of the diode 214 described above. As a result, for example, the diode 214 of the slave control unit 210 becomes conductive, and the reset signal on the transmission line
4, the timer circuit 213b of the reset circuit 213
The slave control unit 210 is reset by being inputted to .

[発明の効果1 この発明では、端末装置であるスレーブ制御部よりの出
力信号を該スレーブ制御部内でモニターし、出力信号に
異常を検知したとき、該スレーブ制御部に対してのみリ
セットをかけるようにしたので、従来の装置のように、
システム全体の機能が停止しないため、例えば、コイン
投入後にシステムにリセットがかかり、商品が販売され
ないといったトラブルがなくなる。又、リセットによる
販売停止時間がなくなるため、システムの信頼性が向上
し、販売効率も向上する。
[Effect of the invention 1] In this invention, the output signal from the slave control unit, which is a terminal device, is monitored within the slave control unit, and when an abnormality is detected in the output signal, a reset is applied only to the slave control unit. , so like a conventional device,
Since the function of the entire system does not stop, for example, there is no problem such as the system being reset after a coin is inserted and the product not being sold. Furthermore, since there is no sales stoppage time due to reset, the reliability of the system is improved and sales efficiency is also improved.

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

第1図はこの発明のマスタースレーブ方式の自動販売機
の制御装置の1実施例を示すシステムブロック図、ff
12図は、先の提案にかかわる制御装置のシステムブロ
ック図、第3図(A)、(B)は第2図のシステムに使
用される伝送信号のタイムチャート、第4図は従来のマ
スタースレーブ方式の制御装置のシステムブロック図で
ある。 110・・・マスター制御部、111・・・送受信装置
、112・・・リセット信号作成回路、210・・・ス
レーブ制御部、211・・・制御回路、212゛・・・
受信装置、212”・・・送信装置、213・・・リセ
ット回路。 214・・・ダイオード。 特許出願人   富士電磯株式会社 代理人 弁理士 青山葆 外2名 第2図 第3図 日
FIG. 1 is a system block diagram showing one embodiment of a master-slave type vending machine control device of the present invention, ff
Figure 12 is a system block diagram of the control device related to the previous proposal, Figures 3 (A) and (B) are time charts of transmission signals used in the system of Figure 2, and Figure 4 is a diagram of the conventional master-slave system. FIG. 2 is a system block diagram of a control device of the system. DESCRIPTION OF SYMBOLS 110... Master control part, 111... Transmission/reception device, 112... Reset signal creation circuit, 210... Slave control part, 211... Control circuit, 212...
Receiving device, 212"... Transmitting device, 213... Reset circuit. 214... Diode. Patent applicant: Fuji Deniso Co., Ltd. agent Patent attorney: Hajime Aoyama and 2 others Figure 2 Figure 3 Date

Claims (1)

【特許請求の範囲】[Claims] (1)端末制御部である複数のスレーブ制御部と、伝送
ラインを介して前記スレーブ制御部を集中制御するマス
ター制御部とを具備するマスタースレーブ方式の自動販
売機において、各スレーブ制御部は、伝送ラインに制御
信号を送信する送信手段と、伝送ライン上の信号を受信
する受信手段と、前記送信手段から異常信号が出力され
ていないか否かをモニターするモニター手段と、前記モ
ニター手段により異常信号がモニターされたとき、該ス
レーブ制御部に対してリセットをかけるリセット手段と
を備えたことを特徴とするマスタースレーブ方式の自動
販売機の制御装置。
(1) In a master-slave vending machine that includes a plurality of slave control units that are terminal control units and a master control unit that centrally controls the slave control units via a transmission line, each slave control unit: a transmitting means for transmitting a control signal to the transmission line; a receiving means for receiving the signal on the transmission line; a monitoring means for monitoring whether or not an abnormal signal is output from the transmitting means; 1. A control device for a master-slave type vending machine, comprising a reset means for resetting the slave control section when a signal is monitored.
JP61240095A 1986-10-08 1986-10-08 Master-slave type vending machine controller Expired - Lifetime JPH0670822B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61240095A JPH0670822B2 (en) 1986-10-08 1986-10-08 Master-slave type vending machine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61240095A JPH0670822B2 (en) 1986-10-08 1986-10-08 Master-slave type vending machine controller

Publications (2)

Publication Number Publication Date
JPS6394394A true JPS6394394A (en) 1988-04-25
JPH0670822B2 JPH0670822B2 (en) 1994-09-07

Family

ID=17054415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61240095A Expired - Lifetime JPH0670822B2 (en) 1986-10-08 1986-10-08 Master-slave type vending machine controller

Country Status (1)

Country Link
JP (1) JPH0670822B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335393A (en) * 1989-06-30 1991-02-15 Toshiba Corp Automatic vending machine
JP2016082351A (en) * 2014-10-15 2016-05-16 三菱電機株式会社 Communication system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60215296A (en) * 1985-02-05 1985-10-28 三洋電機株式会社 Control of vending machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60215296A (en) * 1985-02-05 1985-10-28 三洋電機株式会社 Control of vending machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335393A (en) * 1989-06-30 1991-02-15 Toshiba Corp Automatic vending machine
JP2016082351A (en) * 2014-10-15 2016-05-16 三菱電機株式会社 Communication system

Also Published As

Publication number Publication date
JPH0670822B2 (en) 1994-09-07

Similar Documents

Publication Publication Date Title
CN100557582C (en) During message sink, stop system, the method and apparatus that sends
US4558316A (en) Electrical supervisory control and data acquisition system
JPH0137917B2 (en)
JPS6394394A (en) Controller for master slave type vending machine
JPS62226271A (en) Automatic switching device for pos loop
JPH02230838A (en) Method and equipment for communication of field sensor
JP3368970B2 (en) In-vehicle electronic device communication device
JPH0319996B2 (en)
JP3154538B2 (en) Data input / output device
JPH069071B2 (en) Fire alarm system repeater
JPH0625976B2 (en) Abnormality monitoring circuit for transmission unit for multidrop serial bus
JP2618890B2 (en) Abnormal transmission detection method
JPS6235697B2 (en)
JPS639691B2 (en)
JP2692576B2 (en) Multiple clock pulse monitor
JPS62171344A (en) Occupation prevention system for modem circuit
JPH0728295B2 (en) Command / response method data bus terminal device
JPH0480616B2 (en)
CA1074019A (en) Loop fault location and isolation
JPS61245740A (en) Time division multiplex transmission system
JPS6058518B2 (en) Automatic disconnection detection method for supervisory control transmission system
JPH05250195A (en) Health check control system of information processing system
JPS59122259A (en) Data gathering system
JPH0124397B2 (en)
JPS61172450A (en) Noise quantity detector