JP2898025B2 - I / O terminal - Google Patents

I / O terminal

Info

Publication number
JP2898025B2
JP2898025B2 JP1253577A JP25357789A JP2898025B2 JP 2898025 B2 JP2898025 B2 JP 2898025B2 JP 1253577 A JP1253577 A JP 1253577A JP 25357789 A JP25357789 A JP 25357789A JP 2898025 B2 JP2898025 B2 JP 2898025B2
Authority
JP
Japan
Prior art keywords
input
terminal
output
external device
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1253577A
Other languages
Japanese (ja)
Other versions
JPH03113619A (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.)
Anritsu Corp
Original Assignee
Anritsu 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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP1253577A priority Critical patent/JP2898025B2/en
Publication of JPH03113619A publication Critical patent/JPH03113619A/en
Application granted granted Critical
Publication of JP2898025B2 publication Critical patent/JP2898025B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は情報処理装置相互間をケーブルを介して接続
するための入出力ターミナルに係わり、特に装置相互間
で授受されるビジィ信号の入出力端子を自動的に検出で
きる入出力ターミナルに関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output terminal for connecting information processing devices to each other via a cable, and more particularly to input / output of a busy signal exchanged between the information processing devices. The present invention relates to an input / output terminal that can automatically detect terminals.

[従来の技術] 例えばコンピュータ相互間や、コンピュータとプリン
タ,CRT表示装置間におけるデータ送受信は、パラレルデ
ータをシリアルデータに変換して、ケーブルを介して行
う。そして、各装置間を接続する場合のインタフェース
(境界条件)を定める規格としてRS-232C又はRS-232D規
格がある。
[Related Art] For example, data transmission / reception between computers or between a computer and a printer or a CRT display device is performed via a cable by converting parallel data into serial data. Then, there is an RS-232C or RS-232D standard as a standard that defines an interface (boundary condition) when connecting each device.

このRS-232C規格は、本来、例えば端末装置とコンピ
ュータとをモデムおよびケーブルを介して接続するため
の規格である。しかし、近年、第4図に示すように、モ
デムを省略して、端末装置1とコンピュータ2とをケー
ブル3で直接接続する場合が多い。
The RS-232C standard is originally a standard for connecting, for example, a terminal device and a computer via a modem and a cable. However, in recent years, as shown in FIG. 4, in many cases, the modem is omitted and the terminal device 1 and the computer 2 are directly connected by the cable 3.

この場合、端末装置1内およびコンピュータ2内に設
けられた各入出力ターミナル4,5には上記RS-232C規格に
て指定された形状の雌側のコネクタ6a,7aが取付けられ
ており、ケーブル3側に雄側のコネクタ6b,7bが取付け
られている。
In this case, female connectors 6a and 7a having a shape specified by the RS-232C standard are attached to the input / output terminals 4 and 5 provided in the terminal device 1 and the computer 2, respectively. Male connectors 6b and 7b are attached to the three sides.

コネクタ6a,7aには、第5図に示すように、#1〜#2
5の各ピン番号が付された25本の端子8が設けられてお
り、各端子8に入出力される信号の種類が規定されてい
る。但し、25本の端子8のうちまだ信号の種類が規定さ
れていない端子もある。例えば、図示するように、#1
の端子は装置のフレームに接地される保安用アース(F
G)端子であり、#2の端子は送信データ(SD)を出力
する端子であり、#3は受信データ(RD)が入力される
端子であり、#4の端子は送信要求(RS)信号を出力す
る端子であり、#5は送信可(CS)信号が入力される端
子であり、……、#7の端子は前記FG以外の信号接地
(SG)端子であり、#20は端末装置1がデータ受信可能
状態を示す端末レディ(ER)信号を出力する端子であ
る。
As shown in FIG. 5, connectors 6a and 7a have
There are provided twenty-five terminals 8 assigned with respective pin numbers of 5, and the types of signals input / output to / from each terminal 8 are defined. However, there is a terminal whose signal type is not yet defined among the 25 terminals 8. For example, as shown in FIG.
Terminal is a safety ground (F
G) terminal, terminal # 2 is a terminal for outputting transmission data (SD), terminal # 3 is a terminal for receiving reception data (RD), and terminal # 4 is a transmission request (RS) signal. # 5 is a terminal to which a transmission enable (CS) signal is input,..., # 7 are signal ground (SG) terminals other than the FG, and # 20 is a terminal device. A terminal 1 outputs a terminal ready (ER) signal indicating a data receivable state.

したがって、実際にデータが入出力されるのは#2の
送信データ(SD)端子と#3の受信データ(RD)端子の
みであり、2本のFG,SGの各アース端子以外の各端子は
端末装置1とコンピュータ2間におけるデータ送受信を
円滑に実施するための各種制御信号の授受に使用され
る。
Therefore, data is actually input / output only to the # 2 transmission data (SD) terminal and the # 3 reception data (RD) terminal. Each terminal other than the ground terminals of the two FGs and SGs is It is used for transmitting and receiving various control signals for smoothly performing data transmission and reception between the terminal device 1 and the computer 2.

しかしながら、端末装置1とコンピュータ2とは種々
の組合せが考えられ、端末装置1とコンピュータ2との
データ処理速度が大きく異なる場合がある。また、端末
装置1においても、その端末装置1がCRT表示装置の場
合と、プリンタの場合とではデータ処理速度が当然異な
る。また、端末装置1がコンピュータ2へデータを入力
するデータ入力装置の場合においても、その種類によっ
て、コンピュータ2へデータを入力する場合の入力速度
が異なる。また、コンピュータ2においても、データ処
理における処理内容が異なれば処理速度が異なる。した
がって、いずれか一方がデータ処理中の場合は、他方に
対してビジィ信号を送出して、新たなデータ入力を受付
けないようにしている。
However, various combinations of the terminal device 1 and the computer 2 are conceivable, and the data processing speeds of the terminal device 1 and the computer 2 may greatly differ. Also, the data processing speed of the terminal device 1 differs naturally between the case where the terminal device 1 is a CRT display device and the case where the terminal device 1 is a printer. Further, even when the terminal device 1 is a data input device for inputting data to the computer 2, the input speed for inputting data to the computer 2 differs depending on the type. Also, in the computer 2, the processing speed is different if the processing content in the data processing is different. Therefore, when one of them is processing data, a busy signal is sent to the other so as not to accept a new data input.

しかし、前記RS-232C規格は、本来モデムを用いたデ
ータ通信のインタフェースで用いられるので、ビジィ信
号の伝送まで考慮されていない。そこで、一般に、他方
の処理装置に対してビジィ信号を送出する場合には、前
記各信号の信号レベルを反転することによって、相手側
に自己がビジィ状態であることを知らせるようにしてい
る。
However, since the RS-232C standard is originally used for an interface of data communication using a modem, transmission of a busy signal is not considered. Therefore, in general, when a busy signal is transmitted to the other processor, the signal level of each signal is inverted so that the other party is notified that it is busy.

[発明が解決しようとする課題] しかし、上記のような手法で相手側にビジィ信号を送
出する場合には、そのビジィ信号を受信する側にとって
どの入力端子の信号レベルが反転すれば相手側がビジィ
状態であるのかを予め調べてケーブルで接続しておく必
要がある。
[Problems to be Solved by the Invention] However, when a busy signal is transmitted to the other party by the above-described method, if the signal level of any input terminal is inverted for the receiving side of the busy signal, the other party becomes busy. It is necessary to check beforehand whether the state is in a state, and connect with a cable.

しかし、ビジィ信号としてどの信号端子の信号レベル
を反転するかは、規格化されておらず、各端末装置1の
種類や各コンピュータ2の種類によって異なる場合が多
い。よって、端末装置1とコンピュータ2とを接続する
場合や、端末装置1相互間を接続する場合には、その都
度相手側のビジィ信号の出力端子、すなわち、本体装置
の入出力ターミナルに接続されるケーブルのコネクタに
おける入力端子を検索して、接続ケーブルを配線してお
く必要がある。
However, the signal level of which signal terminal is inverted as a busy signal is not standardized, and often differs depending on the type of each terminal device 1 and the type of each computer 2. Therefore, when the terminal device 1 is connected to the computer 2 or when the terminal devices 1 are connected to each other, the terminal 1 is connected to the output terminal of the busy signal of the other party, that is, the input / output terminal of the main device. It is necessary to search for an input terminal in the cable connector and wire the connection cable.

また、相手側が本体装置側から出力されるビジィ信号
をどの入力端子で受信するかを調べる必要がある。すな
わち、本体装置側としてビジィ信号を本体装置側のどの
出力端子から送出すればよいのかを調べて、ケーブルを
配線しておかなけれはならない。
Also, it is necessary for the other party to check which input terminal receives the busy signal output from the main unit. That is, it is necessary for the main unit to check which output terminal of the main unit should transmit the busy signal, and wire the cable.

しかし、各装置が正常にデータ処理を実行している期
間中においてはビジィ信号は出力されないので、このビ
ジィ信号が入出力される入力端子および出力端子を調
べ、その都度ケーブルを作成するには多大の時間と労力
を必要とした。よって、各装置どうしを新に接続した
り、接続替えした場合において実際に稼働するまでの調
整作業が繁雑になる。
However, since the busy signal is not output during the period when each device is executing the data processing normally, it is very necessary to check the input terminal and the output terminal to which the busy signal is input / output, and to make a cable each time. It took time and effort. Therefore, when each device is newly connected or the connection is changed, the adjustment work until it actually operates becomes complicated.

本発明はこのような事情に鑑みてなされたものであ
り、外部装置および本体装置からそれぞれ強制的にビジ
ィ信号を送出させて外部装置側からの応答を調べること
により、簡単にビジィ信号の入出力端子を特定でき、処
理装置相互間をケーブルを用いて接続した場合に、短時
間で接続に係わる調整作業が実施でき、直ちに正しいデ
ータ送受信を開始でき、たとえビジィ信号の入出力端子
が不明であったとしても簡単に処理装置相互間を接続替
えできる入出力ターミナルを提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of such circumstances, and a bus signal is forcibly transmitted from an external device and a main unit to check a response from the external device, thereby easily inputting / outputting a busy signal. Terminals can be specified, and when processing devices are connected to each other using a cable, adjustment work related to the connection can be performed in a short time, correct data transmission / reception can be started immediately, and even if the input / output terminals of busy signals are unknown. It is an object of the present invention to provide an input / output terminal that can easily change the connection between processing devices.

[課題を解決するための手段] 上記課題を解消するため本発明は、本体装置から出力
される送信データおよび各種制御信号をコネクタの各出
力端子およびケーブルを介してデータ送受信先の外部装
置へ送出すると共に、この外部装置から前記ケーブルお
よびコネクタの各入力端子を介して入力された受信デー
タおよび各種制御信号を本体装置へ送出する入出力ター
ミナルにおいて、 データ連続送信要求に応じて外部装置からデータが連
続して入力している期間に各出力端子の各信号レベルを
順次反転していく信号レベル反転手段と、各出力端子の
信号レベル反転に応動して外部装置からのデータ入力が
停止したときの信号レベル反転した出力端子を本体装置
側からのビジィ信号出力端子と判断するビジィ信号出力
端子検出手段と、外部装置へ処理容量の大きい処理要求
を連続して送出している期間に各入力端子の信号レベル
を検出する信号レベル検出手段と、この信号レベル検出
手段にて信号レベル反転が検出された入力端子を外部装
置側からのビジィ信号入力端子と判断するビジィ信号入
力端子検出手段とを備えたものである。
[Means for Solving the Problems] In order to solve the above problems, the present invention transmits transmission data and various control signals output from a main unit to an external device of a data transmission / reception destination via output terminals of a connector and a cable. At the same time, at an input / output terminal for transmitting received data and various control signals input from the external device through the respective input terminals of the cable and the connector to the main unit, data is transmitted from the external device in response to a continuous data transmission request. A signal level inverting means for sequentially inverting each signal level of each output terminal during a continuous input period; and a method for stopping data input from an external device in response to the signal level inversion of each output terminal. A busy signal output terminal detecting means for determining the output terminal whose signal level has been inverted as a busy signal output terminal from the main unit, and an external device A signal level detecting means for detecting a signal level of each input terminal during a period in which a processing request having a large processing capacity is continuously transmitted; and an input terminal for which signal level inversion is detected by the signal level detecting means is connected to an external device. And a busy signal input terminal detecting means for determining a busy signal input terminal from the side.

[作用] このように構成された入出力ターミナルにおいては、
本体装置から外部装置へビジィ信号を送出する場合にど
の出力端子から送出したらよいかを調べる場合には、ま
ず、外部装置へデータ連続送信要求を送出して外部装置
からデータを連続送出させる。その状態で出力端子の信
号レベルを順次反転していき、反転した時に外部装置か
らのデータ入力が停止すると、信号レベル反転した出力
端子がビジィ信号を送出したと見なせるので、この出力
端子がビジィ信号の出力端子と特定できる。
[Operation] In the input / output terminal configured as described above,
When checking which output terminal should be used to send a busy signal from the main unit to an external device, first, a continuous data transmission request is sent to the external device to cause the external device to continuously send data. In this state, the signal level of the output terminal is sequentially inverted, and when the data input from the external device is stopped at the time of the inversion, it can be considered that the output terminal whose signal level has been inverted has transmitted the busy signal. Output terminal.

一方、外部装置から出力されるビジィ信号が入出力タ
ーミナルのコネクタにおけるどの入力端子に入力される
かを調べる場合には、外部装置へこの外部装置の処理容
量を越える処理要求を連続して送出する。そして、その
送出している期間内に各入力端子の信号レベルを監視す
る。外部装置は処理要求に応じきれなくなるとビジィ信
号を出力する。したがって、信号レベルが反転した入力
端子がそのビジィ信号の入力端子と特定できる。
On the other hand, when checking which input terminal of the connector of the input / output terminal receives the busy signal output from the external device, a processing request exceeding the processing capacity of the external device is continuously sent to the external device. . Then, the signal level of each input terminal is monitored during the transmission period. The external device outputs a busy signal when it cannot satisfy the processing request. Therefore, the input terminal whose signal level is inverted can be specified as the input terminal of the busy signal.

[実施例] 以下本発明の一実施例を図面を用いて説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例の入出力ターミナルが組込まれたプリ
ンタやCRT表示装置等の端末装置21およびこの端末装置2
1にRS-232C規格を有するケーブル22を介して接続された
ホストコンピュータからなる外部装置23を示す模式図で
ある。
FIG. 1 shows a terminal device 21 such as a printer or a CRT display device in which the input / output terminal of the embodiment is incorporated, and a terminal device 2 such as this.
FIG. 1 is a schematic diagram showing an external device 23 composed of a host computer connected to a 1 via a cable 22 having the RS-232C standard.

前記ケーブル22の両端には前述したRS-232C規格に準
拠して端子配列された各コネクタ24,25が接続されてお
り、その一方のコネクタ24に端末装置21内の入出力ター
ミナル26が接続され、他方のコネクタ25には外部装置23
内の入出力ターミナル27が接続されている。そして、端
末装置21内の入出力ターミナル26には本体装置28が接続
されている。
At both ends of the cable 22, connectors 24 and 25 arranged in accordance with the aforementioned RS-232C standard are connected, and one of the connectors 24 is connected to an input / output terminal 26 in the terminal device 21. The other connector 25 has an external device 23
I / O terminal 27 is connected. A main device 28 is connected to an input / output terminal 26 in the terminal device 21.

入出力ターミナル26内において、コネクタ24の#1の
保安用アース(FG)端子および#7の信号源アース(S
G)端子はそれぞれ入出力ターミナル26を通過して、そ
れぞれ本体装置28のフレームおよび信号アースに接続さ
れる。
In the input / output terminal 26, the # 1 security ground (FG) terminal of the connector 24 and the signal source ground (S
G) The terminals pass through the input / output terminals 26 and are connected to the frame of the main unit 28 and the signal ground, respectively.

コネクタ24の#2,#4,#20の各出力端子29a,29b,29c
には前記本体装置28から各ドライバー30a,30b,30cを介
してそれぞれSD信号,RS信号,ER信号が印加される。
# 2, # 4, # 20 output terminals 29a, 29b, 29c of connector 24
, An SD signal, an RS signal, and an ER signal are applied from the main unit 28 via the drivers 30a, 30b, and 30c, respectively.

また、コネクタ24の#3,#5,#6,#8,#22の各入力端
子31a,31b,31c,31d,31eには外部装置23側からそれぞれR
D信号,CS信号,DR信号,CD信号,CI信号が入力され、入力
された各信号はそれぞれレシーバー32a,32b,32c,32d,32
eを介して本体装置28へ入力される。
The input terminals 31a, 31b, 31c, 31d, and 31e of # 3, # 5, # 6, # 8, and # 22 of the connector 24 are connected to the external device 23 from the R side, respectively.
D signal, CS signal, DR signal, CD signal, CI signal are input, and the input signals are receivers 32a, 32b, 32c, 32d, 32, respectively.
It is input to the main unit 28 via e.

また、各ドライバー30a,30b,30cの入力端子は出力イ
ンタフェース33の各出力ポートQ1,Q2,Q3に接続され、各
レシーバー32a,32b,32c,32d,32eの出力端子は入力イン
タフェース34の各入力ポートP1,P2,P3,P4,P5に接続され
ている。
The input terminals of each driver 30a, 30b, 30c are connected to each output port Q1, Q2, Q3 of the output interface 33, and the output terminal of each receiver 32a, 32b, 32c, 32d, 32e is connected to each input port of the input interface 34. Ports P1, P2, P3, P4, and P5 are connected.

前記出力インタフェース33および入力インタフェース
34はバスライン35を介してCPU(中央処理装置)36に接
続されている。CPU36はこのバスライン35を介して前記
出力インタフェース33,入力インタフェース34の他に、
制御プログラムを記憶するROM37,出力ポインタや入力ポ
インタ等の各種可変データを記憶するRAM38,操作パネル
39を制御する。すなわち、前記CPU36,ROM37,RAM38,出力
インタフェース33,入力インタフェース34は、前記コネ
クタ24の入出力端子29a〜31eに対する入出力信号を制御
する制御部40を構成する。
The output interface 33 and the input interface
Reference numeral 34 is connected to a CPU (central processing unit) 36 via a bus line 35. The CPU 36, in addition to the output interface 33 and the input interface 34 via the bus line 35,
ROM 37 for storing control programs, RAM 38 for storing various variable data such as output pointer and input pointer, operation panel
Control 39. That is, the CPU 36, the ROM 37, the RAM 38, the output interface 33, and the input interface 34 constitute a control unit 40 that controls input / output signals to the input / output terminals 29a to 31e of the connector 24.

しかして、この入出力ターミナル26内に組込まれた制
御部40のCPU36は第2図および第3図の流れ図にしたが
って、本体装置28から出力するビジィ信号の出力端子の
検出処理および外部装置23から送出されるビジィ信号の
入力端子の検出処理を実行するようにプログラム構成さ
れている。
Then, the CPU 36 of the control unit 40 incorporated in the input / output terminal 26 detects the output terminal of the busy signal output from the main unit 28 and the external device 23 according to the flowcharts of FIGS. The program is configured to execute a process of detecting the input terminal of the transmitted busy signal.

そして、この端末装置21と外部装置23とを接続する場
合、ケーブル22の各コネクタ24,25を端末装置21側およ
び外部装置23側の各入出力ターミナル26,27に接続す
る。そして、各装置21,23および各ターミナル26,27の電
源を投入して動作状態とする。
When connecting the terminal device 21 and the external device 23, the connectors 24 and 25 of the cable 22 are connected to the input / output terminals 26 and 27 of the terminal device 21 and the external device 23, respectively. Then, the power to each of the devices 21 and 23 and each of the terminals 26 and 27 is turned on to bring them into an operating state.

この状態で、制御部40の操作パネル39を操作してビジ
ィ信号出力端子の検出指令を入力する。すると、前記CP
U36は第2図の出力端子検出処理を開始する。流れ図が
開始されると、S(ステップ)1にて、出力インタフェ
ース33の出力ポートQ1からドライバー30aへデータ連続
送信要求信号を送出する。すると、このデータ連続送信
要求信号は#2の送信データ(SD)端子29a,ケーブル22
を介してホストコンピュータからなる外部装置23のコネ
クタ25の#3の受信データ(RD)端子へ入力される。
In this state, the operation panel 39 of the control unit 40 is operated to input a detection command of the busy signal output terminal. Then, the CP
U36 starts the output terminal detection processing of FIG. When the flowchart is started, a data continuous transmission request signal is sent from the output port Q1 of the output interface 33 to the driver 30a in S (step) 1. Then, the data continuous transmission request signal is transmitted to the # 2 transmission data (SD) terminal 29a and the cable 22.
Is input to the # 3 received data (RD) terminal of the connector 25 of the external device 23 composed of the host computer via the.

データ連続送信要求信号を受信した外部装置23はコネ
クタ25の#2の送信データ(SD)端子を介して端末装置
21側のコネクタ24の#3の受信データ(RD)端子31aへ
予め定められたデータを連続して送信する。
The external device 23 that has received the data continuous transmission request signal is connected to the terminal device via the # 2 transmission data (SD) terminal of the connector 25.
The predetermined data is continuously transmitted to the # 3 reception data (RD) terminal 31a of the connector 24 on the 21 side.

この連続するデータをレシーバー32aおよび入力イン
タフェース34の入力ポートP1を介して受信すると、S2に
てRAM38の出力ポインタQを初期値1に設定する。次
に、S3にて出力インタフェース33の出力ポインタQが指
定するQ番目の出力ポートの出力信号レベルを反転させ
る。よって、この出力ポートに接続された一つの出力端
子29a〜29cの信号レベルが反転する。S4にて信号レベル
反転に応動して#3の受信データ(RD)端子31aにおけ
る連続データ入力が停止したか否かを調べる。
When this continuous data is received via the receiver 32a and the input port P1 of the input interface 34, the output pointer Q of the RAM 38 is set to the initial value 1 in S2. Next, in S3, the output signal level of the Q-th output port designated by the output pointer Q of the output interface 33 is inverted. Therefore, the signal level of one output terminal 29a to 29c connected to this output port is inverted. In S4, in response to the signal level inversion, it is checked whether or not continuous data input to the # 3 reception data (RD) terminal 31a has stopped.

データ入力が停止しなければ、Q番目の出力端子はビ
ジィ信号出力端子でないので、該当出力端子の信号レベ
ルを元に戻し、S5にて出力ポインタQに1を加算する。
S6にて加算後の出力ポインタQが最大値3を越えないこ
とを確認すると、S3へ戻り、加算後の出力ポインタQの
指定するQ番目の出力ポートの出力信号レベルを反転し
て、受信データ(RD)端子31aのデータ入力が停止する
か否かを判断する。
If the data input is not stopped, the Q-th output terminal is not a busy signal output terminal, so the signal level of the output terminal is returned to its original level, and 1 is added to the output pointer Q in S5.
When it is confirmed in S6 that the output pointer Q after addition does not exceed the maximum value 3, the process returns to S3, inverts the output signal level of the Qth output port specified by the output pointer Q after addition, and returns the received data. (RD) It is determined whether or not the data input to the terminal 31a stops.

S4にて、連続データ入力が停止すると、外部装置23
が、S3における信号レベル反転を端末装置21の本体装置
28からビジィ信号が入力されたと判断して、連続するデ
ータ送信を停止したと判断できる。よって、S7にて、出
力ポインタQの指定する出力ポートに対応する出力端子
をビジィ信号の出力端子として本体装置28へ送信する。
しかして、本体装置28はその出力端子をビジィ信号出力
端子として記憶部に記憶しておく。
When continuous data input stops in S4, the external device 23
However, the signal level inversion in S3 is performed by the main unit of the terminal device 21.
By judging that the busy signal has been input from 28, it can be judged that continuous data transmission has been stopped. Therefore, in S7, the output terminal corresponding to the output port designated by the output pointer Q is transmitted to the main unit 28 as the output terminal of the busy signal.
The main unit 28 stores the output terminal in the storage unit as a busy signal output terminal.

その後、S8にて、外部装置23に対するデータ連続送信
要求信号を解除する。なお、S6にて加算後の出力ポイン
タQが最大値3を越えると外部装置23はビジィ信号を受
付けないと判断して、ビジィ信号なし情報を本体装置28
へ送信する。
Thereafter, in S8, the continuous data transmission request signal to the external device 23 is released. If the output pointer Q after the addition exceeds the maximum value 3 in S6, the external device 23 determines that the busy signal is not accepted, and outputs the busy signal no information to the main device 28.
Send to

次に、操作パネル39からビジィ信号入力端子の検索指
令が入力されると、前記CPU36は第3図の流れ図を実行
する。
Next, when a search command for a busy signal input terminal is input from the operation panel 39, the CPU 36 executes the flow chart of FIG.

流れ図が開始されるとS9にてRAM38の入力ポインタP
を初期値1に設定する。次に、S10にて、出力インタフ
ェース33およびドライバー30aを介して、外部装置23へ
例えば機械的動作が伴う処理要求指令を連続して送信す
る。なお、この機械的動作が伴う処理要求指令とは、例
えばこの外部装置23に接続されたプリンタにおける印字
出力指令や、紙送り指令等が考えられる。また、画像処
理等の短時間で大量のデータ処理を実行する処理要求指
令であってもよい。すなわち、外部装置23側で順次入力
される処理要求に対して処理が追い付かない処理容量を
有する処理要求であればよい。したがって、外部装置23
はこの端末装置21に対してビジィ信号を出力するはずで
ある。
When the flowchart starts, the input pointer P of the RAM 38 is determined in S9.
Is set to the initial value 1. Next, in S10, for example, a processing request command accompanied by a mechanical operation is continuously transmitted to the external device 23 via the output interface 33 and the driver 30a. The processing request command accompanied by the mechanical operation may be, for example, a print output command or a paper feed command in a printer connected to the external device 23. In addition, a processing request command for executing a large amount of data processing in a short time such as image processing may be used. In other words, any processing request having a processing capacity that the processing cannot keep up with the processing requests sequentially input on the external device 23 side may be used. Therefore, the external device 23
Should output a busy signal to the terminal device 21.

そして、S11にて、入力ポインタPが指定するP番目
の入力ポートの信号レベルを監視する。S12にて該当入
力ポートの信号レベルが変化しなければ、この入力ポー
トに接続された入力端子はビジィ信号入力端子でないの
で、S13へ進み、入力ポインタPに1を加算する。S14に
て加算後の入力ポインタPが最大値5を越えていないこ
とを確認すると、S10へ戻り、再度外部装置23へ前述し
た処理要求指令を送出する。
Then, in S11, the signal level of the P-th input port designated by the input pointer P is monitored. If the signal level of the input port does not change in S12, the input terminal connected to this input port is not a busy signal input terminal, so the process proceeds to S13, where 1 is added to the input pointer P. When it is confirmed in S14 that the input pointer P after the addition does not exceed the maximum value 5, the process returns to S10 and sends the above-mentioned processing request command to the external device 23 again.

そして、S12にて、入力ポインタPの指定するP番目
の入力ポートの信号レベルが反転すると、該当入力ポー
トに対応する入力端子が外部装置23から出力されるビジ
ィ信号の端末装置21側の入力端子であると判断する。そ
して、S15にて、該当入力端子をビジィ信号入力端子と
して本体装置28へ送信する。しかして、本体装置28はそ
の入力端子をビジィ信号入力端子として記憶部に記憶し
ておく。
Then, in S12, when the signal level of the P-th input port designated by the input pointer P is inverted, the input terminal corresponding to the input port becomes the input terminal on the terminal device 21 side of the busy signal output from the external device 23. Is determined to be. Then, in S15, the corresponding input terminal is transmitted to main device 28 as a busy signal input terminal. The main unit 28 stores the input terminal in the storage unit as a busy signal input terminal.

なお、S14にて加算後の入力ポインタPが最大値5を
越えると外部装置23はビジィ信号を出力しないと判断し
て、ビジィ信号なし情報を本体装置28へ送信する。
If the input pointer P after the addition exceeds the maximum value 5 in S14, the external device 23 determines that the busy signal is not to be output, and transmits the no busy signal information to the main device 28.

このように構成された入出力ターミナルであれば、た
とえ、接続される相手側の外部装置23が出力するビジィ
信号の出力端子、すなわち端末装置21側の入力端子31a
〜31eが不明であったとしても、また、外部装置23がビ
ジィ信号を受付ける入力端子、すなわち端末装置21側の
出力端子29a〜29cが不明であったとしても、入出力ター
ミナル26内に組込まれた制御部40が自動的に上記ビジィ
信号の端末装置21側の入出力端子を検索して、本体装置
28の記憶部に記憶させている。
With the input / output terminal configured in this manner, for example, an output terminal of a busy signal output from the external device 23 on the other end of the connection, that is, an input terminal 31a of the terminal device 21 side
Even if the input terminal through which the external device 23 receives a busy signal, i.e., the output terminals 29a to 29c on the terminal device 21 side are unknown, the internal terminal is incorporated into the input / output terminal 26. The control unit 40 automatically searches for the input / output terminal of the busy signal on the terminal device 21 side.
28 storage units.

よって、操作者は各装置21,23を、#1〜#25の全ピ
ンが接続されているケーブル22で接続して、操作パネル
39でビジィ信号の入出力端子の検索指令を入力するのみ
で、自動的にビジィ信号の入出力端子が本体装置28へ登
録されるので、直ちに各装置21,23間でデータ送受信を
開始すことができる。よって、新に処理装置相互間を接
続替えしたときの調整作業が大幅に簡素化されるので、
操作者の負担を大幅に軽減できる。
Therefore, the operator connects the devices 21 and 23 with the cable 22 to which all pins # 1 to # 25 are connected, and
Only by inputting the search command of the busy signal input / output terminal at 39, the busy signal input / output terminal is automatically registered in the main unit 28, so that the data transmission / reception between the devices 21 and 23 can be started immediately. Can be. Therefore, the adjustment work when newly connecting the processing devices is greatly simplified,
The burden on the operator can be greatly reduced.

なお、本発明の手法を利用すれば、ビジィ信号入力端
子を検出できるのみならず、ドライバー,レシーバーの
方向も同様の手法で容易に判断することができ、非常に
取扱いやすい入出力ターミナルとすることができる。
By using the method of the present invention, not only the busy signal input terminal can be detected, but also the directions of the driver and the receiver can be easily determined by the same method, so that the input / output terminal is very easy to handle. Can be.

[発明の効果] 以上説明したように本発明の入出力ターミナルにおい
ては、外部装置および本体装置からそれぞれ強制的にビ
ジィ信号を送出させて、各入出力端子における外部装置
側からのデータ送信停止及び信号レベル反転に関する応
答を調べることによりビジィ信号の入出力端子を特定し
ている。したがって、処理装置相互間をケーブルを用い
て接続した場合に、短時間で接続に係わる調整作業を実
施でき、直ちに正しいデータ送受信を開始できる。よっ
て、たとえビジィ信号の入出力端子が不明であったとし
ても簡単に処理装置相互間を接続替えできる。
[Effects of the Invention] As described above, in the input / output terminal of the present invention, a busy signal is forcibly transmitted from the external device and the main unit, and data transmission from the external device to each input / output terminal is stopped. By examining the response related to the signal level inversion, the input / output terminal of the busy signal is specified. Therefore, when the processing devices are connected to each other using the cable, the adjustment work related to the connection can be performed in a short time, and correct data transmission and reception can be started immediately. Therefore, even if the input / output terminal of the busy signal is unknown, the connection between the processing devices can be easily changed.

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

第1図は本発明の一実施例に係わる入出力ターミナルを
組込んだ端末装置及び外部装置を示すブロック図、第2
図及び第3図は同実施例の動作を示す流れ図、第4図は
一般的な接続手法を示す模式図、第5図は一般的な接続
コネクタの端子配列を示す図である。 21……端末装置、22……ケーブル、23……外部装置、2
4,25……コネクタ、26……入出力ターミナル、28……本
体装置、29a〜29c……出力端子、30a〜30c……ドライバ
ー、31a〜31e……入力端子、32a〜32e……レシーバー、
33……出力インタフェース、34……入力インタフェー
ス、36……CPU、40……制御部。
FIG. 1 is a block diagram showing a terminal device incorporating an input / output terminal and an external device according to an embodiment of the present invention.
FIGS. 3 and 3 are flowcharts showing the operation of the embodiment, FIG. 4 is a schematic diagram showing a general connection method, and FIG. 5 is a diagram showing a terminal arrangement of a general connection connector. 21 Terminal device, 22 Cable, 23 External device, 2
4, 25 connector, 26 input / output terminal, 28 main unit, 29a to 29c output terminal, 30a to 30c driver, 31a to 31e input terminal, 32a to 32e receiver
33 ... output interface, 34 ... input interface, 36 ... CPU, 40 ... control unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】本体装置(28)から出力される送信データ
および各種制御信号をコネクタ(24)の各出力端子(29
a〜29c)およびケーブル(22)を介してデータ送受信先
の外部装置(23)へ送出すると共に、この外部装置から
前記ケーブルおよびコネクタの各入力端子(31a〜31e)
を介して入力された受信データおよび各種制御信号を前
記本体装置へ送出する入出力ターミナル(26)におい
て、 データ連続送信要求に応じて前記外部装置からデータが
連続して入力している期間に前記各出力端子の各信号レ
ベルを順次反転していく信号レベル反転手段(S3)と、
前記各出力端子の信号レベル反転に応動して前記外部装
置からのデータ入力が停止したときの信号レベル反転し
た出力端子を本体装置側からのビジィ信号出力端子と判
断するビジィ信号出力端子検出手段(S4,S7)と、前記
外部装置へ処理容量の大きい処理要求を連続して送出し
ている期間に前記各入力端子の信号レベルを検出する信
号レベル検出手段(S11)と、この信号レベル検出手段
にて信号レベル反転が検出された入力端子を前記外部装
置側からのビジィ信号入力端子と判断するビジィ信号入
力端子検出手段(S12,S15)とを備えた入出力ターミナ
ル。
A transmission data and various control signals output from a main unit (28) are transmitted to respective output terminals (29) of a connector (24).
a to 29c) and a data transmission / reception destination external device (23) via a cable (22), and from the external device, input terminals (31a to 31e) of the cable and the connector.
An input / output terminal (26) for transmitting received data and various control signals input through the main unit to the main unit, wherein the data is continuously input from the external device in response to a data continuous transmission request. Signal level inversion means (S3) for sequentially inverting each signal level of each output terminal;
Busy signal output terminal detecting means for judging an output terminal whose signal level has been inverted when data input from the external device has stopped in response to the signal level inversion of each output terminal to be a busy signal output terminal from the main unit side ( S4, S7), signal level detecting means (S11) for detecting a signal level of each of the input terminals during a period in which a processing request having a large processing capacity is continuously transmitted to the external device, and the signal level detecting means. An input / output terminal provided with busy signal input terminal detection means (S12, S15) for judging an input terminal for which signal level inversion has been detected as a busy signal input terminal from the external device side.
JP1253577A 1989-09-28 1989-09-28 I / O terminal Expired - Lifetime JP2898025B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1253577A JP2898025B2 (en) 1989-09-28 1989-09-28 I / O terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1253577A JP2898025B2 (en) 1989-09-28 1989-09-28 I / O terminal

Publications (2)

Publication Number Publication Date
JPH03113619A JPH03113619A (en) 1991-05-15
JP2898025B2 true JP2898025B2 (en) 1999-05-31

Family

ID=17253310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1253577A Expired - Lifetime JP2898025B2 (en) 1989-09-28 1989-09-28 I / O terminal

Country Status (1)

Country Link
JP (1) JP2898025B2 (en)

Also Published As

Publication number Publication date
JPH03113619A (en) 1991-05-15

Similar Documents

Publication Publication Date Title
US10621797B2 (en) System and method for transferring diagnostic commands to a vehicle
US5033050A (en) Operation control system
JP2898025B2 (en) I / O terminal
US4996562A (en) Control device in image forming apparatus
JP2905075B2 (en) Programmable controller and its exclusive control communication method
JP2679775B2 (en) Communication method between CPUs
JP4499862B2 (en) Status detection method for printer having USB interface and printing system using the method
JP2654365B2 (en) Bus overload test method and test system
JP2508580B2 (en) Bus termination control system
KR0154606B1 (en) Communication line data analysis
JP3031050B2 (en) Fault diagnosis device
JP2718763B2 (en) Self-diagnosis activation method
JPH06311208A (en) Communication controller
JPH08115274A (en) Controller provided with data communication function
JPH06301614A (en) Hollow fiber having chemicals volatility and method for volatilizing chemicals
KR920000701Y1 (en) Interfaceing apparatus w/self testing function
JPH04222004A (en) Display device
JPH05167476A (en) Data transmitter
JPH07253938A (en) Reception processor of transmission line doubled system
JPH08288979A (en) Interface changeover method and its device for data transfer device
JPS62180441A (en) Diagnosis system for transmission bus
JPH04278742A (en) Method of detecting error in reception data
JPS5981950A (en) Data transfer control system
JPS62266940A (en) System bus data transfer equipment
JPS5952329A (en) Data terminal device