JPH04133540A - Cyclic communication system - Google Patents

Cyclic communication system

Info

Publication number
JPH04133540A
JPH04133540A JP25846490A JP25846490A JPH04133540A JP H04133540 A JPH04133540 A JP H04133540A JP 25846490 A JP25846490 A JP 25846490A JP 25846490 A JP25846490 A JP 25846490A JP H04133540 A JPH04133540 A JP H04133540A
Authority
JP
Japan
Prior art keywords
cyclic
data
communication controller
memory
cpus
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.)
Pending
Application number
JP25846490A
Other languages
Japanese (ja)
Inventor
Masatoshi Haruta
春田 正俊
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 JP25846490A priority Critical patent/JPH04133540A/en
Publication of JPH04133540A publication Critical patent/JPH04133540A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the burden of a communication controller by storing cyclic data which are more frequently accessed by CPUs in a shared memory and cyclic data which are less frequently accessed by CPUs in a cyclic memory. CONSTITUTION:A communication controller 4 stores cyclic data which are more frequently accessed by CPUs 1 and 1 or 2 and 2 of the cyclic data received by the controller 4 through a transmission line 11 at regular periods at a previously indicated address of a shared memory 3 through a system bus 10. The controller 4, on the other hand, stores cyclic data which are less frequently accessed by the CPUs 1 and 1 or 2 and 2 at a previously indicated address of a cyclic memory 5. When the memories are properly used in such way, the data transferring burden on the system bus 10 is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明に伝送路を経由して受信されたサイクリックデ
ータを複数のCPUにより高速かつ効率的に処理し得る
サイクリック通信システムに関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a cyclic communication system capable of processing cyclic data received via a transmission path at high speed and efficiently by a plurality of CPUs. .

〔従来の技術〕[Conventional technology]

第2図に例えば特開昭63−97037号公報に示され
九従来のサイクリック通信システムのブロック図であり
、因において、fi+及び(21ニそれぞれcpυ1及
びCPU3 、+41H通信コントローラ、+51[通
信コントローラ(4)が受信し几サイクリックデータを
格納する几めのサイクリックメモリ、叫ニ上記CPU1
fi+及びCPTJ2 (!l及び通信コントローラ(
41が接続され友システムバス、(IIIHサイクリッ
クデータが伝送される伝送路である。
FIG. 2 is a block diagram of a conventional cyclic communication system shown in, for example, Japanese Unexamined Patent Publication No. 63-97037. (4) A rigorous cyclic memory for storing the cyclic data received by the CPU 1
fi+ and CPTJ2 (!l and communication controller (
41 is connected to the friend system bus (IIIH), which is a transmission line through which cyclic data is transmitted.

次に動作について説明する。Next, the operation will be explained.

通信コントローラ(4)は伝送路(111を介して定周
期で受信したサイクリックデータをサイクリックメモリ
(5)の予め指定されtアドレスに格納する。
The communication controller (4) stores cyclic data received periodically via the transmission path (111) at a pre-specified t address in the cyclic memory (5).

次に、CPUI il+またはCPt221!lは、上
記サイクリックメモリ(6)内の必要なサイクリックデ
ータtアクセスする几めにシステムバス(至)を介して
通信コントローラ(4)に対してリード要求を出す。通
信コントローラ(4)ニ上記リード要求があつ几時点で
伝送路(111からのサイクリックデータ受信処理を実
行していなければリード要求を受は付けて、要求内容に
し友がってサイクリックメモ1月5)から必要なブータ
ラ取り出し、システムバス叫を介してそのデータをリー
ド要求元のCPUll1lま7tにCPU2i!Iに送
出する。一方、通信コントローラ(4)が上記IJ−ド
要求があった時点で伝送路(11)からのサイクリック
データ受信処理を実行中であれば、その処理が終了まで
CPUI filま九にCPtJ2f21からの要求に
待友されることになる。逆に通信コントローラ(4)が
CPtJl filま念はCPU2 telからのリー
ド要求実行中は通信コントローラ(41ハ伝送路+11
)からのサイクリックデータ受信処理に実行することが
できない。
Next, CPUI il+ or CPt221! 1 issues a read request to the communication controller (4) via the system bus (to) in order to access necessary cyclic data t in the cyclic memory (6). If the communication controller (4) is not executing cyclic data reception processing from the transmission line (111) when the read request is received, it will accept the read request and write cyclic memo 1 based on the request content. 5), take out the necessary boot controller and read the data via the system bus to the requesting CPUll1l or CPU2i! Send to I. On the other hand, if the communication controller (4) is executing the process of receiving cyclic data from the transmission path (11) at the time of the above IJ-do request, the CPU filt will continue to receive data from the CPtJ2f21 until the process is completed. Requests will be awaited. Conversely, while the communication controller (4) is executing a read request from CPU2 tel, the communication controller (41C transmission line + 11
) cannot perform cyclic data reception processing.

CPUx(11またにCPU2i!Iからのサイクリッ
クメモリ(6)のリード要求に、通信コントローラ(4
)がサイクリックデータ受信処理を実行中か否かに関係
なく定周期ま九に任意時に行われる。
In response to a read request for the cyclic memory (6) from CPUx (11 and CPU2i!I), the communication controller (4
) is performed at regular intervals at any arbitrary time, regardless of whether cyclic data reception processing is being executed or not.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のサイクリック通信システムに以上のように構成さ
れているので、通信コントローラにサイクリックデータ
受信処理とCPUからのサイクリックデータリード処理
の両方を行うことが必要となり、通信コントローラの負
荷が重くなるとともに、CPUからのサイクリックデー
タアクセスが遅くなるなどの課題があつ几。特にシステ
ムバスに複数のCPUが接続されるマルチプロセッサ構
成時に処理速度の低下が著しかつ友。
Since the conventional cyclic communication system is configured as described above, the communication controller is required to perform both cyclic data reception processing and cyclic data read processing from the CPU, which increases the load on the communication controller. At the same time, there are problems such as slow cyclic data access from the CPU. Particularly in multiprocessor configurations where multiple CPUs are connected to the system bus, the processing speed decreases significantly.

この発明に、上記のような課題を解決するためになされ
たもので、通信コントローラの負荷を軽減させることに
よりサイクリック受信処理及びサイクリックデータアク
セスが高速に実行可能となる高性能なサイクリック通信
システムを得ることを目的とする0 〔課題を解決する几めの手段〕 この発明に係るサイクリック通信システムに、複数のC
PUがアクセス可能な共有メモリをシステムバス上に具
備し、各CPUのアクセス頻度が高いサイクリックデー
タにその共有メモリ上に格納し、一方アクセス頻度が少
ないサイクリックデータにサイクリックメモリに格納す
るようにしtものである。
This invention was made to solve the above problems, and provides high-performance cyclic communication that enables high-speed cyclic reception processing and cyclic data access by reducing the load on the communication controller. [Detailed means for solving the problem] A cyclic communication system according to the present invention has a plurality of C
A shared memory that can be accessed by the PUs is provided on the system bus, and cyclic data that is accessed frequently by each CPU is stored in the shared memory, while cyclic data that is accessed less frequently is stored in the cyclic memory. It's a great thing.

〔作用〕[Effect]

この発明におけるサイクリック通信システムで框、通信
コントローラに伝送路から受信したサイクリックデータ
の内CPUからのアクセス頻度の高いデータ框システム
バス上の共有メモリに、アクセス頻度の低いデータに従
来のサイクリックメモリに格納する。この九め各CPU
は通信コントローラを起動することなく共有メモリに格
納され九サイクリックデータをシステムバス経由で高速
にアクセスすることができる。
In the cyclic communication system of the present invention, among the cyclic data received from the transmission path to the communication controller, data that is frequently accessed from the CPU is stored in the shared memory on the system bus, and data that is accessed infrequently is transferred to the shared memory on the system bus. Store in memory. This ninth CPU
The nine cyclic data stored in the shared memory can be accessed at high speed via the system bus without starting the communication controller.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、fllはCPU1.12+にCPU2 、
(31はCI’U1 tl11?よびCPU21!+が
共通にアクセス可能な共有メモリ、(4)は通信コント
ローラ、til&!通信コントローラ(4)が受信し次
サイクリックデータの一部を格納するためのサイクリッ
クメモリ、αωに上記CPtJI IllおよびCPU
2 (!lおよび共有メモリ(3)および通信コントロ
ーラ(41が接続されるシステムバス、(!l)はサイ
グリツタデータが伝送される伝送路である0 次に動作について説明する。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, fll is CPU1.12+, CPU2,
(31 is a shared memory that can be commonly accessed by CI'U1 tl11? and CPU21!+, (4) is a communication controller, and til&! is a memory for storing part of the next cyclic data received by the communication controller (4). Cyclic memory, αω the above CPtJI Ill and CPU
2 (!l) and the system bus to which the shared memory (3) and the communication controller (41 are connected; (!l) is the transmission line through which the signal data is transmitted.) Next, the operation will be explained.

通信コントローラ(4)ハ伝送路(11)を介して定周
期で受信し之サイクリックデータの内、CPUI 11
117’CにCPU2 filが頻繁にアクセスするサ
イクリックデータにシステムバス(101t”介して共
有メモリ(3)上の予め指定され念アドレスに格納する
。一方、CPLJ 1(1)またはCPLJ211が頻
繁にはアクセスしないサイクリックデータにサイクリッ
クメモリ(5)上の予め指定されたアドレスに格納する
。このようにメモリを使い分けることにより、システム
バス(lOI上のデータ転送負荷を軽減させることがで
きる。ここで、どのサイクリックデータを共有メモリ(
3)とサイクリックメモリ(5)のどちらのメモリに格
納するかの割付情報は、システム立ち上げ時に初期値設
定される。この情報にシステム立ち上げ後に設定変更可
能である。
Communication controller (4) c) Of the cyclic data received at regular intervals via the transmission line (11), the CPUI 11
117'C, the cyclic data frequently accessed by CPU2 fil is stored at a pre-specified address on the shared memory (3) via the system bus (101t". On the other hand, CPLJ1 (1) or CPLJ211 is frequently accessed. stores cyclic data that will not be accessed at a pre-specified address on the cyclic memory (5). By using memory differently in this way, the data transfer load on the system bus (IOI) can be reduced. , which cyclic data is stored in shared memory (
Allocation information regarding which memory to store data in, 3) and cyclic memory (5), is set to an initial value when the system is started up. The settings of this information can be changed after system startup.

次に、CPU11itがサイクリックデータをアクセス
する場合の動作について説明する。CPt1212)の
動作も同様である。まず頻繁にアクセスが必要な共有メ
モリ(3)上のサイクリックデータをアクセスする場合
にCPUI (11a通傷コントローラ(4)を起動す
ることなく直接システムバス[0)’を介して共有メモ
リ(3)上に格納されているサイクリックデータを高速
にリードすることができる。通信コントローラ14)全
起動する必要がないためマルチプロセッサ構成時に特に
その効果に大きくなる。
Next, the operation when the CPU 11it accesses cyclic data will be described. The operation of CPt1212) is also similar. First, when accessing cyclic data on the shared memory (3) that requires frequent access, the shared memory (3) is directly accessed via the system bus [0)' without starting the CPUI (11a trauma controller (4)). ) can be read at high speed. Communication controller 14) Since it is not necessary to start up all the communication controllers, the effect is particularly great in a multiprocessor configuration.

次に頻繁にアクセスする必要のないサイクリックメモリ
(6)上のデータをアクセスする場合は、CPUI l
it nシステムバス00)ヲ介して通信コントローラ
(4)に対してリード要求金山す。通信コントローラ+
41i上記リード要求があつt時点で伝送路(Illか
らのサイクリックデータ受信処理を実行していなければ
リード要求を受は付けて、要求内容にし九がってサイク
リックメモ1月6)から必要なデータを取り出し、シス
テムバス(1ot r介してそのデータi 17一ド要
求元のCrux Illに送出する。上記リード要求が
あつ几時点で通信コントローラ(4)が伝送路(Ill
からのサイクリックデータ受信処理を実行中であれば、
その処理が終了までCPUI illからの要求に待た
されることになる。また、逆に通信コントローラ(41
がCPUI iりからのリード要求実行中は通信コント
ローラ(41に伝送路(11)からのサイクリックデー
タ受信処理に実行することができない。しかしCPUI
 Illからのサイクリックメモリ(5)アクセスに頻
繁には行われないので通信コントローラ(4の負荷が重
くなることはない。
Next, when accessing data on the cyclic memory (6) that does not need to be accessed frequently, use the CPU
A read request is sent to the communication controller (4) via the IT system bus 00). Communication controller +
41i At the time when the above read request is received, the read request will be accepted if the cyclic data reception process from the transmission line (Ill) is not executed, and the cyclic memo will be sent from the cyclic memo January 6 according to the request content. The data is retrieved and sent via the system bus (1otr) to the data requester Crux Ill. When the read request is received, the communication controller (4) connects the transmission line (Ill
If the cyclic data reception process from
The request from the CPU ill will wait until the process is completed. Also, conversely, the communication controller (41
While executing a read request from the CPUI, the communication controller (41) cannot perform cyclic data reception processing from the transmission line (11).
Since access to the cyclic memory (5) from Ill is not performed frequently, the load on the communication controller (4) does not become heavy.

なお、上記実施例では伝送路からサイクリックデータを
受信処理する場合について説明し之が、共有メモリ(3
)およびサイクリックメモリ(5)上のデータを伝送路
に対して送信処理する場合にも上記実施例と全く同様の
効果を奏する。
Note that in the above embodiment, the case where cyclic data is received and processed from the transmission path is explained, but the shared memory (3
) and the cyclic memory (5) are transmitted to the transmission path, the same effects as in the above embodiments are achieved.

ま之、上記実施例では受信サイクリックデータを共有メ
モ1月3)、サイリックメモ1月6)のどちらに格納す
るかの情報を改め通信コントローラ(4)に設定するよ
うにしたが、これに受信サイクリックデータそのものに
その情報を持九せ通信コントローラ(41への情報設定
は特別に行わなくてもよいようにすることも可能である
However, in the above embodiment, the information on whether to store the received cyclic data in the shared memo January 3) or the cyclic memo January 6) is set in the communication controller (4). It is also possible to store the information in the received cyclic data itself so that there is no need to specially set the information to the communication controller (41).

ま九、サイクリックメモリ(6)ニ通信コントローラ]
4)とに別に設は念が、通信コントローラ(4)の内部
にサイクリックメモ1月5)全具備させることもできる
9. Cyclic memory (6) Communication controller]
4) Alternatively, the communication controller (4) may be equipped with a complete cyclic memo (5).

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、複数のCPUが通信
7ントローラを起動することなく直接共有メモリ上のサ
イクリックデータをアクセスできる構成とし友ので、高
速なデータ処理が可能なサイクリック通信システムが得
られる効果がある。
As described above, according to the present invention, the cyclic communication system is configured such that multiple CPUs can directly access cyclic data on the shared memory without activating the communication controller, thereby enabling high-speed data processing. There is an effect that can be obtained.

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

第1図にこの発明の一実施例によるサイクリック通信シ
ステムを示すブロック図、第2図は従来のサイクリック
通信システムを示すブロック図である。 図において、(11および(21はCPU 、 +31
は共有メモリ、f41i通傷コントローラ、(5)はサ
イクリックメモ!J 、 (]0)l’!システムバス
、1llld伝送路である。 なお、図中、同一符号に同一、又は相当部分を下す。
FIG. 1 is a block diagram showing a cyclic communication system according to an embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional cyclic communication system. In the figure, (11 and (21 are CPU, +31
is shared memory, f41i communication controller, (5) is cyclic memo! J, (]0)l'! The system bus is a 1lllld transmission line. In addition, in the figures, the same or equivalent parts are indicated by the same reference numerals.

Claims (1)

【特許請求の範囲】[Claims] 複数のCPUが接続されたシステムバス、このシステム
バスと伝送路間に設けられ通信を制御する通信コントロ
ーラ、この通信コントローラに接続され伝送路から周期
的に受信されるサイクリツクデータを格納するサイクリ
ツクメモリを備え、上記各CPUによつて上記サイクリ
ツクデータを使用して所定のデータ処理を行なうサイク
リツク通信システムにおいて、上記システムバス上に上
記各CPUによつて共有使用される共有メモリを設け、
上記各CPUからのアクセス頻度が高いサイクリックデ
ータを選択し、該共有メモリに格納することを特徴とす
るサイクリツク通信システム。
A system bus to which a plurality of CPUs are connected, a communication controller installed between the system bus and the transmission line to control communication, and a cyclic controller connected to the communication controller to store cyclic data periodically received from the transmission line. In a cyclic communication system comprising a memory, in which each of the CPUs performs predetermined data processing using the cyclic data, a shared memory shared by the CPUs is provided on the system bus,
A cyclic communication system characterized in that cyclic data that is frequently accessed from each of the CPUs is selected and stored in the shared memory.
JP25846490A 1990-09-25 1990-09-25 Cyclic communication system Pending JPH04133540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25846490A JPH04133540A (en) 1990-09-25 1990-09-25 Cyclic communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25846490A JPH04133540A (en) 1990-09-25 1990-09-25 Cyclic communication system

Publications (1)

Publication Number Publication Date
JPH04133540A true JPH04133540A (en) 1992-05-07

Family

ID=17320591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25846490A Pending JPH04133540A (en) 1990-09-25 1990-09-25 Cyclic communication system

Country Status (1)

Country Link
JP (1) JPH04133540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5517669A (en) * 1993-03-19 1996-05-14 Hitachi, Ltd. Cyclic data communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5517669A (en) * 1993-03-19 1996-05-14 Hitachi, Ltd. Cyclic data communication system

Similar Documents

Publication Publication Date Title
JP2761506B2 (en) Main memory controller
US5574868A (en) Bus grant prediction technique for a split transaction bus in a multiprocessor computer system
KR100630071B1 (en) High speed data transmission method using direct memory access method in multi-processors condition and apparatus therefor
US5796979A (en) Data processing system having demand based write through cache with enforced ordering
JP4531223B2 (en) Data processing apparatus having a plurality of processors sharing a collective memory
US5915126A (en) Computer system memory controller and method of burst data ordering translation
JPH04133540A (en) Cyclic communication system
JPS593774A (en) Access processing system
JPH0351943A (en) Sharing system for high/low speed bus lines
JPH02230345A (en) Inter-device communication/cache coincidence processing system
JPS6148747B2 (en)
KR960003650B1 (en) Input/output processor for improving computer system performance
JP3219422B2 (en) Cache memory control method
JPH04225458A (en) Computer
JPS63146148A (en) Bus system
JP2870200B2 (en) Data processing device
JPH04278659A (en) Inter-multiprocessor communication system
JPH01154272A (en) Multiprocessor device
JPS6379161A (en) Semiconductor memory device
JPH039453A (en) Data transfer controller
JPS6383854A (en) Data transfer circuit
JPS63259746A (en) Inter-bank-memory data transmission system
JPH0457145A (en) Multiprocessor system
JPH06309228A (en) Data processor
JPS60124755A (en) Information processing unit