JP3080150B2 - General-purpose interface control device and general-purpose interface control method - Google Patents

General-purpose interface control device and general-purpose interface control method

Info

Publication number
JP3080150B2
JP3080150B2 JP09012315A JP1231597A JP3080150B2 JP 3080150 B2 JP3080150 B2 JP 3080150B2 JP 09012315 A JP09012315 A JP 09012315A JP 1231597 A JP1231597 A JP 1231597A JP 3080150 B2 JP3080150 B2 JP 3080150B2
Authority
JP
Japan
Prior art keywords
signal
general
abnormality
control
purpose interface
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
JP09012315A
Other languages
Japanese (ja)
Other versions
JPH10210110A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP09012315A priority Critical patent/JP3080150B2/en
Publication of JPH10210110A publication Critical patent/JPH10210110A/en
Application granted granted Critical
Publication of JP3080150B2 publication Critical patent/JP3080150B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Maintenance And Management Of Digital Transmission (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は,上位装置から制御
される汎用インタインタフェース制御装置に関し,特に
汎用インタフェース信号の出力(以下,ER信号のと呼
ぶ)の異常を検出する機能と,前記異常検出機能で検出
された異常状態を緊急に制御ソフトウエアに通知する緊
急通知機能並びにその異常原因探究を容易にする機能等
を含む汎用インタフェース制御装置及び汎用インタフェ
ース制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a general-purpose interface control device controlled by a higher-level device, and more particularly to a function of detecting an abnormality in the output of a general-purpose interface signal (hereinafter referred to as an ER signal) and the abnormality detection. The present invention relates to a general-purpose interface control device and a general-purpose interface control method including an emergency notification function of urgently notifying control software of an abnormal state detected by a function, a function of easily searching for the cause of the abnormality, and the like.

【0002】[0002]

【従来の技術】従来,この種の汎用インタフェース制御
装置は,例えば特開平1−23158号公報(以下,従
来技術1と呼ぶ)に示される様に,汎用インタフェース
内DR信号の異常検出をもって通信異常を検出する事を
目的に構成されている。
2. Description of the Related Art Conventionally, this kind of general-purpose interface control device has a communication abnormality by detecting an abnormality of a DR signal in a general-purpose interface as disclosed in, for example, Japanese Patent Application Laid-Open No. Hei 1-23158 (hereinafter referred to as Prior Art 1). It is configured for the purpose of detecting.

【0003】図5は,従来技術1による汎用インタフェ
ース制御装置を示すブロック図である。
FIG. 5 is a block diagram showing a general-purpose interface control device according to prior art 1.

【0004】図5において,通信制御アダプタ(汎用イ
ンタフェース制御装置)50は,プロセッサ51,通信
制御部52,データセットレディ(DR)検出部53,
及び他制御部54を備えている。プロセッサ51は,通
信制御部52を制御して通信処理を実行する。また,通
信制御部52は,プロセッサ51の制御によりデータ通
信を実行する。DR検出部53は,自アダプタのデータ
端末レディ(ER)信号がオンの間モデムからのデータ
セットレディ(DR)信号のオンを監視し,DR信号が
オフに成ったときプロセッサ51へ割り込み信号を発生
する。
In FIG. 5, a communication control adapter (general purpose interface control device) 50 includes a processor 51, a communication control unit 52, a data set ready (DR) detection unit 53,
And another control unit 54. The processor 51 controls the communication control unit 52 to execute a communication process. The communication control unit 52 executes data communication under the control of the processor 51. The DR detection unit 53 monitors the ON of the data set ready (DR) signal from the modem while the data terminal ready (ER) signal of its own adapter is ON, and sends an interrupt signal to the processor 51 when the DR signal is turned OFF. Occur.

【0005】次に,図5の汎用インタフェース制御装置
動作を説明する。図に示されないホスト計算機からの指
令(送信)を受けたプロセッサ51は,予め定めた手順
に従って,送信データの送信完了迄通信制御部52を制
御し続けるする。プロセッサ51から送信指令を受けた
通信制御部52は,モデムとのインタフェースを規定の
ルールに従って制御し,送信動作を制御する。この送信
指令実行の間(ER信号:オン)に,モデムからのDR
信号の異常を常にDR検出部53にて監視し,DR信号
の異常を検出した場合,プロセッサ51に割り込みを発
生する。この割り込みを受けたプロセッサ51は,定め
られたソフトウエア手順に基づき異常処理を実行してい
る。
Next, the operation of the general-purpose interface control device shown in FIG. 5 will be described. The processor 51 that has received the command (transmission) from the host computer (not shown) continues to control the communication control unit 52 until the transmission of the transmission data is completed according to a predetermined procedure. The communication control unit 52 that has received the transmission command from the processor 51 controls the interface with the modem according to a prescribed rule, and controls the transmission operation. During execution of this transmission command (ER signal: ON), the DR
A signal abnormality is constantly monitored by the DR detection unit 53, and when an abnormality of the DR signal is detected, an interrupt is generated in the processor 51. The processor 51 that has received this interrupt executes the abnormality processing based on the determined software procedure.

【0006】[0006]

【発明が解決しようとする課題】しかしながら,従来技
術1による汎用インタフェース制御装置では,自汎用イ
ンタフェースの主要出力信号(ER信号)の異常が検出
されないで通信を続け様としている為に,装置自体の信
頼性が低いという欠点を有した。
However, the general-purpose interface control device according to the prior art 1 attempts to continue communication without detecting an abnormality of the main output signal (ER signal) of the general-purpose interface. It had the disadvantage of low reliability.

【0007】また,汎用インタフェース制御装置の運用
中に汎用インタフェースヘの出力信号が何らかの要因で
異常が発生した場合,通信が中断されるが,汎用インタ
フェースへの出力信号の異常を検出し,原因究明対策が
設けられていない為に,この原因究明に多大の工数と多
くの機器及びシステム運用出来ないと言うような機会損
失が膨大に発生する事である。
If an output signal to the general-purpose interface becomes abnormal for some reason during operation of the general-purpose interface control device, the communication is interrupted. Since no countermeasures are provided, an enormous amount of opportunity loss occurs, such as the inability to operate many devices and systems to investigate the cause.

【0008】そこで,本発明の技術的課題は,汎用イン
タフェース制御装置運用中に,汎用インタフェースへの
出力信号(ER信号)に何らかの要因で異常が発生した
場合,この異常を直ちに検出する事により,信頼性の高
いシステムが得られる汎用インタフェース制御装置及び
汎用インタフェース制御方法を提供することにある。
Therefore, a technical problem of the present invention is that if an abnormality occurs in an output signal (ER signal) to a general-purpose interface for some reason during operation of a general-purpose interface control device, the abnormality is immediately detected. An object of the present invention is to provide a general-purpose interface control device and a general-purpose interface control method capable of obtaining a highly reliable system.

【0009】また,本発明の他の技術的課題は,ER信
号の異常が発生した場合,その要因調査を容易に(ER
信号異常の検出,ER信号異常表示保持,測定端子の設
置等)する事により保守性の高いシステムが得られる汎
用インタフェース制御装置及び汎用インタフェース制御
方法を提供することにある。
Another technical problem of the present invention is that when an abnormality occurs in the ER signal, the cause of the abnormality can be easily investigated (ER
An object of the present invention is to provide a general-purpose interface control device and a general-purpose interface control method that can obtain a system with high maintainability by detecting a signal abnormality, holding an ER signal abnormality display, and installing a measurement terminal.

【0010】[0010]

【課題を解決するための手段】本発明では,外部インタ
フェース用端子を複数個有し上位装置から制御され,装
置全体を制御する制御部と装置制御用ファームウエアを
格納する記憶部と,制御データを格納する記憶部と制御
部との指示に基づき複数の汎用インタフェースを制御す
る汎用インタフェース制御回路を有する汎用インタフェ
ース制御装置において,モデムからのデータセットレデ
ィを示すDR信号がオンの時,自汎用インタフェースの
制御信号内データ端末レディ信号であるER信号の出力
の異常を検出し異常情報を生成する検出手段と,前記異
常情報を保持する保持手段と,前記異常情報を元に装置
内ファームウエア又は上位装置内ソフトウエアからなる
制御ソフトウエアに緊急割り込みを行う事を含む緊急割
り込み制御部と,前記異常情報を元に異常状態を表示す
る異常表示手段と,前記異常情報を元に異常状態を示す
信号並びにER信号の現状を示す物理的な外部測定端子
を有し,前記制御部を制御するファームウエアの実行ア
ドレスをモニタ可能とするアドレスモニタ部とを備えて
いることを特徴としている。
According to the present invention, a control unit which has a plurality of external interface terminals, is controlled by a host device, controls the entire device, a storage unit for storing device control firmware, and control data. A general-purpose interface control device having a general-purpose interface control circuit for controlling a plurality of general-purpose interfaces based on instructions from a storage unit for storing data and a control unit, when a DR signal indicating a data set ready from a modem is on, the own general-purpose interface Detecting means for detecting an abnormality in the output of the ER signal, which is a data terminal ready signal in the control signal, and generating abnormality information; holding means for retaining the abnormality information; An emergency interrupt control unit that performs an emergency interrupt to control software consisting of in-device software; An abnormality display means for displaying an abnormal state based on the abnormal information; a signal indicating the abnormal state based on the abnormal information; and a physical external measurement terminal indicating the current state of the ER signal, and controls the control unit. And an address monitor unit which can monitor the execution address of the firmware.

【0011】ここで,本発明の汎用インタフェース制御
装置において,前記異常情報を元に異常状態を表示する
ER信号異常表示端子と,DR信号状態表示端子と,前
記制御部を制御するファームウエアの実行アドレスを採
取するアドレス採取端子とを有し,障害原因探究を短時
間にて実施可能となるように構成されていることが好ま
しい。
Here, in the general-purpose interface control device of the present invention, an ER signal abnormality display terminal for displaying an abnormality state based on the abnormality information, a DR signal state display terminal, and execution of firmware for controlling the control unit. It is preferable to have an address collection terminal for collecting an address, and to be able to investigate a failure cause in a short time.

【0012】また,本発明によれば,上位装置からの制
御に基づいて装置全体を制御することと,装置制御用フ
ァームウエアを格納することと,制御データを格納する
ことと,前記制御部の指示に基づき複数の汎用インタフ
ェースを制御することとを有する汎用インタフェース制
御方法において,モデムからのデータセットレディを示
すDR信号がオンの時,自汎用インタフェースの制御信
号内データ端末レディを示すER信号の出力の異常を検
出し,異常情報を生成することと,前記異常情報を保持
することと,前記異常情報を元に装置内ファームウエア
又は上位装置内ソフトウエアからなる制御ソフトウエア
に緊急割り込みを行うことと,前記異常情報を元に異常
状態を表示することと,前記異常情報を元に異常状態を
示す異常状態信号並びにER信号の現状を示す物理的な
外部測定端子を有し,前記制御部を制御するファームウ
エアの実行アドレスをモニタ可能とすることとを備えて
いることを特徴とする汎用インタフェース制御方法が得
られる。
According to the present invention, controlling the entire apparatus based on control from a higher-level apparatus, storing apparatus control firmware, storing control data, and controlling the control unit Controlling a plurality of general-purpose interfaces based on an instruction, wherein when a DR signal indicating a data set ready from a modem is on, an ER signal indicating a data terminal ready in a control signal of the general-purpose interface is provided. Detecting an output abnormality and generating abnormality information; retaining the abnormality information; and performing an emergency interrupt to control software including firmware in the apparatus or software in a higher-level apparatus based on the abnormality information. Displaying an abnormal state based on the abnormal information; and an abnormal state signal indicating the abnormal state based on the abnormal information. A physical external measurement terminal for indicating the current state of the ER signal, and enabling monitoring of an execution address of firmware for controlling the control unit. Can be

【0013】[0013]

【発明の実施の形態】以下,本発明の実施の形態につい
て図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図1は,本発明の実施の形態による汎用イ
ンタフェース制御装置の概略構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a schematic configuration of a general-purpose interface control device according to an embodiment of the present invention.

【0015】図1において,汎用インタフェース制御装
置は,制御部1と,ファームウエア記憶部2と,データ
記憶部3と,通信制御手段4と,ER信号異常検出手段
5と,緊急割り込み制御部6と,ER信号状態表示手段
7と,アドレスモニタ部8とを備えている。
In FIG. 1, a general-purpose interface control device includes a control unit 1, a firmware storage unit 2, a data storage unit 3, a communication control unit 4, an ER signal abnormality detection unit 5, and an emergency interrupt control unit 6. ER signal status display means 7 and an address monitor unit 8.

【0016】制御部1は,通信制御手段4を制御するこ
とにより,モデムとの通信を実現する機能を有してい
る。また,制御部1は割り込み制御をも実現出来る機能
を有している。
The control unit 1 has a function of controlling the communication control means 4 to realize communication with a modem. Further, the control unit 1 has a function capable of realizing interrupt control.

【0017】ファームウエア記憶部2は,汎用インタフ
ェース制御装置全体を制御するファームウエアを格納し
ており,このファームウエア記憶部2に格納されている
ファ一ムウエアは,制御部1から内部バス30を介して
必要部が読み出され制御部1にて実行される。
The firmware storage unit 2 stores firmware for controlling the whole of the general-purpose interface control device. The firmware stored in the firmware storage unit 2 controls the internal bus 30 from the control unit 1. Necessary parts are read out via the control unit 1 and executed.

【0018】データ記憶部3は,通信制御手段4並びに
汎用インタフェース制御装置全体の制御デー夕及びモデ
ムとの送受信データを格納する。これは,制御部1によ
り随時書き込み/読み出しが行われる。
The data storage unit 3 stores the control data of the communication control means 4 and the general-purpose interface control device as a whole and the data transmitted / received to / from the modem. In this case, writing / reading is performed by the control unit 1 as needed.

【0019】通信制御手段4は,制御部1からの指示に
基づき,モデムとのデータ転送の制御を行う。
The communication control means 4 controls data transfer with the modem based on an instruction from the control section 1.

【0020】ER信号異常検出手段5は,通信制御手段
4がモデムヘデータを転送する送信中に本汎用インタフ
ェ一ス制御装置の出力信号の内ER信号と,モデムから
送られてくるDR信号を受け,ER信号の異常を検出
し,緊急割り込み制御部6及びER信号状態表示手段7
にその検出した異常を通知する。
The ER signal abnormality detecting means 5 converts the ER signal out of the output signal of the general-purpose interface control device and the DR signal sent from the modem during the transmission of the data to the modem by the communication control means 4. The emergency interrupt control unit 6 and the ER signal status display means 7
To the detected abnormality.

【0021】緊急割り込み制御部6は,ER信号異常検
出手段5の検出結果を入力として,制御部1に対して緊
急割り込み信号を発生させる。
The emergency interrupt control unit 6 receives the detection result of the ER signal abnormality detecting means 5 and generates an emergency interrupt signal for the control unit 1.

【0022】ER信号状態表示手段7は,通信制御手段
4がモデムヘデータを転送する送信中に本汎用インタフ
ェ一ス制御装置の出力信号の内ER信号とER信号異常検
出手段5の検出結果を入力にし,それぞれの状態を表示
する機能を有する。
The ER signal status display means 7 displays the ER signal among the output signals of the general-purpose interface control device and the detection result of the ER signal abnormality detection means 5 during the transmission of the data to the modem by the communication control means 4. It has a function of inputting and displaying each status.

【0023】アドレスモニタ部8は,ER信号異常検出
手段5が異常を検出した場合,その原因調査の為,ファ
ームウエアの実行アドレスが測定器に接続出来る様考慮
されている。
When the ER signal abnormality detecting means 5 detects an abnormality, the address monitor unit 8 is designed so that the execution address of the firmware can be connected to the measuring instrument in order to investigate the cause.

【0024】次に,図1の汎用インタフェース制御装置
の動作について説明する。
Next, the operation of the general-purpose interface control device of FIG. 1 will be described.

【0025】図示しない上位装置から送信要求を受けた
制御部1は,通信制御手段4に対してモデムとの送信動
作の開始を指示する。以降,通信制御手段4と制御部1
とは,決められた手順に従って送信動作を送信データの
送信完了迄制御し続ける。通信制御手段4が送信動作を
実行中,ER信号異常検出手段5は,汎用インタフェー
スのER信号及びDR信号を入力し,DR信号がオンの
時に,ER信号がオフになるタイミング(異常)が発生
しないかをチェックし続ける。もし,DR信号がオンの
時にER信号がオフとなる異常が発生した場合,直ちに
異常を検出し,異常情報を生成して緊急割り込み制御部
6及びER信号の状態表示手段7に異常情報を通知す
る。通知を受けた緊急割り込み制御部6は,制御部1に
対して緊急割り込み信号を送信する。緊急割り込み信号
を受けた制御部1は,最優先にて,この異常処理を所定
の手順に従って処理し,以降の送信を打ち切ると共に,
その原因調査用にデータ記憶部3へ障害の詳細データを
格納し送信動作を終丁する。
The control unit 1 having received a transmission request from a higher-level device (not shown) instructs the communication control means 4 to start a transmission operation with a modem. Hereinafter, the communication control means 4 and the control unit 1
Means that the transmission operation is controlled in accordance with the determined procedure until the transmission of the transmission data is completed. While the communication control means 4 is executing the transmission operation, the ER signal abnormality detection means 5 inputs the ER signal and the DR signal of the general-purpose interface, and when the DR signal is on, the timing (abnormality) at which the ER signal turns off occurs. Keep checking if not. If an abnormality occurs in which the ER signal is turned off when the DR signal is on, the abnormality is immediately detected, abnormality information is generated, and the emergency information is notified to the emergency interrupt control unit 6 and the ER signal status display means 7. I do. The emergency interrupt controller 6 that has received the notification transmits an emergency interrupt signal to the controller 1. Upon receiving the emergency interrupt signal, the control unit 1 processes this abnormal process according to a predetermined procedure with the highest priority, terminates the subsequent transmission, and
The detailed data of the failure is stored in the data storage unit 3 for investigating the cause, and the transmission operation is terminated.

【0026】一方,ER信号の通知,即ち,異常情報の
通知を受けたER信号の状態表示手段7は,直ちにこの
異常状態が発生したことを記憶し,その状態を表示し続
ける。
On the other hand, the status display means 7 of the ER signal that has received the notification of the ER signal, that is, the notification of the abnormality information, immediately stores the occurrence of the abnormal state and continues to display the state.

【0027】この結果,ER信号の異常による通信障害
が直ちに検出され,必要な処置が実行出きる為,誤った
データによるシステムの混乱を防止できると言うシステ
ムの信頼性を向上させることが可能である。
As a result, a communication failure due to an abnormality in the ER signal is immediately detected, and necessary measures can be executed. Therefore, it is possible to improve the reliability of the system, which can prevent the system from being confused due to erroneous data. is there.

【0028】次に,図1の汎用インタフェース制御装置
の保守性の向上策について述べる。
Next, measures for improving maintainability of the general-purpose interface control device of FIG. 1 will be described.

【0029】汎用インタフェース信号内ER信号の異常
が何らかの理由にて発生する汎用インタフェース制御装
置の場合,以下の手順にて容易にその原因の探究が可能
となる。この障害装置に予め以下の様に必要な側定機器
を接続する。ここで,トリガポイントとしては,ER信
号の状態表示手段7からER信号異常検出信号を用い,
採取信号としてはER信号異常検出信号,汎用インタフェ
ースのER信号とDR信号そしてアドレスモニタ部8の
各信号である。
In the case of a general-purpose interface control device in which an abnormality of the ER signal in the general-purpose interface signal occurs for some reason, the cause can be easily investigated by the following procedure. The necessary equipment is connected to the faulty device in advance as follows. Here, as the trigger point, an ER signal abnormality detection signal from the ER signal state display means 7 is used.
The sampling signals include the ER signal abnormality detection signal, the ER signal and the DR signal of the general-purpose interface, and each signal of the address monitor unit 8.

【0030】これらの信号を接続し,ER信号の異常が
発生した場合,その直前に実行したファームウエアの実
行アドレスと汎用インタフェースのER/DR信号の状
態が判明し,制御ファームウエアのバグの場合そのアド
レスより直ちに不良ステップが判明し,ERが異常とな
る問題の解決が短時間で図られる。この結果,保守性の
高いシステムの提供が可能となる。
When these signals are connected and an error of the ER signal occurs, the execution address of the firmware executed immediately before the error and the state of the ER / DR signal of the general-purpose interface are determined. The defective step is immediately found from the address, and the problem that the ER becomes abnormal can be solved in a short time. As a result, a highly maintainable system can be provided.

【0031】次に図1の本発明の実施の形態による汎用
インターフェース制御装置について更に具体的に説明す
る。
Next, the general-purpose interface control device according to the embodiment of the present invention shown in FIG. 1 will be described more specifically.

【0032】図2は図1の汎用インターフェース制御装
置を具体的に示すブロック図であり,図3は図2のER
信号異常検出回路16の詳細図を,図4はER信号異常
検出回路16の正常時と異常時の動作比較を示すタイミ
ングチャートを示す図である。
FIG. 2 is a block diagram specifically showing the general-purpose interface control device of FIG. 1, and FIG. 3 is a block diagram of the ER of FIG.
FIG. 4 is a detailed diagram of the signal abnormality detection circuit 16, and FIG. 4 is a timing chart showing a comparison between the normal operation and the abnormal operation of the ER signal abnormality detection circuit 16.

【0033】図2において,制御部1は,図1の制御部
1と同様に,汎用インタフェース制御装置全体を制御す
る。ROM12は,図1のファームウエア記憶部2に対
応し,汎用インタフェース制御装置全体を制御するファ
ームウエアを格納している。
In FIG. 2, the control unit 1 controls the general-purpose interface control device as in the case of the control unit 1 in FIG. The ROM 12 corresponds to the firmware storage unit 2 in FIG. 1 and stores firmware for controlling the entire general-purpose interface control device.

【0034】ランダムアクセスメモリ(RAM)13
は,図1のデータ記憶部3に対応し,通信制御部4´並
びに汎用インタフェース制御装置全体の制御データ及び
モデムとの送受信データを格納する。このRAM13
は,制御部1により,随時書き込み/読み出しが行われ
る。
The random access memory (RAM) 13
Corresponds to the data storage unit 3 of FIG. 1 and stores control data of the communication control unit 4 'and the general-purpose interface control device as a whole, and data transmitted / received to / from the modem. This RAM 13
Is written / read at any time by the control unit 1.

【0035】通信制御部4´は,制御部1から制御線1
1を介して指示を受け,この指示に基づき,モデムとの
データ転送の制御を行う。また,通信制御部4´は,こ
の汎用インタフェース部15と制御線14を介して汎用
インタフェースの各信号の制御を行う。汎用インターフ
ェース制御回路は,通信制御部4´及び汎用インタフェ
ース部15を備え,図1の通信制御手段4に対応する。
The communication control unit 4 ′ is connected to the control line 1
1, and controls data transfer with the modem based on the instruction. Further, the communication control unit 4 ′ controls each signal of the general-purpose interface via the general-purpose interface unit 15 and the control line 14. The general-purpose interface control circuit includes a communication control unit 4 ′ and a general-purpose interface unit 15, and corresponds to the communication control unit 4 in FIG.

【0036】汎用インタフェース部15は,汎用インタ
フェースの各信号のドライバ及びレシーバで構成されて
いる。
The general-purpose interface unit 15 comprises a driver and a receiver for each signal of the general-purpose interface.

【0037】ER信号異常検出回路16は,図1のER
信号異常検出手段5に対応し,通信制御部4´が,モデ
ムヘデータを転送する送信中に本汎用インタフェース制
御装置の出力信号の内ER信号と,モデムから送られて
くるDR信号を受け,ER信号の異常を検出し,緊急割
り込み制御部6及びER信号異常保持レジスタ17及び
ER信号異常表示端子20にその検出した異常を制御線
18を介して通知する。
The ER signal abnormality detection circuit 16 is provided with the ER signal
Corresponding to the signal abnormality detection means 5, the communication control unit 4 'receives the ER signal of the output signal of the general-purpose interface control device and the DR signal transmitted from the modem during transmission for transferring data to the modem, An abnormality in the ER signal is detected, and the detected abnormality is notified to the emergency interrupt control unit 6, the ER signal abnormality holding register 17, and the ER signal abnormality display terminal 20 via the control line 18.

【0038】緊急割り込み制御部6は,ER信号異常検
出回路16の検出結果を入力として,制御部1に対して
緊急割り込み信号19発生させる。
The emergency interrupt control unit 6 receives the detection result of the ER signal abnormality detection circuit 16 and generates an emergency interrupt signal 19 for the control unit 1.

【0039】ER信号異常保持レジスタ17は,ER信
号異常検出回路16の検出結果を制御線18を介して入
力にし,その状態を保持する機能を有する。このレジス
タ17は,ER信号の異常が発生した事を保持するレジ
スタであり,制御部1から読み出し及びリセットが可能
である。
The ER signal abnormality holding register 17 has a function of inputting the detection result of the ER signal abnormality detection circuit 16 via the control line 18 and holding the state. This register 17 is a register that holds that an abnormality of the ER signal has occurred, and can be read out and reset from the control unit 1.

【0040】ER信号異常表示端子20は,制御線18
の状態を表示するである。ER信号の障害が発生した場
合,この端子からトリガ信号を得る事が出来る。
The ER signal abnormality display terminal 20 is connected to the control line 18
Is to display the state of. When a failure of the ER signal occurs, a trigger signal can be obtained from this terminal.

【0041】ER信号状態表示端子21は,通信制御部
4´が汎用インタフェース部15を制御する制御線14
の信号の内,ER信号のみを特別に表示する。
The ER signal status display terminal 21 is connected to the control line 14 for controlling the general-purpose interface unit 15 by the communication control unit 4 ′.
Of the signals, only the ER signal is specially displayed.

【0042】アドレス採取端子22は,ER信号異常検
出回路16が異常を検出した場合,その原因調査の為,
ファームウエアの実行アドレスを測定器に接続出来る様
考慮されている。
When the ER signal abnormality detection circuit 16 detects an abnormality, the address sampling terminal 22 is used to investigate the cause.
It is considered that the execution address of the firmware can be connected to the measuring instrument.

【0043】次に,図3及び図4を用いてER信号異常
検出回路16に関して詳細に説明する。
Next, the ER signal abnormality detection circuit 16 will be described in detail with reference to FIGS.

【0044】図3に示すように,ER信号異常検出回路
16は,ドライバ31及びフリップフロップ回路(F/
F)32から構成されている。
As shown in FIG. 3, the ER signal abnormality detection circuit 16 includes a driver 31 and a flip-flop circuit (F / F).
F) 32.

【0045】制御線14内のER信号はドライバ31に
入力され,同DR信号がオンの場合のみドライバ31の
ゲートが解放され,入力のER信号がF/F32に出力
される。
The ER signal in the control line 14 is input to the driver 31, the gate of the driver 31 is released only when the DR signal is on, and the input ER signal is output to the F / F32.

【0046】F/F32は,ER信号のオンからオフへ
の変化を検出し,異常情報としてER信号異常処理信号
をオンにセットし,この状態を保持し続ける。
The F / F 32 detects the change of the ER signal from ON to OFF, sets the ER signal abnormality processing signal to ON as abnormality information, and keeps this state.

【0047】図4は,図2の汎用インターフェース制御
装置の正常時と異常時の動作比較を示すタイムチャート
図であり,図4(a)は正常時のタイムチャートを示
し,はER信号,はDR信号で,異常がない為に,
のER信号異常処理信号はオフのままである。同図
(b)はのER信号に異常が発生した場合のタイムチ
ャートを示し,ER信号異常処理信号はオンに成り,
制御線18を介して緊急割り込み制御部6及びER信号
異常保持レジスタ17,ER信号異常表示端子20へ伝
達される。
FIG. 4 is a time chart showing a comparison between the normal operation and the abnormal operation of the general-purpose interface control device of FIG. 2. FIG. 4 (a) shows a time chart of the normal operation. Because there is no abnormality in the DR signal,
ER signal abnormality processing signal remains off. FIG. 11B is a time chart when an abnormality occurs in the ER signal, and the ER signal abnormality processing signal is turned on.
The signals are transmitted to the emergency interrupt control unit 6, the ER signal abnormality holding register 17, and the ER signal abnormality display terminal 20 via the control line 18.

【0048】次に,図2の汎用インターフェース制御装
置の動作について説明する。
Next, the operation of the general-purpose interface control device of FIG. 2 will be described.

【0049】上位装置から送信要求を受けた制御部1
は,通信制御部4´に対してモデムとの送信動作の開始
を指示する。以降通信制御部4´と制御部1とは決めら
れた手順に従って送信動作を送信データの送信完了迄制
御し続ける。通信制御部4´が送信動作を実行中,ER
信号異常検出回路16は,汎用インタフェースの制御信
号の内ER信号及びモデムから受信したDR信号を入力
し,このDR信号がオンの時にER信号がオフになるタ
イミング(異常)が発生しないかを図3に示す回路にて
チェックし続ける。
Control unit 1 receiving a transmission request from a host device
Instructs the communication control unit 4 'to start the transmission operation with the modem. Thereafter, the communication control unit 4 'and the control unit 1 continue to control the transmission operation according to the determined procedure until the transmission of the transmission data is completed. While the communication control unit 4 'is performing the transmission operation,
The signal abnormality detection circuit 16 inputs the ER signal among the control signals of the general-purpose interface and the DR signal received from the modem, and checks whether the timing (abnormality) at which the ER signal is turned off when the DR signal is on is generated. Continue to check in the circuit shown in 3.

【0050】もし,DR信号がオンの時にER信号がオ
フとなるような異常が発生した場合,直ちに異常を検出
し,制御線18を介して緊急割り込み制御部6及びER
信号異常保持レジスタ17,更にER信号異常表示端子
20に通知する。通知を受けた緊急割り込み制御部6
は,制御部1に対して制御線19を介して緊急割り込み
信号を送信する。緊急割り込み信号を受けた制御部1
は,最優先にてこの異常処理を所定の手順に従って処理
し,以降の送信を打ち切ると共に,その原因調査用にR
AM13へ障害の詳細データを格納し送信動作を終了す
る。
If an abnormality occurs such that the ER signal is turned off when the DR signal is turned on, the abnormality is immediately detected, and the emergency interrupt control unit 6 and the ER are controlled via the control line 18.
The signal abnormality holding register 17 and the ER signal abnormality display terminal 20 are notified. Emergency interrupt control unit 6 that has been notified
Transmits an emergency interrupt signal to the control unit 1 via the control line 19. Control unit 1 that receives emergency interrupt signal
Processes this abnormal processing with the highest priority according to a predetermined procedure, terminates subsequent transmissions, and uses R
The detailed data of the failure is stored in the AM 13 and the transmission operation ends.

【0051】一方,ER信号の異常の通知を受けたER
信号異常保持レジスタ17は,直ちにこの異常状態が発
生したことを記憶し,その状態を表示し続ける。
On the other hand, the ER receiving the notification of the abnormality of the ER signal
The signal abnormality holding register 17 immediately stores that this abnormal state has occurred, and continues to display the state.

【0052】この結果,ER信号の異常による通信障害
が直ちに検出され,必要な処置が実行出きる為,誤った
データによるシステムの混乱を防止できると言うシステ
ムの信頼性を向上させることが可能である。
As a result, a communication failure due to an abnormality in the ER signal is immediately detected, and necessary measures can be taken. Therefore, it is possible to improve the reliability of the system, which can prevent the confusion of the system due to erroneous data. is there.

【0053】次に,保守性の向上策について述べる。Next, measures for improving maintainability will be described.

【0054】汎用インタフェース信号内ER信号の異常
が何らかの理由にて発生する汎用インタフェース制御装
置の場合,以下の手順にて容易にその原因の探究が可能
となる。
In the case of a general-purpose interface control device in which an abnormality of the ER signal in the general-purpose interface signal occurs for some reason, the cause can be easily investigated by the following procedure.

【0055】この障害装置に予め以下の様に必要な測定
機器を接続する。トリガポイントとしては,ER信号異
常表示端子20を用い,ER信号の異常を認識するよう
に接続する。採取信号としては,ER信号異常表示端子
20,汎用インタフェースのER信号状態表示端子21
とDR信号状態表示端子23,そしてアドレス採取端子
22の各信号である。
The necessary measuring instruments are connected in advance to the obstacle device as follows. As a trigger point, an ER signal abnormality display terminal 20 is used and connected so as to recognize an abnormality of the ER signal. The sampling signal includes an ER signal abnormality display terminal 20, an ER signal status display terminal 21 of a general-purpose interface, and the like.
, DR signal status display terminal 23, and address collection terminal 22.

【0056】これらの信号を接続し,ER信号の異常が
発生した場合,その直前に実行したファームウエアの実
行アドレスと汎用インタフェースのER/DR信号の状
態が判明し,制御ファームウエアのバグの場合そのアド
レスより直ちに不良ステップが判明し,ERが異常とな
る問題の解決が短時間で図られる。この結果,保守性の
高いシステムの提供が可能と成る。
When these signals are connected and an error occurs in the ER signal, the execution address of the firmware executed immediately before the signal and the state of the ER / DR signal of the general-purpose interface are determined. The defective step is immediately found from the address, and the problem that the ER becomes abnormal can be solved in a short time. As a result, a highly maintainable system can be provided.

【0057】[0057]

【発明の効果】以上説明したように,本発明によれば,
汎用インタフェースの出力信号(ER信号)の異常が発
生した場合,直ちにこれを検出し,制御部に緊急割り込
みを行う為,信頼性の高いシステムが得られる汎用イン
タフェース制御装置及び汎用インタフェース制御方法を
提供することができる。
As described above, according to the present invention,
If an abnormality occurs in the output signal (ER signal) of the general-purpose interface, it is immediately detected and an emergency interrupt is issued to the control unit. Therefore, a general-purpose interface control device and a general-purpose interface control method that can obtain a highly reliable system are provided. can do.

【0058】また,本発明によれば,ER信号の異常を
検出し,その異常を保持し,異常確認用端子を設けた
為,保守性の高いシステムが得られる汎用インタフェー
ス制御装置及び汎用インタフェース制御方法を提供する
ことができる。
Further, according to the present invention, since the abnormality of the ER signal is detected, the abnormality is retained, and an abnormality confirmation terminal is provided, a general-purpose interface control device and a general-purpose interface control which can obtain a system with high maintainability can be obtained. A method can be provided.

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

【図1】本発明の実施の形態による汎用インタフェース
制御装置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a general-purpose interface control device according to an embodiment of the present invention.

【図2】図1の汎用インタフェース制御装置の詳細な構
成を示すブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of the general-purpose interface control device of FIG. 1;

【図3】図2のER異常検出回路の詳細を示す図であ
る。
FIG. 3 is a diagram illustrating details of an ER abnormality detection circuit in FIG. 2;

【図4】図2の汎用インタフェース制御装置の正常時と
異常時の動作比較を示すタイミングチャート図である。
FIG. 4 is a timing chart showing a comparison between the normal operation and the abnormal operation of the general-purpose interface control device of FIG. 2;

【図5】従来技術による汎用インタフェース制御装置を
示すブロック図である。
FIG. 5 is a block diagram showing a general-purpose interface control device according to the related art.

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

1 制御部 2 ファームウエア記憶部 3 データ記憶部 4 通信制御手段 4´ 通信制御部 5 ER信号異常検出手段 6 緊急割り込み制御部 7 ER信号状態表示手段 8 アドレスモニタ部 11,14,18,19,24 制御線 12 ROM 13 RAM 15 汎用インタフェース部 16 ER信号異常検出回路 17 ER信号異常保持レジスタ 20 ER信号異常表示端子 21 ER信号状態表示端子 22 アドレス採取端子 23 DR信号状態表示端子 30 内部バス 31 ドライバ 32 フリップフロップ回路(F/F) 50 通信制御アダプタ(汎用インタフェース制御装
置) 51 プロセッサ 52 通信制御部 53 DR検出部 54 他制御部
DESCRIPTION OF SYMBOLS 1 Control part 2 Firmware storage part 3 Data storage part 4 Communication control means 4 'Communication control part 5 ER signal abnormality detection means 6 Emergency interrupt control part 7 ER signal state display means 8 Address monitor parts 11, 14, 18, 19, 24 control line 12 ROM 13 RAM 15 general-purpose interface section 16 ER signal abnormality detection circuit 17 ER signal abnormality holding register 20 ER signal abnormality display terminal 21 ER signal state display terminal 22 address sampling terminal 23 DR signal state display terminal 30 internal bus 31 driver 32 Flip-flop circuit (F / F) 50 Communication control adapter (general purpose interface control device) 51 Processor 52 Communication control unit 53 DR detection unit 54 Other control unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 29/14 H04L 29/10 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 29/14 H04L 29/10

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部インタフェース用端子を複数個有し
上位装置から制御され,装置全体を制御する制御部と,
装置制御用ファームウエアを格納するファームウエア記
憶部と,制御データを格納する制御データ記憶部と,前
記制御部の指示に基づき複数の汎用インタフェースを制
御する汎用インタフェース制御回路とを有する汎用イン
タフェース制御装置において,モデムからのデータセッ
トレディを示すDR信号がオンの時,自汎用インタフェ
ースの制御信号内データ端末レディを示すER信号の出
力の異常を検出し,異常情報を生成する検出手段と,前
記異常情報を保持する保持手段と,前記異常情報を元に
装置内ファームウエア又は上位装置内ソフトウエアから
なる制御ソフトウエアに緊急割り込みを行うことを含む
緊急割り込み制御部と,前記異常情報を元に異常状態を
表示する異常表示手段と,前記異常情報を元に異常状態
を示す異常状態信号並びにER信号の現状を示す物理的
な外部測定端子を有し,前記制御部を制御するファーム
ウエアの実行アドレスをモニタ可能とするアドレスモニ
タ部とを備えていることを特徴とする汎用インタフェー
ス制御装置。
A control unit that has a plurality of external interface terminals, is controlled by a host device, and controls the entire device;
A general-purpose interface control device having a firmware storage unit for storing device control firmware, a control data storage unit for storing control data, and a general-purpose interface control circuit for controlling a plurality of general-purpose interfaces based on instructions from the control unit Detecting means for detecting an abnormality in the output of an ER signal indicating a data terminal ready in a control signal of its own general-purpose interface and generating abnormality information when a DR signal indicating a data set ready from a modem is on, Holding means for holding information, an emergency interrupt control unit including an emergency interrupt to control software comprising internal firmware or software in a higher-level device based on the abnormal information, and an abnormal interrupt control unit based on the abnormal information. An abnormality display means for displaying the state; and an abnormal state signal indicating the abnormal state based on the abnormality information. A general-purpose interface control device comprising: a physical external measurement terminal for indicating the current state of an ER signal; and an address monitor unit capable of monitoring an execution address of firmware for controlling the control unit. .
【請求項2】 請求項1記載の汎用インタフェース制御
装置において,前記異常情報を元に異常状態を表示する
ER信号異常表示端子と,DR信号状態表示端子と,前
記制御部を制御するファームウエアの実行アドレスを採
取するアドレス採取端子とを有し,障害原因探究を短時
間にて実施可能となるように構成したことを特徴とする
汎用インタフェース制御装置。
2. The general-purpose interface control device according to claim 1, wherein an ER signal abnormality display terminal for displaying an abnormal state based on the abnormality information, a DR signal state display terminal, and firmware for controlling the control unit. A general-purpose interface control device having an address collection terminal for collecting an execution address, and configured so that a cause of a failure can be investigated in a short time.
【請求項3】 上位装置からの制御に基づいて装置全体
を制御することと,装置制御用ファームウエアを格納す
ることと,制御データを格納することと,前記制御部の
指示に基づき複数の汎用インタフェースを制御すること
とを有する汎用インタフェース制御方法において,モデ
ムからのデータセットレディを示すDR信号がオンの
時,自汎用インタフェースの制御信号内データ端末レデ
ィを示すER信号の出力の異常を検出し,異常情報を生
成することと,前記異常情報を保持することと,前記異
常情報を元に装置内ファームウエア又は上位装置内ソフ
トウエアからなる制御ソフトウエアに緊急割り込みを行
うことと,前記異常情報を元に異常状態を表示すること
と,前記異常情報を元に異常状態を示す異常状態信号並
びにER信号の現状を示す物理的な外部測定端子を有
し,前記制御部を制御するファームウエアの実行アドレ
スをモニタ可能とすることとを備えていることを特徴と
する汎用インタフェース制御方法。
3. Controlling the entire apparatus based on control from a higher-level apparatus, storing apparatus control firmware, storing control data, and controlling a plurality of general-purpose apparatuses based on instructions from the control unit. Controlling the interface, wherein when the DR signal indicating the data set ready from the modem is ON, the abnormality of the output of the ER signal indicating the data terminal ready in the control signal of the own general-purpose interface is detected. Generating abnormality information, retaining the abnormality information, performing an emergency interrupt to control software composed of firmware in the device or software in a higher-level device based on the abnormality information, And displaying the abnormal state signal indicating the abnormal state and the current state of the ER signal based on the abnormal information. A physical external measurement terminal as shown in the figure, and capable of monitoring an execution address of firmware for controlling the control unit.
JP09012315A 1997-01-27 1997-01-27 General-purpose interface control device and general-purpose interface control method Expired - Fee Related JP3080150B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09012315A JP3080150B2 (en) 1997-01-27 1997-01-27 General-purpose interface control device and general-purpose interface control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09012315A JP3080150B2 (en) 1997-01-27 1997-01-27 General-purpose interface control device and general-purpose interface control method

Publications (2)

Publication Number Publication Date
JPH10210110A JPH10210110A (en) 1998-08-07
JP3080150B2 true JP3080150B2 (en) 2000-08-21

Family

ID=11801891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09012315A Expired - Fee Related JP3080150B2 (en) 1997-01-27 1997-01-27 General-purpose interface control device and general-purpose interface control method

Country Status (1)

Country Link
JP (1) JP3080150B2 (en)

Also Published As

Publication number Publication date
JPH10210110A (en) 1998-08-07

Similar Documents

Publication Publication Date Title
JP3080150B2 (en) General-purpose interface control device and general-purpose interface control method
US11726853B2 (en) Electronic control device
JP3127941B2 (en) Redundant device
JPH08278924A (en) Adapter diagnostic system
JPH10228395A (en) Abnormality diagnostic device for controller
JPH11120154A (en) Device and method for access control in computer system
JPH04245309A (en) Digital controller for control
JPH09160840A (en) Bus communication device
JP3424916B2 (en) General-purpose interface control device and general-purpose interface control method
JP2908135B2 (en) Microprocessor failure detection device
JPS5918741B2 (en) Automatic diagnosis method
JP3216272B2 (en) Distributed control device
JPH03253945A (en) Abnormality recovery processing function confirming system for data processing system
JP2778691B2 (en) Bus monitoring circuit
JPH07302208A (en) Protective relay device
JP2578186B2 (en) Diagnosis method of failure detection circuit
CN118550782A (en) Register fault simulation method, device, equipment and medium
JPH0772909A (en) Supporting device for programmable controller
JPH113295A (en) Data transmitter-receiver
JP2000354037A (en) Method for testing exchange system
JPH02139650A (en) Partial dump system
JPS6042496B2 (en) Parity error processing method
JPH11338721A (en) Automatic reset device for microcomputer
JPH11134261A (en) Input and output controller
JPH02240754A (en) Information processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000524

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

Free format text: PAYMENT UNTIL: 20080623

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110623

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees