JPH0470240A - Communication controller - Google Patents
Communication controllerInfo
- Publication number
- JPH0470240A JPH0470240A JP2183034A JP18303490A JPH0470240A JP H0470240 A JPH0470240 A JP H0470240A JP 2183034 A JP2183034 A JP 2183034A JP 18303490 A JP18303490 A JP 18303490A JP H0470240 A JPH0470240 A JP H0470240A
- Authority
- JP
- Japan
- Prior art keywords
- response
- information
- communication
- mpu
- command
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 48
- 230000004044 response Effects 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims abstract description 21
- 238000011084 recovery Methods 0.000 abstract description 4
- 230000005856 abnormality Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、共通バス等に接続された通信制御装置のファ
ームウェアによる通信手順のトレース方式を有する通信
制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a communication control device having a communication procedure tracing method using firmware of the communication control device connected to a common bus or the like.
通信制御装置の構成を第2図に、従来技術による通信手
順のトレース方式を第3図に示す。FIG. 2 shows the configuration of the communication control device, and FIG. 3 shows a communication procedure tracing system according to the prior art.
従来、この種の通信制御装置においては、システムバス
5からの入出力命令は、バス制御部6を介してMPU8
に通知される。MPU8は、内部バス10を介して、通
信制御部へコマンド11を発行することで通信制御部9
は通信回線13に接続された装置とデータ通信する。そ
して、この通信の結果としてMPU8は、通信のレスポ
ンス12を報告する。Conventionally, in this type of communication control device, input/output commands from the system bus 5 are sent to the MPU 8 via the bus control section 6.
will be notified. The MPU 8 issues a command 11 to the communication control unit via the internal bus 10 to control the communication control unit 9.
performs data communication with a device connected to the communication line 13. Then, as a result of this communication, the MPU 8 reports a communication response 12.
MPU8は、このレスポンス12をチェックし再送(受
)信が必要であればMPU8は再度コマンド11を通信
制御部9へ発行し、その応答であるレスポンス12をチ
ェックする。The MPU 8 checks this response 12, and if retransmission (reception) is necessary, the MPU 8 issues the command 11 again to the communication control section 9, and checks the response 12 that is the response.
このように通信制御装置は、ある決められた通信手順に
したがってファームウェアによりリカバリ処理される。In this way, the communication control device undergoes recovery processing by the firmware according to a certain determined communication procedure.
一般にこのファームウェアは、ROM14に格納されて
いる。Generally, this firmware is stored in the ROM 14.
最近の高度化する通信プロトコルの通信手順においては
、このリカバリ処理が複雑になるため、障害発生時にお
ける障害解析情報のコマンドとして使用した情報である
コマンド列3と、その応答として受は取った情報である
レスポンス列4とを、一般的にトレース情報として、R
AM7の任意の領域に記憶している。Because this recovery process becomes complicated in the communication procedures of recent increasingly sophisticated communication protocols, the command string 3, which is the information used as a command for failure analysis information when a failure occurs, and the information received as a response. Generally, the response string 4 is R as trace information.
It is stored in an arbitrary area of AM7.
上述した従来の通信制御は、このトレース情報であるコ
マンド列3とレスポンス列4を第3図に示すように、R
AM7の領域に記録している。In the conventional communication control described above, the command string 3 and response string 4, which are trace information, are R
It is recorded in the AM7 area.
この時、トレースポインタ1は、次に記録すべきトレー
ス領域のアドレスを示す。MPU8では、レスポンス1
1に、エラーがないかどうかを調べ、異常の場合は、リ
カバリの手順に従い、次のコマンドを起動する。At this time, trace pointer 1 indicates the address of the trace area to be recorded next. In MPU8, response 1
1. Check to see if there are any errors, and if there are any errors, follow the recovery steps and start the following command.
そこで、障害発生時などにトレース情報を見た場合、エ
ラーが発生しているトレース情報がどこかは、レスポン
ス列の内容を解析しないと分からない。また最近の、複
雑に高度化する通信手順においては、このレスポンス列
を解析する作業は、かなり手間のかかるものであるとい
う欠点がある。Therefore, when looking at the trace information when a failure occurs, it is impossible to know where the error occurred in the trace information unless the contents of the response string are analyzed. In addition, in recent communication procedures that have become more complex and sophisticated, there is a drawback in that the task of analyzing this response string is quite time-consuming.
本発明の通信制御装置は、マイクロプロセッサ−のファ
ームウェアにより、任意の通信手順を制御して、前記通
信手順の情報を内部メモリに記録している通信制御装置
において、前記通信手順の情報であるコマンド情報とレ
スポンス情報とを記録する領域と、ファームウェアがレ
スポンスをチェックした際、正常にその通信手順が実行
されたかどうかを示す情報とを、同時にトレース情報と
して内部メモリに記録して構成される。A communication control device of the present invention is a communication control device in which an arbitrary communication procedure is controlled by firmware of a microprocessor and information on the communication procedure is recorded in an internal memory. It is constructed by simultaneously recording an area for recording information and response information, and information indicating whether the communication procedure was executed normally when the firmware checks the response, in the internal memory as trace information.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の通信手段のトレース方式の
説明図、第2図は通信制御装置の構成図を示す。FIG. 1 is an explanatory diagram of a tracing method of a communication means according to an embodiment of the present invention, and FIG. 2 is a diagram showing a configuration of a communication control device.
トレースポインタ1により、次にトレース情報(エラー
フラグ2、コマンド列3、レスポンス列4)を記録すべ
き、トレース領域のアドレスを示している。Trace pointer 1 indicates the address of the trace area where trace information (error flag 2, command string 3, response string 4) is to be recorded next.
システムバス5からの入力命令は、バス制御部6を介し
てMPU8に通知される。MPU8は、内部バス10を
介して、通信制御部へコマンド11を発行することで通
信制御部9は通信回線13に接続された装置とデータ通
信する。そして、この通信の結果としてMPU8へ、レ
スポンス12を報告する。Input commands from the system bus 5 are notified to the MPU 8 via the bus control unit 6. The MPU 8 issues a command 11 to the communication control unit via the internal bus 10, so that the communication control unit 9 performs data communication with a device connected to the communication line 13. Then, a response 12 is reported to the MPU 8 as a result of this communication.
MPU8は、このレスポンス12を解析し、異常があれ
ば決められた通信手順のリカバリ手順に従い、MPU8
は再びコマンド11を通信制御部9へ発行し、その応答
であるレスポンス12をチェックする。The MPU 8 analyzes this response 12, and if there is an abnormality, the MPU 8
issues the command 11 to the communication control unit 9 again, and checks the response 12 that is the response.
そのときMPU8は、コマンド列3とレスポンス列4と
の情報と、レスポンス12をファームウェアが解析した
結果、正常の場合は“0”を、異常の場合は“1”をエ
ラーフラグ2・とじてトレース領域に記録し、次に記録
すべきトレース領域のアドレスをトレースポインタ1に
設定する。At that time, the MPU 8 traces the information of the command string 3 and response string 4 and the response 12 by setting it as an error flag 2 and setting it as "0" if it is normal and "1" if it is abnormal as a result of the firmware's analysis of the response 12. The address of the trace area to be recorded next is set in trace pointer 1.
以上説明したように本発明は、障害発生時において、ト
レース情報を解析する上で1.効率よくトレース情報を
解析できる、情報を提供することができるという効果が
ある。As explained above, the present invention provides 1. analysis of trace information when a failure occurs. This has the effect of being able to efficiently analyze trace information and provide information.
第1図は本発明の一実施例の通信手順のトレース方式の
説明図、第2図は通信制御装置の構成図、第3図は従来
の通信手順のトレース方式の説明図である。
1・・・トレースポインタ、2・・・エラーフラグ、3
・・・コマンド列、4・・・レスポンス列、5・・・共
通バス、6・・・バス制御ffi、7・・・RAM18
・・・MPU19・・・通信制御部、10・・・内部バ
ス、工1・・・コマンド、12・・・レスポンス、13
・・・通信回線、14−・・ROM。FIG. 1 is an explanatory diagram of a communication procedure tracing method according to an embodiment of the present invention, FIG. 2 is a configuration diagram of a communication control device, and FIG. 3 is an explanatory diagram of a conventional communication procedure tracing method. 1...Trace pointer, 2...Error flag, 3
...Command string, 4...Response string, 5...Common bus, 6...Bus control ffi, 7...RAM18
...MPU19...Communication control unit, 10...Internal bus, Engineering 1...Command, 12...Response, 13
...Communication line, 14-...ROM.
Claims (1)
通信手順を制御して、前記通信手順の情報を内部メモリ
に記録している通信制御装置において、前記通信手順の
情報であるコマンド情報とレスポンス情報とを記録する
領域と、ファームウェアがレスポンスをチェックした際
、正常にその通信手順が実行されたかどうかを示す情報
とを、同時にトレース情報として内部メモリに記録して
成ることを特徴とする通信制御装置。An area for recording command information and response information, which are information on the communication procedure, in a communication control device that controls arbitrary communication procedures and records information on the communication procedures in an internal memory using firmware of a microprocessor. and information indicating whether the communication procedure was normally executed when the firmware checks the response, are simultaneously recorded in an internal memory as trace information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2183034A JPH0470240A (en) | 1990-07-11 | 1990-07-11 | Communication controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2183034A JPH0470240A (en) | 1990-07-11 | 1990-07-11 | Communication controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0470240A true JPH0470240A (en) | 1992-03-05 |
Family
ID=16128583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2183034A Pending JPH0470240A (en) | 1990-07-11 | 1990-07-11 | Communication controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0470240A (en) |
-
1990
- 1990-07-11 JP JP2183034A patent/JPH0470240A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634203B (en) | Control system for controlling IO terminal based on numerical control controller and corresponding method | |
JPH0470240A (en) | Communication controller | |
JP2670645B2 (en) | I / O device | |
JP2513121B2 (en) | Transmission device for serial bus | |
JPH0683727A (en) | Input/output device | |
JPH0675813A (en) | Pseudo-fault occurrence method of external storage device | |
JPH03219334A (en) | Remote maintenance system for information processor | |
JPH0244842A (en) | Communication controller | |
JPH04307637A (en) | Pseudo channel device | |
JPH04293133A (en) | Fault monitoring system in loosely coupled multi-processor system | |
JPH05204680A (en) | Malfunction prevention method for information processing equipment | |
JPH04352049A (en) | E2 prom program test system | |
JPS6161427B2 (en) | ||
JPH0772909A (en) | Support device for programmable controller | |
JPS6027956A (en) | Self-diagnosis method | |
JPH0391845A (en) | Automation system for analysis of duplicated fault | |
JPH08286714A (en) | Monitor device for programmable display device | |
JPS62187948A (en) | External storage device diagnosing system | |
JPH01270102A (en) | Abnormality monitoring system | |
JPH04241657A (en) | Method and circuit for outputting fault alarm of peripheral controller | |
JPH03102539A (en) | How to detect errors in input/output devices | |
JPH0689243A (en) | Input output device | |
JPS59128598A (en) | Disturbance detection for voice response/ recognition system | |
JPH0675915A (en) | Transaction processing system | |
JPH0359420A (en) | Message output control method for plant monitor device |