JPH0470660B2 - - Google Patents

Info

Publication number
JPH0470660B2
JPH0470660B2 JP60168186A JP16818685A JPH0470660B2 JP H0470660 B2 JPH0470660 B2 JP H0470660B2 JP 60168186 A JP60168186 A JP 60168186A JP 16818685 A JP16818685 A JP 16818685A JP H0470660 B2 JPH0470660 B2 JP H0470660B2
Authority
JP
Japan
Prior art keywords
address
terminal control
terminal
data
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60168186A
Other languages
Japanese (ja)
Other versions
JPS6227850A (en
Inventor
Hideji Yamashita
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 JP60168186A priority Critical patent/JPS6227850A/en
Publication of JPS6227850A publication Critical patent/JPS6227850A/en
Publication of JPH0470660B2 publication Critical patent/JPH0470660B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】 [概要] 複数の端末を接続している端末制御基板を2系
統の制御チヤネルから制御できる端末制御装置に
おいて、各基板と制御チヤネル間のアドレスバス
の構成を簡易にした端末制御方法である。
[Detailed Description of the Invention] [Summary] In a terminal control device that can control a terminal control board connecting a plurality of terminals from two control channels, the structure of the address bus between each board and the control channel is simplified. This is a terminal control method.

[産業上の利用分野] 本発明は複数の端末と接続している端末制御基
板を2系統のホストコンピユータから、例えばデ
ユアル制御するときの端末制御方法に関する。
[Industrial Field of Application] The present invention relates to a terminal control method when a terminal control board connected to a plurality of terminals is controlled by two systems of host computers, for example, in a dual manner.

[従来の技術] 第4図に示す従来の装置において、1A,1B
はA系統、B系統のホストシステムバス、2A,
2Bは制御チヤネル、31,32は接続バスで制
御信号バス、データバス、アドレスバスを一括し
ていう。41〜44…は端末制御基板、51〜5
nは端末を示す。即ち複数の端末51〜5nが1
つの端末制御基板に接続され、該端末制御基板を
介してA,B何れかの系統のホストコンピユータ
により制御されている。通常はデユアル制御であ
つて、各ホストコンピユータが大略半分ずつの端
末を制御し、若し異常状態が発生したときは、正
常の方のホストが全体の端末を制御する。通常は
チヤネルと端末制御基板にマイクロプロセツサを
具備し、各種制御を行つている。また端末制御基
板にダイレクトメモリアクセス部41−1
(DMAC)を具備し、端末と制御チヤネル間のデ
ータ授受を行つている。
[Prior art] In the conventional device shown in Fig. 4, 1A, 1B
is the A system, B system host system bus, 2A,
2B is a control channel, and 31 and 32 are connection buses that collectively include a control signal bus, a data bus, and an address bus. 41-44... are terminal control boards, 51-5
n indicates a terminal. That is, a plurality of terminals 51 to 5n are connected to one
It is connected to two terminal control boards, and is controlled by either system A or B host computer via the terminal control board. Normally, dual control is used, with each host computer controlling approximately half of the terminals, and if an abnormal condition occurs, the normal host controls all the terminals. Usually, the channel and terminal control boards are equipped with microprocessors to perform various controls. In addition, the terminal control board has a direct memory access section 41-1.
(DMAC) to exchange data between terminals and control channels.

[発明が解決しようとする問題点] このとき端末制御基板41などの入出力信号線
は極めて多数となつている。即ち異常状態を考慮
しA系統、B系統と2系統分のバスと接続してお
くため、接続コネクタ端子41−2の端子数を2
倍必要とし、バツクパネル特に端子板の設計製作
か複雑面倒となつた。当然接続バスの値段も高く
ついた。本発明の目的は前述の欠点を改善するた
め、制御チヤネル内にアドレスレジスタとアドレ
スデコーダを具備し、端末制御基板と制御チヤネ
ル間のアドレスバス数を少なくした端末制御方法
を提供することにある。
[Problems to be Solved by the Invention] At this time, the number of input/output signal lines such as the terminal control board 41 is extremely large. In other words, in order to connect the buses of two systems, the A system and the B system, in consideration of abnormal conditions, the number of terminals of the connecting connector terminal 41-2 is set to 2.
The design and manufacture of the back panel, especially the terminal board, became complicated and troublesome. Naturally, the price of the connecting bus was also high. SUMMARY OF THE INVENTION An object of the present invention is to provide a terminal control method in which an address register and an address decoder are provided in a control channel, and the number of address buses between a terminal control board and a control channel is reduced, in order to improve the above-mentioned drawbacks.

[問題点を解決するための手段] 前述の問題点を解決するため本発明が採用した
手段は、複数の端末51…5nとそれぞれ接続さ
れている複数の端末制御基板41…44との間の
データ転送を2系統の制御チヤネル2A,2Bか
ら接続バスを介して制御し、該制御チヤネル2
A,2B内のチヤネルバツフア25に該転送され
たデータを格納してホスト側へと転送する端末制
御方法において、前記複数の端末51…5nから
各制御チヤネル2A,2Bにデータを転送する場
合は、予め前記複数の端末制御基板41…44の
共通のアドレスをアドレスレジスタ24に格納し
て置き、該複数の端末制御基板41…44から転
送されてくる独自のアドレスに該共通のアドレス
を加えて、チヤネルバツフア25の領域を指定
し、当該指定された領域に転送データを格納し、
該各制御チヤネル2A,2Bから複数の端末51
…5nにデータを送信する場合は、予め前記複数
の端末制御基板41…44それぞれに対応するア
ドレスをアドレスデコーダ23によつてデコード
することにより当該端末制御基板41を指定し、
更に当該複数の端末制御基板41…44の下位側
にそれぞれ接続されている該複数の端末51…5
nを前記接続バスによつて指定することで構成す
る。
[Means for Solving the Problems] The means adopted by the present invention to solve the above-mentioned problems is to improve the connection between the plurality of terminals 51...5n and the plurality of terminal control boards 41...44 connected respectively. Data transfer is controlled from two control channels 2A and 2B via a connection bus, and the control channel 2
In a terminal control method in which the transferred data is stored in the channel buffer 25 in A, 2B and transferred to the host side, when data is transferred from the plurality of terminals 51...5n to each control channel 2A, 2B, A common address of the plurality of terminal control boards 41...44 is stored in advance in the address register 24, and the common address is added to the unique address transferred from the plurality of terminal control boards 41...44. Specify an area of the channel buffer 25, store the transfer data in the specified area,
A plurality of terminals 51 from each control channel 2A, 2B
...5n, specify the terminal control board 41 by decoding the address corresponding to each of the plurality of terminal control boards 41...44 using the address decoder 23 in advance,
Furthermore, the plurality of terminals 51...5 each connected to the lower side of the plurality of terminal control boards 41...44.
It is configured by specifying n using the connection bus.

〔作用〕[Effect]

本発明においては、端末から制御チヤネル方向
へデータ転送を行うときは複数の端末とそれぞれ
接続されている複数の端末制御基板と共通なアド
レスとその端末制御基板からの独自のアドレスを
加えて、端末から制御チヤネルに転送されるデー
タを格納するチヤネルバツフアの格納領域の指定
を行つているから、共通のアドレスを前もつて別
に格納することで、その分だけ端末制御基板と制
御チヤネル間のアドレスバス数を減少することが
できる。
In the present invention, when data is transferred from the terminal to the control channel direction, the terminal Since we are specifying the storage area of the channel buffer that stores the data transferred from the terminal control board to the control channel, by storing common addresses separately in advance, we can reduce the number of address buses between the terminal control board and the control channel by that amount. can be reduced.

また制御チヤネルから端末へとデータ転送を行
うときは、まず複数の端末とそれぞれ接続された
複数の端末制御基板はアドレスの一部分のビツト
をアドレスデコーダを用いてデコードすることに
より指定し、そのデコードされた端末の指定は制
御チヤネルと端末制御基板間を接続している接続
バス(アドレスバス)にて残余のアドレスビツト
を送出することにより指定するようにしているか
ら、該接続バス(アドレスバス)に関しては端末
制御基板をデコーダによつて指定する分のアドレ
スビツトを減少することができる。
Furthermore, when data is transferred from a control channel to a terminal, the terminal control boards connected to the terminals first specify the address by decoding the bits of a part of the address using an address decoder. The specified terminal is specified by sending the remaining address bits through the connection bus (address bus) that connects the control channel and the terminal control board. can reduce the number of address bits required to specify the terminal control board by the decoder.

[実施例] 第1図は本発明の実施例の構成を示す図で、1
A,1BはA系統、B系統のホストシステムバ
ス、2A,2Bは制御チヤネル、33,34は接
続バスで従来のバス31,32と比較し、特にア
ドレスバスを略半分の数としたもの、41,42
…は端末制御基板で端末制御装置の主要部となる
もの、51〜5nは端末を示す。21はチヤネル
バス、22はチヤネルマイクロプロセツサ、23
はアドレスデコーダ、24はアドレスレジスタ、
25はチヤネルバツフア、26はダイレクトメモ
リアクセス部を示す。アドレスデコーダ23とア
ドレスレジスタ24は後述するように所定の場合
に動作する。
[Example] Figure 1 is a diagram showing the configuration of an example of the present invention.
A and 1B are A-system and B-system host system buses, 2A and 2B are control channels, and 33 and 34 are connection buses, compared to conventional buses 31 and 32, in particular, the number of address buses is approximately half, 41, 42
... indicates a terminal control board which is the main part of the terminal control device, and 51 to 5n indicate terminals. 21 is a channel bus, 22 is a channel microprocessor, 23
is an address decoder, 24 is an address register,
25 is a channel buffer, and 26 is a direct memory access section. Address decoder 23 and address register 24 operate in predetermined cases, as will be described later.

端末と制御チヤネル間のデータ転送をダイレク
トメモリアクセス方式で行うとき、転送先の領域
アドレスについて予定され、そのアドレスがマイ
クロプロセツサにおいて判つている。またダイレ
クトメモリアクセス制御装置は、転送すべきデー
タに先立つてそのアドレスをアドレスバスにより
送出する。アドレスバスは従来20本のように多量
であつたが、本発明によると例えば11本のように
少なくできる。
When data is transferred between a terminal and a control channel using the direct memory access method, an area address of the transfer destination is planned, and the address is known in the microprocessor. The direct memory access control device also sends out the address of the data to be transferred over the address bus prior to the data being transferred. Conventionally, the number of address buses was as large as 20, but according to the present invention, the number can be reduced to, for example, 11.

今、端末51から制御チヤネル2Aへデータ転
送を行う場合、ホストコンピユータ(図示せず)
が制御チヤネル2Aを含めチヤネルバツフア25
についてのアドレスを予め全体的に知つているの
で、チヤネルバツフア25のアドレスはマイクロ
プロセツサ22を介し、アドレスレジスタ24に
アドレスの一部を印加しておく。アドレスレジス
タ24の部分は第2図に詳細を示す構成となつて
いる。第2図において35は書込レジスタ、3
6,37はゲートを示す。信号AB10〜19は
チヤネルバツフア25についての格納アドレス、
WCは書込レジスタ35についての書込コマンド
信号、RGSはアドレスレジスタ24の回路がア
クセスされたことを示す信号、RCは書込レジス
タ35の格納内容を読出すための信号、DMダイ
レクトメモリアクセス動作をしていることを示す
信号である。前述のようにチヤネルバツフア25
についてのアドレスは信号WCとRGSが同時に揃
つたときアドレスビツトAB10〜19が書込レ
ジスタ35に対し予めラツチされる。次にダイレ
クトメモリアクセス部26が動作してデータ転送
を行うとき、アドレスビツトの上位ビツト00〜09
の指定で制御チヤネルが定まり、その制御チヤネ
ル内で予め指定されていたチヤネルバツフアのア
ドレスが前記書込みレジスタ35を読出すことで
定まるから、当該アドレスのデータが読出され転
送が開始される。このとき第2図においてダイレ
クトメモリアクセス動作のため信号DMが印加さ
れゲート37が開くから、書込レジスタ34内の
アドレスビツトはAB10〜19として出力され
る。
Now, when data is transferred from the terminal 51 to the control channel 2A, the host computer (not shown)
is channel buffer 25 including control channel 2A.
Since the entire address of the channel buffer 25 is known in advance, a part of the address of the channel buffer 25 is applied to the address register 24 via the microprocessor 22. The address register 24 has a structure shown in detail in FIG. In FIG. 2, 35 is a write register;
6 and 37 indicate gates. Signals AB10-19 are storage addresses for channel buffer 25;
WC is a write command signal for the write register 35, RGS is a signal indicating that the circuit of the address register 24 has been accessed, RC is a signal for reading the contents stored in the write register 35, DM direct memory access operation This is a signal indicating that you are doing something. As mentioned above, channel buffer 25
Address bits AB10-19 are pre-latched in the write register 35 when the signals WC and RGS are present at the same time. Next, when the direct memory access unit 26 operates to transfer data, the upper bits 00 to 09 of the address bits are
The control channel is determined by the designation, and the address of the channel buffer previously designated within the control channel is determined by reading the write register 35, so the data at the address is read and transfer is started. At this time, in FIG. 2, the signal DM is applied for a direct memory access operation and the gate 37 is opened, so the address bits in the write register 34 are output as AB10-19.

次に制御チヤネル2Aから端末51〜データ転
送を行う場合について説明する。制御チヤネル2
Aのチヤネルバツフア25に予め準備されたデー
タは、ダイレクトメモリアクセス部26の制御に
より転送される。そのとき端末に対するアドレス
のうち、上位10ビツトについてはマイクロプロセ
ツサ22がアドレスデコーダ23を印加し、下位
10ビツトは所定のアドレス10本を使用して端末制
御基板41に転送する。アドレスデコーダ23は
印加されたアドレスをデコードし、所定の端末制
御基板41に転送する。アドレスデコーダ23は
印加されたアドレスをデコードし、所定の端末制
御基板41に対応するアドレスバスに信号を付与
する。特定のアドレスバスを特定の端末制御基板
と対応させることが良い。そのため前記上位ビツ
トで特定された端末制御基板41が指定されたこ
とを知り、内部のマイクロプロセツサ(図示せ
ず)は下位アドレスによつて端末の指定を行うこ
とができる。そのため制御チヤネル2A内のダイ
レクトメモリアクセス部26はチヤネルバツフア
25のデータを端末51へ転送できる。
Next, a case will be described in which data is transferred from the control channel 2A to the terminal 51. control channel 2
The data prepared in advance in the channel buffer 25 of A is transferred under the control of the direct memory access section 26. At that time, the microprocessor 22 applies the upper 10 bits of the address to the terminal to the address decoder 23, and the lower
The 10 bits are transferred to the terminal control board 41 using 10 predetermined addresses. The address decoder 23 decodes the applied address and transfers it to a predetermined terminal control board 41. The address decoder 23 decodes the applied address and applies a signal to the address bus corresponding to a predetermined terminal control board 41. It is preferable to associate a specific address bus with a specific terminal control board. Therefore, knowing that the terminal control board 41 specified by the upper bit has been designated, the internal microprocessor (not shown) can designate the terminal by the lower address. Therefore, the direct memory access unit 26 in the control channel 2A can transfer the data in the channel buffer 25 to the terminal 51.

第3図はアドレスデコーダ23についての具体
的構成例を示す図である。第3図において38は
アドレス下位ビツトの設定回路、39は比較回
路、TMSは端末制御基板がアクセスされたこと
を示すデコード信号である。アドレス設定回路3
8は前述の例えば上位10ビツトを予め設定してお
く。データ転送に際し、端末をアクセスするアド
レスが定まつたとき、上位10ビツトは第3図の端
子AB00〜09に印加されるので、比較回路3
9で一致したときの出力信号TMSにより端末制
御基板が特定される。次にアドレスの下位ビツト
により所定の端末がアクセス可能となる。
FIG. 3 is a diagram showing a specific configuration example of the address decoder 23. As shown in FIG. In FIG. 3, 38 is a setting circuit for the lower address bits, 39 is a comparison circuit, and TMS is a decode signal indicating that the terminal control board has been accessed. Address setting circuit 3
For example, the upper 10 bits mentioned above are set in advance for 8. During data transfer, when the address for accessing the terminal is determined, the higher 10 bits are applied to terminals AB00-09 in Figure 3, so the comparator circuit 3
9, the terminal control board is identified by the output signal TMS when they match. The lower bits of the address then allow a given terminal to access it.

[発明の効果] このようにして本発明によると従来アドレスバ
スが各系統に2n本ずつあつたとすれば、半分か、
半分に1本付加すること、即ちn+1本ずつで済
むため、両系統では2(n−1)本減少させるこ
とができる。このようにして本発明によると、し
たがつて制御チヤネルと端末チヤネルと端末制御
基板間の接続バス数を大きく減らすことができ、
端末制御基板の構成が簡易化される。例えば接続
バスについてドライバ・レシーバ・アドレスパリ
テイ回路が減少できることである。
[Effect of the invention] According to the present invention, if the conventional address buses were 2n for each system, the number of address buses would be reduced by half, or
By adding one wire to each half, that is, n+1 wires each, the number can be reduced by 2 (n-1) in both systems. In this way, according to the invention, the number of connection buses between the control channel, the terminal channel and the terminal control board can be greatly reduced,
The configuration of the terminal control board is simplified. For example, the number of driver/receiver/address parity circuits for the connection bus can be reduced.

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

第1図は本発明の実施例の構成を示す図、第2
図・第3図は第1図中のアドレスレジスタ・アド
レスデコーダの具体的構成を示す図、第4図は従
来の端末制御装置の構成を示す図である。 1A,1B……ホストシステムバス、2A,2
B……制御チヤネル、23……アドレスデコー
ダ、24……アドレスレジスタ、25……チヤネ
ルバツフア、41〜44……端末制御基板、51
〜5n……端末。
Figure 1 is a diagram showing the configuration of an embodiment of the present invention, Figure 2 is a diagram showing the configuration of an embodiment of the present invention.
3 is a diagram showing a specific configuration of the address register and address decoder in FIG. 1, and FIG. 4 is a diagram showing the configuration of a conventional terminal control device. 1A, 1B...Host system bus, 2A, 2
B... Control channel, 23... Address decoder, 24... Address register, 25... Channel buffer, 41-44... Terminal control board, 51
~5n...terminal.

Claims (1)

【特許請求の範囲】 1 複数の端末51…5nとそれぞれ接続されて
いる複数の端末制御基板41…44との間のデー
タ転送を2系統の制御チヤネル2A,2Bから接
続バスを介して制御し、該制御チヤネル2A,2
B内のチヤネルバツフア25に該転送されたデー
タを格納してホスト側へと転送する端末制御方法
において、 前記複数の端末51…5nから各制御チヤネル
2A,2Bにデータを転送する場合は、予め前記
複数の端末制御基板41…44の共通のアドレス
をアドレスレジスタ24に格納して置き、該複数
の端末制御基板41…44から転送されてくる独
自のアドレスに該共通のアドレスを加えて、チヤ
ネルバツフア25の領域を指定し、当該指定され
た領域に転送データを格納し、 該各制御チヤネル2A,2Bから複数の端末5
1…5nにデータを送信する場合は、予め前記複
数の端末制御基板41…44それぞれに対応する
アドレスをアドレスデコーダ23によつてデコー
ドすることにより当該端末制御基板41を指定
し、更に当該複数の端末制御基板41…44の下
位側にそれぞれ接続されている該複数の端末51
…5nを前記接続バスによつて指定すること を特徴とする端末制御方法。
[Claims] 1. Data transfer between a plurality of terminals 51...5n and a plurality of terminal control boards 41...44 connected to each other is controlled from two control channels 2A, 2B via a connection bus. , the control channel 2A, 2
In the terminal control method in which the transferred data is stored in the channel buffer 25 in B and transferred to the host side, when data is transferred from the plurality of terminals 51...5n to each control channel 2A, 2B, the above-mentioned data is stored in advance. A common address of a plurality of terminal control boards 41...44 is stored in the address register 24, and the common address is added to the unique address transferred from the plurality of terminal control boards 41...44 to create a channel buffer 25. Specify an area, store the transfer data in the specified area, and transmit the data from each control channel 2A, 2B to the plurality of terminals 5.
1...5n, the address decoder 23 decodes the address corresponding to each of the plurality of terminal control boards 41...44 in advance to designate the terminal control board 41, and then The plurality of terminals 51 each connected to the lower side of the terminal control boards 41...44
...5n by the connection bus.
JP60168186A 1985-07-30 1985-07-30 Terminal controller Granted JPS6227850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60168186A JPS6227850A (en) 1985-07-30 1985-07-30 Terminal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60168186A JPS6227850A (en) 1985-07-30 1985-07-30 Terminal controller

Publications (2)

Publication Number Publication Date
JPS6227850A JPS6227850A (en) 1987-02-05
JPH0470660B2 true JPH0470660B2 (en) 1992-11-11

Family

ID=15863377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60168186A Granted JPS6227850A (en) 1985-07-30 1985-07-30 Terminal controller

Country Status (1)

Country Link
JP (1) JPS6227850A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010179724A (en) * 2009-02-04 2010-08-19 Kanto Auto Works Ltd Cargo storage system for vehicle

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55140926A (en) * 1979-04-19 1980-11-04 Idec Izumi Corp Address controller of data processor
JPS5685134A (en) * 1979-12-14 1981-07-11 Nec Corp Input/output controlling system for data processor
JPS5960547A (en) * 1982-09-29 1984-04-06 Hitachi Ltd Interface conversion device

Also Published As

Publication number Publication date
JPS6227850A (en) 1987-02-05

Similar Documents

Publication Publication Date Title
EP0120889B1 (en) Direct memory access peripheral unit controller
US4400772A (en) Method and apparatus for direct memory access in a data processing system
JPH05217398A (en) Semiconductor memory
JPH0214716B2 (en)
US6308244B1 (en) Information processing apparatus with improved multiple memory access and control
JPH0470660B2 (en)
US5301300A (en) Floppy disk drive controller with improved density select
JPS6162961A (en) Input/ouput device
JPH0715670B2 (en) Data processing device
JPS6184767A (en) Inter-system connecting method
JPH05250310A (en) Data processor
KR920001543Y1 (en) Data protection circuit of elevator system
JPS59206925A (en) Data processing system
JPS6227849A (en) Terminal controller
JPS5827531B2 (en) System operation control device in data transmission system
JP2884943B2 (en) Address arbitration circuit
JPS62229452A (en) Peripheral module access system
JPS62123551A (en) Memory device
JPH0664561B2 (en) Simultaneous writing circuit
JPS60233751A (en) Address decoding circuit
JPH0359454B2 (en)
JPH01102670A (en) Address bus controller
JPH0315217B2 (en)
JPS58213336A (en) Communication controller
JPS619746A (en) Setting system for channel device number

Legal Events

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