JPH0426578B2 - - Google Patents

Info

Publication number
JPH0426578B2
JPH0426578B2 JP61287636A JP28763686A JPH0426578B2 JP H0426578 B2 JPH0426578 B2 JP H0426578B2 JP 61287636 A JP61287636 A JP 61287636A JP 28763686 A JP28763686 A JP 28763686A JP H0426578 B2 JPH0426578 B2 JP H0426578B2
Authority
JP
Japan
Prior art keywords
terminal device
character
signal
main device
monitoring timer
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 - Lifetime
Application number
JP61287636A
Other languages
Japanese (ja)
Other versions
JPS63141430A (en
Inventor
Toshiaki Asami
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61287636A priority Critical patent/JPS63141430A/en
Publication of JPS63141430A publication Critical patent/JPS63141430A/en
Publication of JPH0426578B2 publication Critical patent/JPH0426578B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 〔概要〕 主装置からポーリングされた端末装置に、この
端末装置から主装置への送信が終了したときおよ
び主装置からの各ワードの受信が終了したときに
それぞれ再起動される1つの監視タイマを設け、
このタイマが所定の時間を計時したときに異常の
発生を検出するようにした。
[Detailed Description of the Invention] [Summary] A terminal device polled from the main device is restarted when transmission from the terminal device to the main device is completed and when reception of each word from the main device is completed. one monitoring timer is provided,
The occurrence of an abnormality is detected when this timer measures a predetermined time.

〔産業上の利用分野〕[Industrial application field]

主装置からポーリングされる多数の端末装置を
備えるシステムにおいて、このシステムの端末装
置の異常を検出するための構成に関する。
The present invention relates to a configuration for detecting an abnormality in a terminal device in a system including a large number of terminal devices polled by a main device.

〔従来の技術〕[Conventional technology]

従来のこの種端末装置においては、この端末装
置から主装置に対して送信終了文字(例えば
“EOR”)を送出したときからこの送信に対する
主装置からの応答データの終了を示す終了文字
(例えば“EOR”)を受信するまでの時間を計時
する応答時間監視タイマと、主装置から受信した
各文字を検出するごとに再起動され受信した上記
終了文字を検出するまで計時する文字間監視タイ
マとを備えており、これらのタイマのいずれかが
オーバーフローすることによつて異常を検出して
いる。
In a conventional terminal device of this kind, from the time the terminal device sends a transmission end character (for example, “EOR”) to the main device, an end character (for example, “ A response time monitoring timer that measures the time until receiving the end character (EOR), and a character interval monitoring timer that is restarted each time it detects each character received from the main device and measures the time until it detects the received end character. An abnormality is detected when one of these timers overflows.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来の端末装置においては、上記
のような2つのタイマを設ける必要があり、しか
もこれらタイマのそれぞれについての起動・停
止・再起動の制御を行うことが必要であつた。
In the conventional terminal device as described above, it was necessary to provide two timers as described above, and it was also necessary to control starting, stopping, and restarting each of these timers.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理を示す図であつて、主装
置から文字を受信したことを検出する文字受信検
出手段2と、主装置に送信終了文字を送出したこ
とを検出する終了文字検出手段34と、これらの
検出手段2,3の検出出力の論理和をとる論理和
回路4と、再起動可能な監視タイマ5とを含む監
視手段1を端末装置に設けた。
FIG. 1 is a diagram illustrating the principle of the present invention, showing character reception detection means 2 for detecting that a character has been received from the main device, and end character detection means for detecting that a transmission end character has been sent to the main device. 34, an OR circuit 4 for calculating the logical sum of the detection outputs of these detection means 2 and 3, and a restartable monitoring timer 5.

〔作用〕[Effect]

第2図は本発明の原理を説明するためのタイム
チヤートであつて、a図は受信信号、b図は送信
信号、d図は第1図の監視タイマ5の計数値を示
すものである。
FIG. 2 is a time chart for explaining the principle of the present invention, in which figure a shows a received signal, figure b shows a transmitted signal, and figure d shows the counted value of the monitoring timer 5 of FIG.

端末装置が主装置から終了文字を含む文字Cを
受信すると、文字受信検出手段2は受信した文字
ごとにその検出信号を論理和回路4を介して監視
タイマ5に送り、このタイマを“0”に戻した後
直ちにクロツクの計数を開始させる再起動を行
い、文字を受信するたびにこれを繰り返す。また
この端末装置が送信終了の終了文字信号E、例え
ば“EOR”信号、を送出すると、終了文字検出
手段3はその検出信号を上記同様に論理和回路4
から監視タイマ5に送つて再起動を行う。
When the terminal device receives the character C including the end character from the main device, the character reception detection means 2 sends a detection signal for each received character to the monitoring timer 5 via the OR circuit 4, and sets this timer to "0". Immediately after returning to , restart the clock to start counting, and repeat this every time a character is received. Further, when this terminal device sends out an end character signal E indicating the end of transmission, for example, an "EOR" signal, the end character detection means 3 sends the detection signal to the OR circuit 4 in the same manner as described above.
from there to the monitoring timer 5 to restart it.

この結果、タイマ5の計数値はc図のようなに
なり、このタイマ5がオーバーフローすれば所定
の時間内に主装置からのポーリング信号あるいは
データ信号の受信およびこの端末装置からの送信
が行われなかつたことになり、このオーバーフロ
ー信号を異常信号として用いることにより異常を
検出することができる。
As a result, the count value of timer 5 becomes as shown in figure c, and if timer 5 overflows, the polling signal or data signal is received from the main device and transmitted from this terminal device within a predetermined time. By using this overflow signal as an abnormality signal, an abnormality can be detected.

〔実施例〕〔Example〕

第3図は本発明の実施例の動作を示すタイムチ
ヤートであり、主装置と多数の端末装置間の伝送
がポーリング・セレクテイング方式により行われ
る場合の1つの端末装置についての例を示すもの
で、主装置と端末装置間の伝送時間は無視してあ
る。
FIG. 3 is a time chart showing the operation of the embodiment of the present invention, and shows an example of one terminal device when transmission between the main device and a large number of terminal devices is performed by the polling/selecting method. , the transmission time between the main device and the terminal device is ignored.

同図において、a図は主装置に設けられる従来
技術におけると同様な監視タイマの計数値、b図
は当該端末装置が受信した主装置からの信号、c
図は当該端末装置から主装置に対して送出される
信号、d図はこの端末装置の監視タイマの計数値
をそれぞれ示すものであり、bおよびc図におい
ては既知の伝送制御文字が示されているが、
“EOR”は送信終了を示す文字、“ENQ”は応答
要求文字であり、“EOR”文字と“ENQ”文字
とによつて主装置からこの端末装置に対するポー
リングが行われるが、その他の伝送制御文字の機
能については既知であつてしかも本発明とは直接
関連しないのでその詳細な説明は省略する。な
お、この端末装置を主装置に接続するための選択
信号などは受信回路などにおいて既に除去されて
いるものとしてあることはいうまでもない。
In the same figure, figure a is the count value of a monitoring timer similar to that in the conventional technology provided in the main device, figure b is the signal from the main device received by the terminal device, and figure c is
The figure shows the signal sent from the terminal device to the main device, the figure d shows the counted value of the monitoring timer of this terminal device, and the known transmission control characters are shown in figures b and c. There are, but
“EOR” is a character indicating the end of transmission, “ENQ” is a response request character, and the “EOR” and “ENQ” characters cause the main device to poll this terminal device, but other transmission control Since the functions of characters are well known and are not directly related to the present invention, a detailed explanation thereof will be omitted. It goes without saying that the selection signal for connecting this terminal device to the main device has already been removed in the receiving circuit or the like.

主装置からa図に示すように“ENQ”信号お
よび“EOR”信号によつてこの端末装置にポー
リングが行われると、端末装置の監視タイマ5
(第1図)はこれら信号を検出した文字受信検出
手段2から論理和回路4を経た出力によつてそれ
ぞれ再起動され、このポーリングに応答してこの
端末装置から送出される応答信号の“EOR”信
号の送出を終了文字検出手段3が検出することに
よつて再起動されるまでその計数値を増加し、こ
の再起動によつて次に主装置から送られてくる信
号、この例ではデータの伝送開始を示す“STX”
信号、が到来するまで0からその計数値を増加さ
せる。
When the main device polls this terminal device using the “ENQ” signal and “EOR” signal as shown in Figure a, the monitoring timer 5 of the terminal device
(Fig. 1) is restarted by the output from the character reception detecting means 2 that has detected these signals via the OR circuit 4, and the "EOR" of the response signal sent from this terminal device in response to this polling. ``When the character detection means 3 detects the end of sending the signal, the count value is increased until the signal is restarted. “STX” indicates the start of transmission.
The count value is increased from 0 until the signal , arrives.

この“STX”信号に続いて主装置から伝送さ
れてくるデータ部分においては、各文字ごとに監
視タイマ5が再起動されるのでこのタイマの計数
値は0と1文字の伝送時間に対応する略一定の値
との間で推移し、この信号からの伝送の終了を示
す“EOR”信号を受信するとこの端末装置は主
装置に対して受信完了信号“ACK”を送出する
が、この信号の終了を示す“EOR”信号によつ
て監視タイマ5は再び再起動され、次に到来する
ポーリング信号の“ENQ”信号を受信するまで
その計数値を増加させる。
In the data part transmitted from the main unit following this "STX" signal, the monitoring timer 5 is restarted for each character, so the count value of this timer is an abbreviation that corresponds to the transmission time of 0 and 1 characters. When the terminal device receives an “EOR” signal indicating the end of transmission from this signal, it sends a reception completion signal “ACK” to the main device, but when the end of this signal The monitoring timer 5 is restarted again by the "EOR" signal indicating the polling signal, and increases its count value until it receives the "ENQ" signal of the next polling signal.

したがつて、この監視タイマ5の計数値は主装
置と当該端末装置との間での交信状況に応じた値
となり、交信が順調に行われない時にはその計数
値が予め定めた計数値、例えば監視タイマがオー
バーフローする値、に達するので、この予め定め
た値を監視タイマの計数値が超えたときに異常を
報知すればよい。
Therefore, the count value of the monitoring timer 5 will be a value depending on the communication status between the main device and the terminal device, and if the communication is not going smoothly, the count value will change to a predetermined count value, e.g. Since the monitoring timer reaches a value at which it overflows, an abnormality may be reported when the counted value of the monitoring timer exceeds this predetermined value.

この第3図には主装置の監視タイマの計数値を
a図に示してあり、この監視は主装置が端末装置
に対して終了文字を送出してから端末装置からの
応答の終了文字を受信するまでの時間を計時する
ことによつて端末装置に異常があるか否かを監視
するものであつて、この期間の主装置および端末
装置のそれぞれの監視タイマの計時値は同一にな
るのでこれらの値を端末装置から主装置に転送し
て比較することによつても異常を検出することが
できる。
In Fig. 3, the counted value of the monitoring timer of the main device is shown in Fig. a, and this monitoring is performed after the main device sends the end character to the terminal device and then receives the end character of the response from the terminal device. It monitors whether or not there is an abnormality in the terminal device by measuring the time until the main device and the terminal device do so. An abnormality can also be detected by transferring the values from the terminal device to the main device and comparing them.

〔発明の効果〕 本発明によれば、端末装置の監視タイマを1つ
設ければ足りるばかりでなく、この監視タイマの
制御として再起動のみで足りるので、2つの監視
タイマについて起動・停止・リセツトなどの制御
を行う従来技術に比して、構成・制御の両面にお
いて著しく簡単化させるという格別の効果を達成
することができる。
[Effects of the Invention] According to the present invention, not only is it sufficient to provide one monitoring timer for the terminal device, but also only restarting is sufficient to control this monitoring timer, so it is possible to start, stop, and reset two monitoring timers. Compared to conventional techniques that perform control such as the above, it is possible to achieve a special effect of significantly simplifying both the configuration and control.

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

第1図は本発明の原理を示す図、第2図は本発
明の原理を説明するタイムチヤート、第3図は本
発明の実施例の動作を説明するタイムチヤートで
ある。 1は端末装置、2は文字受信検出手段、3は終
了文字検出手段、4は論理和回路、5は監視タイ
マである。
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a time chart explaining the principle of the present invention, and FIG. 3 is a time chart explaining the operation of an embodiment of the present invention. 1 is a terminal device, 2 is a character reception detection means, 3 is an end character detection means, 4 is an OR circuit, and 5 is a monitoring timer.

Claims (1)

【特許請求の範囲】 1 主装置からポーリングされ、伝送終了時に終
了文字を主装置に伝送するようにしたシステムに
おける端末装置において、 該端末装置1は、主装置からの各文字を受信し
たことを検出する文字受信検出手段2と、この端
末装置から主装置へ終了文字を送出したことを検
出する終了文字検出手段3と、これら検出手段
2,3からの検出出力の論理和を得る論理和回路
4と、この論理和回路の出力によつて再起動され
る監視タイマ5とを備え、このタイマが所定の時
間を計時することによつて異常の発生を検出する
ようにしたことを特徴とする異常検出機能を有す
る端末装置。
[Scope of Claims] 1. In a terminal device in a system that is polled by the main device and transmits a termination character to the main device at the end of transmission, the terminal device 1 is capable of indicating that it has received each character from the main device. Character reception detection means 2 for detecting, end character detection means 3 for detecting that the end character has been sent from this terminal device to the main device, and an OR circuit for obtaining the logical sum of detection outputs from these detection means 2 and 3. 4 and a monitoring timer 5 that is restarted by the output of the OR circuit, and the timer detects the occurrence of an abnormality by measuring a predetermined time. A terminal device with an anomaly detection function.
JP61287636A 1986-12-04 1986-12-04 Terminal equipment having fault detecting function Granted JPS63141430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61287636A JPS63141430A (en) 1986-12-04 1986-12-04 Terminal equipment having fault detecting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61287636A JPS63141430A (en) 1986-12-04 1986-12-04 Terminal equipment having fault detecting function

Publications (2)

Publication Number Publication Date
JPS63141430A JPS63141430A (en) 1988-06-13
JPH0426578B2 true JPH0426578B2 (en) 1992-05-07

Family

ID=17719791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61287636A Granted JPS63141430A (en) 1986-12-04 1986-12-04 Terminal equipment having fault detecting function

Country Status (1)

Country Link
JP (1) JPS63141430A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5478607A (en) * 1977-12-05 1979-06-22 Omron Tateisi Electronics Co Data transmission system
JPS55121773A (en) * 1979-03-13 1980-09-19 Nec Corp Automatic circuit breaking device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5478607A (en) * 1977-12-05 1979-06-22 Omron Tateisi Electronics Co Data transmission system
JPS55121773A (en) * 1979-03-13 1980-09-19 Nec Corp Automatic circuit breaking device

Also Published As

Publication number Publication date
JPS63141430A (en) 1988-06-13

Similar Documents

Publication Publication Date Title
JPH0426578B2 (en)
JP2618890B2 (en) Abnormal transmission detection method
JP2003263404A (en) Serial communication system and microcomputer using the same
JP3392428B2 (en) ISDN data communication device
JPH0358217B2 (en)
JP2982013B2 (en) Communication control device
JP2541492B2 (en) Microprocessor remote reset method
JPH0338928A (en) H/w connection checking system for optical interface cable
JP2756304B2 (en) Communication control device
JP3436593B2 (en) Data communication device
JPH04157938A (en) Communication error check method in communication system
SU1113792A1 (en) Interface for linking computer with alphanumeric video display units
JP2584052B2 (en) Communication device
JPS645779B2 (en)
JPS6360945B2 (en)
JPH0153541B2 (en)
JP3516152B2 (en) Synchronization establishing device
JPH0413337A (en) Baud rate discrimination method for serial data
JPS62219141A (en) Mutual supervisory system in processor
JPS6379444A (en) Serial data receiver
JPS5941623B2 (en) Line monitoring method
JPH026464B2 (en)
JP2002135280A (en) Transmission system for digital protective relay system
JPH0818606A (en) Discontinuity detection method
JPH04336788A (en) Dtmf signal receiver