JPH0477144A - Terminal equipment for communication, transmission switching circuit, and communication method - Google Patents

Terminal equipment for communication, transmission switching circuit, and communication method

Info

Publication number
JPH0477144A
JPH0477144A JP18733290A JP18733290A JPH0477144A JP H0477144 A JPH0477144 A JP H0477144A JP 18733290 A JP18733290 A JP 18733290A JP 18733290 A JP18733290 A JP 18733290A JP H0477144 A JPH0477144 A JP H0477144A
Authority
JP
Japan
Prior art keywords
control
data
signal
terminal device
circuit
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.)
Granted
Application number
JP18733290A
Other languages
Japanese (ja)
Other versions
JPH0828712B2 (en
Inventor
Hisao Kamoda
久男 鴨田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2187332A priority Critical patent/JPH0828712B2/en
Publication of JPH0477144A publication Critical patent/JPH0477144A/en
Publication of JPH0828712B2 publication Critical patent/JPH0828712B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To suppress a line control circuit to the minimum number by providing a gate control register storing gate control signals according to the state of the terminal equipment and switching the connection to other transmission opposite party after receiving the gate control signal. CONSTITUTION:At the time of sucking data to a controller 1 side in a four-wire loop type communication network connecting controller 1 and plural terminal equipment 10 in loop shape, the state of the terminal equipment 10 is stored in a gate control register 12, the line is switched by a switching means 13 to select the controller 1, a line control circuit 11 is connected, the data transmission from the line control circuit 11 to the controller 1 is executed after receiving a polling signal from the controller 1 side, the line switching is performed by the switching means 13 by a state signal changed after the data transmission, the next terminal equipment 10 is selected as the other transmission opposite party to be connected, the next terminal equipment and the line control circuit 11 are connected, and the polling signal is transmitted from the line control circuit 11 to the connected next terminal equipment 10.

Description

【発明の詳細な説明】 〔目  次  〕 概要 産業上の利用分野 従来の技術   (第6図および第7図 )発明が解決
しようとする課題 課題を解決するための手段(第1図、第3図)作用 実施例    (第2図 乃至 第5図 )発明の効果 〔概要〕 制御装置と複数台の端末装置をループ状に接続した4線
式ループ型通信ネットワークにおける通信用端末装置お
よび切替回路ならびに通信方法に関し、 回線制御回路を最少個数に抑え、装置費用を削減するこ
とができるようにすることを目的とし、制御装置と複数
台の端末装置をループ状に接続した4線式ループ型通信
ネットワークに接続され、ポーリング信号入力後にデー
タ送信しデータ送信後にポーリング信号を出力する回線
制御回路を有する端末装置において、該端末装置の状態
を規定する状態信号を定め、該状態信号によって接続す
べき送信相手について前記制御装置と次端末装置との何
れかに接続する回線切替を行ない、前記制御装置と前記
回線制御回路を接続し、前記制御装置側からのポーリン
グ信号を受けてから前記制御装置へのデータ送信を実行
し、そのデータ送信後に回線切替を行なって前記次端末
装置と前記回線制御回路を接続し、前記次端末装置へポ
ーリング信号を送信するような構成の通信用端末装置お
よび切替回路ならびに通信方法としたものである。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figs. 6 and 7) Problems to be solved by the invention Means for solving the problems (Figs. 1 and 3) Figure) Example of operation (Figures 2 to 5) Effects of the invention [Summary] Communication terminal device and switching circuit in a 4-wire loop communication network in which a control device and a plurality of terminal devices are connected in a loop, and Regarding the communication method, the aim is to minimize the number of line control circuits and reduce equipment costs.A 4-wire loop communication network that connects a control device and multiple terminal devices in a loop. In a terminal device that is connected to a terminal device and has a line control circuit that transmits data after inputting a polling signal and outputs a polling signal after transmitting data, a status signal that defines the status of the terminal device is determined, and the transmission destination to be connected is determined by the status signal. , performs line switching to connect either the control device and the next terminal device, connects the control device and the line control circuit, receives a polling signal from the control device side, and then transmits data to the control device. A communication terminal device, a switching circuit, and a communication device configured to execute transmission, and after transmitting the data, perform line switching to connect the next terminal device and the line control circuit, and transmit a polling signal to the next terminal device. This is a method.

〔産業上の利用分野 〕[Industrial application field]

本発明は、制御装置と複数台の端末装置をループ状に接
続した4線式ループ型通信ネットワークにおける通信用
端末装置および切替回路ならびに通信方法に関する。
The present invention relates to a communication terminal device, a switching circuit, and a communication method in a four-wire loop communication network in which a control device and a plurality of terminal devices are connected in a loop.

(従来の技術 ) 従来、制御装置と複数台の端末装置をループ状に接続し
た4線式ループ型通信ネットワークでは、第6図に示す
ように、制御装置1からのポーリング信号を受けた端末
装置2a、2bまたは2cが制御装置lへのデータ送信
権を得て、制御装置1にデータ送信を行ない、制御装置
工へのデータ送信終了後に、次段の端末装置2bまたは
2Cヘポ一リング信号を送信することによって、制御装
置lヘデータを吸い上げるようにしている。
(Prior Art) Conventionally, in a four-wire loop communication network in which a control device and a plurality of terminal devices are connected in a loop, as shown in FIG. 2a, 2b or 2c obtains the right to transmit data to the control device 1, transmits the data to the control device 1, and after completing the data transmission to the control device engineer, sends a polling signal to the next stage terminal device 2b or 2C. By transmitting the data, the data is sucked up to the control device l.

ここで使用される端末装置2 (2a、2b。Terminal device 2 (2a, 2b) used here.

2c)には、第7図に示すように、制御装置1からポー
リング信号を含むデータを入力して処理装置(CPU)
3あるいはメモリ4へ受は渡し、また処理装置3の指令
に従ってデータを制御装置1へ送信する(制御装置用)
回線制御回路5と、次段の端末装置からデータを入力し
て処理装置3あるいはメモリ4へ受は渡し、また処理装
置3の指令に従ってデータを次段の端末装置へ送信する
(端末装置用)回線制御回路6を有している。
2c), as shown in FIG.
3 or memory 4, and also sends data to the control device 1 according to instructions from the processing device 3 (for control device)
Data is input from the line control circuit 5 and the next stage terminal device and is passed on to the processing device 3 or memory 4, and data is transmitted to the next stage terminal device according to instructions from the processing device 3 (for terminal device). It has a line control circuit 6.

データ送信の手順としては、制御装置からデータ送信要
求を出していない第1の端末装置2aを素通りして、デ
ータ送信要求を出した第2の端末装置2bへポーリング
信号を渡し、データ送信要求を出している第3の端末装
置2cではボーリング信号待ちの状態となる(第6図(
a))。
The data transmission procedure is such that the control device passes the first terminal device 2a that has not issued a data transmission request, passes a polling signal to the second terminal device 2b that has issued a data transmission request, and then sends the data transmission request. The third terminal device 2c that has output is in a state of waiting for a boring signal (Fig. 6 (
a)).

それから、第2の端末装置2bがデータ通信権を得て、
制御装置1ヘデータを送信する(第6図(b))。
Then, the second terminal device 2b obtains data communication rights,
Data is transmitted to the control device 1 (FIG. 6(b)).

そして、第2の端末装置2bは制御装置1へのデータ送
信が終了すると、第3の端末装置2Cヘポ一リング信号
を送信する(第6図(C))。
When the second terminal device 2b finishes transmitting data to the control device 1, it transmits a polling signal to the third terminal device 2C (FIG. 6(C)).

次に、第3の端末装置2Cがデータ通信権を得て、制御
装置1ヘデータを送信する(第6図(d))。
Next, the third terminal device 2C obtains data communication rights and transmits data to the control device 1 (FIG. 6(d)).

それから、第3の端末装置2Cはデータ送信を終了した
後、制御装置1ヘポ一リング信号を返す(第6図(e)
)。
Then, after completing the data transmission, the third terminal device 2C returns a polling signal to the control device 1 (see FIG. 6(e)).
).

(発明が解決しようとする課題 ) 上記従来の4線式−ループ型通信ネットワークでは、端
末装置2は制御装置1への送信用と次端末への送信用と
して、2つの回線制御回路5.6が必要であり、また二
重化を行なう場合にはそれぞれ現用/予備の合計4つの
回線制御回路が必要になるため、装置費用か高価になっ
てしまうという問題点があった。
(Problems to be Solved by the Invention) In the conventional four-wire loop communication network described above, the terminal device 2 has two line control circuits 5 and 6 for transmission to the control device 1 and for transmission to the next terminal. In addition, in the case of duplexing, a total of four line control circuits, one for current use and one for backup, are required, resulting in an increase in equipment costs.

本発明は、上記問題点に鑑みて成されたものであり、そ
の解決を目的として設定される技術的課題は、回線制御
回路を最少個数に抑え、装置費用を削減することができ
るようにした通信用端末装置および送信切替回路ならび
に通信方法を提供することにある。
The present invention has been made in view of the above-mentioned problems, and the technical problem set for solving the problem is to minimize the number of line control circuits and reduce device costs. An object of the present invention is to provide a communication terminal device, a transmission switching circuit, and a communication method.

(課題を解決するための手段 ) 本発明は、上記課題を解決するための具体的な手段とし
て、第1図に示すように、通信用端末装置を構成するに
あたり、ポーリング信号入力後にデータ送信しデータ送
信後にポーリング信号を出力する回線制御回路11を有
する端末装置10において、該端末装置10の状態に応
じたゲート制御信号を格納するゲート制御レジスタ12
と、前記ゲート制御信号を受けて送信相手に対する接続
を切り替え、前記回線制御回路11から出力されたデー
タを前記送信相手に出力する切替手段13を備えたもの
である。
(Means for Solving the Problems) As a specific means for solving the above problems, the present invention, as shown in FIG. In a terminal device 10 having a line control circuit 11 that outputs a polling signal after data transmission, a gate control register 12 stores a gate control signal according to the state of the terminal device 10.
and a switching means 13 that receives the gate control signal and switches the connection to the transmission destination, and outputs the data output from the line control circuit 11 to the transmission destination.

前記切替手段13には、前記ゲート制御レジスタ12か
らのゲート制御信号より回線切替用の制御信号を生成す
る制御信号生成部14と、該制御信号生成部14から制
御信号を受けて送信相手およびその送信相手に出力すべ
きデータを選択して出力する切替部15を有するものが
望ましい。
The switching means 13 includes a control signal generation section 14 that generates a control signal for line switching from the gate control signal from the gate control register 12, and a control signal generation section 14 that receives the control signal from the control signal generation section 14 and outputs the transmission destination and its destination. It is desirable to have a switching section 15 that selects and outputs data to be output to the transmission destination.

前記切替手段13を具体的に実現する切替回路としては
、第3図または第4図に示すように、ゲート制御レジス
タ34から入力した複数のゲート制御信号の論理積によ
って回線切替用の制御信号を生成するゲート回路を形成
した制御信号生成部42または44と、該制御信号生成
部からの制御信号と送信すべきデータとの論理積を出力
データとして、制御信号の指定する送信相手へ出力する
ゲート回路を形成した切替部43または45からなる回
路が良い。
As shown in FIG. 3 or 4, a switching circuit that specifically realizes the switching means 13 generates a control signal for line switching by ANDing a plurality of gate control signals input from the gate control register 34. A control signal generating section 42 or 44 forming a generating gate circuit, and a gate that outputs the AND of the control signal from the control signal generating section and the data to be transmitted as output data to the transmission destination specified by the control signal. A circuit consisting of a switching section 43 or 45 forming a circuit is preferable.

この端末装置の通信方法としては、制御装置1(第1図
)と複数台の端末装置10をループ状に接続した4線式
ループ型通信ネットワークに接続され、ポーリング信号
入力後にデータ送信しデータ送信後にポーリング信号を
出力する回線制御回路11を有する端末装置において、
該端末装置10の状態を規定する状態信号を定め、該状
態信号によって接続すべき送信相手について前記制御装
置lと次端末装置10との何れかに接続する回線切替を
行ない、必要ならば現用系と予備系との回路切替を行な
って、前記制御装置1と前記回線制御回路11を接続し
、前記制御装置1側からのポーリング信号を受けてから
前記制御装置lへのデータ送信を実行し、そのデータ送
信後に回線切替を行なって前記次端末装置10と前記回
線制御回路11を接続し、前記次端末装置10ヘポーリ
ング信号を送信するようにした方法である。
The communication method of this terminal device is that it is connected to a 4-wire loop communication network in which a control device 1 (Fig. 1) and a plurality of terminal devices 10 are connected in a loop, and data is transmitted after inputting a polling signal. In a terminal device having a line control circuit 11 that later outputs a polling signal,
A status signal that defines the status of the terminal device 10 is determined, and based on the status signal, the transmission destination to be connected is switched to either the control device 1 or the next terminal device 10, and if necessary, the current system is switched. and a standby system, connect the control device 1 and the line control circuit 11, receive a polling signal from the control device 1 side, and then execute data transmission to the control device l; In this method, after transmitting the data, line switching is performed to connect the next terminal device 10 and the line control circuit 11, and a polling signal is transmitted to the next terminal device 10.

(作用) 本発明は上記構成により、制御装置lと複数台の端末装
置10をループ状に接続した4線式ループ型通信ネット
ワークにおける制御装置1側へのデータ吸い上げ時に、
端末装置10の状態を規定する状態信号を定めてゲート
制御レジスタ12へ格納し、その状態信号によって切替
手段13が回線切替を行ない接続すべき送信相手として
制御装置1を選択して、制御装置1と回線制御回路11
をvc続し、制御装置1側からのポーリング信号を受け
てから回線制御回路11から制御装置1へのデータ送信
を実行し、そのデータ送信後に変化した状態信号によっ
て切替手段13が回線切替を行ない、接続すべき送信相
手として次端末装置10を選択して、次端末装置10と
回線制御回路11を接続し、回線制御回路11から接続
した次端末装置10ヘポーリング信号を送信する。
(Function) With the above-mentioned configuration, the present invention has the following configuration: when data is sucked up to the control device 1 side in a 4-wire loop communication network in which the control device 1 and a plurality of terminal devices 10 are connected in a loop,
A state signal that defines the state of the terminal device 10 is determined and stored in the gate control register 12, and the switching means 13 performs line switching based on the state signal, selects the control device 1 as the transmission partner to be connected, and the control device 1 and line control circuit 11
After receiving a polling signal from the control device 1 side, data transmission from the line control circuit 11 to the control device 1 is executed, and the switching means 13 performs line switching according to the status signal changed after the data transmission. , selects the next terminal device 10 as the transmission destination to be connected, connects the next terminal device 10 and line control circuit 11, and transmits a polling signal from the line control circuit 11 to the connected next terminal device 10.

この場合において、必要ならばゲート制御レジスタ12
へ格納した状態信号を変更することによって、現用系と
予備系との回路切替を行なう。
In this case, if necessary, the gate control register 12
Circuit switching between the active system and the standby system is performed by changing the status signal stored in the system.

この場合に切替手段13内では、制御信号生成部14が
ゲート制御レジスタ12からのゲート制御信号を受けて
回線切替用の制御信号を生成し、制御信号生成部14か
ら制御信号を受けた切替部15が送信相手およびその送
信相手に出力すべきデータを制御信号に基づき選択して
送信相手側に出力する。
In this case, within the switching means 13, the control signal generation section 14 receives the gate control signal from the gate control register 12 and generates a control signal for line switching, and the switching section 14 receives the control signal from the control signal generation section 14. 15 selects a transmission destination and data to be output to the transmission destination based on the control signal, and outputs the selected data to the transmission destination.

そしてまた、現用系(予備系)の切替回路による回路切
替では、制御信号生成部42 (44)がゲート制御レ
ジスタ34から入力した複数のゲート制御信号の論理積
によって回線切替用の制御信号を生成し、切替部43 
(45)が制御信号生成部からの制御信号と送信すべき
データとの論理積を出力することによって、制御信号の
指定する送信相手へデータ出力する。
In addition, in circuit switching by the active system (standby system) switching circuit, the control signal generation unit 42 (44) generates a control signal for line switching by logical product of a plurality of gate control signals input from the gate control register 34. and switching section 43
(45) outputs the logical product of the control signal from the control signal generator and the data to be transmitted, thereby outputting the data to the transmission destination designated by the control signal.

〔実施例 〕〔Example 〕

以下、本発明の実施例としてゲート回路により形成した
切替回路を設けた場合について図示説明する。
Hereinafter, as an embodiment of the present invention, a case where a switching circuit formed of a gate circuit is provided will be illustrated and explained.

第2図に端末装置の構成を示す。FIG. 2 shows the configuration of the terminal device.

ここに、31は端末装置、32は処理装置であって端末
装置全体の制御を行ない、33はメモリであって処理装
置32が実行するプログラムや処理するデータを格納す
る。
Here, 31 is a terminal device, 32 is a processing device that controls the entire terminal device, and 33 is a memory that stores programs executed by the processing device 32 and data to be processed.

34はゲート制御レジスタであり、処理装置32から指
令された端末装置31の状態によって状態信号(C)(
、*C)f、 GA、 DR)を出力する。
34 is a gate control register, which outputs a status signal (C) (
, *C) f, GA, DR).

35は切替回路であって、送受信する相手装置が制御装
置1か他の端末装置31かによって回線の切替えを行な
う。また現用系と予備系の2系統が備えられていれば、
現用系と予備系との切替を行なう。
Reference numeral 35 denotes a switching circuit, which switches the line depending on whether the destination device for transmission and reception is the control device 1 or another terminal device 31. Also, if two systems, a working system and a backup system, are provided,
Switches between the active system and the backup system.

36は受信制御回路であり、切替回路35により切替ら
れvc続された回線からの入力データを処理装置32あ
るいはメモリ33に受は渡す。
Reference numeral 36 denotes a reception control circuit, which receives and passes input data from the line switched by the switching circuit 35 and connected to the VC to the processing device 32 or memory 33.

37は送信制御回路であり、処理装置32の指令に従っ
て切替回路35により切替られ接続された回線からデー
タ出力する。
Reference numeral 37 denotes a transmission control circuit, which is switched by the switching circuit 35 in accordance with a command from the processing device 32 and outputs data from the connected line.

受信制御回路36と送信制御回路37との1対によって
、端末制御回路31内に1つの回線制御回路が形成され
る。
A pair of reception control circuit 36 and transmission control circuit 37 forms one line control circuit within terminal control circuit 31.

第3図において現用系に対する切替回路35aの構成を
示す。
FIG. 3 shows the configuration of the switching circuit 35a for the active system.

ここに、34はゲート制御レジスタ(OCR)で、端末
装置31の状態により状態信号(*CH。
Here, 34 is a gate control register (OCR), which receives a status signal (*CH) depending on the status of the terminal device 31.

GA、 DR)が定められて出力される。状態信号*C
Hは信号CHをノットゲート回路34aにより反転させ
て出力する。42は制御信号生成部で、状態信号より制
御信号(GAO,DRO,GBO)が生成されて出力さ
れる。43は切替部で、制御信号生成部42で生成され
た制御信号(GAO,DRO,GBO)によって出力す
べきデータおよび相手装置を選別し、そのデータを相手
装置に出力する。
GA, DR) are determined and output. Status signal *C
H inverts the signal CH by the NOT gate circuit 34a and outputs it. Reference numeral 42 denotes a control signal generation section, which generates control signals (GAO, DRO, GBO) from the state signal and outputs them. Reference numeral 43 denotes a switching unit that selects data to be output and a partner device based on the control signals (GAO, DRO, GBO) generated by the control signal generator 42, and outputs the data to the partner device.

制御信号生成部42には、2つの状態信号*CH、GA
を入力して論理積GAOを出力するアンドゲート回路4
2aと、その値GAOを反転した値*GAOを出力する
ノットゲート回路42bと、2つの状態信号*CH,D
Rを入力して論理積DROを出力するアンドゲート回路
42cと、その値DROを反転した値木DROを出力す
るノットゲート回路42dと、3つの状態信号*C)f
、GA、DRを入力して論理積GBOを出力するアンド
回路42eを備える。
The control signal generation unit 42 has two status signals *CH and GA.
AND gate circuit 4 which inputs and outputs AND GAO
2a, a not gate circuit 42b that outputs the inverted value *GAO of the value GAO, and two status signals *CH, D.
An AND gate circuit 42c that inputs R and outputs a logical product DRO, a NOT gate circuit 42d that outputs a value tree DRO that is an inversion of the value DRO, and three status signals *C) f
, GA, and DR and outputs a logical product GBO.

切替部43には、制御装置1からの信号SOIと制御信
号GAOをノットゲート回路43aで反転した値を入力
して論理積を出力するアンドゲート回路43bと、自端
末の送信データTXOと制御信号GAOを入力して論理
積を出力するアンドゲート回路43cと、アンドゲート
回路43bおよびアンドゲート回路43cのそれぞれの
出力と制御信号DROを入力して論理和S00を次段へ
の送信データとして出力するオアゲート回路43dと、
次段からのデータROIと制御信号GBOをノットゲー
ト回路43eで反転した値を入力して論理積を出力する
アンドゲート回路43fと、自端末の送信データTKO
と制御信号GBOを入力して論理積を出力するアンドゲ
ート回路43gと、アンドゲート回路43fおよびアン
ドゲート回路43gのそれぞれの出力を入力して論理和
ROOを制御装置1への送信データとして出力するオア
ゲート回路43hを備える。
The switching unit 43 includes an AND gate circuit 43b that inputs a value obtained by inverting the signal SOI from the control device 1 and the control signal GAO by a not gate circuit 43a and outputs a logical product, and an AND gate circuit 43b that outputs the logical product of the signal SOI from the control device 1 and the control signal GAO. An AND gate circuit 43c inputs GAO and outputs a logical product, and inputs the respective outputs of the AND gate circuit 43b and 43c and a control signal DRO, and outputs a logical sum S00 as transmission data to the next stage. OR gate circuit 43d,
An AND gate circuit 43f inputs the data ROI from the next stage and a value obtained by inverting the control signal GBO by a NOT gate circuit 43e and outputs a logical product, and the transmission data TKO of the own terminal
and the AND gate circuit 43g which inputs the control signal GBO and outputs the AND gate, and inputs the respective outputs of the AND gate circuit 43f and the AND gate circuit 43g and outputs the logical sum ROO as transmission data to the control device 1. An OR gate circuit 43h is provided.

第4図で予備系に対する切替回路35bの構成を示す。FIG. 4 shows the configuration of the switching circuit 35b for the standby system.

ここに、34はゲート制御レジスタ(OCR)で、現用
系に状態信号(*CH,GA、 DR)を出力している
レジスタと同じレジスタである。このレジスタ34から
は、現用系の信号とともに予備系の状態信号(CH,G
A、 DR)が出力されている。
Here, 34 is a gate control register (OCR), which is the same register that outputs status signals (*CH, GA, DR) to the active system. This register 34 outputs the active system signals as well as the standby system status signals (CH, G
A, DR) are output.

44は制御信号生成部で、状態信号より制御信号(GA
I、DRI、GBI )が生成され出力される。
44 is a control signal generation unit which generates a control signal (GA
I, DRI, GBI) are generated and output.

45は切替部で、制御信号生成部44で生成された制御
信号(GAI、DRI、GBI )に従って出力すべき
データおよび相手装置を選択し、そのデータを相手装置
に出力する。
A switching unit 45 selects data to be output and a partner device according to the control signals (GAI, DRI, GBI) generated by the control signal generating unit 44, and outputs the data to the partner device.

制御信号生成部44には、2つの状態信号CH。The control signal generation unit 44 receives two status signals CH.

GAを入力して論理積GAIを出力するアンドゲート回
路44aと、その値GAIを反転した値*GA1を出力
するノットゲート回路44bと、2つの状態信号CH,
DRを入力して論理積DRIを出力するアンドゲート回
路44cと、その値DRIを反転した値*DR1を出力
するノットゲート回路44dと、3つの状態信号CH,
GA、DRを入力して論理積GBIを出力するアンド回
路44eを備える。
An AND gate circuit 44a that inputs GA and outputs the logical product GAI, a NOT gate circuit 44b that outputs the inverted value *GA1 of the value GAI, and two state signals CH,
An AND gate circuit 44c that inputs DR and outputs a logical product DRI, a NOT gate circuit 44d that outputs a value *DR1 obtained by inverting the value DRI, and three status signals CH,
It includes an AND circuit 44e that inputs GA and DR and outputs a logical product GBI.

データ切替部45には、制御装置1からの信号SIIと
制御信号GAIをノットゲート回路45aで反転した値
を入力して論理積を出力するアンドゲート回路45bと
、自端末の送信データTXIと制御信号GAIを入力し
て論理積を出力するアンドゲート回路45cと、アンド
ゲート回路45bおよびアンドゲート回路45cのそれ
ぞれの出力と制御信号DRIを入力して論理和SIOを
次段への送信データとして出力するオアゲート回路45
dと、次段からのデータRIIと制御信号GBIをノッ
トゲート回路45eで反転した値を入力して論理積を出
力するアンドゲート回路45fと、自端末の送信データ
TXIと制御信号GBIを入力して論理積を出力するア
ンドゲート回路45gと、アンドゲート回路45fおよ
びアンドゲート回路45gのそれぞれの出力を入力して
論理和RIOを制御装置1への送信データとして出力す
るオアゲート回路45hを備える。
The data switching unit 45 includes an AND gate circuit 45b that inputs the signal SII from the control device 1 and the control signal GAI inverted by a NOT gate circuit 45a and outputs a logical product, and the transmission data TXI of the own terminal and the control signal GAI. An AND gate circuit 45c inputs the signal GAI and outputs the logical product, and inputs the respective outputs of the AND gate circuit 45b and the AND gate circuit 45c and the control signal DRI, and outputs the logical sum SIO as transmission data to the next stage. OR gate circuit 45
d, and an AND gate circuit 45f which inputs data RII from the next stage and a value obtained by inverting the control signal GBI by a not gate circuit 45e and outputs a logical product, and inputs the transmission data TXI and control signal GBI of the own terminal. and an OR gate circuit 45h that inputs the respective outputs of the AND gate circuit 45f and the AND gate circuit 45g and outputs the logical sum RIO as transmission data to the control device 1.

この切替回路35のゲート状態は、第5図に示すように
定める。ここに、第5図(a)は端末装置31のポーリ
ング受信要求がなく、状態信号(CH,GA、 DR)
がすべて0の場合を表わし、制御装置1側からの信号は
次段へ素通りさせる。第5図(b)は端末装置31がポ
ーリング待ち状態で、状態信号(CH,GA、 DR)
が(0,0,1)の場合を表わし、制御装置1側からの
ポーリング信号を待っていて、次段への伝送は行なわれ
ず、次段からの伝送は素通りさせる。
The gate state of this switching circuit 35 is determined as shown in FIG. Here, in FIG. 5(a), there is no polling reception request from the terminal device 31, and the status signals (CH, GA, DR) are
represents the case where all are 0, and the signal from the control device 1 side is passed through to the next stage. In FIG. 5(b), the terminal device 31 is in a polling wait state and the status signals (CH, GA, DR) are
represents a case where (0, 0, 1), a polling signal from the control device 1 side is awaited, transmission to the next stage is not performed, and transmission from the next stage is passed through.

第5図(c)は端末装置31が制御装置1にデータを送
信するデータ送信状態で、状態信号(CH,GA、 D
R)が(0,1,1)の場合を表わし、制御装置1側か
らの信号入力および次段との通信が行なわれず、制御装
置1へのデータ送信が行なわれる。
FIG. 5(c) shows a data transmission state in which the terminal device 31 transmits data to the control device 1, and status signals (CH, GA, D
This represents the case where R) is (0, 1, 1), and data transmission to the control device 1 is performed without signal input from the control device 1 side or communication with the next stage.

第5図(d)は端末装置31がポーリング信号を次段へ
送信する代行ポーリング状態で、状態信号(CH,GA
、 DR)が(0,1,O)の場合を表わし、制御装置
1側からの信号入力がなく、次段へポーリング信号の伝
送が行なわれ、次段からの伝送は素通りさせる。
FIG. 5(d) shows a proxy polling state in which the terminal device 31 transmits a polling signal to the next stage, and the status signals (CH, GA
, DR) are (0, 1, O), there is no signal input from the control device 1 side, a polling signal is transmitted to the next stage, and transmission from the next stage is passed through.

第5図(e)は、端末装置31の切替回路35が現用系
を機能させている状態において、予備系に対しては素通
り状態を示し、状態信号(CH,GA、 DR)のうち
CHが1になって予備系に切替られるまでは、制御装置
1側および次段側からの伝送は素通りさせることになる
FIG. 5(e) shows a state in which the switching circuit 35 of the terminal device 31 is operating the active system, and the protection system is passed through, and CH among the status signals (CH, GA, DR) is Until it becomes 1 and the system is switched to the standby system, transmissions from the control device 1 side and the next stage side are passed through.

これらゲート制御信号(状態信号)のとりつる値を第5
図(f)にまとめて表示する。
The values of these gate control signals (state signals) are
They are collectively displayed in Figure (f).

このように構成した実施例において、端末装置31がデ
ータを制御装置1に送信しようとする場合、まずポーリ
ング要求なしの状態から、ゲート制御レジスタ34の出
力のうちDRを1にしてポーリング待ちの状態にする。
In the embodiment configured in this manner, when the terminal device 31 attempts to transmit data to the control device 1, it first changes from a state where there is no polling request to a state where it is waiting for polling by setting DR of the output of the gate control register 34 to 1. Make it.

状態信号*CHはCHが0であるからその反転した値と
してlとなり、これにより制御信号生成部42からの出
力のうちDROが1となり、次段への信号線を切り離し
た状態にする。
Since CH is 0, the state signal *CH becomes 1 as its inverted value, so that DRO among the outputs from the control signal generation section 42 becomes 1, and the signal line to the next stage is disconnected.

この状態でポーリング信号を受信すると、状態信号のG
AとDRがそれぞれ1に変ってデータ送信状態となり、
切替部43において自端末の送信データTXOが制御装
置1への送信データROOとして出力され、必要なデー
タを制御装置lへ送信させる。
When a polling signal is received in this state, the state signal G
A and DR each change to 1 and enter the data transmission state,
The switching unit 43 outputs the transmission data TXO of the own terminal as the transmission data ROO to the control device 1, and causes the necessary data to be transmitted to the control device 1.

制御装置1への送信が終了すると、状態信号はGAが1
のままで変らずDRが0に変って代行ポーリング状態と
なり、切替部43において自端末の送信データTXOが
次段への送信データS00として出力され、ポーリング
信号を次段へ送信する。その後、状態信号GAがOに変
り、要求事項なしのスルーパス状態に戻る。
When the transmission to the control device 1 is completed, the status signal GA becomes 1.
The terminal remains unchanged and DR changes to 0 to enter the proxy polling state, and the switching unit 43 outputs the transmission data TXO of the own terminal as the transmission data S00 to the next stage, and transmits the polling signal to the next stage. Thereafter, the status signal GA changes to O, and the state returns to the through-pass state with no requirements.

予備系でも、同じく、処理の内容は状態信号CH,GA
、DRの値によって、制御信号生成部44と切替部45
の出力が制御され、必要な受信と送信が行なわれる。
Similarly, in the standby system, the processing content is based on status signals CH and GA.
, DR, the control signal generation unit 44 and the switching unit 45
output is controlled and necessary reception and transmission are performed.

この現用系と予備系とは、状態信号CHO値を変えるこ
とによって切り替える。
The active system and standby system are switched by changing the value of the status signal CHO.

これにより実施例では、第6図(a)〜(e)に示すよ
うなポーリングの方法が、端末装置2を1つの回線制御
回路を持つ端末装置31に替えることによって、切替回
路35によって送信相手を切り替えることができ、制御
装置lへの送信と次端末への送信が、時間的に同時にな
らない相手装置に対して実行できる。また、現用/予備
を同時にアクセスすることがないデユーブレックス制御
の場合には、切替回路35のゲート制御レジスタによっ
て出力される状態信号CHにより、現用系から予備系に
回路を切り替えて使用できる。
As a result, in the embodiment, the polling method shown in FIGS. 6(a) to 6(e) can be implemented by changing the terminal device 2 to the terminal device 31 having one line control circuit, and by using the switching circuit 35 to can be switched, and transmission to the control device I and transmission to the next terminal can be executed for a partner device that is not temporally simultaneous. Further, in the case of duplex control in which the active/protection system is not accessed simultaneously, the circuit can be switched from the active system to the protection system by the state signal CH output by the gate control register of the switching circuit 35.

このため、高価な回線制御回路が最小個数となり、端末
装置の構成が簡素化かつ低価格化され、コストの引下げ
が実現できる。
Therefore, the number of expensive line control circuits is minimized, the configuration of the terminal device is simplified and the price is reduced, and costs can be reduced.

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

以上のように本発明では、 4線式ループ型通信ネット
ワークに接続する端末装置10を、この端末装置10の
状態を規定する状態信号によって切替手段13が回線切
替を行ない、制御装置1と回線制御回路11を接続し、
制御装置1側からのポーリング信号を受けてから回線制
御回路11から制御装置1へのデータ送信を実行し、そ
のデータ送信後に変化した状態信号によって切替手段1
3が回線切替を行ない、接続すべき送信相手として次端
末装置10を選択して、次端末装置10と回線制御回路
11を接続し、回線制御回路11から接続した次端末装
置10ヘポーリング信号を送信することができるように
したことによって、最少の回線制御回路11を備えた端
末装置10によって4線式ループ型通信ネットワークに
おけるポーリングによる通信が可能となり、装置価格を
安価にできる。
As described above, in the present invention, the switching means 13 switches the line of the terminal device 10 connected to the four-wire loop type communication network according to the state signal that defines the state of the terminal device 10, and the control device 1 and the line control Connect circuit 11,
After receiving the polling signal from the control device 1 side, data transmission from the line control circuit 11 to the control device 1 is executed, and after the data transmission, the switching means 1 is activated by the state signal changed.
3 performs line switching, selects the next terminal device 10 as the transmission destination to be connected, connects the next terminal device 10 and the line control circuit 11, and sends a polling signal from the line control circuit 11 to the connected next terminal device 10. By making it possible to transmit data, the terminal device 10 equipped with the minimum number of line control circuits 11 can perform polling communication in a four-wire loop communication network, and the cost of the device can be reduced.

また、この場合において、必要ならばゲート制御レジス
タ12へ格納した状態信号を変更することによって、現
用系と予備系との回路切替を行なうようにしたことによ
って、予備系の回線制御回路11を不要にすることがで
きる。
In addition, in this case, if necessary, by changing the status signal stored in the gate control register 12, circuit switching between the active system and the protection system is performed, thereby eliminating the need for the protection system line control circuit 11. It can be done.

さらにまた、切替手段13は制御信号生成部14がゲー
ト制御レジスタ12からのゲート制御信号を受けて回線
切替用の制御信号を生成し、切替部15が送信相手およ
びその送信相手に出力すべきデータを制御信号に基づき
選択して送信相手側に出力できるようにしたことによっ
て、制御装置lと次端末装置10との回路切替または現
用系と予備系との回路切替が容易に変更できる簡素な構
成が実現できる。
Furthermore, in the switching means 13, the control signal generation section 14 receives the gate control signal from the gate control register 12 and generates a control signal for line switching, and the switching section 15 generates the transmission destination and the data to be output to the transmission destination. By making it possible to select and output to the transmission destination based on a control signal, the circuit switching between the control device 1 and the next terminal device 10 or the circuit switching between the active system and the standby system can be easily changed. can be realized.

そしてまた、現用系(または予備系)の切替回路は、制
御信号生成部42 (44)がゲート制御レジスタ34
から入力した複数のゲート制御信号の論理積を出力する
ゲート回路を構成し、切替部43 (45)が制御信号
生成部からの制御信号と送信すべきデータとの論理積を
出力するゲート回路を構成したことによって、安価な構
成にでき、回線制御回路よりも安価にすることができて
、回線制御回路の減少による端末装置の低価格化が実現
できる。
Furthermore, in the active system (or standby system) switching circuit, the control signal generation section 42 (44) is connected to the gate control register 34.
The switching section 43 (45) constitutes a gate circuit that outputs the logical product of a plurality of gate control signals input from the control signal generating section and the gate circuit that outputs the logical product of the control signal from the control signal generating section and the data to be transmitted. With this configuration, the configuration can be made inexpensive and can be made cheaper than the line control circuit, and the cost of the terminal device can be reduced by reducing the number of line control circuits.

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

第1図は、本発明の原理ブロック図、 第2図は、実施例の端末装置を示すブロック図、第3図
は、実施例の切替回路(現用系)を示す構成図、 第4図は、実施例の切替回路(予備系)を示す構成図、 第5図は、実施例のゲート状態説明図で、(a)は要求
なし状態、 (b)はポーリング待ち状態、 (C)はデータ送信状態、 (d)は代行ポーリング状態、 (e)は現用系使用時における予備系の状態、(f)は
状態表、 第6図は、従来のポーリングの方法を示す処理説明図、 第7図は、従来の端末装置を示すブロック図。 1・・・制御装置 10・・・端末装置 11・・−回線制御回路 12.34・・・ゲート制御レジスタ 13・・・切替手段 14.42.44・・・制御信号生成部15.43.4
5・・・切替部 35b 実施例の切替回路 (予備系) 第 図 +a1g!なし状態 +b)ボーソング待ち状態 (clデ 夕送信状態 fd1代行ボ リング状態 実施例のゲート状態説明図 第 図 平成2年 )0月16 日
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram showing a terminal device of an embodiment, Fig. 3 is a configuration diagram showing a switching circuit (active system) of an embodiment, and Fig. 4 is a block diagram showing a terminal device of an embodiment. , a block diagram showing the switching circuit (standby system) of the embodiment, and FIG. 5 is an explanatory diagram of gate states of the embodiment, where (a) is a no-request state, (b) is a polling wait state, and (C) is a data state. Transmission state; (d) is proxy polling state; (e) is standby system status when using active system; (f) is status table; FIG. 6 is a process explanatory diagram showing the conventional polling method; The figure is a block diagram showing a conventional terminal device. 1...Control device 10...Terminal device 11...-Line control circuit 12.34...Gate control register 13...Switching means 14.42.44...Control signal generation unit 15.43. 4
5...Switching unit 35b Switching circuit of the embodiment (standby system) Figure +a1g! None state + b) Bosong waiting state (cl data sending state fd1 proxy boring state Example gate state explanatory diagram Figure 1990) October 16th

Claims (4)

【特許請求の範囲】[Claims] (1)ポーリング信号入力後にデータ送信しデータ送信
後にポーリング信号を出力する回線制御回路(11)を
有する端末装置(10)において、該端末装置(10)
の状態に応じたゲート制御信号を格納するゲート制御レ
ジスタ(12)と、前記ゲート制御信号を受けて送信相
手に対する接続を切り替え、前記回線制御回路(11)
から出力されたデータを前記送信相手に出力する切替手
段(13)を備えた ことを特徴とする通信用端末装置。
(1) In a terminal device (10) having a line control circuit (11) that transmits data after inputting a polling signal and outputs a polling signal after transmitting the data, the terminal device (10)
a gate control register (12) that stores a gate control signal according to the state of the circuit; and a line control circuit (11) that receives the gate control signal and switches the connection to the transmission destination.
1. A communication terminal device comprising a switching means (13) for outputting data outputted from the terminal to the transmission destination.
(2)前記切替手段(13)には、前記ゲート制御レジ
スタ(12)からのゲート制御信号より回線切替用の制
御信号を生成する制御信号生成部(14)と、 該制御信号生成部(14)から制御信号を受けて送信相
手およびその送信相手に出力すべきデータを選択して出
力する切替部(15)を有することを特徴とする請求項
1記載の通信用端末装置。
(2) The switching means (13) includes a control signal generation section (14) that generates a control signal for line switching from a gate control signal from the gate control register (12); 2. The communication terminal device according to claim 1, further comprising a switching unit (15) for receiving a control signal from a transmitting party and selecting and outputting a transmitting party and data to be output to the transmitting party.
(3)ゲート制御レジスタ(34)から入力した複数の
ゲート制御信号の論理積によって回線切替用の制御信号
を生成するゲート回路を形成した制御信号生成部(42
または44)と、 該制御信号生成部からの制御信号と送信すべきデータと
の論理積を出力データとして、制御信号の指定する送信
相手へ出力するゲート回路を形成した切替部(43また
は45)を備えた ことを特徴とする切替回路。
(3) A control signal generation section (42) that forms a gate circuit that generates a control signal for line switching by the AND of a plurality of gate control signals input from the gate control register (34).
or 44), and a switching unit (43 or 45) forming a gate circuit that outputs the logical product of the control signal from the control signal generation unit and the data to be transmitted as output data to the transmission destination specified by the control signal. A switching circuit characterized by comprising:
(4)制御装置(1)と複数台の端末装置(10)をル
ープ状に接続した4線式ループ型通信ネットワークに接
続され、ポーリング信号入力後にデータ送信しデータ送
信後にポーリング信号を出力する回線制御回路(11)
を有する端末装置(10)において、 該端末装置(10)の状態を規定する状態信号を定め、
該状態信号によって接続すべき送信相手について前記制
御装置(1)と次端末装置(10)との何れかに接続す
る回線切替を行ない、前記制御装置(1)と前記回線制
御回路(11)を接続し、前記制御装置(1)側からの
ポーリング信号を受けてから前記制御装置(1)へのデ
ータ送信を実行し、そのデータ送信後に回線切替を行な
って前記次端末装置(10)と前記回線制御回路(11
)を接続し、前記次端末装置(10)へポーリング信号
を送信する ことを特徴とする通信方法。
(4) A line that is connected to a 4-wire loop communication network in which the control device (1) and multiple terminal devices (10) are connected in a loop, and that transmits data after inputting a polling signal and outputs a polling signal after transmitting data. Control circuit (11)
In a terminal device (10) having
Based on the status signal, the transmission destination to be connected is switched to either the control device (1) or the next terminal device (10), and the control device (1) and the line control circuit (11) are connected. After connecting and receiving a polling signal from the control device (1) side, data transmission to the control device (1) is executed, and after the data transmission, line switching is performed to connect the next terminal device (10) and the next terminal device (10). Line control circuit (11
) and transmitting a polling signal to the next terminal device (10).
JP2187332A 1990-07-17 1990-07-17 Communication terminal device and communication method Expired - Fee Related JPH0828712B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2187332A JPH0828712B2 (en) 1990-07-17 1990-07-17 Communication terminal device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2187332A JPH0828712B2 (en) 1990-07-17 1990-07-17 Communication terminal device and communication method

Publications (2)

Publication Number Publication Date
JPH0477144A true JPH0477144A (en) 1992-03-11
JPH0828712B2 JPH0828712B2 (en) 1996-03-21

Family

ID=16204149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2187332A Expired - Fee Related JPH0828712B2 (en) 1990-07-17 1990-07-17 Communication terminal device and communication method

Country Status (1)

Country Link
JP (1) JPH0828712B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5175883A (en) * 1974-12-27 1976-06-30 Oki Electric Ind Co Ltd
JPS62185427A (en) * 1986-02-10 1987-08-13 Matsushita Electric Ind Co Ltd Gateway device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5175883A (en) * 1974-12-27 1976-06-30 Oki Electric Ind Co Ltd
JPS62185427A (en) * 1986-02-10 1987-08-13 Matsushita Electric Ind Co Ltd Gateway device

Also Published As

Publication number Publication date
JPH0828712B2 (en) 1996-03-21

Similar Documents

Publication Publication Date Title
JPH0221017B2 (en)
JPH0477144A (en) Terminal equipment for communication, transmission switching circuit, and communication method
EP0638863A1 (en) Distributed data processing system having uniform load distribution
JPH10307603A (en) Data transmission device
JPH0414339A (en) Terminal equipment
JP3239371B2 (en) Device connection processing method
JPH075960A (en) Computer
JPH03276330A (en) Display device
JPH04236537A (en) Data communication system
JPS63211003A (en) Command device for computer system for control
JPH02207319A (en) Terminal control system
JPH02148931A (en) Automatic data communication system
JPH02222049A (en) Virtual terminal control system
JPH02143626A (en) Communication equipment
JPS63131641A (en) Main station loopback test equipment
JPS6156548A (en) Dte connection controller
JPS6390250A (en) Communication control equipment
JPS6223651A (en) Data transmission equipment
JPH06125336A (en) Transmission/reception control system
JPH06348640A (en) Electronic circuit
JPH0329590A (en) Transmission processing system
JPH0514451A (en) Line monitor method
JPH01238339A (en) Serial interface
JPH01304569A (en) Program execution system for computer network system
JPH0292028A (en) Loopback control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees