Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5827532B2 - System operation control device for data transmission system - Google Patents
[go: Go Back, main page]

JPS5827532B2 - System operation control device for data transmission system - Google Patents

System operation control device for data transmission system

Info

Publication number
JPS5827532B2
JPS5827532B2 JP52158455A JP15845577A JPS5827532B2 JP S5827532 B2 JPS5827532 B2 JP S5827532B2 JP 52158455 A JP52158455 A JP 52158455A JP 15845577 A JP15845577 A JP 15845577A JP S5827532 B2 JPS5827532 B2 JP S5827532B2
Authority
JP
Japan
Prior art keywords
mode
data
terminal
bus
register
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
Application number
JP52158455A
Other languages
Japanese (ja)
Other versions
JPS5493305A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP52158455A priority Critical patent/JPS5827532B2/en
Priority to US05/967,634 priority patent/US4242749A/en
Publication of JPS5493305A publication Critical patent/JPS5493305A/en
Publication of JPS5827532B2 publication Critical patent/JPS5827532B2/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 本発明は、端末が共通バスを介して複数個接続されてな
るポートを、線状、環状または網状等に伝送回線で複数
個接続し、任意の端末間でデータの伝送が行なえるよう
にしたデータ伝送システムに於いて、システムの増設及
び保守等を容易とするシステムの動作制御装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention connects a plurality of ports, in which a plurality of terminals are connected via a common bus, with a transmission line in a linear, circular, or net-like manner, and transmits data between arbitrary terminals. The present invention relates to a system operation control device that facilitates system expansion, maintenance, etc. in a data transmission system capable of performing data transmission.

近年、伝送ケーブルの価格・敷設費の軽減を目的として
、時分割多重伝送を利用したデータハイウェイシステム
が出現し、プラント制御等で一部採用されている。
In recent years, data highway systems that utilize time-division multiplex transmission have emerged with the aim of reducing the price and installation costs of transmission cables, and are being adopted in some areas, such as in plant control.

このようなデータハイウェイシステムの概要は、例えば
第1図に示すように、電子計算機等の中央制御局CPU
1.CPU2と、複数の端末を収容したポート中継処理
装置P1〜P5をループ状に接続へ中央制御局と端末或
は端末相互間でデータの伝送を行なえるようにしたもの
であり、一組の伝送回線を核にして伝送が行なわれるた
め、従来の他の伝送システムに較べ、システム増設及び
保守の容易性が強く要求されている。
The outline of such a data highway system is as shown in Fig. 1, for example, a central control station CPU such as an electronic computer.
1. The CPU 2 and the port relay processing devices P1 to P5, which accommodate multiple terminals, are connected in a loop so that data can be transmitted between the central control station and the terminals or between the terminals. Since transmission is carried out using lines as the core, there is a strong demand for ease of system expansion and maintenance compared to other conventional transmission systems.

その為、例えばシステムの増設時にはオンラインでこれ
が行なえるよう、増設地点にポートを設置し、このポー
トに増設する端末を接続してここで電源等の接続を完了
したのち動作が正常であるかどうか確認し、そしてこの
ポートを既設のデータ回線に接続する方法が採用されて
いる。
For this reason, for example, when expanding the system, a port is installed at the expansion point so that this can be done online, and after connecting the terminal to be expanded to this port and completing the power supply etc. connection, check whether the operation is normal. The method used is to confirm this and then connect this port to the existing data line.

又システムの保守時には、遠隔地に設置されたポートに
わざわざ出向かなくとも、いずれかのポートに於いて全
ての端末の動作をオンラインで試験することが可能であ
る。
Furthermore, during system maintenance, it is possible to test the operation of all terminals online at any port without having to go to a port installed in a remote location.

従って、従来に於いては、ハードウェア的には比較的容
易にシステムの増設や保守を実施することが可能である
が、通常、システムの増設や保守に際しては、ソフトウ
ェア的操作によるシステム診断が実施され、その場合プ
ログラムミス等により正常運転中の端末へ誤まった指令
が出され、システムダウン等システムに重大な影響を及
ぼす可能性があった。
Therefore, in the past, it has been possible to expand and maintain a system relatively easily from a hardware perspective, but when expanding or maintaining a system, it is usually necessary to perform a system diagnosis using software operations. In that case, due to a programming error or the like, an incorrect command could be issued to a normally operating terminal, which could have a serious impact on the system, such as system failure.

この原因は、従来のデータ伝送システムに於いては、シ
ステム診断時に端末を誤まってアクセスしたとき、シス
テムのどこにもそのアクセス動作を禁止する機構がなか
ったためである。
The reason for this is that in conventional data transmission systems, when a terminal is accessed by mistake during system diagnosis, there is no mechanism anywhere in the system to prohibit the access operation.

既ち、第1図のデータ伝送システムに於ける従来のポー
トP1は、第2図に示すように、中央制御局CPUIと
のインターフェース制御機能を有するプロセッサ結合部
1、端末とのインターフェース制御機能を有するデバイ
ス結合部2、伝送回線1ineを介して他のポートとデ
ータの転送を行なう通信制御装置3、これら3者間の情
報の転送のために使用されるデータバス4aと制御バス
4b。
As shown in FIG. 2, the conventional port P1 in the data transmission system shown in FIG. a device coupling section 2, a communication control device 3 that transfers data with other ports via a transmission line 1ine, and a data bus 4a and a control bus 4b used for transferring information between these three.

及びバス制御を行なうバス制御部5から構成されている
and a bus control section 5 that performs bus control.

なお同図に於いて、11はプロセッサ結合部制御回路、
12はCPU1からの情報を一時セットする送出フレー
ムレジスタ、13はCPUIへ送出する情報を一時セッ
トする受入フレームレジスタ、G 12 a 、G 1
2 b s G 13 a 、G 13 bはそれぞれ
送出フレームレジスタ12又は受入フレームレジスタ1
3の入出力用ゲート回路、14は転送要求フリップフロ
ップ、15はデコーダ、16は中央制御局とのインタフ
ェイス制御回路、51はバス制御回路、52は伝送フレ
ーム中の命令語を一時セットする命令語レジスタ、53
は伝送フレーム中のデータ語を一時セットするデータ語
レジスタ、54は命令語の判読回路、52a。
In the same figure, 11 is a processor coupling unit control circuit;
12 is a sending frame register for temporarily setting information from the CPU 1; 13 is an receiving frame register for temporarily setting information to be sent to the CPUI; G 12 a , G 1
2 b s G 13 a and G 13 b are the sending frame register 12 or the receiving frame register 1, respectively.
3 is an input/output gate circuit, 14 is a transfer request flip-flop, 15 is a decoder, 16 is an interface control circuit with the central control station, 51 is a bus control circuit, and 52 is an instruction for temporarily setting the instruction word in the transmission frame. word register, 53
54 is a data word register for temporarily setting a data word in a transmission frame; 54 is a command word reading circuit; 52a;

52b、53a、53bはそれぞれ命令語レジスタ52
又はデータ語レジスタ53の入出力用ゲ゛−ト回路であ
る。
52b, 53a, and 53b are instruction word registers 52, respectively.
Alternatively, it is an input/output gate circuit for the data word register 53.

今、例えば中央制御局CPU1からのデータが端末T1
1に書込まれる場合について各部の動作を説明すると、
まず中央制御局CPU1から送出されたデータ及びその
宛先等の情報からなる命令語は、入力用ゲ゛−ト回路G
12aを介してインタフェイス制御回路のSET信号に
より送出フレームレジスタ12にセットされる。
Now, for example, data from the central control station CPU1 is sent to the terminal T1.
To explain the operation of each part in the case of writing to 1,
First, a command word consisting of data sent from the central control station CPU1 and information such as its destination is sent to the input gate circuit G.
It is set in the sending frame register 12 by the SET signal of the interface control circuit via the interface control circuit 12a.

この送出フレームレジスタ12及び受入フレームレジス
フ13は、それぞれ12a、12b及び13a、13b
に分割されているが、これはデータバス4aのバス幅が
狭いため1伝送フレームを2度に分けて伝送するために
設けたものであり、バス幅が広ければ伝送フレームは一
度で送出できるため受入、送出フレームレジスフは一段
でよい。
The sending frame register 12 and receiving frame register 13 are 12a, 12b and 13a, 13b, respectively.
This is because the bus width of the data bus 4a is narrow, so one transmission frame is divided into two transmissions; if the bus width is wide, the transmission frame can be sent out at once. Only one stage of reception and transmission frame registration is required.

プロセッサ結合部制御回路11は、データが送出フレー
ムレジスフにセットされたことを信号SETにより検知
するとすぐに転送要求フリップフロップ14をセットし
、その出力をパ1′としてバス制御部5の指令を待つっ
バス制御部5のバス制御回路51は、データバス4aに
接続された各処理装置のアドレスを走査することにより
、バスの利用を制御しており、このアドレス走査がプロ
セッサ結合部1を指示していることをプロセッサ結合部
1のデコーダ15が判別すると、出力+1111をツー
セッサ結合部制御回路11とゲート回路G16に加える
As soon as the processor coupling unit control circuit 11 detects by the signal SET that data has been set in the sending frame register, it sets the transfer request flip-flop 14, and uses the output as P1' to issue a command from the bus control unit 5. The bus control circuit 51 of the waiting bus control unit 5 controls the use of the bus by scanning the addresses of each processing device connected to the data bus 4a, and this address scanning instructs the processor coupling unit 1. When the decoder 15 of the processor coupling unit 1 determines that the processor coupling unit 1 is operating, it applies the output +1111 to the two-processor coupling unit control circuit 11 and the gate circuit G16.

従って、このタイミングにゲ゛−ト回路G16の出力は
1″となり、この出力が転送要求信号RQとなって制御
バス4bを介してバス制御回路51に加えられる。
Therefore, at this timing, the output of the gate circuit G16 becomes 1'', and this output becomes the transfer request signal RQ and is applied to the bus control circuit 51 via the control bus 4b.

バス制御回路51はプロセッサ結合部1から転送要求信
号RQを受けると、アドレス走査を中止し、データバス
4a1制御バス4bをプロセッサ結合部1に専有させる
と同時に、命令語読取信号R1を制御バス4bを介して
プロセッサ結合部1に送出する。
When the bus control circuit 51 receives the transfer request signal RQ from the processor coupling section 1, it stops the address scanning, makes the data bus 4a1 and the control bus 4b exclusive to the processor coupling section 1, and at the same time transfers the command read signal R1 to the control bus 4b. The data is sent to the processor coupling unit 1 via.

プロセッサ結合部制御回路11は、命令語読取信号R1
を受信すると、出力用ゲ゛−ト回路G12bにゲート信
号GRIを送出し、送出フレームレジスタにセットされ
ている伝送フレームのうチ、マず命令語をデータバス4
aを介してバス制御部5に送出する。
The processor coupling unit control circuit 11 receives the instruction word read signal R1.
When the instruction word is received, the gate signal GRI is sent to the output gate circuit G12b, and the instruction word is sent to the data bus 4 in the transmission frame set in the sending frame register.
The data is sent to the bus control unit 5 via a.

バス制御回路51は、命令語読取信号R1を命令語レジ
スタ52の入力用ゲート回路52aにも加えているので
、プロセッサ結合部1から送出された命令語は命令語レ
ジスタ52にセットされる。
Since the bus control circuit 51 also applies the instruction word read signal R1 to the input gate circuit 52a of the instruction word register 52, the instruction word sent from the processor coupling section 1 is set in the instruction word register 52.

同様にして次のタイミングで、バス制御回路51はデー
タ語読取信号R2を発生し、これにより送出フレームレ
ジスタ12にセットされていたデータが、バス制御部5
のデータ語レジスタ53にセットされる。
Similarly, at the next timing, the bus control circuit 51 generates a data word read signal R2, and as a result, the data set in the sending frame register 12 is transferred to the bus control unit 5.
is set in the data word register 53 of .

次にバス制御回路51は、命令語レジスタ52の命令語
を判読回路54で解読して、その内容が端末T11への
データ書込み命令であることを判読すると、次のタイミ
ングにデバイス結合部2を介して端末T11に命令語書
込み信号W1を送出するとともに、出力用ゲ゛−ト回路
52bにも命令語書込み信号W1を加えてこれを開くの
で、命令語レジスタ52にセットされている命令語は、
データバス4a、デバイス結合部2を介して端末T11
に書込まれることになる。
Next, the bus control circuit 51 decodes the command word in the command word register 52 with the reading circuit 54, and when it is determined that the content is a data write command to the terminal T11, the bus control circuit 51 starts the device coupling section 2 at the next timing. The instruction word write signal W1 is sent to the terminal T11 via the terminal T11, and the instruction word write signal W1 is also applied to the output gate circuit 52b to open it, so that the instruction word set in the instruction word register 52 is ,
The terminal T11 via the data bus 4a and the device coupling section 2
will be written in.

同様にしてバス制の回路51はデータ語書込み信号W2
を発生し、データ語レジスタ53にセットされたデータ
語を端末T11に書込む。
Similarly, the bus-based circuit 51 receives the data word write signal W2.
and writes the data word set in the data word register 53 to the terminal T11.

以上は、中央制御局CPU1からのデータが端末T11
へ書込まれる場合について各部の動作を説明したが、端
末T11から中央制御局CPU1、及び中央制御局CP
UIから通信制御装置3を介して他の中継処理装置の端
末へのデータ伝送も同様に行なわれる。
In the above, data from the central control station CPU1 is transmitted to the terminal T11.
The operation of each part has been explained for the case where data is written to the central control station CPU1 and the central control station CP from the terminal T11.
Data transmission from the UI to the terminals of other relay processing devices is performed in the same way via the communication control device 3.

以上の如〈従来の中継処理装置に於いては、例えば端末
Tllを試験するために中央制御局CPU1から端末T
11に送出する伝送フレームの着信局アドレスを誤まっ
て端末TINのアドレスとした場合、システムのどこに
もその伝送フレームのアクセスを禁止する機構がないた
め、端末TINに誤まったデータが書込まれることにな
る。
As described above, in the conventional relay processing device, for example, in order to test the terminal Tll, the central control station CPU1
If the destination station address of the transmission frame sent to 11 is incorrectly set as the terminal TIN address, there is no mechanism anywhere in the system to prohibit access to that transmission frame, so incorrect data will be written to the terminal TIN. It turns out.

本発明は前述の如き従来の欠点を改善したものであり、
その目的は、システム診断時にプログラム・ミス又は人
手による操作ミスがあっても、正常運転中の端末には何
ら影響を与えないようにして、システムの増設や保守を
容易にし信頼性の高いシステムを実現するものである。
The present invention improves the conventional drawbacks as mentioned above,
The purpose of this is to ensure that even if there is a program error or manual operation error during system diagnosis, it will not affect terminals that are operating normally, making system expansion and maintenance easier, and ensuring a highly reliable system. It is something that will be realized.

以下実施例について詳細に説明する。Examples will be described in detail below.

第3図は本発明に使用する伝送フレームのフォーマット
例であり、Fはフレーム同期をとるフラップ、ADRは
アクセスする相手端末のアドレス情報等を含むアドレス
部、C0NTは読取り又は書込み等の制御情報を含む制
御部、DATはデータ情報からなるデータ語、Fe2は
フレーム・チェック・シーフェンスであって、例えばア
ドレス部ADRと制御部C0NTが16ビツトで構成さ
れる場合には、該伝送フレームが正常モードか診断モー
ドか指定するモード指定ビット(1ビツト)、相手端末
が収容されているボートのアドレスビット(4ビツト)
、該ボート内に於ける相手端末のアドレスビット(4ビ
ツト)、及び命令ビット等(7ビツト)から構成される
もので、従ってこの場合、データ伝送システムには最大
16個のボートが、又1個のボートには最大16個の端
末が接続可能となる。
FIG. 3 shows an example of the format of a transmission frame used in the present invention, where F is a flap for frame synchronization, ADR is an address part containing address information of the other terminal to access, etc., and C0NT is a control information such as reading or writing. The control section included, DAT is a data word consisting of data information, and Fe2 is a frame check fence. For example, if the address section ADR and control section C0NT are composed of 16 bits, the transmission frame is in normal mode. mode designation bit (1 bit) to specify whether the terminal is connected to a remote terminal or diagnostic mode, and address bits (4 bits) of the boat where the other terminal is accommodated.
, address bits (4 bits) of the other terminal in the boat, and command bits (7 bits), etc. Therefore, in this case, the data transmission system has a maximum of 16 boats, and 1 Up to 16 terminals can be connected to a single boat.

第4図は本発明の一実施例のバス制御部のブロック線図
であり、6はバス制御部、61はモード登録レジスタ、
62はセレクタ、061〜G62はアンドゲート、EO
Rは排他的論理和回路であって、第2図と同一符号は同
一部分を示す。
FIG. 4 is a block diagram of a bus control section according to an embodiment of the present invention, where 6 is a bus control section, 61 is a mode registration register,
62 is a selector, 061 to G62 are AND gates, EO
R is an exclusive OR circuit, and the same symbols as in FIG. 2 indicate the same parts.

モード登録レジスタ61は、自ポートに収容された各端
末が正常モードか、診断モードか前もって登録しておく
ものであり、例えは、ある端末が正常モードのときl″
を、診断モードのときO″を、モード登録レジスタ6内
のその端末のアドレス番号に対応したビットに書込んで
おくものである。
The mode registration register 61 is used to register in advance whether each terminal accommodated in its own port is in normal mode or diagnostic mode.For example, when a certain terminal is in normal mode,
In the diagnostic mode, O'' is written in the bit corresponding to the address number of the terminal in the mode registration register 6.

又モード登録レジスタ61へのモード設定情報の書込み
は、中央制御局からデータバス4aを介して次のように
行なわれる。
Writing of mode setting information to the mode registration register 61 is performed from the central control station via the data bus 4a as follows.

既ち、命令語レジスタ52にセラ1へされた情報がモー
ド登録レジスタ61への書込み命令であることを判読回
路54で解読すると制御回路51より書込みゲート信号
WTGが′1′となり、データ語レジスタ53から出力
されたモード登録情報がデータバス4a。
When the reading circuit 54 decodes that the information sent to the cellar 1 in the command word register 52 is a write command to the mode registration register 61, the control circuit 51 sets the write gate signal WTG to '1', and the data word register The mode registration information output from 53 is transferred to data bus 4a.

アンドゲートG61を介してモード登録レジスタにセッ
トされる。
It is set in the mode registration register via AND gate G61.

又、モード登録レジスタ61の内容を確認したい場合は
、アントゲ−1−062、に読出しゲート信号RDGを
加えることで、モード登録レジスタ61の内容を読出す
ことができる。
Further, if it is desired to check the contents of the mode registration register 61, the contents of the mode registration register 61 can be read by applying a read gate signal RDG to the ant game 1-062.

今、従来例の説明と同様、第1図に於いて中央制御局C
PU1から端末T11ヘデータが書込まれる場合につい
て、第4図のバス制御部の動作を以下に説明する。
Now, as in the explanation of the conventional example, the central control station C in FIG.
The operation of the bus control unit shown in FIG. 4 will be described below in the case where data is written from PU1 to terminal T11.

まず、バス制御回路51からの命令語読取信号R1によ
り、プロセッサ結合部から第3図に示したようなモード
指定情報、相手端末アドレス等を含むアドレス部及び制
御部から成る命令語が、命令レジスタ52にセットされ
る。
First, in response to the instruction word read signal R1 from the bus control circuit 51, an instruction word consisting of an address section and a control section including mode designation information, destination terminal address, etc. as shown in FIG. 3 is sent from the processor coupling section to the instruction register. It is set to 52.

同様にして次のタイミングでデータ語が、データ語読取
信号R2によりデータ語レジスタ53にセットされる。
Similarly, at the next timing, a data word is set in the data word register 53 by the data word read signal R2.

モード登録レジスタ61には、当該ボー1−に収容され
ている全端末のモード情報が含まれている。
The mode registration register 61 contains mode information of all terminals accommodated in the board 1-.

そこでこの中から現在アクセスされている端末のモード
設定情報のみを選択するため、命令語レジスタ52から
相手端末のアドレス情報のみをセレクタ62に加え、こ
れによりモード登録レジスタ61の並列出力から目的の
端末のみのモード設定情報を選択している。
Therefore, in order to select only the mode setting information of the terminal currently being accessed from among these, only the address information of the other terminal is added from the command word register 52 to the selector 62, and thereby the target terminal is selected from the parallel output of the mode registration register 61. Only mode setting information is selected.

セレクタ62の出力は排他的論理和回路EORの一方の
入力端子に加えられ、他方の入力端子には、命令語がセ
ットされている命令語レジスタ52からモード指定情報
が加えられているので、排他的論理和回路EORでその
両者の排他的論理和かとられる。
The output of the selector 62 is applied to one input terminal of the exclusive OR circuit EOR, and the mode designation information is added to the other input terminal from the instruction word register 52 in which the instruction word is set. The exclusive OR of both is calculated by the logical OR circuit EOR.

従って、両信号が一致しない場合には排他的論理和回路
FORの出力は1″となり、そうでない場合は′O″と
なる。
Therefore, if the two signals do not match, the output of the exclusive OR circuit FOR will be 1'', otherwise it will be 'O''.

排他的論理和回路EORの出力はバス制御回路51に加
えられており、バス制御回路51は排他的論理和EOR
からの出力+! 1 ++のときには次のステートへは
進まず、端末T11へ送出する命令語及びデータ語書込
み信号Wl 、W2は送出しない。
The output of the exclusive OR circuit EOR is applied to the bus control circuit 51, and the bus control circuit 51
Output from +! When it is 1++, it does not proceed to the next state, and the command word and data word write signals Wl and W2 to be sent to the terminal T11 are not sent.

従って、伝送フレーム中のモード指定情報とモード登録
レジスタ61にあらかじめ設定しておいた端末T11の
モード設定情報とが異なるときには、データは端末T1
1には書込まれないことになる。
Therefore, when the mode designation information in the transmission frame and the mode setting information of the terminal T11 set in advance in the mode registration register 61 are different, the data is transferred to the terminal T1.
It will not be written to 1.

また排他的論理和回路EORの出力が″0″のときには
、バス制御回路51は従来と同じようにデータ書込み信
号W1 、W2を送出するので、命令語レジスタ52及
びデータ語レジスタ53の内容は端末T11に送出され
、データが書込まれることになる。
Further, when the output of the exclusive OR circuit EOR is "0", the bus control circuit 51 sends out the data write signals W1 and W2 as in the conventional case, so the contents of the command word register 52 and data word register 53 are transferred to the terminal. The data will be sent to T11 and the data will be written.

このようにバス制御部6に於いて、あらかじめ設定され
た各端末のモード設定情報と、伝送フレーム中のモード
指定情報との一致を、1伝送フレーム毎に検出し、一致
しない場合はその伝送フレームを無効とする構成とした
ため、正常モードの端末へは正常モードのデータのみが
書込まれ、診断モードのデータが書込まれるということ
はない。
In this way, the bus control unit 6 detects for each transmission frame whether the mode setting information set in advance for each terminal matches the mode designation information in the transmission frame, and if they do not match, the transmission frame Since the configuration is such that only normal mode data is written to the normal mode terminal, diagnostic mode data is not written to the normal mode terminal.

第5図は本発明の他の実施例のバス制御回路のブロック
線図であり、7はバス制御部、71はモード情報抽出回
路であって、第2図と同一符号は同一部分を示す。
FIG. 5 is a block diagram of a bus control circuit according to another embodiment of the present invention, in which 7 is a bus control section, 71 is a mode information extraction circuit, and the same reference numerals as in FIG. 2 indicate the same parts.

第6図はバス制御部が第5図の如く構成されたときの各
端末のインターフェース部の構成例であり、81はバス
制御部51からのモード指定信号mbと端末毎のモード
設定信号mioとの一致を検出するモード−数構出回路
、82は書込み情報をセットする出力レジスタ、83は
読出し情報がセットされている入力レジスタ、84はモ
ード設定回路、081〜G83はアンドケートである。
FIG. 6 shows an example of the configuration of the interface section of each terminal when the bus control section is configured as shown in FIG. 82 is an output register for setting write information, 83 is an input register to which read information is set, 84 is a mode setting circuit, and 081 to G83 are AND cases.

バス制御回路51は、従来通り、命令語及びデータ語読
取信号R1,R2を発生し、命令語及びデータ語をデー
タバス4aを介して命令語レジスタ52及びデータ語レ
ジスタ53に読込む。
Bus control circuit 51 generates command and data word read signals R1 and R2 as before, and reads the command and data words into command word register 52 and data word register 53 via data bus 4a.

このときモード情報抽出回路71は命令語レジスタ52
にセットされている命令語の中からモード指定情報のみ
を抽出し、このモード指定情報をバス制御回路51に送
出する。
At this time, the mode information extraction circuit 71 uses the instruction word register 52.
Only mode designation information is extracted from the command words set in , and this mode designation information is sent to the bus control circuit 51.

バス制御回路51は、判読回路54で解読した宛先の端
末に、命令語及びデータ語書込み信号W1 、W2を送
出するが、この信号の送出に同期して、モード情報抽出
回路71からのモード指定情報を制御バス4bを介して
目的の端末へ送出する。
The bus control circuit 51 sends command word and data word write signals W1 and W2 to the destination terminal decoded by the reading circuit 54, but in synchronization with the sending of these signals, the mode designation from the mode information extraction circuit 71 The information is sent to the target terminal via the control bus 4b.

端末のインターフェース部に於いては、バス制御回路5
1から送出されたモード指定情報と、あらかじめ外部ス
イッチ等によりモード設定回路84で設定しておいたモ
ード設定情報mioとを、モード−数構出回路81で比
較し、モード−数構出回路81は両信号が一致したとき
は、アンドゲートG81.G82にゲート信号を送出し
、そうでないときはゲート信号は送出しない構成として
いる。
In the interface section of the terminal, the bus control circuit 5
The mode setting information mio sent from 1 and the mode setting information mio previously set in the mode setting circuit 84 by an external switch etc. are compared in the mode-number setting circuit 81, and the mode-number setting circuit 81 When both signals match, AND gate G81. The configuration is such that a gate signal is sent to G82, and no gate signal is sent otherwise.

従ってモード設定情報mioとモード指定情報mbとが
一致したときは、バス制御回路51から命令語及びデー
タ語書込み信号W1 、W2とアドレス情報がアンドゲ
ートG81に加えられると、アントゲ゛−トG81の出
力は°1″となり、データが出力レジスタ82にセット
されて端末に書込まれることになる。
Therefore, when the mode setting information mio and the mode designation information mb match, when the command word and data word write signals W1, W2 and address information are applied from the bus control circuit 51 to the AND gate G81, the ant gate G81 The output will be 01'' and the data will be set in the output register 82 and written to the terminal.

一方両信号が一致しないときは、アントゲ゛−トG81
の出力は0”′となり、出力レジスタ82はセットされ
ずデータの書込みは行なわれない。
On the other hand, if both signals do not match, the ant gate G81
The output becomes 0"', the output register 82 is not set, and no data is written.

このように本実施例に於いては、各端末毎の動作モード
の設定をモード設定回路84で行ない、このモード設定
信号と、バス制御回路51から送出されたモード指定信
号とを1伝送フレーム毎に比較し、その一致条件により
データの書込みを行なっているので、システム診断時に
於いて、正常運転中の端末のモード設定信号を正常モー
ドにしておけば、診断モードの伝送フレームが誤まって
その端末に書込まれるということはない。
In this embodiment, the operating mode of each terminal is set by the mode setting circuit 84, and this mode setting signal and the mode designation signal sent from the bus control circuit 51 are transmitted every transmission frame. Since the data is written according to the matching conditions, if the mode setting signal of the terminal in normal operation is set to normal mode during system diagnosis, the transmission frame of the diagnostic mode may be incorrectly transmitted. It is never written to the terminal.

以上説明した如く本発明は、共通バスにより複数の端末
が接続されたボートを線状、環状または網状等に複数個
接続したデータ伝送システムのシステム動作制御装置、
伝送フレーム中に該伝送フレームが正常モードか診断モ
ードか指定するモード指定情報を受け、且つ前記端末毎
式いは前記共通バスを制御するバス制御部に前記端末の
動作モードを設定する設定回路と、前記伝送フレーム送
出毎に、該設定回路のモード設定情報と前記モード指定
情報との一致検出を行ない、一致したときのみ前記伝送
フレームを有効とする手段とを設けたものであり、シス
テム診断時に正常運転中の端末を正常モードに設定して
おけば、診断モードの伝送フレームが誤まって書込まれ
るということはなくなる。
As explained above, the present invention provides a system operation control device for a data transmission system in which a plurality of boats connected to a plurality of terminals via a common bus are connected in a line, ring, or net shape.
a setting circuit that receives mode designation information specifying whether the transmission frame is in a normal mode or a diagnostic mode in a transmission frame, and sets an operation mode of the terminal in a bus control unit that controls each terminal or the common bus; , means for detecting a match between the mode setting information of the setting circuit and the mode designation information each time the transmission frame is sent out, and validating the transmission frame only when they match; By setting a normally operating terminal to the normal mode, there will be no possibility that a diagnostic mode transmission frame will be written in error.

従ってシステムの増設や保守が容易となり信頼性の高い
システムを実現できるものである。
Therefore, expansion and maintenance of the system is easy, and a highly reliable system can be realized.

なお、本発明に於いて、伝送フレーム中のモード指定情
報及びハードウェア側のモード設定情報を2ビット以上
の複数モードにし、中央処理装置毎にモードを割当てれ
ば、端末と中央処理装置との対応づけを行なうことが可
能となり、データハイウェイに複数個の中央処理装置を
設置したときに、全く他の中央処理装置からの干渉のな
いデータ伝送システムを構成することもできる。
In addition, in the present invention, if the mode designation information in the transmission frame and the mode setting information on the hardware side are made into multiple modes of 2 bits or more, and the mode is assigned to each central processing unit, communication between the terminal and the central processing unit can be improved. It becomes possible to make correspondences, and when a plurality of central processing units are installed on a data highway, it is possible to configure a data transmission system completely free from interference from other central processing units.

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

第1図はデータ伝送システムの概略図、第2図は従来の
中継処理装置のブロック線図、第3図は本発明に使用す
る伝送フレームの構成例、第4図及び第5図は本発明の
バネ制御部のそれぞれ異なる実施例のブロック線図、第
6図はバス制御部が第5図の如く構成としたときの各端
末のインターフェースのブロック線図である。 CPUI、CPU2は中央処理装置、P1〜P5は中継
処理装置、T11〜T5Nは端末、1はプロセッサ結合
部、2はデバイス結合部、3は通信制御装置、4aはデ
ータバス、4bは制御バス、56.7はバス制御部、5
1はバス制御回路、52に命令語レジスタ、53はデー
タ語レジスタ、54は判読回路、61はモード登録レジ
スタ、62はセレクタ、63はアドレスレジスタ、71
はモード抽出回路、81はモード−数枚出回路、84は
モード設定回路である。
Fig. 1 is a schematic diagram of a data transmission system, Fig. 2 is a block diagram of a conventional relay processing device, Fig. 3 is a configuration example of a transmission frame used in the present invention, and Figs. 4 and 5 are in accordance with the present invention. FIG. 6 is a block diagram of the interface of each terminal when the bus control section is configured as shown in FIG. 5. CPUI, CPU2 is a central processing unit, P1 to P5 are relay processing devices, T11 to T5N are terminals, 1 is a processor coupling unit, 2 is a device coupling unit, 3 is a communication control unit, 4a is a data bus, 4b is a control bus, 56.7 is the bus control unit, 5
1 is a bus control circuit, 52 is a command word register, 53 is a data word register, 54 is a reading circuit, 61 is a mode registration register, 62 is a selector, 63 is an address register, 71
81 is a mode extraction circuit, 81 is a mode-several output circuit, and 84 is a mode setting circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 共通バスにより複数の端末が接続された中継処理装
置を線状、環状又は網状等に複数個接続したデータ伝送
システムのシステム動作制御装置に於いて、伝送フレー
ム中に該伝送フレームが正常モードか診断モードかを指
定するモード指定情報を設け、且つ前記端末毎或は前記
共通バスを制御するバス制御部に前記端末の動作モード
を設定する設定回路と、前記伝送フレーム送出毎に、該
設定回路のモード設定情報と前記モード指定情報との一
致検出を行ない、一致したときのみ前記伝送フレームを
有効とする手段とを設けたことを特徴とするデータ伝送
システムのシステム動作制御装置。
1. In a system operation control device of a data transmission system in which a plurality of relay processing devices each having a plurality of terminals connected through a common bus are connected in a linear, circular, or net shape, the system operation control device determines whether the transmission frame is in the normal mode or not during the transmission frame. a setting circuit that provides mode designation information that specifies whether the mode is a diagnostic mode, and sets the operation mode of the terminal in each terminal or a bus control unit that controls the common bus; 1. A system operation control device for a data transmission system, comprising means for detecting a match between mode setting information and the mode designation information, and validating the transmission frame only when they match.
JP52158455A 1977-12-30 1977-12-30 System operation control device for data transmission system Expired JPS5827532B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP52158455A JPS5827532B2 (en) 1977-12-30 1977-12-30 System operation control device for data transmission system
US05/967,634 US4242749A (en) 1977-12-30 1978-12-08 Operating system for a data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52158455A JPS5827532B2 (en) 1977-12-30 1977-12-30 System operation control device for data transmission system

Publications (2)

Publication Number Publication Date
JPS5493305A JPS5493305A (en) 1979-07-24
JPS5827532B2 true JPS5827532B2 (en) 1983-06-10

Family

ID=15672116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52158455A Expired JPS5827532B2 (en) 1977-12-30 1977-12-30 System operation control device for data transmission system

Country Status (1)

Country Link
JP (1) JPS5827532B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5817749A (en) * 1981-07-24 1983-02-02 Fujitsu Ltd Multi-address calling system
JPS58107743A (en) * 1981-12-22 1983-06-27 Usac Electronics Ind Co Ltd Data transfer system
JPH0783367B2 (en) * 1984-10-08 1995-09-06 株式会社日立製作所 Data transmission control system

Also Published As

Publication number Publication date
JPS5493305A (en) 1979-07-24

Similar Documents

Publication Publication Date Title
US6233635B1 (en) Diagnostic/control system using a multi-level I2C bus
US4716526A (en) Multiprocessor system
US6658493B1 (en) Microcomputer exchanging data with host computer
US4242749A (en) Operating system for a data transmission system
JP2996440B2 (en) Diagnosis method of data processing system
JPS6043767A (en) Interface circuit
JPH04315253A (en) Electronics
JPS5827532B2 (en) System operation control device for data transmission system
JPH0776932B2 (en) Data transmission method
US5335340A (en) Byte-swap hardware simulator for a sixteen bit microprocessor coupled to an eight bit peripheral unit
JPS5827531B2 (en) System operation control device in data transmission system
JP2988443B2 (en) Data transfer method
JPS6259825B2 (en)
KR100318849B1 (en) Interface device between cpu and dsp in cdma mobile communication system
JPS6148258A (en) Serial data transmitter
JPH0715670B2 (en) Data processing device
JPS6311778Y2 (en)
JPH08123745A (en) Information processor
JPS6242233A (en) Module configuration method
JPS6162961A (en) Input/ouput device
JPH0152774B2 (en)
JPS60181957A (en) Adaptor machine number setting system
JPS6235950A (en) Data transfer method between memories
JP2734992B2 (en) Information processing device
JPS6349957A (en) Common bus control system