JPH022281A - Communication control equipment - Google Patents

Communication control equipment

Info

Publication number
JPH022281A
JPH022281A JP63145297A JP14529788A JPH022281A JP H022281 A JPH022281 A JP H022281A JP 63145297 A JP63145297 A JP 63145297A JP 14529788 A JP14529788 A JP 14529788A JP H022281 A JPH022281 A JP H022281A
Authority
JP
Japan
Prior art keywords
current loop
ready
communication control
state
terminal 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
JP63145297A
Other languages
Japanese (ja)
Inventor
Kazuo Niizawa
新澤 和雄
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP63145297A priority Critical patent/JPH022281A/en
Publication of JPH022281A publication Critical patent/JPH022281A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To attain the communication control of ready/busy system through a pair of signal lines by forming a current loop when a terminal equipment reaches the ready state, reading the state by a host computer and transferring the data to the terminal equipment through a pair of the current loop signal lines. CONSTITUTION:In the case of the ready state in a terminal equipment PT, the communication control circuit 11 outputs a ready signal to a terminal DTR. The ready signal is outputted to a photocoupler 8 via a driver 10 to turn on a photo transistor acting like a switch means. Thus, the loop is closed and a current flows to the current loop signal line Lo. In the host computer HS, the photocoupler 4 detects the closed current loop signal line Lo and a read back means recognizes the ready state of the terminal equipment via a receiver 6. When the host computer HS recognizes the ready state, a data is outputted from a terminal TxD and the data is transferred through the photocoupler 3 and the current loop signal line Lo.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、カレントループインターフェイスの通信方式
をとるシステムにおける通信制御装置に関し、更に詳し
くは、ホスト計算機とこのホスト計′A、機によって制
御される端末装置とからなり、端末装置が出力するレデ
ィ/ビジー信号によってデータ転送を制御する通信制御
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a communication control device in a system that uses a current loop interface communication method. The present invention relates to a communication control device that includes a terminal device and controls data transfer using ready/busy signals output from the terminal device.

(従来の技術) 第3図は、従来装置の一例を示す構成ブロック図である
。図において、HSはホスト計算機、P′l゛はこのホ
スト計算機HSによって制御される例えばプリンタのよ
うな端末装置で、ホスト計!!機HSに、データ線1.
】、スティタス線L2によって結ばれている。
(Prior Art) FIG. 3 is a configuration block diagram showing an example of a conventional device. In the figure, HS is a host computer, and P′l is a terminal device such as a printer that is controlled by the host computer HS. ! Connect the data line 1 to the machine HS.
], are connected by status line L2.

ホスト計+g 機HS内には、スティタス線し、2を介
して端末装置側から送られるレディ/ビジー信号を監視
し、レディ状態の時、データ線L1上にデータを送り出
す通信制御回路11があり、また、端末装置PT内には
、端末装置側の状態(レディ状態かビジー状態か)を示
す信号をスティタス線L2に送り出すと共に、データ線
L1を介して送られたデータを受ける通信m’Jtl’
J回路21がある。
There is a communication control circuit 11 in the host meter +g machine HS that monitors the ready/busy signal sent from the terminal device side via the status line 2 and sends data on the data line L1 when it is in the ready state. Also, within the terminal device PT, there is a communication m'Jtl which sends a signal indicating the status of the terminal device side (ready state or busy state) to the status line L2 and receives data sent via the data line L1. '
There is a J circuit 21.

(発明が解決しようとする課題) この様な構成の従来の通信制御装置は、ホスト計3!機
H8と、端末装置P′Fとの間に、端末装置の状態を知
らせる為のスティタス線L2と、データ転送の為のデー
タ線L1の2対の信号線を必要とする。
(Problem to be Solved by the Invention) The conventional communication control device with such a configuration has a total of three hosts! Two pairs of signal lines are required between the machine H8 and the terminal device P'F: a status line L2 for notifying the status of the terminal device and a data line L1 for data transfer.

本発明は、この様な状況に鑑みてなされたもので、その
目的は、1対の信号線を用いてカレントループインタフ
ェースの、レディ/ビジ一方式の通信制御を行える通信
制御装置を実現することにある。
The present invention has been made in view of these circumstances, and its purpose is to realize a communication control device that can perform one-way ready/busy communication control of a current loop interface using a pair of signal lines. It is in.

(課題を11ソ決するための手段) 第1図は、本発明の基本的な構成を示すブロックレ1で
ある。図において、HSはホスト計算機、PTはこのホ
スト計W fi 1−I Sに対して1対のカレントル
ープ信号線L oを介して結ばれた端末装置である6端
末装置P T’において、21は自分がレディ状rlの
ときにカレントループ信号線LOがループを形成するよ
うに接続し、ビジーの時はカレントループ信号線LOの
ループを開にするスイッチ手段である。ホスト計Wfi
H5において、11はカレントループ信号線l、0上の
信号状態を読み出すことにより、端末装M P ’I’
のレディ状態/ビジー状態を知るリードパック手段であ
る。
(Means for resolving the 11 problems) FIG. 1 is a block diagram 1 showing the basic configuration of the present invention. In the figure, HS is a host computer, and PT is a terminal device connected to this host computer W fi 1-I S via a pair of current loop signal lines Lo. In the six terminal device PT', 21 is a switch means that connects the current loop signal line LO to form a loop when it is in the ready state rl, and opens the loop of the current loop signal line LO when it is busy. Host total Wfi
In H5, 11 reads out the signal state on the current loop signal lines l and 0 to read out the signal state on the terminal device M P 'I'
This is a read pack means for knowing the ready state/busy state of the device.

(作用) 端末装置において2.自分がレディ状態になると、スイ
ッチ手段かオンとなり、カレントループが形成され、ホ
スト計算機はこの状態を読み込んで、データを端末装置
側に1対のカレントループ信号線を用いて転送する。
(Function) In the terminal device 2. When it becomes ready, the switch means is turned on, a current loop is formed, and the host computer reads this state and transfers the data to the terminal device using a pair of current loop signal lines.

(実施例) 以下図面を用いて、本発明の実施例を詳細に説明する。(Example) Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は、本発明の一実施例を示す構成ブロック図であ
る。図において、第1図のものと同じ部分には同一符号
を付して示す6 ホスト計!i[IIsにおいて、1は通信制御回iMで
、既に市販されている通信用LSIが用いられ、端子′
I″x +)に転送すべきデータか出力され、端子DC
Dにカレントループ信号線1oに流れる電流の有無に関
する信号が印加され、内部に端末装置PTのレディ状態
/ビジー状態を知るリードバック手段が構成されている
FIG. 2 is a block diagram showing an embodiment of the present invention. In the figure, parts that are the same as those in Figure 1 are designated with the same reference numerals.6 Host Total! In i[IIs, 1 is a communication control circuit iM, which uses a communication LSI that is already commercially available, and which connects the terminal '
The data to be transferred to I″x +) is output and the terminal DC
A signal indicating the presence or absence of current flowing through the current loop signal line 1o is applied to D, and a readback means for knowing the ready state/busy state of the terminal device PT is configured inside.

2はドライバ、3及び4はカレントループ信号P+i1
.0に挿入されたフォト力1うで、通信制御回路1から
出力された転送データがドライバ2、フォトカプラ3を
介してカレントループ信号線[,0上に送り出される。
2 is a driver, 3 and 4 are current loop signals P+i1
.. 0, the transfer data output from the communication control circuit 1 is sent out onto the current loop signal line [, 0 via the driver 2 and photocoupler 3.

5はカレントループ信号線LOに例えば20mAの定電
流を供給する定電流源、6はフォトカプラ4を介して端
末装ff1JTから送られたレディ状態/ビジー状態を
示す信号を受けるレシーバで、その出力信号は通信制御
回路1の端子D CDに印加されている。
5 is a constant current source that supplies a constant current of, for example, 20 mA to the current loop signal line LO, and 6 is a receiver that receives a signal indicating the ready state/busy state sent from the terminal equipment ff1JT via the photocoupler 4, and its output. The signal is applied to the terminal DCD of the communication control circuit 1.

フォ1へカップラ3.4は、いずれも発光ダイオードと
フォトトランジスタとの組み合わせで構成されており、
転送データ送出用のフォトカップラ3は、フォトトラン
ジスタがカレントループ信号線Loに挿入され、また、
レディ信号/ビジー信号を受けるフォトカップラ4は、
発光ダイオードかカレントループ信号線Loに挿入され
ている。
Coupler 3.4 to photo 1 is composed of a combination of a light emitting diode and a phototransistor.
In the photocoupler 3 for transmitting transfer data, a phototransistor is inserted into the current loop signal line Lo, and
The photocoupler 4 that receives the ready signal/busy signal is
A light emitting diode is inserted into the current loop signal line Lo.

端末装置 P Tにおいて、7.8はいずれもフォトカ
プラで、発光ダイオードと、フォトトランジスタとで構
成されており、転送されたデータを受けるフォトカップ
ラ7は、発光ダイオードかカレントループ信号線Loに
挿入され、レディ信号/ビジー信号を出力するフォトカ
ップラ8はフォトトランジスタがカレントループ信号線
L oに挿入されている。このフォトトランジスタは、
第1図におけるスイッチ手段21として機能するもので
ある。 9はレシーバ、10はドライバ、11はレシー
バ9を介して転送されたデータを端子RxDに受け、端
子D ′I’ R、ドライバ10を介してレディ信号/
ビジー信号を出力する通信制御回路である4 この様に
構成した装置の動作を次に説明する。 @末装置P1’
がビジー状態の時、通信制御回路11は端子D i” 
Hにビジー信号を出力する。
In the terminal device PT, 7 and 8 are both photocouplers, which are composed of a light emitting diode and a phototransistor, and the photocoupler 7 that receives the transferred data is inserted into the light emitting diode or the current loop signal line Lo. In the photocoupler 8 which outputs a ready signal/busy signal, a phototransistor is inserted into the current loop signal line Lo. This phototransistor is
It functions as the switch means 21 in FIG. 9 is a receiver, 10 is a driver, 11 receives the data transferred via the receiver 9 at a terminal RxD, and outputs the ready signal / via the terminal D'I'R and the driver 10.
4, which is a communication control circuit that outputs a busy signal, operates as follows. @end device P1'
is in a busy state, the communication control circuit 11 connects the terminal D i”
Outputs a busy signal to H.

このビジー信号は、ドライバ10を介してフォトカップ
ラ8に出力され、スイッチ手段として機能するフォトト
ランジスタをオフ状態にする。これによってカレントル
ープ信号線LOは、ループが開の状態となり電流が流れ
なくなる。
This busy signal is output to the photocoupler 8 via the driver 10, and turns off the phototransistor functioning as a switching means. As a result, the loop of the current loop signal line LO becomes open, and no current flows.

ホスト計3fiH8において、フォトカップラ4は、カ
レントループ信号線L oか開となったのを受け、これ
を検出し、レシーバ6を介してリードパック手段か端末
装置のビジー状態を知る。ホスト計35. N I(s
は、このビジー状態では、データの転送動作を行わない
In the host total 3fiH8, the photocoupler 4 detects the opening of the current loop signal line Lo, and learns via the receiver 6 whether the read pack means or the terminal device is busy. Total number of hosts: 35. N I(s
does not perform data transfer operations in this busy state.

端末装置において、レディ状態になると、通信制御回路
11は端子D ’I’ Rにレディ信号を出力し、スイ
ッチ手段として機能するフォトトランジスタをオン状態
にする。これによってカレントループ信号線LOは、ル
ープが閉じた状態となり電流か流れるようになる。
When the terminal device enters a ready state, the communication control circuit 11 outputs a ready signal to the terminal D'I'R to turn on the phototransistor functioning as a switch means. As a result, the current loop signal line LO becomes in a closed loop state, and current flows through the current loop signal line LO.

ホスト計gRH8において、フォトカップラ4は、カレ
ントループ信号線[,0が閉じたのを受け、これを検出
し、レシーバ6を介してリードパック手段が端末装置の
レディ状態を知る。ホスト計算fiH8は、このレディ
状態を知ると、端子ゴxDからデータを出力し、フォト
カップラ3、カレントループ信号線Loを介してデータ
の転送動作を行う。
In the host meter gRH8, the photocoupler 4 receives and detects the closing of the current loop signal line [,0, and the read pack means via the receiver 6 knows the ready state of the terminal device. When the host calculation fiH8 learns of this ready state, it outputs data from the terminal GoxD and performs a data transfer operation via the photocoupler 3 and the current loop signal line Lo.

なお、上記の説明では、ホスト計1fiH3は、カレン
トループ信号線Loに電流が流れているがどうかで、端
末装置p ′rがビジー状態か、レディ状態かを知るよ
うにしたものであるが、端末装置のレディ状態を知るの
に、ホスト計1fiH3からデータを送信し、その時フ
ォトカップラ4を介して受ける受信データか、送信しt
ニデータと一致するかどうか判定し、一致していれば、
端末装置P′1′がレディ状態にあるものとするように
してもよい。
In the above explanation, the host meter 1fiH3 is configured to know whether the terminal device p'r is in a busy state or a ready state based on whether current is flowing through the current loop signal line Lo. In order to know the ready state of the terminal device, data is sent from the host 1fiH3, and the reception data received via the photocoupler 4 at that time is sent.
Determine whether it matches the data, and if it matches,
It may be assumed that the terminal device P'1' is in a ready state.

(発明の効果) 以」−詳細に説明したように、本発明によれば、ホスト
計算機と端末装置とを1対の信号線を用いて結ぶ構成で
、レディ/ビジ一方式相当の通信制御を行える通信制御
装置か提供できる。
(Effects of the Invention) - As explained in detail, according to the present invention, communication control equivalent to the ready/busy one-way system can be performed using a configuration in which a host computer and a terminal device are connected using a pair of signal lines. We can provide a communication control device that can do this.

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

第1図は本発明の基本的な構成を示すブロック図、第2
図は本発明の一実施例ご示す構成ブロック図、第3図は
従来装置の構成ブロック図である。 H3・・・ホスト計X機 PT・・・端末装置 Lo・・・カレントループr W線 11・・・リードパック手段 21・・・スイッチ手段 3.4.7.8・・・フォトカップラ 2.10・・・ドライバ 6.9・・・レシーバ 卒1図 第2図
Figure 1 is a block diagram showing the basic configuration of the present invention, Figure 2 is a block diagram showing the basic configuration of the present invention.
The figure is a block diagram showing an embodiment of the present invention, and FIG. 3 is a block diagram showing the structure of a conventional device. H3...Host total X machine PT...Terminal device Lo...Current loop r W line 11...Lead pack means 21...Switch means 3.4.7.8...Photocoupler 2. 10...Driver 6.9...Receiver graduate 1 Figure 2

Claims (1)

【特許請求の範囲】 ホスト計算機と、 このホスト計算機に対して1対のカレントループ信号線
を介して結ばれた端末装置とからなり、前記端末装置に
自分がレディ状態のときに前記カレントループ信号線が
ループを形成するように接続し、ビジーの時は前記カレ
ントループ信号線のループを開にするスイッチ手段を設
け、 前記ホスト計算機内に前記カレントループ信号線上の信
号の状態を読み出すことにより、前記端末装置のレディ
状態/ビジー状態を知るリードバック手段を設けたこと
を特徴とする通信制御装置。
[Scope of Claims] Consisting of a host computer and a terminal device connected to the host computer via a pair of current loop signal lines, the current loop signal is sent to the terminal device when the terminal device is in a ready state. The lines are connected to form a loop, and a switch means is provided to open the loop of the current loop signal line when the line is busy, and the state of the signal on the current loop signal line is read into the host computer. A communication control device comprising readback means for knowing the ready state/busy state of the terminal device.
JP63145297A 1988-06-13 1988-06-13 Communication control equipment Pending JPH022281A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63145297A JPH022281A (en) 1988-06-13 1988-06-13 Communication control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63145297A JPH022281A (en) 1988-06-13 1988-06-13 Communication control equipment

Publications (1)

Publication Number Publication Date
JPH022281A true JPH022281A (en) 1990-01-08

Family

ID=15381888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63145297A Pending JPH022281A (en) 1988-06-13 1988-06-13 Communication control equipment

Country Status (1)

Country Link
JP (1) JPH022281A (en)

Similar Documents

Publication Publication Date Title
US7778409B2 (en) Enabling cisco legacy power to support IEEE 802.3 AF standard power
US5754549A (en) Inexpensive two-way communications switch
JPH022281A (en) Communication control equipment
US4788717A (en) Telephone line interface option module
EP0228954A1 (en) Telephone line interface option module
JPS6376653A (en) Automatic switching system for terminal of partially matched terminal transmission line
JP3386035B2 (en) Flow control method and method by token passing
JP2639340B2 (en) Printer with network function
JPH0426903Y2 (en)
JP2574486Y2 (en) Printer connection device
JPH0530198Y2 (en)
JPS62269529A (en) Data repeater
JPH0370247B2 (en)
JPH0958094A (en) Electronic device
JPH0520482A (en) Portable terminal provideo with pen scanner having data transmitting/receiving function
JPS586638A (en) Data transmitter
JPS6284641A (en) Communication interface
JPS62163446A (en) Connecting circuit for modem
JPH0621927A (en) Data transmission system
JPS6279553A (en) Personal computer
JPS6267958A (en) Voice response controlling system
JPS62156722A (en) Plotter controller
JP2000112588A (en) Optical signal converter for tristate bus
JPS63236438A (en) Modem
JPH11266209A (en) Optical transmitter