JPH06252984A - Data transmission terminal equipment - Google Patents

Data transmission terminal equipment

Info

Publication number
JPH06252984A
JPH06252984A JP5035974A JP3597493A JPH06252984A JP H06252984 A JPH06252984 A JP H06252984A JP 5035974 A JP5035974 A JP 5035974A JP 3597493 A JP3597493 A JP 3597493A JP H06252984 A JPH06252984 A JP H06252984A
Authority
JP
Japan
Prior art keywords
terminal equipment
capacitor
terminal device
text
reset
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.)
Pending
Application number
JP5035974A
Other languages
Japanese (ja)
Inventor
Sakae Sotodate
栄 外舘
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP5035974A priority Critical patent/JPH06252984A/en
Publication of JPH06252984A publication Critical patent/JPH06252984A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quickly execute a return operation of the terminal equipment by charging a capacitor by receiving a polling text, resetting the terminal equipment, when it becomes a prescribed potential, discharging the capacitor and reinitializing the terminal equipment. CONSTITUTION:A host equipment sends repeatedly a polling text to the terminal equipment, and continues to wait for an answer text from the terminal equipment. To a capacitor 5 of the terminal equipment which comes to be unable to execute transmission with respect to a received signal from the host equipment, charge is charged continuously and the potential rises, and in the end, when it becomes the charge potential exceeding a detection level, it is decided by a comparator 7 that the terminal equipment is executing a malfunction, a CPU 2a is reset, and also, a transistor 8 is turned on and discharge of the capacitor 5 is executed, the terminal equipment is reinitialized and the equipment is returned. That is, even in the case the terminal equipment is subjected to malfuction due to a disturbance, etc., an operation stop state of the terminal equipment is decided and reset is applied.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、上位機器からの指示に
よりデータを送る伝送機能を有する端末機器が誤動作し
た場合でも自己復帰できるようにしたデータ伝送端末機
器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission terminal device capable of self-recovering even when a terminal device having a transmission function for transmitting data according to an instruction from a host device malfunctions.

【0002】[0002]

【従来の技術】一例として、工場のFAシステムの構成
例を示す図4にあっては、上位機器1からの指示により
端末機器2にて工場設備の制御をしたり収集データを上
位機器1に送るというシステムが構築され得る。
2. Description of the Related Art As an example, in FIG. 4 showing an example of the configuration of a factory FA system, terminal equipment 2 controls factory equipment and collects data to upper equipment 1 according to instructions from higher equipment 1. A system of sending can be built.

【0003】かかるシステムにあっては、端末機器2が
外乱などにより動作停止状態に陥ると、工場の運用に重
大な支障をきたすので耐ノイズ対策を十分考慮する必要
がある。また、ソフトウェア暴走により上位機器1に対
して応答しないという状態に陥った場合にも、上記と同
様重大な支障をきたすため、ウォッチドックタイマを備
えてソフトウェア暴走時の復帰を行なうように手当てを
している。
In such a system, if the terminal device 2 is put into an operation stop state due to a disturbance or the like, it seriously hinders the operation of the factory, so it is necessary to sufficiently consider noise resistance measures. In addition, even if the software does not respond to the higher-level device 1 due to a runaway, it causes a serious trouble as described above. Therefore, a watchdog timer is provided so that recovery from a software runaway can be performed. ing.

【0004】[0004]

【発明が解決しようとする課題】ところが、現実には、
それでも図5に示す端末機器2内において、外乱等の影
響によりCPU2aが暴走したり伝送制御LSI2bが
ロックしてしまい、動作停止状態になることがある。
However, in reality, in reality,
Nevertheless, in the terminal device 2 shown in FIG. 5, the CPU 2a may run away or the transmission control LSI 2b may be locked due to the influence of disturbance or the like, and the operation may be stopped.

【0005】このような場合、例えば伝送制御LSI2
bがロックしたときは、CPU2a自体は正常であるた
めウォッチドックタイマは働かず、端末機器2の機能を
復帰させるためには、端末機器2の電源を入切してパワ
ーオンリセットをかけることになる。
In such a case, for example, the transmission control LSI 2
When b is locked, the watchdog timer does not operate because the CPU 2a itself is normal, and in order to restore the function of the terminal device 2, the power of the terminal device 2 is turned on / off to perform a power-on reset. Become.

【0006】そして、端末機器2の復帰には、その動作
停止のたびにサービスマンが出向いて対応しており、パ
ワーオンリセットのために係員が多大な労力を費すこと
となっていた。本発明は、上記の問題に鑑み係員の労力
なしに端末機器の動作停止を復帰させるデータ伝送端末
機器の提供を目的とする。
[0006] When the operation of the terminal device 2 is stopped, a serviceman goes out to deal with the operation of the terminal device 2 each time, and a person in charge must spend a lot of effort for the power-on reset. SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object thereof is to provide a data transmission terminal device that restores the operation stop of the terminal device without labor of an attendant.

【0007】[0007]

【課題を解決するための手段】上述の目的を達成する本
発明は、上位機器からのポーリングテキストにて通信機
能が起動される伝送機能を有するデータ伝送端末機器に
おいて、上記ポーリングテキストの受信にてコンデンサ
を充電させ応答テキストの送信及びリセット出力にて放
電するコンデンサ充放電回路を備え、上記コンデンサの
電位を一定値と比較し複数回のポーリングテキストによ
るコンデンサの電位上昇により上記リセット出力を得る
コンパレータを備え、このコンパレータの出力端子を端
末機器のリセット端子に接続したことを要旨とする。
Means for Solving the Problems The present invention which achieves the above-mentioned object is provided in a data transmission terminal device having a transmission function in which a communication function is activated by a polling text from a host device, by receiving the polling text. A comparator that has a capacitor charging / discharging circuit that charges the capacitor and sends a response text and discharges at the reset output, compares the potential of the capacitor with a fixed value, and obtains the reset output by raising the potential of the capacitor by multiple polling texts. The gist is that the output terminal of the comparator is connected to the reset terminal of the terminal device.

【0008】[0008]

【作用】上位機器と端末機器とのやりとりで、端末機器
が正常な場合には、図6に示すようにポーリングテキス
トと応答テキストとが対となって送受信が行なわれるの
であるが、端末機器が動作停止に陥ったときには、図7
に示すようにポーリングテキストのみの送信が繰返され
(リトライされ)、応答テキストの返送はできない。
When the terminal device is normal in the interaction between the host device and the terminal device, the polling text and the response text are paired for transmission and reception as shown in FIG. When the operation is stopped,
As shown in, the transmission of only the polling text is repeated (retryed), and the response text cannot be returned.

【0009】かかる点に着目して、ポーリングテキスト
の受信にてコンデンサを充電させ、一定電位となったと
き端末機器をリセットし、このリセットや正常時の応答
テキストの送信にてコンデンサを放電させるようにした
ことにより、端末機器を再初期化することができたの
で、端末機器の復帰動作がすばやくできる。
Paying attention to such a point, the capacitor is charged by receiving the polling text, the terminal device is reset when the potential becomes constant, and the capacitor is discharged by the reset or the transmission of the response text at the normal time. By doing so, the terminal device can be reinitialized, so that the recovery operation of the terminal device can be performed quickly.

【0010】[0010]

【実施例】ここで、図1〜図3を参照して本発明の実施
例を説明する。図1は端末機器の内部ブロックであり、
2aはCPU、2bは伝送制御LSIである。伝送制御
LSI2bは、受信ラインを介して受信部2cから接続
され、また送信ラインを介して送信部2dに接続されて
いる。
EXAMPLES Examples of the present invention will now be described with reference to FIGS. Figure 1 is an internal block of the terminal equipment,
2a is a CPU and 2b is a transmission control LSI. The transmission control LSI 2b is connected to the receiving unit 2c via a receiving line, and is also connected to the transmitting unit 2d via a transmitting line.

【0011】受信ラインからは、逆流防止用ダイオード
3、積分時定数を決定するための抵抗器4が順に接続さ
れ、ついで積分時定数を決定する接地コンデンサ5、ト
ランジスタ用バイアス抵抗器6、及びコンパレータ7の
−入力にそれぞれに分岐して接続されている。
A backflow prevention diode 3 and a resistor 4 for determining an integration time constant are sequentially connected from the reception line, and then a ground capacitor 5 for determining an integration time constant, a bias resistor 6 for a transistor, and a comparator. 7-inputs are respectively branched and connected.

【0012】この場合、バイアス抵抗器6を有するトラ
ンジスタ8は、そのエミッタを接地してオンにてコンデ
ンサ5内の充電電荷を放電させるためのものであり、ま
た、コンパレータ7はコンデンサ5の充電電位を検出レ
ベルと比較するためのものである。コンパレータ7の出
力端子は、OR回路を介してCPU2aのリセット端子
に接続されており、コンデンサ5の充電電位が検出レベ
ル以上になったときリセット信号が出力されるようにな
っている。
In this case, the transistor 8 having the bias resistor 6 is for discharging the charge stored in the capacitor 5 when the emitter is grounded and turned on, and the comparator 7 is connected to the charge potential of the capacitor 5. To compare with the detection level. The output terminal of the comparator 7 is connected to the reset terminal of the CPU 2a via the OR circuit, and a reset signal is output when the charging potential of the capacitor 5 becomes equal to or higher than the detection level.

【0013】コンパレータ7の出力端子は、更にトラン
ジスタ8のベースにもOR回路を介して接続されてお
り、コンデンサ5の充電電圧が検出レベル以上になって
リセット信号が出力されたときトランジスタ8をオンさ
せてコンデンサ5内の電荷を放電させるようになってい
る。
The output terminal of the comparator 7 is also connected to the base of the transistor 8 via an OR circuit, and the transistor 8 is turned on when the charging voltage of the capacitor 5 exceeds the detection level and a reset signal is output. By doing so, the electric charge in the capacitor 5 is discharged.

【0014】また、送信ラインからもOR回路を介して
トランジスタ8のベースに接続され、送信信号によって
トランジスタ8がオンされコンデンサ5内の電荷を放電
させる。
The transmission line is also connected to the base of the transistor 8 via the OR circuit, and the transmission signal turns on the transistor 8 to discharge the electric charge in the capacitor 5.

【0015】かかる回路にあって、上位機器からの受信
信号は、ダイオード3を介して抵抗器4とコンデンサ5
との時定数にて積分され、コンデンサ5には電荷の充電
が開始される。上位機器からの受信信号に対し端末機器
2が正常に動作し、伝送制御LSI2bより送信信号を
返信している場合には、トランジスタ8は送信ラインか
らの送信信号にてオンし、コンデンサ5に充電されてい
る電荷を放電する。この状態が図2(A)の状態であ
る。次に、外乱等の影響により端末機器が誤動作した場
合、端末機器は上位機器からのポーリングテキストに対
し応答テキストが返送できなくなる。
In such a circuit, the received signal from the host device is passed through the diode 3 and the resistor 4 and the capacitor 5
Are integrated by the time constants of and, and the capacitor 5 starts to be charged. When the terminal device 2 operates normally in response to the received signal from the host device and the transmission signal is returned from the transmission control LSI 2b, the transistor 8 is turned on by the transmission signal from the transmission line and the capacitor 5 is charged. Discharge the electric charge that is being stored. This state is the state shown in FIG. Next, when the terminal device malfunctions due to the influence of disturbance or the like, the terminal device cannot return the response text to the polling text from the host device.

【0016】このため、上位機器は端末機器に対して繰
返しポーリングテキストを送り、端末機器からの応答テ
キスト待ち続ける。上位機器からの受信信号に対して送
信できなくなった端末機器のコンデンサ5には、電荷が
図2(B)(C)(D)に示すように充電され続けて電
位が上昇し、ついにはコンパレータ7にて検出レベル以
上の充電電位となったとき端末機器が誤動作していると
判断され、CPU2aにリセットがかけられると共にト
ランジスタ8がオンされてコンデンサ5の放電が行なわ
れ、端末機器の再初期化が行なわれ機能を復帰させる。
なお、ダイオード3は、コンデンサ5の充電電位による
抵抗器4方向への電流をしゃ断するためのものである。
図3は、上位機器1を含めた全体の構成図であり、端末
機器20はOR回路等を省いた構成の他は図1と同様で
ある。
Therefore, the host device repeatedly sends the polling text to the terminal device and continues to wait for the response text from the terminal device. As shown in FIGS. 2B, 2C, 2D, and 2D, the capacitor 5 of the terminal device that cannot transmit the received signal from the host device continues to be charged, and the potential rises. When the charging potential exceeds the detection level in 7, it is determined that the terminal device is malfunctioning, the CPU 2a is reset, the transistor 8 is turned on, the capacitor 5 is discharged, and the terminal device is reinitialized. Is performed and the function is restored.
The diode 3 is for cutting off the current in the direction of the resistor 4 due to the charging potential of the capacitor 5.
FIG. 3 is an overall configuration diagram including the host device 1, and the terminal device 20 is similar to FIG. 1 except that the OR circuit and the like are omitted.

【0017】[0017]

【発明の効果】以上説明したように本発明によれば、外
乱等により端末機器が誤動作した場合でも、送受信のタ
イミングにて端末機器の動作停止状態が判断されてリセ
ットがかけられるため、復帰動作がすばやくかつ容易に
できる。
As described above, according to the present invention, even if the terminal device malfunctions due to disturbance or the like, the operation stop state of the terminal device is judged at the timing of transmission / reception and the terminal device is reset. Can be done quickly and easily.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】上位機器と端末機器の電文応答例、及びコンデ
ンサ充電状態を示す図である。
FIG. 2 is a diagram showing a message response example of a higher-level device and a terminal device, and a capacitor charging state.

【図3】全体を示すブロック図である。FIG. 3 is a block diagram showing the whole.

【図4】従来例のブロック図である。FIG. 4 is a block diagram of a conventional example.

【図5】端末機器の内部装置のブロック図である。FIG. 5 is a block diagram of an internal device of the terminal device.

【図6】正常時の電文応答例を示す図である。FIG. 6 is a diagram showing an example of a telegram response during normal operation.

【図7】異常時の電文応答例を示す図である。FIG. 7 is a diagram showing an example of a telegram response when an abnormality occurs.

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

1 上位機器 2 端末機器 2a CPU 2b 伝送制御LSI 5 コンデンサ 7 コンパレータ 8 トランジスタ 20 端末機器 1 Upper device 2 Terminal device 2a CPU 2b Transmission control LSI 5 Capacitor 7 Comparator 8 Transistor 20 Terminal device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 上位機器からのポーリングテキストにて
通信機能が起動される伝送機能を有するデータ伝送端末
機器において、 上記ポーリングテキストの受信にてコンデンサを充電さ
せ応答テキストの送信及びリセット出力にて放電するコ
ンデンサ充放電回路を備え、 上記コンデンサの電位を一定値と比較し複数回のポーリ
ングテキストによるコンデンサの電位上昇により上記リ
セット出力を得るコンパレータを備え、 このコンパレータの出力端子を端末機器のリセット端子
に接続した、 ことを特徴とするデータ伝送端末機器。
1. In a data transmission terminal device having a transmission function in which a communication function is activated by a polling text from a higher-level device, a capacitor is charged when the polling text is received and a response text is sent and a reset output is discharged. It is equipped with a capacitor charging / discharging circuit that compares the potential of the capacitor with a constant value and obtains the reset output by raising the potential of the capacitor by multiple polling texts.The output terminal of this comparator is used as the reset terminal of the terminal device. Connected, data transmission terminal equipment characterized by the following.
JP5035974A 1993-02-25 1993-02-25 Data transmission terminal equipment Pending JPH06252984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5035974A JPH06252984A (en) 1993-02-25 1993-02-25 Data transmission terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5035974A JPH06252984A (en) 1993-02-25 1993-02-25 Data transmission terminal equipment

Publications (1)

Publication Number Publication Date
JPH06252984A true JPH06252984A (en) 1994-09-09

Family

ID=12456888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5035974A Pending JPH06252984A (en) 1993-02-25 1993-02-25 Data transmission terminal equipment

Country Status (1)

Country Link
JP (1) JPH06252984A (en)

Similar Documents

Publication Publication Date Title
US5345583A (en) Method and apparatus for momentarily interrupting power to a microprocessor to clear a fault state
US4698582A (en) Power driver having short circuit protection
US7711970B2 (en) Bus controlled power switch
JPH09258821A (en) Device for monitoring microcomputer fault
US6134655A (en) Method and apparatus for initializing a microprocessor to insure fault-free operation
US5511161A (en) Method and apparatus to reset a microcomputer by resetting the power supply
US5894240A (en) Reset methods and apparatus for microcontrollers having bidirectional reset lines
JPH06252984A (en) Data transmission terminal equipment
JP2007041824A (en) Resetting circuit for electronic control unit
US6615146B1 (en) Failure detection of an isolation device with PFA signal generation in a redundant power supply system
JPH03232024A (en) Watchdog timer circuit
JP2768964B2 (en) Power supply unit parallel operation system
JP2010231490A (en) Circuit board for control of failure transfer signal output due to cpu reset
JP4126849B2 (en) Multi-CPU system monitoring method
KR102256459B1 (en) Electronic circuit breaker
JPH07239795A (en) Runaway preventing circuit for microprocessor
KR930001222Y1 (en) Circuit for inspecting communication
JPH08202589A (en) Information processor and fault diagnostic method
JPH04256038A (en) Watchdog timer inspecting device
JPH05108212A (en) Automatically resetting device
JP2614926B2 (en) Power control system
JPH066627Y2 (en) Malfunction prevention circuit for momentary power failure of the sensor
KR200153222Y1 (en) Auto reset circuit when misoperating of micom in car audio
KR0112449Y1 (en) Apparatus for terminal error
WO2000059088A1 (en) Power line protection devices and methods capable of preventing false fault reporting