JPS5819090B2 - Data interrupt control device - Google Patents

Data interrupt control device

Info

Publication number
JPS5819090B2
JPS5819090B2 JP53069061A JP6906178A JPS5819090B2 JP S5819090 B2 JPS5819090 B2 JP S5819090B2 JP 53069061 A JP53069061 A JP 53069061A JP 6906178 A JP6906178 A JP 6906178A JP S5819090 B2 JPS5819090 B2 JP S5819090B2
Authority
JP
Japan
Prior art keywords
data
interrupt
section
control
received data
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
JP53069061A
Other languages
Japanese (ja)
Other versions
JPS54159830A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP53069061A priority Critical patent/JPS5819090B2/en
Publication of JPS54159830A publication Critical patent/JPS54159830A/en
Publication of JPS5819090B2 publication Critical patent/JPS5819090B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Bus Control (AREA)

Description

【発明の詳細な説明】 本発明は、ディジタル制御装置とく1こプログラムで制
御される装置又は回路間でのデータの転送又は伝送制御
1こおけるデータの割込制御装置1こ関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data interrupt control device 1 for controlling data transfer or transmission between a digital control device and a device or circuit controlled by a program.

プログラム制御装置間のデータ転送、伝送手段としてデ
ータウェイやデータリンク装置などが多く用いられるよ
うになった。
Data ways and data link devices have come to be widely used as data transfer means between program control devices.

従来、この種の割込制御装置1こは第1図1こ示すもの
かあった。
Conventionally, an interrupt control device of this type has been shown in FIG.

図において、1はデータの発信側を示す送信装置、2は
データの受信側を示す受信装置、3はデータの伝送路で
ある。
In the figure, 1 is a transmitting device indicating a data transmitting side, 2 is a receiving device indicating a data receiving side, and 3 is a data transmission path.

本発明(こ係る;割込制御は主として受信側で必要とす
る制御であるから2の受信装置をさらに詳細1こ示す。
Since the interrupt control of the present invention is mainly required on the receiving side, the second receiving apparatus will be described in more detail.

21はデータ伝送方式1こ基づいた伝送制御を実行する
データ伝送制御部、22は伝送されたデータ(受信デー
タ)を一時的1こ格納する受信データバッファ部、23
は伝送が完了したことを検出する受信完了検出部、24
は23の受信完了信号1こ基づいて22のバッファ部の
データ処理を要求する割込信号発生部、25は上記24
から発生された割込信号により22に格納された受信デ
ータの[処理を実行するプログラマブル処理装置である
21 is a data transmission control unit that executes transmission control based on a data transmission method; 22 is a reception data buffer unit that temporarily stores transmitted data (reception data); 23;
is a reception completion detection unit 24 that detects that transmission is completed;
25 is an interrupt signal generation unit that requests data processing in the buffer unit 22 based on the reception completion signal 23;
This is a programmable processing device that executes processing of received data stored in 22 in response to an interrupt signal generated from the programmable processing device.

次1こ動作1こついて説明する。Next, I will explain one operation.

説明を容易1こするためfこ第2図1こ従来技術管こよ
る概念的な動作手順を示す。
In order to simplify the explanation, FIG. 2 shows a conceptual operational procedure according to the prior art.

まず、1の送信装置から2の受信装置に向けて発信され
たデータは3の伝送路を経て2の伝送制御部21を起動
して2の装置昏とおける伝送が開始される。
First, data transmitted from the first transmitting device to the second receiving device passes through the third transmission path, activates the second transmission control unit 21, and starts transmission in the second device.

い1,1の送信装置がnヶのデータを送信□したならば
、2の受信装置は、22の受信データバッファ部へnヶ
の受信データを連続して格納する動作を実行する。
When the transmitting device No. 1 and No. 1 transmits n pieces of data, the No. 2 receiving device executes an operation of successively storing the n pieces of received data into the received data buffer section No. 22.

この時、受信完了検出部23は、1から送信される送信
完了指令又は伝送上子じめ規約された送信完了信号を常
時監視しており、上記完了指令又は完了信号を検出する
と。
At this time, the reception completion detection section 23 constantly monitors the transmission completion command or transmission completion signal transmitted from 1, and detects the completion command or the transmission completion signal.

割込信号発生部24は処理装置25fこ対して割込信号
を発生する。
The interrupt signal generating section 24 generates an interrupt signal to the processing device 25f.

25の処理装置はこの割込信号を確認すると、22の受
信データバッファ部fこ格納されている受信データ(n
ヶ)の処理を起動する。
When the processing device 25 confirms this interrupt signal, it transfers the received data (n) stored in the received data buffer section 22.
).

この処理1こは、受信データバッファ部22のデータを
データメモリ部202へ転送し、データメモリ部202
のデータを割込1こよって処理装置25へ読み込ませる
処理が含まれる。
This process 1 transfers the data in the received data buffer section 22 to the data memory section 202, and
This includes a process of reading the data into the processing device 25 via interrupt 1.

従来のデータが割込制御装置は以上のよう1こ構成され
、また、動作するので、データ転送及び伝送制御1こお
いて受信装置がnヶ(n=t・・・n)のデータを受信
するごと1こ処理装置25はデータの割込処理要求を受
けその処理を実行せねばならなG)。
Since the conventional data interrupt control device is configured and operates as described above, the receiving device receives n pieces of data (n=t...n) in data transfer and transmission control 1. Each time the processing unit 25 receives a data interrupt processing request, it must execute the processing.

プログラム制御を実行する処理装置25がプロセス制御
(以下実制御と称する)等の応用制御プログラムを実行
するこさを第一の目的とするならば1上記データ伝送ご
と]こ割込処理を実行することは第一の目的とする実制
御の実行が遅れること1こなり適当でない。
If the processing device 25 that executes program control has the primary purpose of executing an applied control program such as process control (hereinafter referred to as actual control), it should execute interrupt processing every time the data is transmitted. This is inappropriate because it delays the execution of the actual control, which is the first objective.

さら1こ、従来のデータ伝送1こおける割込制御の必要
性はその伝送制御手段1こおいて必要であって受信デー
タ全てが処理装置1こ対して割込処理を要求する性格を
有しているとは限らないはずである。
Furthermore, interrupt control in conventional data transmission is necessary in the transmission control means 1, and all received data has the characteristic of requesting interrupt processing from the processing device 1. It does not necessarily mean that

しかる1こ、従来の割込制御装置は、受信したデータの
内容1こ無関係1こ、データの受信が完了すると処理装
置へ自動的1こ割込をするよう1こしており。
However, conventional interrupt control devices are designed to automatically interrupt the processing device when data reception is completed, regardless of the content of the received data.

処理効率が悪い欠点があった。It had the disadvantage of poor processing efficiency.

この発明は上記のような従来のものの欠点を除去するた
めになされたもので、データ伝送制御fこおけるデータ
の割込制御装置1こおいて、データ受信側のみならず、
データの発信側が送信データの性格を知り、該送信デー
タ1こ受信時の割込制御の要否を与えて受信装置(こお
けるデータ伝送上の負荷を最小限1こおさえ、かつ使い
易いデータの割込制御装置を提供することを目的として
いる。
The present invention has been made to eliminate the drawbacks of the conventional ones as described above, and has a data interrupt control device 1 for data transmission control.
The data sender knows the characteristics of the transmitted data and determines whether or not interrupt control is required when receiving one piece of transmitted data, thereby reducing the load on data transmission on the receiving device (to the minimum by one) and making the data easy to use. The purpose is to provide an interrupt control device.

以下この発明の一実施例を図1こついて説明する。An embodiment of the present invention will be described below with reference to FIG.

第3図において、1はデータの発信側を示すデータ送信
装置で3のデータ伝送路を経由して2のデータ受信装置
1こデータを送信する。
In FIG. 3, numeral 1 indicates a data transmitter, which transmits data to a data receiver 2 via a data transmission path 3. In FIG.

2のデータ受信装置fこは、データ伝送制御を実行する
データ伝送制御部21.伝送データの完了を検出する受
信完了検出部23.受信データを一端格絡する受信デー
タバッファ部22.さら1こ、データメモリ部202と
その転送を実行するデータ転送制御部201および受信
データの性格を解読する割込処理情報検出部200と割
込信号発生部24とで構成される。
The data receiving device f2 includes a data transmission control section 21.2 that executes data transmission control. A reception completion detection unit 23 that detects the completion of transmission data. A reception data buffer section 22 that temporarily stores reception data. Furthermore, it is composed of a data memory section 202, a data transfer control section 201 that executes data transfer, an interrupt processing information detection section 200 that decodes the nature of received data, and an interrupt signal generation section 24.

第3図1こは本発明1こ直接関係のないデータ制御回路
は図示していない。
In FIG. 3, a data control circuit not directly related to the present invention is not shown.

次1こ動作をこついて説明する。Next, I will explain the operation in detail.

第3図の動作の説明を容易fこするため1こ第4図1こ
本発明の要点とその手順を示しである。
In order to simplify the explanation of the operation shown in FIG. 3, FIG. 4 shows the main points of the present invention and its procedures.

まず、データは11こ示すデータ送信装置から伝送デー
タ1こ受信されるべき装置番指定して発信される。
First, data is transmitted from a data transmitting device 11 by designating the device number that is to receive the transmitted data.

いま、2のデータ受信装置が指定されていれば、データ
伝送制御部21が起動されて、送信データの受信が開始
される。
If data receiving device 2 is now designated, the data transmission control unit 21 is activated and reception of transmission data is started.

ここで、nヶのデータが送信されたとすれば、一時的1
こそのデータを格納する受信データバッファ部22fこ
nケのデータが格納される。
Here, if n pieces of data are sent, temporarily 1
The received data buffer section 22f stores this data.

nヶのデータが受信完了すれば受信完了検出部23が作
動して、データ伝送制御部21fこ対してはデータ伝送
完了を指示し、一方201のデータ転送制御部に対して
は、受信データバッファ部221こ格納されているnヶ
の受信データをデータメモリ部202に移送すべく転送
制御の開始を指示する。
When the reception of n pieces of data is completed, the reception completion detection section 23 operates and instructs the data transmission control section 21f to complete the data transmission, while the data transfer control section 201 receives the reception data buffer. The unit 221 instructs the start of transfer control to transfer the n pieces of received data stored in the data memory unit 202.

この時、すなわち、受信データバッファ部22からデー
タメモリ部202fこデータが転送される時2割込情報
検出部200が作動していて、データ送信装置1からデ
ータ受信装置2へ送信されたデータ(受信データ)の処
理装置25fこ対する割込処理要求の有無を検出し。
At this time, that is, when data is transferred from the reception data buffer section 22 to the data memory section 202f, the interrupt information detection section 200 is operating, and the data transmitted from the data transmission device 1 to the data reception device 2 ( Detects the presence or absence of an interrupt processing request for the processing device 25f (received data).

もし“有“ならば割込信号発生部241こ対し割込信号
の発生を指示し、′無“ならば指示しない。
If "present", the interrupt signal generator 241 is instructed to generate an interrupt signal; if "absent", no instruction is given.

ここで、送信されるデータすなわち受信データにおける
割込処理情報のしくみを第5図で説明する。
Here, the mechanism of interrupt processing information in transmitted data, that is, received data will be explained with reference to FIG.

いま、送信データ(二受信データ)の1つの単位をワー
ドと称し、lワードがmビットで構成されているものと
する。
Now, it is assumed that one unit of transmission data (two received data) is called a word, and one word is composed of m bits.

第5図aは送信データ(受信データ)のビット構成の一
例を示すもので。
FIG. 5a shows an example of the bit structure of transmission data (reception data).

データ部41および割込処理情報部42で構成される。It is composed of a data section 41 and an interrupt processing information section 42.

データ部41はデータ伝送1こおける制御指令や、デー
タの種類(アドレス)、数値、コードなどのデータ、受
信装置1こ対する制御情報などを一括した総称及これら
の情報内容を示し、(m−1)ビット構成される。
The data section 41 indicates a general term for control commands for one data transmission, data such as data types (addresses), numerical values, codes, control information for the receiving device 1, etc., and the contents of these information. 1) Bit configuration.

割込処理情報部42は受信装置1こおいて、この情報1
こ基づいて受信データの割込処理要求の要否を決めるた
めの情報で一例として第5図で1は1ビツトを割付けて
いる。
The interrupt processing information section 42 receives this information 1 in the receiving device 1.
This information is used to determine whether or not an interrupt processing request for received data is necessary, and as an example, 1 in FIG. 5 is assigned 1 bit.

いま、受信データとして第5図すのデータが受信された
ならば1割込処理情報検出部200は。
Now, if the data shown in FIG.

受信データのm−1ビツト目fこある割込処理情報部4
2を調べ、これがXゞl“のときは割込信号発生部24
から割込信号を発生させる。
Interrupt processing information unit 4 containing m-1th bit f of received data
2, and if it is Xl", the interrupt signal generator 24
Generates an interrupt signal from.

一方、受信データが第5図Cのごとく割込処理情報部4
2が′XO“ならば処理装置251こ対し割込処理要求
を発生しない。
On the other hand, the received data is transmitted to the interrupt processing information section 4 as shown in FIG. 5C.
If 2 is 'XO', no interrupt processing request is issued to the processing device 251.

上記この発明の動作の詳細説明から明らかなよう1こ、
この発明1こよれば、データ伝送1こおいて伝送データ
上fこ受信装置における割込制御実行の有無を指示する
所1こ特徴を有するので、上記説明1こおいては、1ワ
一ド単位1こ割込処理情報部を1ビツト構成の例を示し
たが、複数ビット構成1こしてさらに1割込レベル、割
込要因の種別などの情報1こし、かつ、データのかたま
り(ブロック)単位1こ割込処理情報を付与しても同等
の効果を有することは明らかである。
As is clear from the detailed explanation of the operation of this invention above, 1.
According to the present invention, there is a feature in which, in data transmission 1, an instruction is given as to whether or not interrupt control is to be executed in the receiving device on the transmitted data. Although we have shown an example in which the unit interrupt processing information section has a 1-bit structure, it is also possible to have a multi-bit structure 1 and then 1 piece of information such as the interrupt level and the type of interrupt factor, and also a block of data. It is clear that the same effect can be obtained even if one unit of interrupt processing information is provided.

また適用例はデータウェイの伝送1こついて述べたが、
相互通信、データ授受を要するデータ伝送には全て適用
できることは明らかである。
In addition, as an application example, I mentioned data way transmission 1,
It is clear that the invention can be applied to any data transmission that requires mutual communication or data exchange.

以上のよう1こ、この発明1こよれば、データの伝送、
転送制御1こおけるデータ割込制御1こおいて。
As described above, according to this invention, data transmission,
Transfer control 1 and data interrupt control 1.

送信データ(受信データ)の割込処理情報部を設け、こ
の情報の有無の検出回路、この結果に基づく割込信号発
生回路を備えた構成1こしたので(1)伝送データ自体
の性格1こより割込処理の要否が決定できる。
Configuration 1 includes an interrupt processing information section for transmitted data (received data), a circuit for detecting the presence or absence of this information, and an interrupt signal generation circuit based on this result. (1) Characteristics of the transmitted data itself. It is possible to determine whether or not interrupt processing is necessary.

・(2)処理装置1ことって、データ伝送のたび1こ割
込処理を実行しなくて良いので、処理装置自身の処理能
力が向上する。
(2) Since the processing device 1 does not have to execute interrupt processing once every time data is transmitted, the processing capacity of the processing device itself is improved.

(3)データ発信側で割込処理要否が決定できるのでシ
ステム設計が容易fこなる。
(3) Since the necessity of interrupt processing can be determined on the data sending side, system design becomes easier.

(4)割込制御がわかりやすく保守が容易Eこなる。(4) Interrupt control is easy to understand and maintenance is easy.

などの効果が得られる。Effects such as this can be obtained.

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

第1図は従来の割込制御方式を示す図、第2図はその手
順を示す図である。 第3図はこの発明の一実施例による割込制御装置を示す
図、第4図は第3図fこ示す割込制御装置の手順を示す
図、第5図abcは、この発明fこ使用される割込処理
ツツ 情報の例である。 。図1こおいて、1は送信装置、2は受信装置、3
はデータ伝送路、21はデータ伝送制御部、22は受信
データバッファ部、23は受信完了検出部。 24は割込信号発生部、25は処理装置、200は割込
処理情報検出部、201はデータ転送制御部、202デ
一タメモリ部、40は送信(又は受信)データ、41は
データ部、42は割込処理情報部である。 尚1図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a diagram showing a conventional interrupt control method, and FIG. 2 is a diagram showing its procedure. FIG. 3 is a diagram showing an interrupt control device according to an embodiment of the present invention, FIG. 4 is a diagram showing the procedure of the interrupt control device shown in FIG. This is an example of interrupt processing information. . In FIG. 1, 1 is a transmitting device, 2 is a receiving device, 3
2 is a data transmission path, 21 is a data transmission control section, 22 is a reception data buffer section, and 23 is a reception completion detection section. 24 is an interrupt signal generation section, 25 is a processing device, 200 is an interrupt processing information detection section, 201 is a data transfer control section, 202 is a data memory section, 40 is transmission (or reception) data, 41 is a data section, 42 is the interrupt processing information section. In Figure 1, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 1 複数ワード1こより送受信された受信データを受信
データバッファ部へ格納するための制御をするデータ伝
送制御部と、受信デー多の受信が完了すると上記受信デ
ータバッファ部のデータを受信データメモリ部へ転送す
るための制御をするデータ転送制御部と、上記受信デー
タバッファ1こ記憶され、かつ上記受信データ1こ付加
されているデータ割込処理情報がセットされているとき
はデータ処理装置へ上記受信データメモリ部のデータを
読み込ませるための割込信号を発生する割込信号発生部
とを備えたデータの割込制御装置。
1. A data transmission control unit that controls the storage of received data sent and received from multiple words in a received data buffer unit, and when reception of a large amount of received data is completed, the data in the received data buffer unit is transferred to the received data memory unit. A data transfer control unit that controls the transfer, and when the above received data buffer 1 is stored and data interrupt processing information added to the above received data is set, the above received data is sent to the data processing device. A data interrupt control device, comprising: an interrupt signal generating section that generates an interrupt signal for reading data in a data memory section.
JP53069061A 1978-06-07 1978-06-07 Data interrupt control device Expired JPS5819090B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53069061A JPS5819090B2 (en) 1978-06-07 1978-06-07 Data interrupt control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53069061A JPS5819090B2 (en) 1978-06-07 1978-06-07 Data interrupt control device

Publications (2)

Publication Number Publication Date
JPS54159830A JPS54159830A (en) 1979-12-18
JPS5819090B2 true JPS5819090B2 (en) 1983-04-16

Family

ID=13391667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53069061A Expired JPS5819090B2 (en) 1978-06-07 1978-06-07 Data interrupt control device

Country Status (1)

Country Link
JP (1) JPS5819090B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6123264A (en) * 1984-07-11 1986-01-31 Nec Corp Communication processor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50111950A (en) * 1974-01-18 1975-09-03
JPS5132242A (en) * 1974-09-13 1976-03-18 Fujitsu Ltd
JPS5275944A (en) * 1975-12-22 1977-06-25 Hitachi Ltd Register system of interruption address
JPS5317236A (en) * 1976-07-31 1978-02-17 Fujitsu Ltd Interruption control system by poling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS50111950A (en) * 1974-01-18 1975-09-03
JPS5132242A (en) * 1974-09-13 1976-03-18 Fujitsu Ltd
JPS5275944A (en) * 1975-12-22 1977-06-25 Hitachi Ltd Register system of interruption address
JPS5317236A (en) * 1976-07-31 1978-02-17 Fujitsu Ltd Interruption control system by poling

Also Published As

Publication number Publication date
JPS54159830A (en) 1979-12-18

Similar Documents

Publication Publication Date Title
US4601586A (en) Solicited message packet transfer system
US4285038A (en) Information transfer control system
JPS609292B2 (en) Time interval length control method between data blocks
US4882705A (en) Data transmission system including the downloading of a first program for the interruption of a second program
JPH069361B2 (en) Message transmission method
JPS5819090B2 (en) Data interrupt control device
JPH0476257B2 (en)
JP2821053B2 (en) Network system
JP2636206B2 (en) Information processing system
JPH0234518B2 (en)
JPS6061859A (en) Data communication system of microcomputer
JPS6253046A (en) Communication equipment for data of industrial robot
JPS58114124A (en) Data transfer controlling system
JPH04107669A (en) System for communication between processors
JPH05265925A (en) Data transfer controller
JPS588008B2 (en) Transmission control method
JPS6314260A (en) System for generating communication control program
JPS61189053A (en) Data transmitting and receiving method in data processor
JPS6191749A (en) Terminal control system
JPH07143133A (en) Multi-layer protocol processor for common use of memory
JPS622345B2 (en)
JPH052495A (en) System for communicating among application programs
JPH0783367B2 (en) Data transmission control system
JPH0193236A (en) Communication system
JPH01129553A (en) Communication retrial system