JPS6235697B2 - - Google Patents
Info
- Publication number
- JPS6235697B2 JPS6235697B2 JP57197261A JP19726182A JPS6235697B2 JP S6235697 B2 JPS6235697 B2 JP S6235697B2 JP 57197261 A JP57197261 A JP 57197261A JP 19726182 A JP19726182 A JP 19726182A JP S6235697 B2 JPS6235697 B2 JP S6235697B2
- Authority
- JP
- Japan
- Prior art keywords
- microcomputer
- slave
- main side
- reset
- terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Retry When Errors Occur (AREA)
Description
【発明の詳細な説明】
(イ) 発明の分野
本発明はマイクロコンピユータを並設したシス
テムにおけるリセツト方式に関する。DETAILED DESCRIPTION OF THE INVENTION (a) Field of the Invention The present invention relates to a reset method in a system in which microcomputers are arranged in parallel.
(ロ) 発明の背景
自動販売機等の機器のマイクロコンピユータに
よる制御を展開していくと、マイクロコンピユー
タ制御部からの入出力が非常に多くなり開発や品
質のウエイトがこの制御部に偏重するために、マ
イクロコンピユータを装着した基板の集積度が高
くなつて配線処理が面倒となるばかりか異常時に
故障箇所を検出するのに手間がかかる等の欠点が
ある。そこで機器の動作を統括して制御するメイ
ン側マイクロコンピユータに対し各機能ブロツク
毎にその端末に応じた処理を実行するスレーブ側
マイクロコンピユータを設けて構成する方法が有
効であり、しかも新たな機能アツプも図れる利点
がある。このときメイン側マイクロコンピユータ
はスレーブ側マイクロコンピユータに動作モード
を指定すると共に互いにデータの授受を行いなが
ら機器の動作を達成するが、何れかに異常を生じ
た場合いかに有効に複数個のマイクロコンピユー
タのシステムリセツトをかけるかが問題となる。
一般にかかるシステムリセツトはメイン側及びス
レーブ側の各マイクロコンピユータに異常検出手
段としてウオツチドツグタイマ回路を設け夫々異
常を生じると自己及びデータの授受を行う相手側
にリセツト信号を出力するためにシステムが高価
となつていた。(b) Background of the Invention As microcomputer control of equipment such as vending machines is developed, inputs and outputs from the microcomputer control section become extremely large, and the weight of development and quality is concentrated on this control section. Another drawback is that as the degree of integration of the board on which the microcomputer is mounted increases, wiring processing becomes troublesome, and it also takes time and effort to detect a failure location in the event of an abnormality. Therefore, an effective method is to configure a main microcomputer that centrally controls the operation of the device, and a slave microcomputer that executes processing appropriate for each functional block for each terminal. It also has the advantage of being able to At this time, the main side microcomputer specifies the operation mode to the slave side microcomputer and performs the operation of the equipment while exchanging data with each other.However, if an abnormality occurs in any one of the slave side microcomputers, how can the multiple microcomputers be effectively controlled? The question is whether to reset the system.
Generally, such a system reset is performed by installing a watchdog timer circuit as an abnormality detection means in each microcomputer on the main side and slave side, and when an abnormality occurs, the system outputs a reset signal to itself and the other side with which data is exchanged. was becoming expensive.
(ハ) 発明の目的
上記点より本発明は異常検出回路をメイン側の
マイクロコンピユータに設けるだけで効果的にシ
ステムリセツトが成し得るリセツト方式を提供す
るものである。(c) Object of the Invention In light of the above points, the present invention provides a reset system that can effectively reset the system simply by providing an abnormality detection circuit in the main microcomputer.
(ニ) 概要
システム全体を統括して制御するメイン側マイ
クロコンピユータと端末での処理を実行するスレ
ーブ側マイクロコンピユータとを備えて上記メイ
ン側の主導により互いの送受信用の信号線を介し
てデータを転送し合うシステムにして、上記メイ
ン側のプログラム暴走を検出する異常検出手段を
設けて且つ上記スレーブ側のリセツト端子を遅延
回路を介して上記メイン側の送信用の信号線に接
続して成り、上記メイン側がデータ転送モードを
指定したのに対し上記スレーブ側がデータ転送モ
ードとならないと、上記メイン側は送信用の信号
線に遅延回路の遅延時間より長い期間「L」の信
号を出力して上記スレーブ側をリセツトし、上記
メイン側は異常時に異常検出手段によりリセツト
され、リセツト解除後に送信用の信号線に遅延回
路の遅延時間より長い期間「L」の信号を出力し
て上記スレーブ側をリセツトする。(D) Overview The system is equipped with a main side microcomputer that centrally controls the entire system and a slave side microcomputer that executes processing at the terminal, and data is exchanged via signal lines for mutual transmission and reception under the initiative of the main side. The system is configured to transfer data to each other, is provided with abnormality detection means for detecting program runaway on the main side, and connects the reset terminal on the slave side to the transmission signal line on the main side via a delay circuit, If the main side specifies the data transfer mode, but the slave side does not enter the data transfer mode, the main side outputs an "L" signal to the transmission signal line for a period longer than the delay time of the delay circuit. The slave side is reset, and the main side is reset by the abnormality detection means when an abnormality occurs, and after the reset is released, the slave side is reset by outputting an "L" signal to the transmission signal line for a period longer than the delay time of the delay circuit. do.
(ホ) 発明の実施例
第1図は本発明に依る回路例を示し、1はメイ
ン側のマイクロコンピユータ(以下メイン側と略
称)、21…2oはスレーブ側のマイクロコンピユ
ータ(スレーブ側と略称)でありメイン側1と2
本の信号線で夫々接続されている。そして4は抵
抗R1及びコンデンサC1から成る積分回路で電源
Vccが供給され、コンパレータ5の(+)入力端
子は抵抗R1とコンデンサC1の接続点Aの電位が
抵抗R2,R3とにより分割されて印加され、コン
パレータ5の(−)入力端子は抵抗R4を介して
電源Vccが供給されるツエナーダイオード7によ
るツエナー電圧Vzが印加されている。またD1は
電源Vccの遮断時におけるコンデンサC1の放電用
ダイオードである。更にコンパレータ5の出力端
子はメイン側1のリセツト端子Rに接続され、メ
イン側1のポートP1には異常検出手段3が接続さ
れている。異常検出手段3は例えばウオツチドツ
クタイマ回路であり、メイン側1の出力ポートP1
よりプログラムの進行に伴い所定周期毎のパルス
が供給されなくなると「H」レベルの信号を接続
点Aに出力するものである。そして各スレーブ側
21…2oは受信端子RxDS及び送信端子TxDSを
メイン側1の送信端子TxDM1…TxDMo及び受信
端子RxDM1…RxDMoに接続されている。また各
スレーブ側21…2oのリセツト端子Rはメイン
側1よりの信号線に遅延回路8及び積分回路6を
通して接続されている。遅延回路8はインバータ
17と、+5Vの電源とアース間に直列接続される
抵抗R5及びコンデンサC2と、保護抵抗R6とダイ
オードD2とから構成されている。ダイオードD2
はインバータ17の出力が「H」となつたときに
コンデンサC2への充電を阻止するもので、これ
により遅延時定数は抵抗R5とコンデンサC2によ
つてのみ決まる。そして積分回路6はインバータ
18と、+5Vの電源とアース間に直列接続される
抵抗R7及びコンデンサC3とから構成されてい
る。(E) Embodiments of the Invention Figure 1 shows an example of a circuit according to the present invention, where 1 is a main side microcomputer (hereinafter referred to as the main side), 21 ... 2o is a slave side microcomputer (hereinafter referred to as the main side). (abbreviation) and main side 1 and 2
They are connected to each other by real signal lines. 4 is an integrating circuit consisting of a resistor R 1 and a capacitor C 1 and is supplied with a power supply V cc . A Zener voltage Vz is applied to the (-) input terminal of the comparator 5 by a Zener diode 7 to which the power supply Vcc is supplied via a resistor R4 . Further, D 1 is a diode for discharging the capacitor C 1 when the power supply V cc is cut off. Further, the output terminal of the comparator 5 is connected to the reset terminal R of the main side 1, and the abnormality detection means 3 is connected to the port P1 of the main side 1. The abnormality detection means 3 is, for example, a watchdog timer circuit, and the output port P 1 of the main side 1
As the program progresses, when pulses at predetermined intervals are no longer supplied, an "H" level signal is output to connection point A. Each slave side 2 1 ... 2 o has a reception terminal RxDS and a transmission terminal TxDS connected to a transmission terminal TxDM 1 ...TxDM o and a reception terminal RxDM 1 ...RxDM o of the main side 1. Further, the reset terminal R of each slave side 2 1 . . . 2 o is connected to the signal line from the main side 1 through a delay circuit 8 and an integration circuit 6. The delay circuit 8 is composed of an inverter 17, a resistor R5 and a capacitor C2 connected in series between a +5V power supply and ground, a protective resistor R6 , and a diode D2 . Diode D 2
is to prevent charging of the capacitor C2 when the output of the inverter 17 becomes "H", so that the delay time constant is determined only by the resistor R5 and the capacitor C2 . The integrating circuit 6 is composed of an inverter 18, a resistor R 7 and a capacitor C 3 connected in series between the +5V power supply and ground.
上記構成による動作を説明する。先ず電源投入
により電源電圧Vcc(本例では24V)は急峻に立
上り、メイン側1とスレーブ側21…2oには所
定の動作電圧VDDが供給されると共に、コンパレ
ータ5にも必要な動作電圧が供給され且つ夫々の
(−)入力端子にはツエナーダイオード7による
ツエナー電圧Vzが印加される。一方A点電位VA
はコンデンサC1及び抵抗R1との時定数により
徐々に上昇するためコンパレータ5は「L」レベ
ルの出力を生じて、メイン側1はリセツト端子R
が「L」のためにリセツトがかかつている。また
電源投入後、コンデンサC2は充電されてインバ
ータ18の出力側は「L」となつており、スレー
ブ側21…2oはリセツト端子Rが「L」のため
にリセツトがかかつている。しかしてA点電位V
Aの抵抗R2,R3による分割電圧がツエナー電圧V
zを越えるとコンパレータ5の出力が「H」とな
り、メイン側1はリセツトが解除されて入出力を
初期状態にセツトする。このとき送信端子
TxDM1…TxDMoは「H」となるために、インバ
ータ17の出力側が「L」となつてコンデンサ
C2が放電しインバータ18の出力側が「H」と
なる。したがつてコンデンサC3が充電されてス
レーブ側21…2oはリセツト端子Rが「H」と
なるためにリセツトが解除される。 The operation of the above configuration will be explained. First, when the power is turned on, the power supply voltage Vcc (24V in this example) rises sharply, and the main side 1 and slave side 21 ... 2o are supplied with the predetermined operating voltage VDD , and the comparator 5 is also supplied with the necessary operating voltage VDD. An operating voltage is supplied, and a Zener voltage Vz from a Zener diode 7 is applied to each (-) input terminal. On the other hand, the potential at point A V A
gradually increases due to the time constant of the capacitor C1 and the resistor R1 , so the comparator 5 produces an "L" level output, and the main side 1 is connected to the reset terminal R.
is being reset due to "L". Further, after the power is turned on, the capacitor C2 is charged and the output side of the inverter 18 becomes "L", and the slave sides 21 ... 2o are reset because the reset terminal R is "L". Therefore, the potential at point A is V
The voltage divided by the resistors R 2 and R 3 of A is the Zener voltage V
When z is exceeded, the output of the comparator 5 becomes "H", and the reset of the main side 1 is canceled and the input/output is set to the initial state. At this time, the transmit terminal
TxDM 1 ...TxDM o becomes "H", so the output side of inverter 17 becomes "L" and the capacitor
C2 is discharged and the output side of the inverter 18 becomes "H". Therefore, the capacitor C3 is charged and the reset terminal R of the slave side 21 ... 2o becomes "H", so that the reset is released.
そしてメイン側1及びスレーブ側21…2oは
各プログラムに沿つて動作し必要に応じてメイン
側1は何れかのスレーブ側21…2oと非同期式
にて11ビツトのシリアルデータを転送し合う。本
例ではメイン側1とスレーブ側21…2o間で1
ビツトのデータの転送所要時間は1/1200Sに設
定されており、したがつて1回のシリアルデータ
の転送には11/1200S必要とする。しかしてメイ
ン側1が何れかのスレーブ側21…2oに対して
データ転送モードを指定しても、スレーブ側21
…2oのプログラムが暴走しているとデータ転送
モードとならない。このような場合メイン側1は
異常発生のスレーブ側21…2oに対応する送信
端子TxDM1…TxDMoより遅延回路8に設定した
遅延時間20msを越える期間に亘つて「L」を出
力する。前述したように1回のデータ転送には
1/1200S必要とするが、20msを越える長期間に
亘つて送信端子TxDM1…TxDMoより信号が出力
されると、これは正常のデータ転送でないことが
遅延回路8にて検出される。即ちインバータ17
の出力側が「H」であるとコンデンサC2が充電
されるが、送信端子TxDM1…TxDMoより「L」
レベルの信号が20ms以上供給されるとインバー
タ18の入力側が「H」となる。したがつてイン
バータ18の出力側が「L」となるためにコンデ
ンサC3が放電し、スレーブ側21…2oはリセツ
ト端子Rが「L」となるためにリセツトがかか
る。その後メイン側1が送信端子TxDM1…
TxDMoを「H」にするとコンデンサC2が放電し
インバータ18の出力側が「H」となり、コンデ
ンサC3が充電されてスレーブ側21…2oはリセ
ツトが解除されてプログラムの初期番地より動作
を始める。 The main side 1 and slave sides 21 ... 2o operate according to each program, and the main side 1 asynchronously transfers 11-bit serial data to either slave side 21 ... 2o as necessary. We share each other. In this example, there is 1 between main side 1 and slave side 2 1 ...2 o .
The time required to transfer bit data is set to 1/1200S, so one serial data transfer requires 11/1200S. Therefore, even if the main side 1 specifies the data transfer mode for one of the slave sides 21 ... 2o , the slave side 21... 2o
...2 If the o program runs out of control, it will not enter data transfer mode. In such a case, the main side 1 outputs "L" from the transmission terminal TxDM 1 ...TxDM o corresponding to the slave side 2 1 ...2 o where the abnormality has occurred for a period exceeding the delay time of 20 ms set in the delay circuit 8. . As mentioned above, one data transfer requires 1/1200S, but if a signal is output from the transmission terminals TxDM 1 ...TxDM o for a long period of time exceeding 20ms, this means that this is not a normal data transfer. is detected by the delay circuit 8. That is, inverter 17
When the output side of is “H”, the capacitor C2 is charged, but the output side of the transmitting terminal TxDM 1 …TxDM o is “L”
When a level signal is supplied for 20 ms or more, the input side of the inverter 18 becomes "H". Therefore, since the output side of the inverter 18 becomes "L", the capacitor C3 is discharged, and the slave side 21 ... 2o is reset because the reset terminal R becomes "L". After that, the main side 1 connects the transmission terminal TxDM 1 ...
When TxDM o is set to "H", the capacitor C2 is discharged and the output side of the inverter 18 becomes "H", the capacitor C3 is charged, and the slave side 21 ... 2o is released from reset and operates from the initial address of the program. Start.
斯るスレーブ側21…2oの異常は、例えばメ
イン側1がデータ転送の準備を要求したにもかか
わらず応答が無いことで検出される。第2図はデ
ータ転送の一例を示す機能ブロツク図であり、本
例ではメイン側1より何れかのスレーブ側2へデ
ータを転送するものである。同図に於いてメイン
側1は、転送データを記憶し且つ転送モードで転
送準備信号RDY1を送信用端子TxDMを通し出力
する送信制御装置9と、転送データをシリアル変
換しクロツクパルス発生回路10よりのクロツク
パルスCL1に同期して出力するシフトレジスタ1
1と、受信用端子RxDMに接続されるタイマ装置
12とを備えている。またスレーブ側2は、受信
用端子RxDSへ導入される最初の「L」の信号で
セツトするフリツプフロツプ回路13と、フリツ
プフロツプ回路13のセツトにて一定期間応答信
号RDY2を送信用端子TxDSより出力するワンシ
ヨツト回路14、転送データをクロツクパルス発
生回路15よりのクロツクパルスCL2に同期して
サンプリングするサンプリング装置16とを備え
ている。第3図にメイン側送信用端子TxDMとス
レーブ側送信用端子TxDSのフオーマツトを示し
て動作を説明する。通常、各送受信用端子
TxDM・RxDS・TxDS・RxDMはマーク状態
「H」にあるが、転送モードで送信制御装置9は
送信用端子TxDMを「L」にして転送準備信号
RDY1を出力する。したがつてフリツプフロツプ
回路13が転送準備信号RDY1を検出してセツト
し、ワンシヨツト回路14は一定期間送信用端子
TxDSを「L」にして応答信号RDY2を出力す
る。一方送信制御装置9は転送データをシフトレ
ジスタ11にセツトしており、受信用端子RxDM
の「H」から「L」の立下りによりクロツクパル
ス発生回路10が動作し、クロツクパルスCL1に
同期してシフトレジスタ11はシフトして転送デ
ータを送信用端子TxDMより順次出力する。本例
では転送データは1ビツトのスタートビツト
「L」と8ビツトのデータキヤラクタと2ビツト
のストツプビツト「H」とから成り、そのためク
ロツクパルス発生回路10は11個のクロツクパル
スCL1を出力するよう構成されている。そしてサ
ンプリング装置16はフリツプフロツプ回路13
のセツトして動作するクロツクパルス発生回路1
5のクロツクパルスCL2に同期して転送データを
サンプリングし、11ビツトの転送データのサンプ
リングを終了するとフリツプフロツプ回路13を
リセツトしてデータ転送を終了する。しかしなが
らメイン側1が転送準備信号RDY1を出力したに
もかかわらずスレーブ側2より応答信号RDY2が
一定期間内に入力されないタイマ装置12は異常
検知信号を出力するものである。またメイン側1
がスレーブ側2からのデータ転送を指定したにも
かかわらずスレーブ側2より応答信号若しくはデ
ータ転送を示すコードデータが送信されない場合
にメイン側1はスレーブ側2の異常を判定する。 Such an abnormality on the slave side 21 ... 2o is detected when, for example, there is no response even though the main side 1 requests preparation for data transfer. FIG. 2 is a functional block diagram showing an example of data transfer. In this example, data is transferred from the main side 1 to one of the slave sides 2. In the figure, the main side 1 includes a transmission control device 9 that stores transfer data and outputs a transfer preparation signal RDY 1 through a transmission terminal TxDM in transfer mode, and a clock pulse generation circuit 10 that converts the transfer data into serial data. Shift register 1 outputs in synchronization with clock pulse CL 1 of
1, and a timer device 12 connected to the receiving terminal RxDM. In addition, the slave side 2 outputs a response signal RDY 2 from the transmission terminal TxDS for a certain period of time by setting the flip-flop circuit 13 which is set by the first "L" signal introduced to the reception terminal RxDS, and the flip-flop circuit 13. A one-shot circuit 14 and a sampling device 16 for sampling transfer data in synchronization with a clock pulse CL 2 from a clock pulse generating circuit 15 are provided. FIG. 3 shows the format of the main side transmission terminal TxDM and the slave side transmission terminal TxDS, and the operation will be explained. Normally, each transmitting/receiving terminal
TxDM/RxDS/TxDS/RxDM is in the mark state "H", but in the transfer mode, the transmission control device 9 sets the transmission terminal TxDM to "L" to signal transfer preparation.
Output RDY 1 . Therefore, the flip-flop circuit 13 detects and sets the transfer preparation signal RDY 1 , and the one-shot circuit 14 sets the transmission terminal for a certain period of time.
Set TxDS to "L" and output response signal RDY 2 . On the other hand, the transmission control device 9 sets the transfer data in the shift register 11, and the reception terminal RxDM
The clock pulse generating circuit 10 operates as the clock pulse CL1 falls from "H" to "L", and the shift register 11 shifts and sequentially outputs the transfer data from the transmission terminal TxDM in synchronization with the clock pulse CL1. In this example, the transfer data consists of a 1-bit start bit "L", an 8-bit data character, and a 2-bit stop bit "H", so the clock pulse generation circuit 10 is configured to output 11 clock pulses CL1 . has been done. The sampling device 16 is a flip-flop circuit 13.
Clock pulse generation circuit 1 that operates by setting
The transfer data is sampled in synchronization with the clock pulse CL2 of 5, and when the sampling of 11 bits of transfer data is completed, the flip-flop circuit 13 is reset and the data transfer is completed. However, when the response signal RDY 2 is not inputted from the slave side 2 within a certain period even though the main side 1 outputs the transfer preparation signal RDY 1 , the timer device 12 outputs an abnormality detection signal. Also main side 1
When the slave side 2 does not transmit a response signal or code data indicating data transfer even though the main side 1 specifies data transfer from the slave side 2, the main side 1 determines that the slave side 2 is abnormal.
またメイン側1自身に異常を生じるとウオツチ
ドツグタイマ回路3より一定期間「L」のリセツ
ト信号が生じ、A点電位VAの抵抗R2,R3による
分割電圧がツエナー電圧Vzを割るためにコンパ
レータ5は「L」を出力する。したがつて一定期
間メイン側1はリセツト状態となる。そしてリセ
ツトの解除後、メイン側1は入出力を初期状態に
セツトした後プログラムの初期番地より処理を開
始する。またメイン側1は処理の最初のフローで
送信端子TxDM1…TxDMoより上記期間に亘り
「L」を出力してスレーブ側21…2oを一旦リセ
ツトし、リセツト解除後スレーブ側21…2oは
プログラムの初期番地より処理を開始する。 Furthermore, if an abnormality occurs in the main side 1 itself, a reset signal of "L" is generated from the watchdog timer circuit 3 for a certain period of time, and the divided voltage of the A point potential V A by the resistors R 2 and R 3 increases the Zener voltage V z . In order to divide, the comparator 5 outputs "L". Therefore, the main side 1 is in a reset state for a certain period of time. After the reset is released, the main side 1 sets the input/output to the initial state, and then starts processing from the initial address of the program. In addition, in the first flow of processing, the main side 1 outputs "L" from the transmission terminals TxDM1 ... TxDMo for the above period to reset the slave sides 21 ... 2o once, and after the reset is released, the slave sides 21 ... 2 o starts processing from the initial address of the program.
(ヘ) 効果
本発明に依ると、メイン側マイクロコンピユー
タに対して各端末毎に複数のスレーブ側マイクロ
コンピユータを備えたシステムに於いて、リセツ
トもメイン側の主導にて達成するためにスレーブ
側に夫々異常検出手段が設ける必要がなくシステ
ムが安価となる。しかもデータ送信の信号線を利
用してメイン側はスレーブ側をリセツトするため
に特別なリセツト用の信号線を必要としない。(f) Effects According to the present invention, in a system including a plurality of slave microcomputers for each terminal with respect to a main microcomputer, the reset is also performed on the slave side in order to be achieved under the initiative of the main side. There is no need to provide each abnormality detection means, and the system becomes inexpensive. Moreover, since the main side uses the data transmission signal line to reset the slave side, no special reset signal line is required.
第1図は本発明に依る回路例を示す図、第2図
はメイン側よりスレーブ側へデータ転送する場合
の機能ブロツク図、第3図はメイン側よりスレー
ブ側へデータ転送する場合の各送信用端子TxDM
及びTxDSのフオーマツトを示す図である。
1…メイン側マイクロコンピユータ、21〜2
o…スレーブ側マイクロコンピユータ、3…異常
検出手段、8…遅延回路。
Figure 1 is a diagram showing an example of a circuit according to the present invention, Figure 2 is a functional block diagram when data is transferred from the main side to the slave side, and Figure 3 is a diagram showing each transmission when data is transferred from the main side to the slave side. Trust terminal TxDM
FIG. 3 is a diagram showing the format of TxDS and TxDS. 1... Main side microcomputer, 2 1 ~ 2
o ...Slave side microcomputer, 3...Abnormality detection means, 8...Delay circuit.
Claims (1)
イクロコンピユータと端末での処理を実行するス
レーブ側マイクロコンピユータとを備えて前記メ
イン側マイクロコンピユータの主導により互いの
送受信用の信号線を介してデータを転送し合うシ
ステムにして、前記メイン側マイクロコンピユー
タの異常を検出する異常検出手段を設けると共
に、前記メイン側マイクロコンピユータにはデー
タ転送モードの指定にもかかわらず前記スレーブ
側マイクロコンピユータがデータ転送モードにな
らないと該スレーブ側マイクロコンピユータを異
常と判定する機能を設け、該スレーブ側マイクロ
コンピユータのリセツト端子は遅延回路を介して
前記メイン側マイクロコンピユータの送信用の前
記信号線に接続して成り、前記メイン側マイクロ
コンピユータは前記スレーブ側マイクロコンピユ
ータの異常検出により送信用の前記信号線に前記
遅延回路の遅延時間より長い期間信号を出力して
前記スレーブ側マイクロコンピユータをリセツト
し、前記メイン側マイクロコンピユータは異常時
に前記異常検出手段によりリセツトされるリセツ
ト方式。1 Equipped with a main side microcomputer that centrally controls the entire system and a slave side microcomputer that executes processing at the terminal, data is transferred via signal lines for mutual transmission and reception under the initiative of the main side microcomputer. In addition to providing an abnormality detection means for detecting an abnormality in the main side microcomputer, the slave side microcomputer does not enter the data transfer mode even though a data transfer mode is specified for the main side microcomputer. A reset terminal of the slave microcomputer is connected to the signal line for transmission of the main microcomputer via a delay circuit. Upon detection of an abnormality in the slave microcomputer, the microcomputer resets the slave microcomputer by outputting a signal to the transmission signal line for a period longer than the delay time of the delay circuit, and the main microcomputer resets the slave microcomputer when the error occurs. A reset method that is reset by the abnormality detection means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57197261A JPS5987558A (en) | 1982-11-09 | 1982-11-09 | Resetting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57197261A JPS5987558A (en) | 1982-11-09 | 1982-11-09 | Resetting system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5987558A JPS5987558A (en) | 1984-05-21 |
| JPS6235697B2 true JPS6235697B2 (en) | 1987-08-03 |
Family
ID=16371518
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57197261A Granted JPS5987558A (en) | 1982-11-09 | 1982-11-09 | Resetting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5987558A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4967377A (en) * | 1981-12-10 | 1990-10-30 | Canon Kabushiki Kaisha | Control system using computers and having an initialization function |
| US4803682A (en) * | 1985-03-04 | 1989-02-07 | Sanyo Electric Co., Ltd. | Resetting system |
-
1982
- 1982-11-09 JP JP57197261A patent/JPS5987558A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5987558A (en) | 1984-05-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5644700A (en) | Method for operating redundant master I/O controllers | |
| JP2738106B2 (en) | Multiplex communication controller | |
| JPS62247436A (en) | Computer diagnosing system | |
| EP0194673B1 (en) | Multiplex transmission system | |
| US5021777A (en) | Mode-selectable communications system | |
| CA1279710C (en) | Monitoring device for monitoring the operating states of telecommunications transmission devices | |
| US4371926A (en) | Input/output information indication system | |
| JPS6235697B2 (en) | ||
| US4590924A (en) | Endoscope system | |
| JPH0448013B2 (en) | ||
| KR100306349B1 (en) | Data communication systems and devices for them | |
| JPH0319996B2 (en) | ||
| JPS5979326A (en) | Resetting system | |
| JP2752760B2 (en) | Power control method | |
| JP3057539B2 (en) | Communication emulator device | |
| JPS6135739B2 (en) | ||
| JPS6340079B2 (en) | ||
| CN109634906B (en) | IC communication system and method | |
| JP3252556B2 (en) | Communication device | |
| JPS6394394A (en) | Controller for master slave type vending machine | |
| JPH0124397B2 (en) | ||
| JP3051873B2 (en) | Data collision detection device | |
| KR100225043B1 (en) | Multiple serial communication method and serial communication device using interrupt | |
| JP2939666B2 (en) | Bus failure judgment method | |
| JP2614926B2 (en) | Power control system |