JPS5850037A - Communication controller - Google Patents

Communication controller

Info

Publication number
JPS5850037A
JPS5850037A JP56147574A JP14757481A JPS5850037A JP S5850037 A JPS5850037 A JP S5850037A JP 56147574 A JP56147574 A JP 56147574A JP 14757481 A JP14757481 A JP 14757481A JP S5850037 A JPS5850037 A JP S5850037A
Authority
JP
Japan
Prior art keywords
transmission
reception
processor
data
instruction
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
JP56147574A
Other languages
Japanese (ja)
Other versions
JPS6350737B2 (en
Inventor
Shuichi Tonami
礪波 修一
Yoshio Kuboyama
久保山 嘉男
Tsunehachi Ishitani
石谷 恒八
Yoshiharu Tobe
戸部 美春
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP56147574A priority Critical patent/JPS5850037A/en
Publication of JPS5850037A publication Critical patent/JPS5850037A/en
Publication of JPS6350737B2 publication Critical patent/JPS6350737B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To reduce the load of a processor, by discriminating the data transmitting or receiving operation state of a device directly in the processor to make it possible that the processor receives data independently of a storage register in a communication controller. CONSTITUTION:A communication controller 1 is provided with a transmitting state indicating terminal 11, a transmission instructing terminal 13, a receiving state indicating terminal 17, a reception instructing terminal 19, and a stop instructing terminal 21, and a controlling part 14 is connected to these terminals through holding circuits 12, 15, 18, 20, and 22. Information indicating whether the transmission is performed or not and information indicating whether the data reception is performed or not are outputted from the controlling part 14 to an upper processor 2 through terminals 11 and 17. Transmission and reception instructions from the processor 2 are received through terminals 13 and 19 by the controller 1, and the indication of the data transmission or reception signal is ignored to transmit data to the processor or receive data from the processor unless the transmission or reception is performed, and thus, the load of the processor 2 is reduced.

Description

【発明の詳細な説明】 本発明はデータ通信システムにおける通信制御を上位プ
ローツサと分担して実行する通信制御装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a communication control device that shares communication control with a host processor in a data communication system.

従来のこの種通信制御装置は、例えば第1図に示すよう
壜接続構成を採用し、上位プルセッサ2からのデータの
起動指示端子3.読出し指示端子4、送受信データと送
受信指示内容を上位プロセッサ2との間で送受するため
の双方向データバス5及びレジスタ指定端子7を有して
いた0通信制御装置1に対してデータ送信を指示する場
合は、上位プロセッサ2はメインメモリ6に起動に必要
な制御情報を設定し、レジスタ指定端子7より通信制御
装置1内の格納すべき書込みレジスタ8の該当レジスタ
(送信用)を選択指定する。そして、その後起動指示端
子3をオン状態にするととにより、データバス5を介し
て起動制御情報が書込みレジスタ8の該当レジスタに入
力され、通信制御装置1ではこの入力データを解析して
該当動作を実行する。
A conventional communication control device of this kind employs, for example, a bottle connection configuration as shown in FIG. Instructs the communication control device 1, which had a read instruction terminal 4, a bidirectional data bus 5 for transmitting and receiving transmission/reception data and transmission/reception instruction contents to and from the host processor 2, and a register designation terminal 7, to transmit data. In this case, the host processor 2 sets the control information necessary for startup in the main memory 6, and selects and specifies the corresponding register (for transmission) of the write register 8 to be stored in the communication control device 1 from the register specification terminal 7. . Then, when the activation instruction terminal 3 is turned on, activation control information is input to the corresponding register of the write register 8 via the data bus 5, and the communication control device 1 analyzes this input data and performs the corresponding operation. Execute.

ニオ、データ受信を指示する場合は、起動制御情報をメ
インメモリ6に設定し、レジスタ指定端子で書込みレジ
スタ8の該当レジスタ(受信用)を選択指定する。以後
、起動指示端子5をオン状態にすることにょシ、データ
バス5を介して起動制御情報が書込みレジスタ8の該当
レジスタに入力され、通信制御装置1ではこの入力デー
タを解析して該当動作を実行する。
In order to instruct data reception, start control information is set in the main memory 6, and the corresponding register (for reception) of the write register 8 is selected and designated using the register designation terminal. Thereafter, when the activation instruction terminal 5 is turned on, activation control information is input to the corresponding register of the write register 8 via the data bus 5, and the communication control device 1 analyzes this input data and performs the corresponding operation. Execute.

また、上位プロセッサ2が送信指示あるいれ受信指示に
先立ち通信制御装置1の送信もしくは受信動作状態を知
るためには、通信制御装置1内の読出しレジスタ9よシ
該当レジスタを選択指定し、読出し指示端子4をオン状
態にすることにょシ、データバス5を介して状態を示す
情報をメインメモ9.6に入力する必要があっ九゛。
In addition, in order for the host processor 2 to know the transmission or reception operation status of the communication control device 1 prior to a transmission instruction or reception instruction, it selects and specifies the corresponding register from the readout register 9 in the communication control device 1 and instructs the readout instruction. In order to turn on the terminal 4, it is necessary to input information indicating the state into the main memo 9.6 via the data bus 5.

このように従来の装置においては、送信もしくは受信起
動を指示する場合、上位プロセッサ2紘て指定する必要
があシ、また送信もしくは受信動作状態を識別する場合
、通信制御装置1内の読出すべきレジスタを意識して指
定する必要があった。
In this way, in conventional devices, when instructing to start transmission or reception, it is necessary to specify the host processor 2, and when identifying the transmission or reception operation status, it is necessary to specify the It was necessary to specify the register with the register in mind.

従って、上位プロセッサ2の処理負荷が増大する欠点が
あった。
Therefore, there is a drawback that the processing load on the host processor 2 increases.

本発明はこのような従来の欠点を改善した亀のであシ、
その目的は、装置のデータ送信中または受信中の動作状
態を)位プロセッサから直接識別できるようにして、上
位プルセッサが通信制御装置内の格納レジスタを意識す
ることなくこれとのデータ送受信を可能とし、かつ必要
に応じて送信動作を停止できるようにすることにある。
The present invention provides a tortoise shell which improves these conventional drawbacks.
The purpose of this is to enable the processor to directly identify the operating state of the device while it is transmitting or receiving data, and to enable the upper-level processor to send and receive data to and from the communication control device without being aware of the storage registers. , and to be able to stop the transmission operation as necessary.

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

第2図は本発明実施例装置の要部ブロック図であシ、第
1図と同一符号は同一部分を示し、1゜拡情報格納エリ
ア、11は送信起動空表示端子、12.15*18,2
0.22 は保持回路、15は送信指示端子、14拡制
御部、16はバッファメモリ、17紘受信起動中表示端
子、19は受信指示端子、21は停止指示端子である。
FIG. 2 is a block diagram of the main parts of the device according to the embodiment of the present invention. The same reference numerals as in FIG. ,2
0.22 is a holding circuit, 15 is a transmission instruction terminal, 14 is an expansion control unit, 16 is a buffer memory, 17 is a reception activation display terminal, 19 is a reception instruction terminal, and 21 is a stop instruction terminal.

本実施例の通信制御装置1は曳送信起動中表示端子11
.送信指示端子15.受信起動空表示端子17゜受信指
示端子19.停止指示端子21の各端子を備え、それに
接続された保持回路12,15,18.20.22及び
制御部14によシ、データ送信起動中であるか否かを示
す情報及びデータ受信起動中であるか否かを示す情報が
送信起動空表示端子11.受信起動中表示端子17を介
して上位プロセッサに出力される。又、上位プロセッサ
からのデータ送信指示、データ受信指示を送信指示端子
15.受信指示端子19を介して受信してデータ送信、
受信中は該指示を無視しデータ送信、受信起動中以外紘
鋏指示を受砂付砂、上位プロ竜ツサからのデータ送信停
止指示を停止指示端子を介して受信しデータ送信起動中
のときは該送信指示を受は付は透型動作を停止する動作
が行なわれる。以下動作の詳細を述べる。
The communication control device 1 of this embodiment has a trigger transmission activation display terminal 11.
.. Transmission instruction terminal 15. Reception activation empty display terminal 17° Reception instruction terminal 19. The holding circuits 12, 15, 18. Information indicating whether the transmission activation empty display terminal 11. It is output to the host processor via the reception activation display terminal 17. Further, data transmission instructions and data reception instructions from the upper processor are sent to the transmission instruction terminal 15. receiving and transmitting data via the reception instruction terminal 19;
During reception, the command is ignored and data is sent.When data transmission is not started, the data transmission stop command is received from the upper professional Ryutsusa via the stop command terminal, and data transmission is started. Upon receiving the transmission instruction, an operation is performed to stop the transparent molding operation. The details of the operation will be described below.

上位プロセッサ2が通信制御装置1に送信起動をかける
場合、上位プロセッサ2はメインメ峰ψ6の情報格納エ
リア1oに起動制御情報を設定する0通信制御装置1の
送信起動中を示す送信起動空表示端子11は保持回路1
2に接続されておシ、送信指示端子15からの入力でオ
ン状態となシ、通信制御装置1内の制御部14がらの指
示にょジオ7状態に設定される0、)位プロセッサ2が
送信起動空表示端子11の状態を読取った結果、それが
オフ状態を示しておれば通信制御装置1に送信起動がか
かつていす送信動作を実行していない場合であるので、
)位プロセッサ2紘送信起動をかけることが可能である
When the upper processor 2 activates transmission on the communication control device 1, the upper processor 2 sets activation control information in the information storage area 1o of the main peak ψ6. 11 is the holding circuit 1
When the processor 2 is connected to the transmitter 2 and turned on by input from the transmission instruction terminal 15, the processor 2 is set to the 7 state by an instruction from the control unit 14 in the communication control device 1. As a result of reading the state of the activation idle display terminal 11, if it indicates an OFF state, it means that the communication control device 1 has started transmitting and is not executing the chair transmitting operation.
) It is possible to activate the second processor transmission.

上位プロセッサ2が送信指示端子15に起動をかけると
、送信指示端子13に接続された保持回路15と送信起
動空表示端子11に接続された保持囲路12がオン状態
となる一0制御部14は、保持回路150オン状態を受
は付けると保持回路15をオフ状態にするとともにメイ
ンメモリ6)の情報格納エリア10からデータバス5を
介して通信制御装置1内のバッファレジスタ16に起動
制御情報を取込む、そして、制御部14はその取込み情
報を解析しその指示内容に基づいた送信動作をヂ行する
。送信動作が終了すると制御部14は保持回路12をオ
フ状態にして次の送信起動の受は付ゆを待つ。
When the host processor 2 activates the transmission instruction terminal 15, the holding circuit 15 connected to the transmission instruction terminal 13 and the holding circuit 12 connected to the transmission activation empty display terminal 11 are turned on. When the holding circuit 150 is turned on, the holding circuit 15 is turned off, and activation control information is transferred from the information storage area 10 of the main memory 6) to the buffer register 16 in the communication control device 1 via the data bus 5. Then, the control unit 14 analyzes the captured information and performs a transmission operation based on the instruction content. When the transmission operation is completed, the control section 14 turns off the holding circuit 12 and waits for the next transmission activation to take place.

なお、送信起動空表示端子11がオン状態を示している
ときは、上位プロセッサ2は表示端子11がオフ状態を
示すまで送信活動を待ち合せるが、この状態で送信指示
端子13に起動をかけた場合、制御部14は保持回路1
5によシ送信起動を検出するが、既に送信起動中である
ためこの送信起動は破棄する。
Note that when the transmission activation empty display terminal 11 indicates the on state, the host processor 2 waits for transmission activity until the display terminal 11 indicates the off state, but in this state, the transmission instruction terminal 13 is activated. In this case, the control unit 14 controls the holding circuit 1
5, the transmission activation is detected, but since the transmission activation is already in progress, this transmission activation is discarded.

)位プpセッサ2が通信制御装置1に受信起動をかける
場合、起動制御情報をメインメモリ60情報格納エリア
10に書込むまでの動作社送信起動の場合と同じである
0通信制御装置1が受信動作を行なっていない場合、受
信起動空表示端子17はこれに接続された保持回路18
によ〕オフ状態にされているので、上位プロセッサ2は
このオフ状態を検出したならば通信制御装置1に対して
受信起動をかけることが可能である。
) When the processor 2 activates the communication control device 1 for reception, the operation up to writing the activation control information into the main memory 60 information storage area 10 is the same as in the case of the transmission activation. When the reception operation is not performed, the reception activation empty display terminal 17 is connected to the holding circuit 18.
Therefore, if the host processor 2 detects this off state, it can activate the communication control device 1 for reception.

上位プ9゛セッサ2は受信指示端子19に起動をかける
と、受信指示端子19に接続された保持回路20と受信
起動空表示端子17に接続゛された保持回路18がオン
状態とまる。制御部14は、保持回路20のオン状態を
受は付けると保持回路20をオフ状態にするとともにメ
インメモリ6上の情報格納エリア10からデータバス5
を介してバッファレジスタ16に起動情報を取り込む二
七して、制御部14はその取如込み情報を解析し、指示
内容に基づいた受信動作を実行する。受信動作が終了す
ると、制御部14は保持回路1Bをオフ状態にして次の
受信起動の受は付けを°待つ。
When the upper processor 2 activates the reception instruction terminal 19, the holding circuit 20 connected to the reception instruction terminal 19 and the holding circuit 18 connected to the reception activation empty display terminal 17 remain on. When the control unit 14 accepts the on-state of the holding circuit 20, it turns off the holding circuit 20 and also transfers information from the information storage area 10 on the main memory 6 to the data bus 5.
The control section 14 takes in the startup information into the buffer register 16 via the buffer register 16, analyzes the taken-in information, and executes a receiving operation based on the instruction contents. When the reception operation is completed, the control unit 14 turns off the holding circuit 1B and waits for the reception of the next reception activation.

以上の動作は、上位プロセッサ2が通信制御装置1の起
動動作状態を確認した後起動をかける場合について述べ
たが、初めに起動状態を確認するヒとなく通信制御装置
1を起動した後、その受は付は可否または動作実行可否
を送信起動中表示端子11.受′信起動中表示端子17
によシ、)位プロセツt2に対するコンディションコー
ドとして返す場合にも対処可能である。つまシ、送信起
動をかける場合、制御部14拡保持回路15のオン状態
を識別するまでは保持回路12をオフ状態にしておくこ
とによシ、上位プロセッサ2に送信起動空表示端子11
を通して起動受は付は可として表示することができる。
The above operation has been described for the case where the host processor 2 starts up the communication control device 1 after checking the start-up operation state, but after starting up the communication control device 1 without first checking the start-up state, Terminal 11 for displaying whether the reception is enabled or not, or whether or not an operation can be executed. Receive activation display terminal 17
However, it is also possible to respond to the case where the condition code is returned to the processor t2. When starting the transmission, it is best to keep the holding circuit 12 in the off state until the on state of the control unit 14 expansion holding circuit 15 is identified.
Activation receivers can be displayed as available.

また、)位プロセッサ2は通信制御装置1の停止指示端
子21をオンにすると、これに接続された保持回路22
がオン状態となる。制御部14はオン状態のとき、送信
動作を停止する。これkよシ、送信中のデータよシも緊
急に送出すべきデータが発生した場合あるいはデータ受
信側でこれまで受信してきたデータが不要になった場合
、送信側での無駄な処理動作を停止させることができる
Furthermore, when the processor 2 turns on the stop instruction terminal 21 of the communication control device 1, the holding circuit 22 connected to it
turns on. When the control unit 14 is in the on state, it stops the transmission operation. This is useful for data that is currently being sent.If data that needs to be sent urgently occurs, or if the data that has been received so far is no longer needed on the data receiving side, unnecessary processing operations on the sending side will be stopped. can be done.

以)の説明から判るように、本発明に依れば、・送信起
動空表示端子及び受信起動空表示端子によ多通信制御装
置の動作状態を表示しておシ、且つ指示端子として送信
用、受信用の2種類を用意したので、従来の如く書込み
レジスタを意識して受信、送信の指示を行なう必要がな
く、動作状態の検知も容易となる。即ち、)位プpセッ
サ紘通信制御装置に対して書込用レジスタを意識して指
定することなく起動をかけられるため、上位プロセッサ
の処理負荷を軽減できる利点がある。
As can be seen from the explanation below, according to the present invention, the operating status of the multi-communication control device is displayed on the transmission activation empty display terminal and the reception activation empty display terminal, and the transmission activation terminal is used as an instruction terminal. Since two types, one for reception and one for reception, are prepared, there is no need to give instructions for reception and transmission while being aware of the write register as in the past, and the operating state can be easily detected. That is, since the processor communication control device can be activated without consciously specifying a write register, there is an advantage that the processing load on the upper processor can be reduced.

また、通信制御装置に対してデータ送受信を指示する場
合、通信制御装置の動作状態を調べてから実行する方式
と起動指示後コンディションコードとして上位プロセッ
サに返す方式のいずれにも対処でき、いずれの方式を採
るシステムにも適用可能で°ある。更に、起動指示端子
は送信用、受信用に分離して設け、独立に起動できるた
め送受信全二重動作の通信が可能である。また、送信動
作を任意の時点で停止できるため、緊急データを待ち金
iることなく優先して送信できる利点もある。
In addition, when instructing the communication control device to send and receive data, it is possible to handle either a method in which the operation status of the communication control device is checked and then executed, or a method in which a condition code is returned to the upper processor after the startup instruction. It is also applicable to systems that adopt Furthermore, the activation instruction terminals are provided separately for transmission and reception, and can be activated independently, so that full-duplex transmission and reception communication is possible. Furthermore, since the transmission operation can be stopped at any time, there is an advantage that urgent data can be transmitted with priority without waiting time.

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

第1図は従来の通信制御装置の説明図、1lI1.2図
紘本発明実施例装置の要部ブロック図である。 1は通信制御装置、2紘上位プロセッサ、10社情報格
納エリア、11は送信起動空表示端子、12.15.1
8,20.22は保持回路、15 は送信指示端子、1
4は制御部、16はバッファメモリ、17は受信起動空
表示端子、19は受信指示端子、21は停止指示端子で
ある。 特許出願人日本電信電話公社 代理人弁理士玉蟲久五部 外5名
FIG. 1 is an explanatory diagram of a conventional communication control device, and FIG. 1 is a communication control device, 2 is a high-level processor, 10 is a company information storage area, 11 is a transmission activation empty display terminal, 12.15.1
8, 20.22 is a holding circuit, 15 is a transmission instruction terminal, 1
4 is a control unit, 16 is a buffer memory, 17 is a reception activation empty display terminal, 19 is a reception instruction terminal, and 21 is a stop instruction terminal. Patent applicant Nippon Telegraph and Telephone Public Corporation Patent attorney Gobe Tamamushi and 5 others

Claims (1)

【特許請求の範囲】[Claims] 上位プロセッサから与えられる起動制御情報に基づいて
データ通信システムにおける通信制御を上位プロセッサ
と分担して実行する通信制御装置において、データ送信
起動中であるか否かを示す情報を送信起動空表示端子を
介して上位プロセッサに出力する手段と、データ受信起
動中であるか否かを示す情報を受信起動中表示端子を介
して上位グpセツtK出力する手段と、上位プロセッサ
からのデータ送信指示を送信指示端子を介して受信して
データ送信起動中杜紋送信指示を無視しデータ送信起動
中以外線該送信指示を受は付ける手段と、上位プロセッ
サからのデータ受信指示を受信指示端子を介して受信し
てデータ受信起動中線該受信指示を無視しデータ受信起
動中風外は該受信指示を受は付ける手段と、上位プ■セ
ッサからのデータ送信停止指示を停止指示端子を介して
受信じデータ送信起動中のときは該送信指示を受は付は
送信動作を停止する手段とを具備したことを特徴とする
通信制御装置。
In a communication control device that shares communication control in a data communication system with a higher-level processor based on activation control information given from a higher-level processor, a transmission activation empty display terminal is used to display information indicating whether or not data transmission is activated. means for outputting information indicating whether or not data reception is activated to the upper processor via the reception activation display terminal; and means for transmitting data transmission instructions from the upper processor. A means for receiving the data transmission instruction via the instruction terminal and ignoring the transmission instruction during data transmission activation, and accepting the transmission instruction from the line other than the data transmission activation, and receiving the data reception instruction from the host processor via the reception instruction terminal. When data reception is started, the reception instruction is ignored, and while data reception is started, the reception instruction is ignored, and the data transmission stop instruction from the upper processor is received via the stop instruction terminal and data transmission is performed. 1. A communication control device comprising means for accepting the transmission instruction and stopping the transmission operation when the communication control device is activated.
JP56147574A 1981-09-18 1981-09-18 Communication controller Granted JPS5850037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56147574A JPS5850037A (en) 1981-09-18 1981-09-18 Communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56147574A JPS5850037A (en) 1981-09-18 1981-09-18 Communication controller

Publications (2)

Publication Number Publication Date
JPS5850037A true JPS5850037A (en) 1983-03-24
JPS6350737B2 JPS6350737B2 (en) 1988-10-11

Family

ID=15433435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56147574A Granted JPS5850037A (en) 1981-09-18 1981-09-18 Communication controller

Country Status (1)

Country Link
JP (1) JPS5850037A (en)

Also Published As

Publication number Publication date
JPS6350737B2 (en) 1988-10-11

Similar Documents

Publication Publication Date Title
JPS62227243A (en) Transmission control system
JPS5850037A (en) Communication controller
EP1422628B1 (en) Host apparatus, electronic device, and transmission system control method
JPS6051346A (en) Data transfer system
JPH04319467A (en) Printing device
JPH0234518B2 (en)
JPH058902B2 (en)
US20050012116A1 (en) Method for a first semiconductor device to determine if it is coupled to a second semiconductor device
JPH04287456A (en) Transmission controller
JPS5953573B2 (en) data transmission system
JP2000049808A (en) External storage device and data processing unit having infrared ray communication function and communication system
JPH0767159A (en) Key telephone system
JPH0126102B2 (en)
JP2001325049A (en) Interface device and output device
JPH05136928A (en) Data communication equipment
JPH07105795B2 (en) Polling control method
JPH0730706A (en) Facsimile equipment
JPH02304664A (en) Data output device
JPH02258358A (en) Communication controller in laser printer
JPS635452A (en) Transmission controller
JPH01211043A (en) Data transfer equipment
JPS6249461A (en) Communication system
JPS62190544A (en) Higher link unit for programmable controller
JPH0345945B2 (en)
JPH0616632B2 (en) Communication device