JPS6242547B2 - - Google Patents

Info

Publication number
JPS6242547B2
JPS6242547B2 JP55113492A JP11349280A JPS6242547B2 JP S6242547 B2 JPS6242547 B2 JP S6242547B2 JP 55113492 A JP55113492 A JP 55113492A JP 11349280 A JP11349280 A JP 11349280A JP S6242547 B2 JPS6242547 B2 JP S6242547B2
Authority
JP
Japan
Prior art keywords
transmission
signal
transmission line
control circuit
dma
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
JP55113492A
Other languages
Japanese (ja)
Other versions
JPS5738039A (en
Inventor
Hideo Ootani
Yoshuki Futahashi
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11349280A priority Critical patent/JPS5738039A/en
Publication of JPS5738039A publication Critical patent/JPS5738039A/en
Publication of JPS6242547B2 publication Critical patent/JPS6242547B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

【発明の詳細な説明】 本発明は2重系伝送制御回路に係り、さらに詳
述すれば、伝送回線を介して中央制御所側にデー
タ伝送を行なう端末における1つのマイクロプロ
セツサを含む共通制御部と伝送回線との間に2重
化されて設置されて上記共通制御部と上記伝送回
線との間のデータ伝送を制御する2重系伝送制御
回路に関するもので、特に、2重化された伝送制
御回路のうちの伝送回線に接続された方の伝送制
御回線が自動的に選択されるようにして同一の伝
送制御回路で2重系を実現することを図つたもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a dual system transmission control circuit, and more specifically, a common control circuit including one microprocessor in a terminal that transmits data to a central control center via a transmission line. The invention relates to a duplex transmission control circuit that is installed in duplex between the common control unit and the transmission line to control data transmission between the common control unit and the transmission line, and in particular, This is intended to realize a duplex system using the same transmission control circuit by automatically selecting the transmission control circuit connected to the transmission line of the transmission control circuits.

従来例として、まず、1重系における伝送制御
回路を第1図に示す。第1図において、1はマイ
クロプロセツサ(以下MPUと略す)、2はメモ
リ、3はダイレクトメモリアクセス(以下DMA
と略す)コントローラ、4はアドバンスデータリ
ンク(以下ADLと略す)コントローラ、5はレ
ベル変換回路、6は受信データサービスリクエス
ト(以下RDSRと略す)信号、7は送信データサ
ービスリクエス(以下TDSRと略す)信号、8は
DMA要求信号、9はDMA許可信号、10はデー
タパス、11はアドレスバス、16は伝送回線で
ある。受信開始のフラツグを受信するとADLコ
ントローラ4は、メモリ2へデータをDMA方式
で転送するための要求信号、RDSR信号6、を出
力してDMAコントローラ3に送出する。DMAコ
ントローラ3はこのRDSR信号6を受付けて
MPU1に対し、バス専有権を得るためのDMA要
求信号8を出力する。MPU1はこの信号を受付
けると、データバス10及びアドレスバス11を
高インピーダンスにし、バスをDMAコントロー
ラ3に渡す信号であるDMA許可信号9を出力す
る。これでDMAコントローラ3はマスタとな
り、ADLコントローラ4からメモリ2へデータ
を転送するDMA転送を開始する。データ転送が
終了すると、ADLコントローラ4はRDSR信号6
を落とし、ついでDMAコントローラ3はDMA要
求信号8を落とす。するとバス専有権はDMAコ
ントローラ3からMPU1に戻る。マスタになつ
たMPU1は、いま転送されたメモリ2のデータ
により一定の処理を行ない、上位計算機側へ応答
するためにADLコントローラ4に起動をかけ
る。MPU1からADLコントローラ4への起動は
一般にデータバス10及びアドレスバス11を用
い、図示していない、ADLコントローラ4内の
制御レジスタの特定ビツトをセツトすることによ
つて行われる。起動をかけられたADLコントロ
ーラ4は、第2図において後述する転送モード表
示信号13を低レベルにすると共に、再びDMA
転送するべくTDSR信号7を出力する。DMAコ
ントローラ3はこの信号によりMPU1にDMA要
求信号8を送出し、MPU1はDMA許可信号9を
帰す。そしてDMAコントローラ3はメモリ2か
らADLコントローラ4へデータを転送し、レベ
ル変換回路5を介して伝送回線16へデータを送
出する。
As a conventional example, first, a transmission control circuit in a single system is shown in FIG. In Figure 1, 1 is a microprocessor (hereinafter referred to as MPU), 2 is a memory, and 3 is a direct memory access (hereinafter referred to as DMA).
4 is an advanced data link (hereinafter abbreviated as ADL) controller, 5 is a level conversion circuit, 6 is a receive data service request (hereinafter abbreviated as RDSR) signal, and 7 is a transmit data service request (hereinafter abbreviated as TDSR). Signal 8 is
A DMA request signal, 9 a DMA permission signal, 10 a data path, 11 an address bus, and 16 a transmission line. Upon receiving the reception start flag, the ADL controller 4 outputs an RDSR signal 6, which is a request signal for transferring data to the memory 2 using the DMA method, and sends it to the DMA controller 3. The DMA controller 3 accepts this RDSR signal 6 and
A DMA request signal 8 is output to the MPU 1 to obtain bus exclusive rights. When the MPU 1 receives this signal, it sets the data bus 10 and address bus 11 to high impedance and outputs a DMA permission signal 9, which is a signal for passing the bus to the DMA controller 3. The DMA controller 3 now becomes the master and starts DMA transfer to transfer data from the ADL controller 4 to the memory 2. When the data transfer is completed, the ADL controller 4 sends the RDSR signal 6
, and then the DMA controller 3 drops the DMA request signal 8. The bus exclusive right then returns from the DMA controller 3 to the MPU 1. The MPU 1, which has become the master, performs certain processing using the data in the memory 2 that has just been transferred, and activates the ADL controller 4 in order to respond to the host computer side. Activation from the MPU 1 to the ADL controller 4 is generally performed using the data bus 10 and address bus 11 by setting a specific bit in a control register (not shown) in the ADL controller 4. The activated ADL controller 4 sets the transfer mode display signal 13 (described later) to a low level in FIG.
Outputs TDSR signal 7 for transfer. In response to this signal, the DMA controller 3 sends a DMA request signal 8 to the MPU 1, and the MPU 1 returns a DMA permission signal 9. Then, the DMA controller 3 transfers the data from the memory 2 to the ADL controller 4, and sends the data to the transmission line 16 via the level conversion circuit 5.

2重系の伝送制御回路として、第1図に示した
ような1重系の伝送制御系をそのまま2重化した
場合を考えると、(1)MPU1は2つある伝送制御
回路のどちらが回線に接続されているかを認識す
る必要がある、(2)回線に接続されている回路へ送
受信の起動をかける必要がある、(3)このためにプ
ログラムが複雑になるなどの問題点を生じる。
If we consider the case where a single transmission control system as shown in Figure 1 is duplicated as a duplex transmission control circuit, (1) MPU 1 determines which of the two transmission control circuits is connected to the line. (2) It is necessary to activate the circuit connected to the line to transmit and receive, and (3) This causes problems such as the complexity of the program.

本発明の目的は、上記問題点を解決し、マイク
ロプログラムを1重系、2重系を区別することな
く簡単にし、かつ同一の伝送制御カード2枚で2
重系伝送を可能にする2重系伝送制御回路を提供
するにある。
An object of the present invention is to solve the above problems, simplify the microprogram without distinguishing between single system and dual system, and use two identical transmission control cards to
An object of the present invention is to provide a duplex transmission control circuit that enables duplex transmission.

以下第2図及び第3図により本発明の一実施例
を説明する。第2図は回路図、第3図はその動作
説明用の各部信号タイムチヤートである。第2
図、第3図において、12はフラツグ検出(以下
FDと略す)信号、13は転送モード表示(以下
RSTと略す)信号、14はフラツグ検出用のフ
リツプフロツプ、15はゲートであり、その他は
第1図の場合と同じである。ここでフリツプフロ
ツプ14は、セツト入力付エツジトリガフリツプ
フロツプで、D入力は接地(GD)されており、
セツト入力端子Sに信号があつた場合(信号線1
2がLOWレベル)に強制的にセツト(Q出力
“1”)され、T入力(信号線13)がLOW→
HIGHでリセツト(Q出力“0”)されるように
なつている。なお、2重系をA,Bで区別してい
る。第2図回路が第1図回路と異なるのは、伝送
制御回路が2重化されていること、各伝送制御回
路内にそれぞれフリツプフロツプ1個とゲート2
個が追加されたことである。以下、異なる点を中
心に、第3図タイムチヤートを参照しながら説明
する。第3図AはA系回路のBはB系回路の動作
を示す。
An embodiment of the present invention will be described below with reference to FIGS. 2 and 3. FIG. 2 is a circuit diagram, and FIG. 3 is a time chart of various signals for explaining its operation. Second
In Fig. 3, 12 indicates flag detection (hereinafter referred to as
(abbreviated as FD) signal, 13 is transfer mode display (hereinafter referred to as
(abbreviated as RST) signal, 14 is a flip-flop for flag detection, 15 is a gate, and the others are the same as in the case of FIG. Here, the flip-flop 14 is an edge trigger flip-flop with a set input, and the D input is grounded (GD).
When a signal is applied to the set input terminal S (signal line 1
2 is forcibly set to LOW level) (Q output “1”), and the T input (signal line 13) goes LOW→
It is designed to be reset (Q output "0") at HIGH. Note that the dual systems are distinguished by A and B. The circuit in Figure 2 differs from the circuit in Figure 1 in that the transmission control circuits are duplicated, and each transmission control circuit has one flip-flop and two gates.
This means that more than 100 people have been added. Hereinafter, the differences will be explained with reference to the time chart in FIG. 3, focusing on the differences. FIG. 3A shows the operation of the A-system circuit, and B shows the operation of the B-system circuit.

ポーリングセレクシヨン方式のデータ伝送にお
いては、端末は受信に始まり送信で一連の転送を
終結する。第2図の2重系において、いま、伝送
回線16はA系の方に接続されているとする。
In data transmission using the polling selection method, a terminal starts a series of transfers with reception and ends with transmission. In the dual system shown in FIG. 2, it is assumed that the transmission line 16 is now connected to system A.

ADLコントローラ4Aは受信開始フラツグを
受信すると、RDSR信号6A,FD信号12Aを
送出する。このFD信号12Aによりフリツプフ
ロツプ14Aがセツト状態となる。つまり回線が
A系回路に接続されたことを示す。従つてDMA
要求信号8はA系回路からのみ出力され、DMA
許可信号9もA系回路のみへ入力され、第1図回
路の場合と同様にDMAが実行される。
When the ADL controller 4A receives the reception start flag, it sends out an RDSR signal 6A and an FD signal 12A. This FD signal 12A brings the flip-flop 14A into a set state. In other words, this indicates that the line is connected to the A-system circuit. Therefore DMA
The request signal 8 is output only from the A-system circuit, and the DMA
The permission signal 9 is also input only to the A-system circuit, and DMA is executed in the same way as in the circuit of FIG.

次にDMA転送でメモリデータをADLコントロ
ーラ4Aを介して伝送回線16へ送出する場合に
ついて述べる。MPU1は伝送回線16へデータ
を送出するべく同一アドレシングによりA系,B
系の両伝送制御回路に起動をかける。ADLコン
トローラ4A,4BはTDSR信号7A,7B及び
RTS信号13A,13Bを出力する。ここで、
A系回路はフリツプフロツプ14AによりDMA
要求信号8Aのゲートをイネーブルにしているた
めバス上へ送出される。しかし、B系回路はフリ
ツプフロツプ14Bがセツト状態にないため、
DMA要求信号8Bはバス上へ送出されない。
MPU1からDMA許可信号9が帰つてくると同様
にA系のみに入力される。従つてA系回路のみが
DMA転送を実行する。転送が終了するとADLコ
ントローラ4AはTDSR信号7Aを落とし、
DMAコントローラ3AはDMA要求信号8Aを落
とし、MPU1はバス専有権を回復する。MPU1
は送信モードを受信モードに切替えるべく同一ア
ドレシングによりADLコントローラ4A,4B
を受信モードにしてRTS信号13A,13Bを
高レベルにする。従つてフリツプフロツプ14
A,14Bはリセツトされ、DMA要求信号8及
びDMA許可信号9のゲートを閉じる。この場
合、B系回路においてフリツプフロツプ14Bは
リセツト状態のためゲート15―1B,15―2
Bは閉じたままである。従つてA系回路、B系回
路は受信できる状態となる。
Next, a case will be described in which memory data is sent to the transmission line 16 via the ADL controller 4A by DMA transfer. The MPU 1 uses the same addressing to transmit data to the transmission line 16.
Activates both transmission control circuits in the system. ADL controllers 4A, 4B are TDSR signals 7A, 7B and
Outputs RTS signals 13A and 13B. here,
A-system circuit uses flip-flop 14A to perform DMA
Since the gate of request signal 8A is enabled, it is sent onto the bus. However, in the B-system circuit, flip-flop 14B is not in the set state, so
DMA request signal 8B is not sent onto the bus.
When the DMA permission signal 9 is returned from the MPU 1, it is similarly input only to the A system. Therefore, only the A-system circuit
Perform DMA transfer. When the transfer is completed, the ADL controller 4A drops the TDSR signal 7A,
The DMA controller 3A drops the DMA request signal 8A, and the MPU 1 recovers the exclusive right to the bus. MPU1
The ADL controllers 4A and 4B use the same addressing to switch the transmit mode to the receive mode.
is set to receive mode and RTS signals 13A and 13B are set to high level. Therefore, flip-flop 14
A and 14B are reset to close the gates of the DMA request signal 8 and DMA grant signal 9. In this case, in the B-system circuit, the flip-flop 14B is in the reset state, so the gates 15-1B and 15-2 are in the reset state.
B remains closed. Therefore, the A-system circuit and the B-system circuit become ready for reception.

以上の説明では伝送回線16がA系回路に接続
された場合について述べたが、B系回路に接続さ
れた場合も動作は全く同様で、A系回路とB系回
路が入れ替わるのみである。尚、A系回路とB系
回路のどちらを伝送回線に接続するかは、両方と
も正常な場合は、A系回路を、A系回路が異常に
なつた場合はB系回路を接続する。スイツチの切
替は自動的に行なうことも可能であるが、ここで
は手動で行う実施例を示している。
In the above explanation, the case where the transmission line 16 is connected to the A-system circuit has been described, but the operation is exactly the same when it is connected to the B-system circuit, only that the A-system circuit and the B-system circuit are interchanged. Regarding which of the A-system circuit and the B-system circuit should be connected to the transmission line, if both are normal, the A-system circuit is connected, and if the A-system circuit is abnormal, the B-system circuit is connected. Although it is possible to switch the switch automatically, an embodiment in which the switch is switched manually is shown here.

以上説明したように、本発明によれば、同一の
伝送制御回路を有するカードを2枚用意しておく
ことで、カードを追加するのみで簡単に1重系を
2重系にすることができ、かつ、プログラムは、
1重系の場合と2重系の場合とで区別することな
く、同一のアドレシングで起動をかけることがで
きる。
As explained above, according to the present invention, by preparing two cards having the same transmission control circuit, it is possible to easily convert a single system into a dual system by simply adding cards. , and the program is
Activation can be performed using the same addressing without distinguishing whether the system is a single system or a dual system.

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

第1図は従来説明図で1重系によるマイクロプ
ロセツサを含んだ伝送制御回路図、第2図は本発
明の一実施例図、第3図は第2図中のA系回路、
B系回路の動作タイムチヤートである。 1…マイクロプロセツサ、2…メモリ、3…
DMAコントローラ、4…ADLコントローラ、5
…レベル変換回路、6…RDSR信号、7…TDSR
信号、8…DMA要求信号、9…DMA許可信号、
10…データバス、11…アドレスバス、12…
フラツグ検出信号、13…転送モード表示信号、
14…フリツプフロツプ、15…ゲート、16…
伝送回線。
FIG. 1 is a diagram explaining the conventional transmission control circuit including a microprocessor using a single system, FIG. 2 is a diagram of an embodiment of the present invention, and FIG.
This is an operation time chart of the B-system circuit. 1...Microprocessor, 2...Memory, 3...
DMA controller, 4...ADL controller, 5
...Level conversion circuit, 6...RDSR signal, 7...TDSR
signal, 8...DMA request signal, 9...DMA permission signal,
10...Data bus, 11...Address bus, 12...
Flag detection signal, 13...transfer mode display signal,
14...Flip-flop, 15...Gate, 16...
transmission line.

Claims (1)

【特許請求の範囲】[Claims] 1 伝送回線を介して中央制御所側にデータ伝送
を行なう端末における1つのマイクロプロセツサ
を含む共通制御部と伝送回線との間に2重化され
て設置されてデータ伝送を制御する2重系伝送制
御回路において、該2重系伝送制御回路を形成す
る各伝送制御回路は、切替スイツチを介していず
れか一方が伝送回線に接続されるようになつてお
り、それぞれ、一連のデータ群における受信開始
フラツグによりセツト状態となり、伝送回線への
送信動作の完了時点でリセツトされるフリツプフ
ロツプと、該フリツプフロツプのセツト、リセツ
ト状態に応じて共通制御部との伝送制御信号の送
信、受信の許可および禁止を行うゲート回路を有
することを特徴とする2重系伝送制御回路。
1. A duplex system that is installed in duplex form between the transmission line and a common control unit including one microprocessor in a terminal that transmits data to the central control center via the transmission line to control data transmission. In the transmission control circuit, one of the transmission control circuits forming the duplex transmission control circuit is connected to the transmission line via a changeover switch, and each transmission control circuit is connected to the transmission line via a changeover switch, and each transmission control circuit is connected to the transmission line through a changeover switch, and each transmission control circuit is connected to the transmission line through a changeover switch. The flip-flop is placed in the set state by the start flag and is reset upon completion of the transmission operation to the transmission line, and the flip-flop is set and reset to enable and disable transmission and reception of transmission control signals with the common control unit. A dual system transmission control circuit characterized by having a gate circuit that performs the following operations.
JP11349280A 1980-08-20 1980-08-20 Duplex system transmission controlling circuit Granted JPS5738039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11349280A JPS5738039A (en) 1980-08-20 1980-08-20 Duplex system transmission controlling circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11349280A JPS5738039A (en) 1980-08-20 1980-08-20 Duplex system transmission controlling circuit

Publications (2)

Publication Number Publication Date
JPS5738039A JPS5738039A (en) 1982-03-02
JPS6242547B2 true JPS6242547B2 (en) 1987-09-09

Family

ID=14613668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11349280A Granted JPS5738039A (en) 1980-08-20 1980-08-20 Duplex system transmission controlling circuit

Country Status (1)

Country Link
JP (1) JPS5738039A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS577491B2 (en) * 1973-03-08 1982-02-10

Also Published As

Publication number Publication date
JPS5738039A (en) 1982-03-02

Similar Documents

Publication Publication Date Title
US3961139A (en) Time division multiplexed loop communication system with dynamic allocation of channels
US4692862A (en) Rapid message transmission system between computers and method
EP0919926B1 (en) Method and apparatus for robust data broadcast on a peripheral component interconnect bus
US5566345A (en) SCSI bus capacity expansion controller using gating circuits to arbitrate DMA requests from a plurality of disk drives
US6185651B1 (en) SCSI bus extender utilizing tagged queuing in a multi-initiator environment
US5805841A (en) Symmetric parallel multi-processing bus architeture
JPS6242547B2 (en)
US4802087A (en) Multiprocessor level change synchronization apparatus
US5987558A (en) Method and apparatus for resolving over lapping selection and reselection operations of SCSI bus protocols
EP1769370B1 (en) Data processing system
JP2705955B2 (en) Parallel information processing device
JPH0223060B2 (en)
JP2824890B2 (en) SCSI protocol controller
JP2573790B2 (en) Transfer control device
JPS6130300B2 (en)
JPH03134712A (en) programmable controller
JPH027212B2 (en)
JPS60220639A (en) Serial bus communication device
JPH0635816A (en) Multi-cpu sustem
JPH04148262A (en) Broadcast transfer device
JPS6353666A (en) Peripheral controller for computer system
JPH01233651A (en) Communication control system
JPH053018B2 (en)
JPH04257957A (en) Error processing system in bus switching control
JPS58109958A (en) Transmission controller in function decentralizing system