JPS59194550A - Testing circuit of line adaptor - Google Patents

Testing circuit of line adaptor

Info

Publication number
JPS59194550A
JPS59194550A JP58069668A JP6966883A JPS59194550A JP S59194550 A JPS59194550 A JP S59194550A JP 58069668 A JP58069668 A JP 58069668A JP 6966883 A JP6966883 A JP 6966883A JP S59194550 A JPS59194550 A JP S59194550A
Authority
JP
Japan
Prior art keywords
data
circuit
test
line
control device
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
JP58069668A
Other languages
Japanese (ja)
Inventor
Yasuo Wakamiya
若宮 康夫
Yoshiaki Igarashi
五十嵐 由明
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
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58069668A priority Critical patent/JPS59194550A/en
Publication of JPS59194550A publication Critical patent/JPS59194550A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

PURPOSE:To break whether a transmission part or a receiving part is abnormal and to shorten the time required for the search of a fault or repairment of a failure by changing write data in a read/write memory and testing only receiving operation. CONSTITUTION:The read/write memory 46 having one-bit data width can be preset to an optional value from a communication control device 3 and also can be written from the device 3 addressed by an address counter 45 counted up by a testing clock signal. A selector 47 selects data read out from the memory 46 are receiving data to a receiving part in a transmission/reception control circuit 21 in stead of data received from a communication line through a line interface circuit 40. Therefore, the abnormality of the transmission part can be broken from that of the receiving part by changing data to be written in the memory 46 and testing only the receiving operation of various data patterns.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は、データ通信回路の端末に設け、通信回線に挿
入して使用するアダプターに関する。特に回1腺アダプ
タにおける試験回路に関する1゜〔従来技術の説明〕 第1図は従来例の試験回路を備えた回線アタツクのフロ
ック構成図である。第1図により従来技術を説明する。
DETAILED DESCRIPTION OF THE INVENTION [Technical field to which the invention pertains] The present invention relates to an adapter that is provided at a terminal of a data communication circuit and used by being inserted into a communication line. 1. Particularly regarding the test circuit in a single-channel adapter [Description of Prior Art] FIG. 1 is a block diagram of a line attack equipped with a conventional test circuit. The prior art will be explained with reference to FIG.

■はデータ通信端末の通信制御装置で、この通信制御装
置の通信回路に、アダプタ2が挿入されている。通信制
御装置lからの試験指示ね上位インタフェース回路20
がうけて、試験指示信号205を第一のセレクタ22に
出力する。この信号により第一のセレクタ22は送受信
制御回路21と回線インタフェース回路23とを論理的
に切りはなし、送信データ信号203を受信データ信号
201に折返し、かつ送信タイミング信号204と受信
タイミング信号202がクロック発生回路24から供給
されるようになる。
2 is a communication control device of a data communication terminal, and an adapter 2 is inserted into the communication circuit of this communication control device. Test instructions from communication control device 1 Upper interface circuit 20
In response, it outputs a test instruction signal 205 to the first selector 22 . With this signal, the first selector 22 logically disconnects the transmission/reception control circuit 21 and line interface circuit 23, returns the transmission data signal 203 to the reception data signal 201, and clocks the transmission timing signal 204 and reception timing signal 202. The signal is supplied from the generating circuit 24.

通信制御装置1が前記に示した試験のための論理的接続
を完了させると、上位インタフェース回路20を介して
送受信制御回路21に送信データ信号をキャラクタ単位
で送り、送受信制御回路21内の送信部は上記の送信キ
ャラクタを送信タイミング信号204によりビット直列
の送信データ信号203として出力する。第一のセレク
タ22は送信データ信号203を受信データ信号201
に折返し、送受信制御回路21内の受信部はビット直列
の受信データ信号201を受信タイミング信号202に
より受信する。これをキャラクタに組立てて上位インタ
フェース回路20を介して通信制御装置1に送る。そし
て通信制御装置1は送信キャラクタと回線アダプタ2か
らの受信キヤ、ラクタとを比較することにより回線アダ
プタ2の試験を行つ。
When the communication control device 1 completes the logical connection for the test shown above, it sends a transmission data signal in units of characters to the transmission and reception control circuit 21 via the upper level interface circuit 20, and the transmission unit in the transmission and reception control circuit 21 outputs the above transmission character as a bit series transmission data signal 203 using a transmission timing signal 204. The first selector 22 selects the transmitted data signal 203 from the received data signal 201.
Then, the receiving section in the transmission/reception control circuit 21 receives the bit serial reception data signal 201 in accordance with the reception timing signal 202. This is assembled into a character and sent to the communication control device 1 via the upper level interface circuit 20. The communication control device 1 then tests the line adapter 2 by comparing the transmitted characters with the received characters and characters from the line adapter 2.

従って、従来のこの種の試験方法では送信キャラクタと
受信キャラクタとの比較結果が不一致の場合には、回線
アダプタ2の受信動作が異常なのかあるいは送信動作が
異常なのかの切分けができない欠点があった。
Therefore, this type of conventional test method has the disadvantage that if the comparison results between the transmitted character and the received character do not match, it cannot be determined whether the reception operation of the line adapter 2 is abnormal or the transmission operation is abnormal. there were.

〔発明の目的〕[Purpose of the invention]

本発明は上記欠点を除去するもので受信動作のみの単独
試験を行い、送信動作異常と受信動作異常を切り分けて
検出することができる回線アダプタの試験回路を提供す
ることを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a test circuit for a line adapter which can perform an independent test of only the receiving operation and separately detect abnormalities in the transmitting operation and abnormalities in the receiving operation.

〔ずf明の要点〕[Key points of Zuf Ming]

本発明の回線アダプタの試験回路は、従来の回啜アダプ
タの送信データを受信データに折返す試験回路に加えて
、 通信制御装置から任意の値にプリセット可能で、かつ試
験用クロック信号によりカウントアツプされるアドレス
カウンタと、 前記アドレスカウンタによりアドレスされ、通信制御装
置から上位インタフェース回路を介して占込み可能なデ
ータ幅が1ビツトの読出し書込みメモリと、 通信制御装置からの受信部試験指示信号により読出し書
込みメモリの読出しデータを送受信制御回路内の受信部
への受信データ信号とする第二のセレクタとを含む回路
をあわせ備える試験回路である。
The test circuit for the line adapter of the present invention, in addition to the test circuit for converting the transmission data of the conventional recuperation adapter into the reception data, can be preset to any value from the communication control device and can be counted up by the test clock signal. an address counter addressed by the address counter and having a data width of 1 bit that can be accessed from the communication control device via a higher-level interface circuit; This test circuit also includes a circuit including a second selector that outputs read data from the write memory as a reception data signal to a receiving section in the transmission/reception control circuit.

あらかじめ読出し書込みメモリに試験データを書込み、
その後に試験を開始すると読出し書込みメモリの内容が
順次読出され、第二のセレクタを介して送受信回路内の
受信部に送られ、送受信制御回路で受信キャラクタに組
立てられて通信制御装置へ転送される。通信制御装置に
て読出し書込みメモリに書込んだ試験データと転送され
た受信キャラクタとが比較され、異常ならば回線アダプ
タの受信動作の異常とみなされる。正常ならば前記送受
信制御回路内の送信部からの送信データを第一のセレク
タを介して送受信制御回路内の受信部への受信データと
して折返す試験を行い、異常であれば回線アダプタの送
信動作が異常であるとみなすことにより、回線アダプタ
の受信動作が異常なのかあるいは送信動作が異常なのか
を切分けすることが可能であるように構成されたことを
特徴とする。
Write the test data to the read/write memory in advance,
After that, when the test is started, the contents of the read/write memory are sequentially read out and sent to the receiving section in the transmitting/receiving circuit via the second selector, where they are assembled into received characters in the transmitting/receiving control circuit and transferred to the communication control device. . The communication control device compares the test data written in the read/write memory with the transferred received character, and if there is an abnormality, it is regarded as an abnormality in the receiving operation of the line adapter. If it is normal, a test is performed in which the transmission data from the transmitter in the transmitter/receiver control circuit is looped back as received data to the receiver in the transmitter/receiver control circuit via the first selector, and if it is abnormal, the transmission operation of the line adapter is performed. The present invention is characterized in that it is possible to determine whether the receiving operation or the transmitting operation of the line adapter is abnormal by determining that the line adapter is abnormal.

〔実施例による説明〕 第2図は本発明実施例回路のブロック構成図である、本
実施例回路は従来の試験回路にアドレスカウンタ45と
、読出し書込みメモリ46と第二のセレクタ47とが追
加され、 寸だ上位インタフェース回路40および通信制御装置3
は前記の追加にともなって改造されているところに特徴
がある。
[Explanation based on an embodiment] FIG. 2 is a block diagram of a circuit according to an embodiment of the present invention.This embodiment circuit has an address counter 45, a read/write memory 46, and a second selector 47 added to the conventional test circuit. The upper level interface circuit 40 and the communication control device 3
is unique in that it has been modified in line with the additions mentioned above.

アドレスカウンタ45は通信制御装置3から手付インタ
フェース回路40を介して、アドレスセット情報信号4
11により任意の値にセットされるように構成し、また
通信制御装置3が上位インタフー−ス回路40を介して
、受信部試験指示信号410により試験を指示した場合
には、クロック発生回路24からの試験用クロック信号
206によりカウントアツプされ、オーバフローが発生
するとカウントアツプを止めるように構成する。
The address counter 45 receives an address set information signal 4 from the communication control device 3 via the manual interface circuit 40.
11 is configured to be set to an arbitrary value, and when the communication control device 3 instructs a test by the receiver test instruction signal 410 via the host interface circuit 40, the clock generation circuit 24 It is configured to be counted up by the test clock signal 206, and to stop counting up when an overflow occurs.

1洸出し薯−込みメモリ46は試験データを格納してお
くための1′ビット幅のメモリであり、アドレスカウン
タ45からのアドレス信号407によりアドレスされ、
また通信制御装置3から上位インタフェース回路40を
介してデータセット情報信号412により試験データが
書込まれるように構成する。
The 1-bit memory 46 is a 1' bit wide memory for storing test data, and is addressed by the address signal 407 from the address counter 45.
Further, the test data is written in by the data set information signal 412 from the communication control device 3 via the host interface circuit 40.

第二のセレクタ47は受信部試験指示信号410により
受信部の試験を指示された場合には、第一のセレクタ2
2からの受信データ信号201の代わりに読出し書込み
メモリ46の読出しデータ信号40Bを選択し、受信デ
ータ信号B4O9として送受信制御回路21内の受信部
に出力するように構成する。
When the second selector 47 is instructed to test the receiver by the receiver test instruction signal 410, the second selector 47 selects the first selector 2
The read data signal 40B of the read/write memory 46 is selected in place of the received data signal 201 from the transmitting/receiving control circuit 21 as the received data signal B4O9.

このような装置の動作を説明する。The operation of such a device will be explained.

送受信制御回路21の受信部のみの試験を行う場合には
、通信制御装置3はアドレスカウンタ45へのアドレス
のセットおよび読出し書込みメモリ46へのデータの書
込みを繰返すことにより試験データを読出し書込みメモ
リ46に格納した後、送受信制御回路21内の受信部の
動作許可を行う。その後試験指示信号205および受信
部試験指示信号410をセットする。上記試験指示信号
205により第一のセレクタ22はクロック発生回路U
が発生する試験用クロツク信号206ヲ受信タイミング
信号202として送受信制御回路21内の受信部に与え
るっまた上記受信部試験指示信号410によりアドレス
カウンタ郷のカウントアツプが許可され、アドレスカウ
ンタ45は試験用クロック信号206により1ずつカウ
ントアツプされる。上記カウンタの出力であるアドレス
信号407により読出し書込みメモリ46に格納されて
いる試験データが順次読出される。
When testing only the receiving section of the transmission/reception control circuit 21, the communication control device 3 reads out test data by repeatedly setting an address to the address counter 45 and writing data to the read/write memory 46. After the data is stored in the data, the reception unit in the transmission/reception control circuit 21 is permitted to operate. Thereafter, the test instruction signal 205 and the receiver test instruction signal 410 are set. The test instruction signal 205 causes the first selector 22 to control the clock generation circuit U.
The test clock signal 206 generated by the test clock signal 206 is applied to the receiver in the transmission/reception control circuit 21 as the reception timing signal 202.The receiver test instruction signal 410 also allows the address counter 45 to count up, and the address counter 45 is used for testing. It is counted up by one by the clock signal 206. The test data stored in the read/write memory 46 is sequentially read out by the address signal 407 which is the output of the counter.

セレクタB47は読出し書込みメモリ46の読出しデー
タ信号408を、受信データ信号B 409として送受
信制御回路21内の受信部に耳える。この送受信制御回
路の受信部は受信データ信号409をキャラクタに琴1
1立てて受信キャラクタとして上位インタフ=−ス回路
40 ’r介して通信制御装置3に転送する。】l))
悟制御装置3は上記受信部試験指示信号41−Oのセッ
トを行った後、歌、出しψ1込みメモリ46に7丁込ん
だビ・ノド的列の試1(″店データと、回線アタプタ4
0から転送される受信キャラクタとを比較し、送受イ、
テ制御回路の受信部の動作確認を行う。
The selector B47 allows the read data signal 408 of the read/write memory 46 to be heard by the receiving section in the transmission/reception control circuit 21 as a received data signal B 409. The receiving section of this transmission/reception control circuit uses the received data signal 409 as a character.
The data is set to 1 and transferred as a received character to the communication control device 3 via the upper interface circuit 40'r. ]l))
After setting the receiving unit test instruction signal 41-O, the control device 3 sets the test 1 of the 7-bit string stored in the memory 46 including the song, output ψ1 (store data and line adapter 4).
Compare the received characters transferred from 0, send/receive,
Check the operation of the receiving section of the control circuit.

上記の受信部の試験を行った結果が正常であれば、通信
制御装置3は受信部試巧n指示信号410をリセットし
て、送受信制御回路21内の受信部に対しても動作許可
を行い、箱−のセレクタ22による送信データ203の
受信データ201への折返しの試験を行う。この結果異
常が発生した場合は送信動作にかかわる回路の異常とみ
なすことができる。
If the result of the above-mentioned receiving unit test is normal, the communication control device 3 resets the receiving unit test instruction signal 410 and also allows the receiving unit in the transmission/reception control circuit 21 to operate. , a test is performed on the return of the transmission data 203 to the reception data 201 by the box selector 22. If an abnormality occurs as a result, it can be regarded as an abnormality in the circuit related to the transmission operation.

また障害の中にはあるデータパターンでのみ異常が発生
するという場合がある。本発明の試験回路によれば読出
し書込みメモリ46への書込みデータのみを変えること
により種々のデータパターンに対して受信動作のみの試
験が可能である1、第一のセレクタと第二のセレクタは
1つのハードウェアにすることもできる。
Furthermore, some failures occur only in certain data patterns. According to the test circuit of the present invention, it is possible to test only the reception operation for various data patterns by changing only the data written to the read/write memory 46.1.The first selector and the second selector are It can also be one piece of hardware.

〔発明の効果〕〔Effect of the invention〕

本発明は以上説明したように、簡易なハードウェアでも
って回線アダプタの送信部が異常なのか、あるいは受信
部が異常なのかを切分けすることができる効果がある。
As explained above, the present invention has the advantage of being able to determine whether the transmitting section of the line adapter or the receiving section is abnormal using simple hardware.

これにより障害調査および故障修理等に要する時間を短
縮することができる。
This makes it possible to shorten the time required for fault investigation, fault repair, and the like.

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

第1図は従来の回線アダプタの試験回路を示すブロック
構成図。 第2図は本発明実施例回路を示すブロック構成図。 1・・・通信制御装置、2・・・従来の回線アダプタ、
20・・・上位インタフェース回路、21・・・送受信
制御回路、22・・・艶、−のセレクタ、23・・・回
線インタフェース回路、24・・・クロック発生回路、
3・・・本発明に対応した通信制御装置、4・・・本発
明の回線アダプタ、40・・・改造された上位インタフ
ェース回路、45・・・アドレスカウンタ、46・・・
読出し書込みメモリ、47・・・第二のセレクタ、20
1・・・受信データ信号、202・・・受信タイミング
信号、203・・・送信データ信号、204・・・送信
タイミング信号、205・・・試験指示信号、206・
・・試験用クロック信号、407・・・アドレス信号、
408・・・読出しデータ信号、409・・・受信デー
タ信号B、410・・・受信部試験指示信号、411・
・・アドレスセット情報信号、412・・・データセッ
ト情報信号。 特許出願人 日本電気株式会社 代理人 弁理士 井 出 直 孝
FIG. 1 is a block diagram showing a conventional line adapter test circuit. FIG. 2 is a block diagram showing a circuit according to an embodiment of the present invention. 1... Communication control device, 2... Conventional line adapter,
20... Upper interface circuit, 21... Transmission/reception control circuit, 22... Gloss, - selector, 23... Line interface circuit, 24... Clock generation circuit,
3... Communication control device corresponding to the present invention, 4... Line adapter of the present invention, 40... Modified upper level interface circuit, 45... Address counter, 46...
Read/write memory, 47...second selector, 20
DESCRIPTION OF SYMBOLS 1... Reception data signal, 202... Reception timing signal, 203... Transmission data signal, 204... Transmission timing signal, 205... Test instruction signal, 206...
...Test clock signal, 407...Address signal,
408... Read data signal, 409... Received data signal B, 410... Receiving unit test instruction signal, 411...
. . . Address set information signal, 412 . . . Data set information signal. Patent applicant: NEC Corporation Representative Patent attorney: Naotaka Ide

Claims (1)

【特許請求の範囲】[Claims] (1)  it;i情制御装置との間に制御情報の転送
を行う上位インタフェース回路ト、 受信データ信号の直列データから並列データへの組立を
行う受信部および送信データ信号の並列データから直列
データへの分解を行う送信部を含む送受信制御回路と、 通信口、線との間1で電気的変換を行う回線インタフェ
ース回路と を備えた回線アダプタが手記通信制御装置と上記通信回
線との間に挿入され、 この回線アダプタには、試験用クロック信号を発生する
クロック発生回路と、 上記通(8制御装置からの指示により上記通信回線から
の上記回線インクフェース回路を介した受信データの代
わりに上記送受信制御回路内の送信部が出力する送1g
データを上記送受信制御回路内の受信部への受信データ
に折返すための第一のセレクタと 全備えた回線アダプタの試験回路において、上記通信制
御装置から任意の値にプリセット可能で、かつ上記試験
用クロック信号によりカウントアツプされるアドレスカ
ウンタと、 上記アドレスカウンタによりアドレスされ、上記通信制
御装置から書込可能であってデータ幅が1ビツトの読出
し書込みメモリと、 上記通信制御装置からの指示により上記通信回線からの
上記回線インタフー−ス回路を介した受信データの代わ
りに上記読出し書込みメモリの読出しデータを上記送受
信制御回路内の受信部への受信データとするための第二
のセレクタとを備えたことを特徴とする回線アダプタの
試験回路。
(1) IT; a host interface circuit that transfers control information to and from the i-information control device; a receiving unit that assembles the serial data of the received data signal into parallel data; and a receiver that assembles the serial data of the received data signal into serial data. A line adapter equipped with a transmission/reception control circuit including a transmitter that performs disassembly into 1 and a line interface circuit that performs electrical conversion between the communication port and the line is connected between the memo communication control device and the communication line. This line adapter includes a clock generation circuit that generates a test clock signal, and a clock generation circuit that generates a test clock signal, and a clock generation circuit that generates a test clock signal, and a clock generator that generates a test clock signal in place of the received data from the communication line via the line ink face circuit according to instructions from the control device. Transmit 1g output by the transmitter in the transmitter/receiver control circuit
In a test circuit for a line adapter that includes a first selector for returning data to received data to a receiving section in the transmission/reception control circuit, the test circuit can be preset to any value from the communication control device, and an address counter that is counted up by a clock signal for the communication; a read/write memory that is addressed by the address counter and has a data width of 1 bit and that is writable by the communication control device; and a second selector for making the read data of the read/write memory into the reception data to the receiving section in the transmission/reception control circuit instead of the data received from the communication line via the line interface circuit. A test circuit for a line adapter characterized by:
JP58069668A 1983-04-19 1983-04-19 Testing circuit of line adaptor Pending JPS59194550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58069668A JPS59194550A (en) 1983-04-19 1983-04-19 Testing circuit of line adaptor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58069668A JPS59194550A (en) 1983-04-19 1983-04-19 Testing circuit of line adaptor

Publications (1)

Publication Number Publication Date
JPS59194550A true JPS59194550A (en) 1984-11-05

Family

ID=13409442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58069668A Pending JPS59194550A (en) 1983-04-19 1983-04-19 Testing circuit of line adaptor

Country Status (1)

Country Link
JP (1) JPS59194550A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4219362A1 (en) * 1991-06-12 1992-12-24 Mazda Motor ENGINE SPEED CONTROL DEVICE

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4219362A1 (en) * 1991-06-12 1992-12-24 Mazda Motor ENGINE SPEED CONTROL DEVICE

Similar Documents

Publication Publication Date Title
US4622669A (en) Test module for asynchronous bus
US5677931A (en) Transmission path switching apparatus
US20220398177A1 (en) Error rate measuring apparatus and error rate measuring method
JPS59194550A (en) Testing circuit of line adaptor
JPH08202207A (en) Device for detecting connection state of optional equipment
JPH1164450A (en) Semiconductor-testing device
JPS59194549A (en) Testing circuit of line adaptor
JP2979814B2 (en) Serial data transfer device
US7281184B2 (en) Test system and method for testing a circuit
CN113448781B (en) Test method, device and equipment of universal input/output interface
JPH07240264A (en) Abnormal cable connection detecting circuit and its method
JP2710175B2 (en) Data correctness judgment device
KR970002959B1 (en) Interface apparatus for error detection in data generation device
KR100269187B1 (en) Fault detector and the method thereof by interrupt
JP2978108B2 (en) Highway data receiving apparatus and method duplexed by all-electronics exchange
US6646992B1 (en) Communication control method and equipment for implementing the same
KR100208275B1 (en) Apparatus and method for automatically recognizing signaling link in no.7 signaling protocol monitor device
JPS63290033A (en) Data transmission reception circuit
KR19990017963U (en) Internal processing communication path test apparatus and method
KR900001336B1 (en) System console automatic testing system of electronic exchange
SU955167A1 (en) Device for data checking and transmission
KR0183196B1 (en) Td bus testing method of electronic switching system
KR100247432B1 (en) Apparatus for loopback test
KR970004537B1 (en) Local area network
JPS61151750A (en) Keyboard connecting system