JP4854598B2 - Data transfer control device - Google Patents
Data transfer control device Download PDFInfo
- Publication number
- JP4854598B2 JP4854598B2 JP2007144840A JP2007144840A JP4854598B2 JP 4854598 B2 JP4854598 B2 JP 4854598B2 JP 2007144840 A JP2007144840 A JP 2007144840A JP 2007144840 A JP2007144840 A JP 2007144840A JP 4854598 B2 JP4854598 B2 JP 4854598B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- network
- transfer
- node
- main memory
- 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 - Fee Related
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Description
この発明は、リアルタイムでデータの送受信を行うネットワークに接続された情報処理装置のメインメモリへのデータの格納を制御するデータ転送制御装置に関するものである。 The present invention relates to a data transfer control device that controls storage of data in a main memory of an information processing device connected to a network that transmits and receives data in real time.
複数の被制御機器を制御するプログラマブルコントローラなどの制御機器が複数接続してなる工業用ネットワークなどの制御システムでは、取り扱うデータがいつ交信されたかが明確であるようなリアルタイム性が要求される。たとえば、モータの回転速度が230回/秒というデータが、1秒前の計測値であるのか、10秒前の計測値であるのか、ということがわからないと、モータを制御することが困難となる。このようなリアルタイム性が必要とされるネットワークにおいて用いられる手法の一つにリンクスキャンという方式がある。リンクスキャンは、ネットワーク上で送受信されるデータを予め決め、それらを所定の周期で更新することで、リアルタイム性を確保する手法である。 In a control system such as an industrial network in which a plurality of control devices such as programmable controllers that control a plurality of controlled devices are connected, real-time characteristics are required so that it is clear when the data to be handled is communicated. For example, it is difficult to control the motor if it is not known whether the data of the motor rotation speed of 230 times / second is a measurement value one second ago or a measurement value ten seconds ago. . One of the methods used in such a network that requires real-time property is a link scan method. Link scan is a technique for ensuring real-time performance by predetermining data to be transmitted and received on a network and updating them in a predetermined cycle.
リンクスキャンを用いたリアルタイムネットワーク(以下、略してリアルタイムネットワークともいう)を構成するノードは、通常、中央演算処理装置(Central Processing Unit、以下、CPUという)と、メインメモリと、ネットワークインタフェースと、を有する。メインメモリは、リアルタイムネットワークを構成するノードごとに、取り扱うデータにしたがって領域が分割される。そして、このメモリの割り当ての大きさは、全てのリアルタイムネットワークを構成するノードのメインメモリ間で同じ大きさとなっている。 A node constituting a real-time network using link scan (hereinafter also referred to as a real-time network for short) usually includes a central processing unit (hereinafter referred to as CPU), a main memory, and a network interface. Have. The area of the main memory is divided according to data to be handled for each node constituting the real-time network. The size of this memory allocation is the same between the main memories of the nodes constituting all the real-time networks.
このノードでデータを他のノードに送信する場合には、CPUは、送信したいデータを、メインメモリの自ノードに割り当てられた領域に格納し、これを、ネットワークインタフェースに渡す。ネットワークインタフェースは、渡されたデータをネットワーク上に流すことができる形式に変換して、ネットワークに接続される他ノードに送信する。一方、このノードで他ノードからデータを受信する場合には、ネットワークインタフェースがそのデータの受信処理を行い、CPUがそのデータをメインメモリのデータの送信元ノードに割り当てられた領域に書込む処理を行う。 When data is transmitted from this node to another node, the CPU stores the data to be transmitted in an area allocated to the own node of the main memory, and passes this to the network interface. The network interface converts the passed data into a format that can flow on the network, and transmits it to another node connected to the network. On the other hand, when this node receives data from another node, the network interface performs the data reception process and the CPU writes the data to the area allocated to the data transmission source node in the main memory. Do.
通常、リアルタイム性が要求されるノードのCPUでは、自ノードのデータの他ノードへの送信処理と、他ノードからのデータの受信処理と、リアルタイムネットワークでの作業以外に必要なその他の動作処理と、を行う。 Usually, in a CPU of a node that requires real-time performance, a process for transmitting data of the own node to other nodes, a process for receiving data from other nodes, and other operation processes necessary other than work in the real-time network; ,I do.
リンクスキャンでは、各ノードがそれぞれ1回ずつ順番にデータを送信するが、初めのノードが送信を開始し、最後のノードが送信を終了するまでの時間をリンクスキャンタイムという。このリンクスキャンタイムの1周期で、各ノードが全く同じデータをメインメモリに有することとなり、その時間でのデータの正しさが保証される。つまり、各ノードにとって必要なデータが必ず所定の周期(=リンクスキャンタイム)で転送され、いつのデータか(何回目のリンクスキャンのデータか)ということが明確になり、リアルタイム性が確保される。その結果、各ノード間で時間によってデータの値が異なる、送信データが既に受け取られたかどうかわからない、といった問題を回避することができる。 In link scan, each node transmits data once in order, but the time from the start of the first node to the end of the transmission by the last node is called the link scan time. In one cycle of the link scan time, each node has exactly the same data in the main memory, and the correctness of the data at that time is guaranteed. That is, data necessary for each node is always transferred at a predetermined cycle (= link scan time), and it becomes clear when the data is (how many times the link scan is data), and real-time performance is ensured. As a result, it is possible to avoid problems such as data values differing depending on time between nodes and whether it is unknown whether transmission data has already been received.
しかし、上述したように、リンクスキャンタイムの1周期の間に、CPUが、ネットワークに流すデータをメインメモリに書込むとともに、ネットワークを流れるデータをメインメモリへ転送する処理を行う必要があるため、ネットワークにデータが流れている間は、CPUはデータの転送処理に追われてしまう。そのため、CPUには過剰の負荷がかかっていた。 However, as described above, during one cycle of the link scan time, the CPU needs to write data to be sent to the network into the main memory and perform processing to transfer the data to be sent to the main memory. While data is flowing through the network, the CPU is busy with data transfer processing. Therefore, an excessive load is applied to the CPU.
ところで、リアルタイム性が要求されないネットワークに接続されたパーソナルコンピュータなどの情報処理端末についてであるが、CPUに負荷をかけない処理方法として、CPUを介さずにメインメモリへのデータの書込みを行うDMA(Direct Memory Access)転送制御が知られている。 By the way, regarding an information processing terminal such as a personal computer connected to a network that does not require real-time performance, as a processing method that does not place a load on the CPU, a DMA (which writes data to the main memory without going through the CPU) Direct Memory Access) transfer control is known.
従来のDMA転送制御として、たとえば、パーソナルコンピュータや周辺装置から構成される外部装置に複数の論理的に割り当てられた論理チャネルを有する通信ケーブルを介して接続される情報処理装置におけるDMA転送制御についての技術が提案されている(たとえば、特許文献1参照)。この情報処理装置では、外部装置からのデータを受信するインタフェースコントローラに、通信ケーブルからのデータを、そのデータが送られてきた論理チャネルに対応するチャネルメモリ制御部のバッファメモリに格納する。その後、DMA制御部は、所定期間内におけるデータの受信回数が最大となるチャネルをDMA転送の対象として選択する。そして、この選択に基づいて、バスセレクタとDMAコントローラは、選択されたチャネルメモリ制御部のバッファメモリからメインメモリにデータを転送する。 As conventional DMA transfer control, for example, DMA transfer control in an information processing apparatus connected to an external device composed of a personal computer or a peripheral device via a communication cable having a plurality of logically assigned logical channels. A technique has been proposed (see, for example, Patent Document 1). In this information processing apparatus, the data from the communication cable is stored in the buffer memory of the channel memory control unit corresponding to the logical channel to which the data is sent, in the interface controller that receives data from the external apparatus. Thereafter, the DMA control unit selects a channel having the maximum number of data receptions within a predetermined period as a DMA transfer target. Based on this selection, the bus selector and the DMA controller transfer data from the buffer memory of the selected channel memory control unit to the main memory.
上述したリアルタイムネットワークを有する制御システムでは、制御システムの大規模化や制御の高精度化などの要因によって、近年、送受信されるデータ量が増大してきている。その一方で、ユーザからは、リンクスキャンタイムの短周期化の要求がなされるようになってきている。たとえば、制御システムの大規模化などの影響でデータ量が2倍になると、処理時間も2倍必要になり、それに応じてリンクスキャンタイムもほぼ2倍必要になってしまう。しかし、これではリンクスキャンタイムの短周期化の要求に応えることができない。つまり、上述した従来の方法では、データ量の増大により、ノードのCPUにかかるデータ転送の負荷がさらに大きくなるだけであり、リンクスキャンタイムの短縮化という要求を満たすことができないという問題点があった。 In the control system having the above-described real-time network, the amount of data transmitted / received has been increasing in recent years due to factors such as an increase in the scale of the control system and an increase in control accuracy. On the other hand, users are demanded to shorten the cycle of the link scan time. For example, if the amount of data is doubled due to an increase in the scale of the control system, the processing time is also doubled, and the link scan time is almost doubled accordingly. However, this cannot meet the demand for shortening the link scan time. In other words, the above-described conventional method has a problem in that the increase in data amount only increases the data transfer load on the CPU of the node and cannot satisfy the demand for shortening the link scan time. It was.
また、特許文献1に記載のDMA転送制御では、所定期間内の受信回数が最大のチャネルのデータをメインメモリに転送するようにしているが、一度に大量のデータが全てのチャネルに送信されてしまうような環境下においては、DMA転送の処理にかかる負荷を低減することができない。また、DMA転送中は、アドレス/データバスが占有されてしまい、その間、CPUはアドレス/データバスを用いた処理を行うことができないという問題点もあった。
In addition, in the DMA transfer control described in
さらに、この特許文献1に記載のDMA転送制御では、情報処理装置が外部装置からのデータを受信できない場合、たとえば上記したように一度に大量のデータが全てのチャネルに送信されてしまうような環境では、1つのチャネルごとにメインメモリへのデータのDMA転送を行うので、他のチャネルへのデータを情報処理装置で受信することができない。つまり、他のチャネルは、そのチャネルがDMA転送の処理が許可されるまでは、そのチャネルからのデータを受信することができない。その結果、データ受信のリアルタイム性が損なわれてしまい、リアルタイム性を要求されるような環境下で使用される情報処理装置では、特許文献1に記載のDMA転送制御を使用することができないという問題点もあった。
Furthermore, in the DMA transfer control described in
この発明は、上記に鑑みてなされたもので、リアルタイムネットワークに接続されるノードにおいて、送受信されるデータ量が増大している状況下でも、リンクスキャンタイムの周期をそのデータ量に比例して増大させることなく、またCPUにかかるデータ転送の負荷を増大させないデータ転送制御装置を得ることを目的とする。 The present invention has been made in view of the above, and in a node connected to a real-time network, even when the amount of transmitted / received data is increasing, the cycle of link scan time is increased in proportion to the amount of data. An object of the present invention is to obtain a data transfer control device that does not increase the data transfer load on the CPU.
上記目的を達成するため、この発明にかかるデータ転送制御装置は、ネットワークに接続される他のノードとの間でリンクスキャンの周期でデータを送受信し、前記データを用いて演算処理を行うデータ転送制御装置であって、前記他のノードからのデータを用いて演算を行うとともに、前記他のノードに送信するデータを生成する中央演算処理手段と、前記中央演算処理手段によって使用されまたは生成されるデータを、前記ネットワークに接続されるノードごとに設けられる格納領域に記憶する主記憶手段と、前記ネットワークに接続されるノードごとに設けられた格納領域に、リンクスキャンの周期ごとに前記他のノードから受信したデータと、前記中央演算処理手段によって処理され、前記他のノードに所定の周期ごとに送信するデータと、を記憶するネットワーク用一時記憶手段と、前記ネットワークに接続される他のノードから受信したデータを前記ネットワーク用一時記憶手段に転送する一時記憶手段用転送制御手段と、前記中央演算処理手段によってデータが使用される頻度または前記データが生成される頻度に応じて前記リンクスキャンの周期の自然数倍に設定される転送周期を、前記ネットワークに接続されるノードごとに保持した転送設定情報に基づいて、前記ノードごとのデータについて前記主記憶手段と前記ネットワーク用一時記憶手段との間で転送を行う転送制御手段と、を備えることを特徴とする。 In order to achieve the above object, a data transfer control device according to the present invention transmits / receives data to / from another node connected to a network at a link scan cycle, and performs data processing using the data A control device that performs calculation using data from the other node and that is used or generated by a central processing unit that generates data to be transmitted to the other node and the central processing unit data, a main storage means for storing in the storage area provided for each node connected to the network, the storage area provided for each node connected to the network, the other nodes for each cycle of the link scan de for transmitting the data received are processed by said central processing means, for each predetermined period to the other nodes from A temporary storage unit for the network for storing data and, and a temporary storage means for the transfer control means for transferring data received from other nodes connected to the network in the temporary storage means for said network, said central processing unit Transfer setting information that holds a transfer cycle set to a natural number multiple of the cycle of the link scan according to the frequency at which data is used or the frequency at which the data is generated for each node connected to the network And a transfer control means for transferring the data for each node between the main storage means and the temporary network storage means.
この発明によれば、中央演算処理手段がネットワークを流れるデータの送受信処理を行う必要がなく、送受信されるデータ量が増大しても中央演算処理手段にかかる負荷を減らすことができる。その結果、今までネットワークでの転送処理に使用されていた時間を、中央演算処理手段によるネットワークで必要な作業以外の処理時間に割り当てることができるとともに、余った時間を削減することができるので、リンクスキャンタイムを短くすることができるという効果を有する。また、送受信されるデータの中央演算処理手段による使用頻度やその重要度、更新周期などによって、データを主記憶手段に格納するようにしたので、使用されないデータを主記憶手段に転送することがなくなり、処理の無駄を省くこともできる。 According to the present invention, it is not necessary for the central processing means to perform transmission / reception processing of data flowing through the network, and the load on the central processing means can be reduced even if the amount of data transmitted / received increases. As a result, it is possible to allocate the time used for the transfer processing in the network up to the processing time other than the work required for the network by the central processing means, and to reduce the extra time. The link scan time can be shortened. In addition, since data is stored in the main storage unit depending on the frequency of use, importance, and update cycle of the data to be transmitted / received, there is no need to transfer unused data to the main storage unit. In addition, waste of processing can be eliminated.
以下に添付図面を参照して、この発明にかかるデータ転送制御装置の好適な実施の形態を詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。また、以下の説明では、この発明にかかる実施の形態との比較として、最初に従来のリアルタイムネットワークで構成される制御システムにおける通信方法とCPUの動作の概要について説明し、その後にこの発明による実施の形態について説明する。 Exemplary embodiments of a data transfer control device according to the present invention will be explained below in detail with reference to the accompanying drawings. Note that the present invention is not limited to the embodiments. Further, in the following description, as a comparison with the embodiment according to the present invention, an outline of a communication method and an operation of a CPU in a control system configured by a conventional real-time network will be described first, and then an embodiment according to the present invention will be described. Will be described.
(従来の制御システムにおける通信)
図7は、リアルタイムネットワークを有する制御システムの構成の従来例を模式的に示す図である。この例では、制御システムは、パーソナルコンピュータなどの情報処理端末や中継器などの3つのネットワークノード(以下、単にノードという)100(100A〜100C)がネットワーク110を介して接続される。各ノード100A〜100Cは、ノード全体の処理を行うCPU101と、ネットワーク110に接続する全てのノード100A〜100Cのデータを格納するメインメモリ102と、ネットワーク110との通信を行うネットワークインタフェース103と、がアドレス/データバスを介して相互に接続される。
(Communication in the conventional control system)
FIG. 7 is a diagram schematically showing a conventional example of the configuration of a control system having a real-time network. In this example, in the control system, three network nodes (hereinafter simply referred to as nodes) 100 (100A to 100C) such as information processing terminals such as personal computers and repeaters are connected via a network 110. Each of the nodes 100A to 100C includes a
図8は、ノードのメインメモリ内のデータ構成の一例を示す図である。メインメモリ102は、取り扱うデータにしたがってノード100ごとに領域が分割される。その各ノード100に対するメインメモリ102の割り当ての大きさは、全てのノード100のメインメモリ102間で同じ大きさになっている。図に示されるように、各ノード100のメインメモリ102のアドレス「0000 0000」〜「0000 0FFF」には、ノード100Aのデータを格納するための領域が割り当てられており、アドレス「0000 1000」〜「0000 3FFF」には、ノード100Bのデータを格納するための領域が割り当てられており、アドレス「0000 4000」〜「0000 5FFF」には、ノード100Cのデータを格納するための領域が割り当てられている。これによって、各ノード100A〜100Cのメインメモリ102間ではデータの共有がなされる。
FIG. 8 is a diagram illustrating an example of a data configuration in the main memory of the node. The area of the
このような構成のノード100におけるデータの通信処理について説明する。最初に、リンクスキャンタイムについて説明する。図9は、リンクスキャンタイムの概要を示す図である。この図に示されるように、ネットワーク110に接続されるノード100A〜100Cが、ネットワーク110上で送受信するデータを予め決めておき、そのデータを所定の周期で交信することで、リアルタイム性を確保している。このデータを交信する所定の周期のことをリンクスキャンタイムという。 Data communication processing in the node 100 having such a configuration will be described. First, the link scan time will be described. FIG. 9 is a diagram showing an outline of the link scan time. As shown in this figure, the nodes 100A to 100C connected to the network 110 determine data to be transmitted / received on the network 110 in advance, and exchange the data at a predetermined cycle to ensure real-time performance. ing. A predetermined cycle for communicating this data is called a link scan time.
つぎに、データの送受信方法について説明する。図10は、リアルタイムネットワークでの通信時におけるCPUとメインメモリの動作の概略を示す図である。この図において、横軸は時間を表している。また、この図では、ネットワークに3つのノードS,T,Uが接続されており、それぞれがリンクスキャンタイム中にデータs(n),t(n),u(n)を送信し、相互に同期を取っているものとする。ここで、nは自然数を示し、リンクスキャンの回数を示している。さらに、この図10では、ノードUでのデータ通信時におけるCPU101とメインメモリ102の動作を示している。
Next, a data transmission / reception method will be described. FIG. 10 is a diagram showing an outline of the operation of the CPU and the main memory during communication in the real-time network. In this figure, the horizontal axis represents time. Also, in this figure, three nodes S, T, and U are connected to the network, and each transmits data s (n), t (n), and u (n) during the link scan time. Assume synchronization. Here, n represents a natural number and represents the number of link scans. Further, FIG. 10 shows operations of the
まず、リンクスキャンの1周期の間に、CPU101は、ネットワークインタフェース103から他ノードSからのデータs(n)の受信通知を受けると、メインメモリ102のノードSに割り当てられた領域へデータs(n)の転送処理を行う。続いて、ネットワークインタフェース103から他ノードTからのデータt(n)の受信通知を受けると、メインメモリ102のノードTに割り当てられた領域へデータt(n)の転送処理を行う。これにより、他ノードS,Tのデータがメインメモリ102の所定の領域に書込まれる。
First, during one cycle of link scan, when the
その後、CPU101は、メインメモリ102の自ノードUに割り当てられた領域に格納されている自ノードUのデータu(n)を操作し、ネットワークインタフェース103に渡す。ネットワークインタフェース103では、渡されたデータu(n)をネットワーク110で流れる形式のデータに変換して、ネットワークを介して他ノードS,Tに送信する処理を行う。
Thereafter, the
そして、最後にネットワークでの作業以外のデータ処理(以下、その他の作業処理という)を行う。このように、CPU101は、ネットワークを流れるデータとメインメモリ102との間の転送処理を行うために、ネットワークにデータが流れている間は、CPU101はデータの転送処理に追われることになる。そして、このデータ転送処理は、リンクスキャンタイムごとに実行される。これにより、各ノードS〜Uは、データの転送が完了した時点で、それぞれのメインメモリ102が全く同じデータを持つことになり、その時間でのデータの正しさが保証される。また、各ノードS〜U間で時間によってデータの値が異なる、送信したデータが既に受け取られたかどうかわからない、というような問題は発生せず、何回目のリンクスキャンのデータかということが明確になり、リアルタイム性が確保される。
Finally, data processing other than work on the network (hereinafter referred to as other work processing) is performed. Thus, since the
しかし、この図10で示されるように、従来のリアルネットワークでの通信においては、データ量が2倍になると、処理時間も2倍必要になり、その結果リンクスキャンタイムも2倍必要になってしまう。また、その他の作業処理では、ネットワークでの作業以外のデータ処理を行う必要があり、ある程度の余裕が必要となるので、この時間を削ることはできない。このように、従来のリアルネットワークでの通信では、CPU101にかかる負荷は、データ量の増大とともに増大していく傾向にあり、それにつれてリンクスキャンタイムも長くなっていた。
However, as shown in FIG. 10, in the communication in the conventional real network, when the data amount is doubled, the processing time is also doubled, and as a result, the link scan time is also doubled. End up. Further, in other work processes, it is necessary to perform data processes other than work on the network, and a certain amount of margin is required, so this time cannot be reduced. As described above, in the communication on the conventional real network, the load on the
また、図10の1回目のリンクスキャンタイムのその他の作業処理では、CPU101は受信したデータs(1),t(1)を用いた処理は何も行っていない。しかし、2回目のリンクスキャンタイムでは、メインメモリ102に受信したデータのうちデータs(2)のみを用いて処理を行っている。また、3回目のリンクスキャンタイムでは、受信したデータのうちデータt(3)のみを用いて処理を行うとともに、つぎの(4回目の)リンクスキャンタイムで送信するデータu(4)の処理を行っている。そして、4回目のリンクスキャンタイムでは再び受信したデータに対して何の処理も行われていない。このように、メインメモリ102に転送したデータの全てがCPU101による処理に用いられるわけではなく、一部しか使用されない。そのために、毎回メインメモリ102にデータを転送することは無駄が多かった。
Further, in the other work processing of the first link scan time in FIG. 10, the
実施の形態.
制御対象である被制御機器と接続されるプログラマブルコントローラなどの制御装置がネットワークを介して接続される制御システムにおいて、制御装置の中には、高い精度で制御を行わなければならないものもあれば、低い精度で制御を行えばよいものもある。たとえば、この精度の観点からは、高い精度で制御を行わなければならないものほど、その制御に必要なデータを短い周期で更新する必要があるが、低い精度で制御を行えばよいものでは、その制御に必要なデータの更新周期を長くしても構わない。
Embodiment.
In a control system in which a control device such as a programmable controller connected to a controlled device to be controlled is connected via a network, some control devices must be controlled with high accuracy. Some may be controlled with low accuracy. For example, from this point of view of accuracy, the data that needs to be controlled with high accuracy needs to be updated with a short period of time. You may lengthen the update period of the data required for control.
また、上述した図10に示されるように、メインメモリに転送されたデータの全てがCPUによる処理に使用されているわけではない。そのため、CPUによって使用される頻度に応じて、メインメモリへのデータの転送を行うようにしてもよい。 Further, as shown in FIG. 10 described above, not all data transferred to the main memory is used for processing by the CPU. For this reason, data may be transferred to the main memory according to the frequency used by the CPU.
そこで、この実施の形態では、ネットワークに接続される他ノードとのデータの通信を、CPUを介さずに行い、リアルタイムでデータを保持するネットワーク用バッファメモリをノードに備える構成とし、また、たとえばCPUによる処理時にデータが必要な周期などの各ノードに応じた所定の周期で、各ノードのデータをネットワーク用バッファメモリとメインメモリとの間で、CPUを介さずに転送するようにしている。たとえば、高い精度で制御を行う必要があるデータほど、短い周期でメインメモリに格納し、低い精度で制御を行えばよいデータほど長い周期でメインメモリに格納すればよい。この周期的に更新を行うデータとしては、被制御機器の制御を行うための入力データや出力データなどの制御データを例示することができるが、他のデータであってもよい。 Therefore, in this embodiment, data communication with other nodes connected to the network is performed without going through the CPU, and a network buffer memory that holds data in real time is provided in the node. The data of each node is transferred between the network buffer memory and the main memory without passing through the CPU at a predetermined cycle corresponding to each node such as a cycle in which data is required during the processing of the above. For example, data that needs to be controlled with high accuracy may be stored in the main memory in a short cycle, and data that needs to be controlled with low accuracy may be stored in the main memory with a long cycle. Examples of the data that is periodically updated include control data such as input data and output data for controlling the controlled device, but may be other data.
図1は、この発明が適用されるリアルタイムネットワークを用いた制御システムの構成を模式的に示す図である。この図1の例では、制御システムは、パーソナルコンピュータなどの情報処理端末や中継器などの3つのノード10(10A〜10C)がネットワーク30を介して接続される。この図1では、ノード10Aのみに内部構成が示されているが、他のノード10B,10Cも同様の構成を有している。また、このノード10が、この発明によるデータ転送制御装置に該当する。
FIG. 1 is a diagram schematically showing a configuration of a control system using a real-time network to which the present invention is applied. In the example of FIG. 1, in the control system, three nodes 10 (10 </ b> A to 10 </ b> C) such as an information processing terminal such as a personal computer and a repeater are connected via a
各ノード10A〜10Cは、CPU11と、メインメモリ12と、ネットワークインタフェース13と、ネットワーク用バッファメモリ14と、バッファメモリ用DMAコントローラ15と、DMAコントローラ16と、DMA起動タイミングカウンタ17と、を備える。
Each of the nodes 10 </ b> A to 10 </ b> C includes a CPU 11, a
CPU11は、自ノード10全体の処理を行い、メインメモリ12は、ネットワーク30に接続する全てのノード10A〜10Cのデータを格納する。データとしては、たとえば、ノードに接続される被制御機器を制御するためのデータや、被制御機器から出力されるデータなどを例示することができる。ネットワークインタフェース13は、メインメモリ12とネットワーク30との間でデータの送受信を行う。ここで、CPU11は、特許請求の範囲における中央演算処理手段に対応し、メインメモリ12は、同じく主記憶手段に対応している。
The CPU 11 performs processing for the entire node 10, and the
ネットワーク用バッファメモリ14は、他ノードからのデータをリンクスキャンタイムごとに全て格納し、CPU11によって処理され、他ノードに所定の周期ごとに転送されるデータも格納する。このネットワーク用バッファメモリ14は、ネットワーク30に接続されるノード10A〜10Cのそれぞれに対して、データを格納する領域が設けられている。このネットワーク用バッファメモリ14は、従来例の図8で示したメインメモリの構成と同様であり、これまではネットワークインタフェースで他ノードからのデータを受信すると、直接にCPUがメインメモリに転送していたものを、後述するバッファメモリ用DMAコントローラ15によって、一旦このネットワーク用バッファメモリ14内に格納するようにしている。なお、バッファメモリ用DMAコントローラ15には、内部にレジスタを有し、その中に、他のノード10から受信したデータを、ネットワーク用バッファメモリ14内のどのアドレスに転送するか、またはネットワーク用バッファメモリ14内のどのアドレスのデータをどのノード10に転送するかを示すネットワークデータ転送設定情報も格納される。なお、このネットワーク用バッファメモリ14は、特許請求の範囲におけるネットワーク用一時記憶手段に対応する。
The
図2は、ネットワーク用バッファメモリ内のデータ構成の一例を示す図である。ネットワーク用バッファメモリ14は、取り扱うデータにしたがってノード10ごとに領域が分割され、そのメモリの割り当ての大きさは、全てのノード10A〜10Cのネットワーク用バッファメモリ14間で同じ大きさになっている。図に示されるように、各ノード10A〜10Cのネットワーク用バッファメモリ14のアドレス「0000 0000」〜「0000 0FFF」には、ノード10Aのデータを格納するための領域が割り当てられており、アドレス「0000 1000」〜「0000 3FFF」には、ノード10Bのデータを格納するための領域が割り当てられており、アドレス「0000 4000」〜「0000 5FFF」には、ノード10Cのデータを格納するための領域が割り当てられている。これによって、各ノード10A〜10Cのネットワーク用バッファメモリ14間ではデータの共有がなされる。
FIG. 2 is a diagram illustrating an example of a data configuration in the network buffer memory. The
バッファメモリ用DMAコントローラ15は、ネットワークインタフェース13で受信したデータをネットワーク用バッファメモリ14に転送する。このとき、バッファメモリ用DMAコントローラ15の内部レジスタに格納されたネットワークデータ転送設定情報に基づいて、受信したデータの送信元(ノード10)に対応したネットワーク用バッファメモリ14の所定の領域に、データを格納する。このバッファメモリ用DMAコントローラ15は、CPU11を介さずにデータをネットワーク用バッファメモリ14に転送するものであり、ネットワーク用バッファメモリ専用に設けられたデータ転送機能である。このバッファメモリ用DMAコントローラ15により、CPU11による毎周期のデータの転送が行われず、CPU11は別の処理を実行できるようになる。なお、このバッファメモリ用DMAコントローラ15は、特許請求の範囲における一時記憶手段用転送制御手段に対応している。
The buffer
DMAコントローラ16は、DMA起動タイミングカウンタ17からの制御信号に基づいて、ネットワーク用バッファメモリ14に格納されるデータをメインメモリ12に転送する。
The
DMA起動タイミングカウンタ17は、内部にレジスタを有し、その中に、リンクスキャンの何回目ごとに、ネットワーク用バッファメモリ14からメインメモリ12にデータを転送するかを示す転送設定情報を格納し、この転送設定情報に基づいて、DMAコントローラ16を起動する。また、DMA起動タイミングカウンタ17は、転送タイミングが発生すると、割り込み信号を使って、データの転送が発生したことと、DMAコントローラ16がメインメモリ12を使用するために、CPU11によるメインメモリ12の使用を禁じることを示す割り込み信号をCPU11に伝える。なお、DMAコントローラ16とDMA起動タイミングカウンタ17は、特許請求の範囲における転送制御手段に対応し、転送タイミングは、同じく転送周期に対応している。
The DMA
図3は、転送設定情報の一例を示す図であり、図4は、メインメモリとネットワーク用バッファメモリとのデータの割り当て状態の詳細を示す図である。図3に示されるように、転送設定情報は、ネットワーク用バッファメモリ14とメインメモリ12との間でデータを転送する周期を定める「転送タイミング」と、転送タイミングが発生した場合に、データの転送先または転送元のネットワーク用バッファメモリ14のアドレスを示す「バッファアドレス」と、データの転送元または転送先のメインメモリ12のアドレスを示す「メインメモリアドレス」と、データの転送方向を示す「転送方向」と、データの転送量を示す「転送データ量」と、を含む。なお、転送タイミングは、リンクスキャンタイムの何周期ごとに転送を行うかを示すものである。
FIG. 3 is a diagram illustrating an example of the transfer setting information, and FIG. 4 is a diagram illustrating details of data allocation states between the main memory and the network buffer memory. As shown in FIG. 3, the transfer setting information includes a “transfer timing” that determines a cycle for transferring data between the
また、図4に示されるように、ネットワーク用バッファメモリ14には、ノード10Aのデータaは、アドレス0x3850〜0x39BFに格納され、ノード10Bのデータbは、アドレス0x4100〜0x414Fに格納され、ノード10Cのデータcは、アドレス0x4630〜0x466Fに格納される。また、メインメモリ12には、ノード10Aのデータaは、アドレス0x0010〜0x007Fに格納され、ノード10Bのデータbは、アドレス0x0100〜0x014Fに格納され、ノード10Cのデータcは、アドレス0x0200〜0x023Fに格納される。
As shown in FIG. 4, in the
この図4に示されるようなメインメモリ12とネットワーク用バッファメモリ14とのデータの割り当ての場合の転送設定情報が図3に示されている。すなわち、図3の転送設定情報において、行301に格納されるデータは、ノード10Aのデータaに対する転送設定情報であり、行302に格納されるデータは、ノード10Bのデータbに対する転送設定情報であり、行303に格納されるデータは、ノード10Cのデータcに対する転送設定情報である。ただし、この図3と図4に示される例はノード10Cの設定であって、ノード10A,10Bでは、それぞれの設定がなされる。
FIG. 3 shows transfer setting information in the case of data allocation between the
さらに詳細には、行301に示される内容は、ネットワーク用バッファメモリ14のアドレス0x3850から60hの転送データ量のデータを、メインメモリ12のアドレス0x0010に転送タイミング1で転送することを示している。また、行302に示される内容は、ネットワーク用バッファメモリ14のアドレス0x4100から30hの転送データ量のデータを、メインメモリ12のアドレス0x0100に転送タイミング3で転送することを示している。さらに、行303に示される内容は、メインメモリ12のアドレス0x0200から40hの転送データ量のデータを、ネットワーク用バッファメモリ14のアドレス0x4630に転送タイミング2で転送することを示している。この転送設定情報に示されるように、ネットワーク用バッファメモリ14とメインメモリ12との間のCPU11を介さないデータの転送が行われる。
More specifically, the contents shown in the
以上の構成を有するノード10において、CPU11と、メインメモリ12と、ネットワーク用バッファメモリ14と、バッファメモリ用DMAコントローラ15と、DMAコントローラ16と、DMA起動タイミングカウンタ17と、はそれぞれアドレス/データバスを介して相互に接続される。また、DMAコントローラ16とネットワーク用バッファメモリ14とは、アドレス/データバスを介して接続される。さらに、バッファメモリ用DMAコントローラ15は、ネットワークインタフェース13とネットワーク用バッファメモリ14と、アドレス/データバスを介して接続される。また、ネットワークインタフェース13とDMA起動タイミングカウンタ17との間と、DMA起動タイミングカウンタ17とDMAコントローラ16との間で、制御信号がやり取りされ、DMA起動タイミングカウンタ17からCPU11へ割り込み信号が出力される。
In the node 10 having the above configuration, the CPU 11, the
ここで、ネットワーク用バッファメモリ14とメインメモリ12との間でデータ転送の周期をノード10ごとに変化させることについて説明する。CPU11でネットワークのデータを扱うには、ネットワーク用バッファメモリ14のデータをメインメモリ12に転送する必要があるが、全てのデータを転送すると、図10で示したように従来のリアルネットワークでの通信のように、CPUの負荷が大きくなってしまう。ところで、図1で、たとえばノード10A〜10Cがプログラマブルコントローラなどの制御装置や、この制御装置によって制御される被制御機器で構成される場合を考える。また、データは、ノード10Aが処理するデータa、ノード10Bが処理するデータb、およびノード10Cが処理するデータcの3種類であるとする。そして、これらの3種類のデータa,b,cはそれぞれ異なった意味合いのデータであるものとする。たとえば、データaはモータの回転速度を示し、データbはモータの温度を示し、データcはモータの消費電流を示すものとする。
Here, changing the data transfer cycle between the
このとき、モータの回転速度は、短い時間で変化するため、できる限り早い周期でデータを取得する必要がある。一方、温度は変化が遅く、比較的遅い周期でデータを取得しても問題がない。そこで、それぞれのデータのメインメモリ12へのデータの取得タイミングまたはメインメモリ12からネットワーク用バッファメモリ14へのデータ転送タイミングを、リンクスキャンの毎周期ではなく、2周期に1回、3周期に1回などのように重み付けを行って、重み付けに応じてデータの取得頻度または転送頻度を下げるようにした。たとえば、ここでは、図4に示されるように、データaに対しては転送頻度を「1」に設定し、データbに対しては転送頻度を「3」に設定し、データcに対しては転送頻度を「2」に設定したものとする。
At this time, since the rotation speed of the motor changes in a short time, it is necessary to acquire data at the fastest possible cycle. On the other hand, the temperature changes slowly and there is no problem even if data is acquired at a relatively slow cycle. Therefore, the data acquisition timing of each data to the
図5は、この発明によるデータの転送方法の概念を模式的に示す図である。ここでは、ノード10Cのメインメモリ12とネットワーク用バッファメモリ14の様子を示しており、図4の転送設定情報に基づいて転送が行われるものとする。リンクスキャンが開始される前には、メインメモリ12にはデータは格納されていないものとする。また、ネットワーク用バッファメモリ14はリンクスキャン開始前なので、a(0),b(0),c(0)となっている。
FIG. 5 is a diagram schematically showing the concept of the data transfer method according to the present invention. Here, the states of the
その後、リンクスキャンの1回目が開始されると、ネットワーク30に接続されるノード10A,10Bからデータa(1),b(1)がネットワークインタフェース13を介して、バッファメモリ用DMAコントローラ15によってネットワーク用バッファメモリ14のそれぞれの領域に格納される。
Thereafter, when the first link scan is started, data a (1) and b (1) from the
データaについては、図4の転送設定情報によって1周期ごとに転送が行われるので、DMA起動タイミングカウンタ17がCPU11に割り込み信号を出力し、CPU11はメインメモリ12の使用を中止する。その後、データa(1)がネットワーク用バッファメモリ14からメインメモリ12へとDMAコントローラ16によって転送される。なお、このとき、データb(1),c(1)は、転送設定情報における転送タイミングとなっていないので、ネットワーク用バッファメモリ14からメインメモリ12へのデータb(1)の転送と、メインメモリ12からネットワーク用バッファメモリ14へのデータc(1)の転送は行われない。以上により、1回目のリンクスキャンが終了する。
Since the data a is transferred every cycle according to the transfer setting information of FIG. 4, the DMA
ついで、リンクスキャンの2回目が開始されると、1回目のリンクスキャンと同様に、データa(2),b(2)がネットワーク用バッファメモリ14に格納される。また、CPU11からは自ノード10Cに関係するデータc(2)が作成され、メインメモリ12の対応する領域に格納される。
Next, when the second link scan is started, the data a (2) and b (2) are stored in the
データaについては1周期ごとに転送が行われ、データcについては2周期ごとに転送が行われるので、DMA起動タイミングカウンタ17がCPU11に割り込み信号を出力し、CPU11はメインメモリ12の使用を中止する。データa(2)については、1回目のリンクスキャンと同様に、ネットワーク用バッファメモリ14からメインメモリ12へと転送される。また、データc(2)については、メインメモリ12からネットワーク用バッファメモリ14へとDMAコントローラ16によって転送される。このとき、データb(2)は、転送タイミングではないので、ネットワーク用バッファメモリ14からメインメモリ12へのデータ転送は行われない。以上により、2回目のリンクスキャンが終了する。
Since data a is transferred every cycle, and data c is transferred every two cycles, the DMA start timing
さらに、リンクスキャンの3回目が開始されると、1回目のリンクスキャンと同様に、データa(3),b(3)がネットワーク用バッファメモリ14に格納され、データc(2)がCPU11からメインメモリ12に格納される。その後、データa(3)については1周期ごとに転送が行われ、データbについては3周期ごとに転送が行われるので、DMA起動タイミングカウンタ17がCPU11に割り込み信号を出力し、CPU11はメインメモリ12の使用を中止する。そして、データa(3),b(3)がネットワーク用バッファメモリ14からメインメモリ12へ転送される。このとき、データc(3)については、転送タイミングではないので、メインメモリ12からネットワーク用バッファメモリ14へのデータ転送は行われない。以上により、3回目のリンクスキャンが終了する。
Further, when the third link scan is started, the data a (3) and b (3) are stored in the
この後は、以上のように、データaについては、毎周期ごとにネットワーク用バッファメモリ14からメインメモリ12へのデータ転送が行われ、データbについては、mを自然数とすると、周期3mごとにネットワーク用バッファメモリ14からメインメモリ12へのデータ転送が行われ、データcについては、周期2mごとにメインメモリ12からネットワーク用バッファメモリ14へのデータ転送が行われる。
Thereafter, as described above, for data a, data is transferred from the
つぎに、ノード10内のCPU11、メインメモリ12およびネットワーク用バッファメモリ14の処理について説明する。図6は、この発明によるノード内の処理の様子を模式的に示す図である。なお、この説明では、ネットワークに3つのノードS,T,Uが接続されており、それぞれがリンクスキャンタイム中にデータs(n),t(n),u(n)を送信し、相互に同期を取っているものとする。ここで、nは自然数を示し、リンクスキャンの回数を示している。また、図の横軸は時間を示している。
Next, processing of the CPU 11, the
各リンクスキャンタイムにおいて、ノードSが所定のタイミングで自ノードのメインメモリ12にあるデータs(n)をネットワーク用バッファメモリ14に転送し、さらにネットワークインタフェース13がネットワークを介してノードT,Uに順に送信する。ついで、ノードTも所定のタイミングで自ノードのメインメモリ12にあるデータt(n)をネットワーク用バッファメモリ14に転送し、さらにネットワークインタフェース13を介してノードU,Sに順に送信する。そして、ノードUも所定のタイミングで自ノードのメインメモリ12にあるデータu(n)をネットワーク用バッファメモリ14に転送し、さらにネットワークインタフェース13を介してノードS,Tに順に送信する。
At each link scan time, the node S transfers the data s (n) in the
これにより、図6に示されるノードUでは、各リンクスキャンタイムにおいて、バッファメモリ用DMAコントローラ15が、ネットワークインタフェース13に到達したノードS,Tからのデータs(n),t(n)をネットワーク用バッファメモリ14に転送する。また、バッファメモリ用DMAコントローラ15は、自ノードUのデータu(n)を、ネットワークインタフェース13へ転送し、ネットワークインタフェース13はデータu(n)をネットワークに接続されるノードS,Tへと送信する。
Thereby, in the node U shown in FIG. 6, the buffer
各リンクスキャンタイム内のネットワーク用バッファメモリに対するデータの送受信処理は、上述したようにバッファメモリ用DMAコントローラ15によって行われるので、CPU11がその処理に追われることはない。そのため、データ転送中においても、CPU11はネットワークでの作業以外のその他の動作処理を実行することができる。
Since the transmission / reception process of data to / from the network buffer memory within each link scan time is performed by the buffer
1回目のリンクスキャンタイム中では、ノードUのCPU11は、受信したデータの処理を行わないので、ネットワーク用バッファメモリ14からメインメモリ12への転送処理が行われない。そのため、1回目のリンクスキャンタイム中では、CPU11は、空き時間が多く、ネットワークでの作業以外のその他の動作処理を実行することができる。
During the first link scan time, the CPU 11 of the node U does not process the received data, so the transfer process from the
2回目のリンクスキャンタイム中では、ネットワーク用バッファメモリ14中のノードSに対応する領域からデータs(2)がメインメモリ12へとDMAコントローラによって転送される。そして、CPU11は、このデータs(2)を使用して所定の処理を実行する。なお、CPU11は、このデータs(2)を使用した処理以外の時間では、空き時間としてその他の動作処理を実行することが可能である。
During the second link scan time, the data s (2) is transferred from the area corresponding to the node S in the
3回目のリンクスキャンタイム中では、ネットワーク用バッファメモリ14中のノードTに対応する領域からデータt(3)がメインメモリ12へとDMAコントローラ16によって転送される。そして、CPU11は、このデータt(3)を使用して所定の処理を実行する。なお、CPU11は、このデータt(3)を使用した処理以外の時間では、あき時間として、その他の動作処理を実行することが可能である。
During the third link scan time, the data t (3) is transferred from the area corresponding to the node T in the
4回目のリンクスキャンタイム中では、CPU11は、他ノードS,Tに送信するためのデータu(4)を生成する処理を行い、そのデータu(4)をメインメモリ12の自ノードUに割り当てられた領域に格納する。そして、DMAコントローラ16は、メインメモリ12中のデータu(4)をネットワーク用バッファメモリ14のノードUに割り当てられた領域に格納する。ここでも、CPU11は、データu(4)を生成する処理以外の時間では、空き時間として、その他の動作処理を実行することができる。
During the fourth link scan time, the CPU 11 performs processing for generating data u (4) to be transmitted to the other nodes S and T, and assigns the data u (4) to the own node U of the
上記で示したように、バッファメモリ用DMAコントローラ15とDMAコントローラ16を設けることによって、ネットワークを介したデータの転送処理をCPU11が行うことがないので、その分、CPU11は他の処理を実行することができる。その結果、リンクスキャンタイムを短縮化することが可能である。
As described above, by providing the buffer
図10に示した従来のノード内の処理に比して、図6に示されるこの実施の形態によるノード内の処理では、他ノードからのデータをネットワーク用バッファメモリ14に格納し、このネットワーク用バッファメモリ14に格納されたデータごとに所定の周期でメインメモリ12にDMAによって転送するようにしたので、メインメモリ12へのデータの転送とメインメモリ12からネットワーク用バッファメモリ14へのデータの転送をCPU11が処理することがないので、CPU11にかかる負荷を削減することができる。そして、従来、CPUが実行していたネットワークを用いたデータ転送処理に要した時間を他の処理に振り向けることができ、そのうちの余った時間を短縮化することも可能である。
Compared with the processing in the conventional node shown in FIG. 10, in the processing in the node according to this embodiment shown in FIG. 6, data from other nodes is stored in the
また、たとえばCPU11がメインメモリ12に転送したデータを用いる頻度に応じて、ネットワーク用バッファメモリ14からメインメモリ12へとデータを転送するようにすれば、メインメモリ12へのデータ転送の無駄を省くこともできる。
Further, for example, if data is transferred from the
なお、上述した説明では、転送設定情報は、ネットワークに接続されるノード10ごとに設定するようにしていた。しかし、ノード10で処理されるデータは、1種類ではなく、複数種類ある場合も存在する。そこで、図3に示される転送設定情報において、各ノード10に対して割り当てられた領域を、そのノード10が扱うデータ種類の数にさらに分割して、分割した各領域をデータ種類に応じて割り当て、ノード種類とデータ種類に応じて転送タイミングを設定することも可能である。 In the above description, the transfer setting information is set for each node 10 connected to the network. However, there is a case where there are a plurality of types of data processed by the node 10 instead of one type. Therefore, in the transfer setting information shown in FIG. 3, the area allocated to each node 10 is further divided into the number of data types handled by the node 10, and each divided area is allocated according to the data type. It is also possible to set the transfer timing according to the node type and the data type.
この実施の形態によれば、ネットワークに接続される他ノードとの通信に使用されるデータを格納するネットワーク用バッファメモリ14を設け、このネットワーク用バッファメモリ14へのデータの転送処理を、DMAを用いて行うようにしたので、他ノードとの間のデータ転送をCPU11が処理する必要がなくなり、CPU11にかかる負荷を従来に比して削減することができるという効果を有する。
According to this embodiment, a
また、ネットワーク用バッファメモリ14とメインメモリ12との間のデータ転送は、データごとに予め設定された周期で、DMAを用いて行われるようにしたので、CPU11にかかる負荷を削減することができる。以上のように、従来CPUで実行していたネットワークでのデータ転送処理をCPU11で行わないようにしたので、その分、CPU11全体の動作に余裕ができ、その他の動作処理に振り向けることができる。そして、余った時間を短縮化することができるため、リンクスキャンタイムも従来に比して短くすることができる。
In addition, since data transfer between the
さらに、CPU11が処理する際に必要なデータのみをメインメモリ12に転送することで、全てのデータをメインメモリ12に転送する場合に比して、無駄を省き、効率のよいデータ転送を実現することができる。
Furthermore, by transferring only the data necessary for processing by the CPU 11 to the
以上のように、この発明にかかるデータ転送制御装置は、リアルタイムでデータの更新が必要なノードがネットワークを介して接続された制御システムに有用である。 As described above, the data transfer control device according to the present invention is useful for a control system in which nodes that require data update in real time are connected via a network.
10,10A〜10C ノード
11 CPU
12 メインメモリ
13 ネットワークインタフェース
14 ネットワーク用バッファメモリ
15 バッファメモリ用DMAコントローラ
16 DMAコントローラ
17 DMA起動タイミングカウンタ
30 ネットワーク
10, 10A-10C Node 11 CPU
12 Main memory 13
Claims (3)
前記他のノードからのデータを用いて演算を行うとともに、前記他のノードに送信するデータを生成する中央演算処理手段と、
前記中央演算処理手段によって使用されまたは生成されるデータを、前記ネットワークに接続されるノードごとに設けられる格納領域に記憶する主記憶手段と、
前記ネットワークに接続されるノードごとに設けられた格納領域に、リンクスキャンの周期ごとに前記他のノードから受信したデータと、前記中央演算処理手段によって処理され、前記他のノードに所定の周期ごとに送信するデータと、を記憶するネットワーク用一時記憶手段と、
前記ネットワークに接続される他のノードから受信したデータを前記ネットワーク用一時記憶手段に転送する一時記憶手段用転送制御手段と、
前記中央演算処理手段によってデータが使用される頻度または前記データが生成される頻度に応じて前記リンクスキャンの周期の自然数倍に設定される転送周期を、前記ネットワークに接続されるノードごとに保持した転送設定情報に基づいて、前記ノードごとのデータについて前記主記憶手段と前記ネットワーク用一時記憶手段との間で転送を行う転送制御手段と、
を備えることを特徴とするデータ転送制御装置。 A data transfer control device that transmits and receives data in a cycle of link scan with other nodes connected to the network, and performs arithmetic processing using the data,
A central processing means for performing calculations using data from the other nodes and generating data to be transmitted to the other nodes;
Main storage means for storing data used or generated by the central processing means in a storage area provided for each node connected to the network ;
In a storage area provided for each node connected to the network, the data received from the other node for each link scan period and the central processing unit are processed by the central processing unit, and the other node is subjected to a predetermined period. Data to be transmitted to the network, temporary storage means for storing the network,
Transfer control means for temporary storage means for transferring data received from other nodes connected to the network to the temporary storage means for network;
A transfer cycle that is set to a natural number multiple of the cycle of the link scan according to the frequency at which data is used by the central processing means or the frequency at which the data is generated is maintained for each node connected to the network Transfer control means for transferring the data for each node between the main storage means and the network temporary storage means based on the transfer setting information that has been made ;
A data transfer control device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007144840A JP4854598B2 (en) | 2007-05-31 | 2007-05-31 | Data transfer control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007144840A JP4854598B2 (en) | 2007-05-31 | 2007-05-31 | Data transfer control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008299581A JP2008299581A (en) | 2008-12-11 |
| JP4854598B2 true JP4854598B2 (en) | 2012-01-18 |
Family
ID=40173057
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007144840A Expired - Fee Related JP4854598B2 (en) | 2007-05-31 | 2007-05-31 | Data transfer control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4854598B2 (en) |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03182975A (en) * | 1989-12-12 | 1991-08-08 | Fujitsu Ltd | System for controlling reading of picture memory |
| JP2703417B2 (en) * | 1991-04-05 | 1998-01-26 | 富士通株式会社 | Receive buffer |
| JPH08153035A (en) * | 1994-11-29 | 1996-06-11 | Canon Inc | Shared memory device |
| JPH08190411A (en) * | 1995-01-12 | 1996-07-23 | Mitsubishi Electric Corp | Data communication method |
| JPH11250633A (en) * | 1998-02-27 | 1999-09-17 | Sony Corp | Recording medium and recording device |
| JP2000004243A (en) * | 1998-06-15 | 2000-01-07 | Mitsubishi Electric Corp | Data communication method of programmable controller and programmable controller |
| US6526451B2 (en) * | 1998-09-30 | 2003-02-25 | Stmicroelectronics, Inc. | Method and network device for creating circular queue structures in shared memory |
| JP4032646B2 (en) * | 2000-12-26 | 2008-01-16 | 三菱電機株式会社 | Network time adjustment method and control system |
| US7930422B2 (en) * | 2004-07-14 | 2011-04-19 | International Business Machines Corporation | Apparatus and method for supporting memory management in an offload of network protocol processing |
-
2007
- 2007-05-31 JP JP2007144840A patent/JP4854598B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008299581A (en) | 2008-12-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2012064021A (en) | Communication system, master device and slave device, and communication method | |
| CN102112972B (en) | Multiprocessor system and method for controlling same | |
| US20170177509A1 (en) | Host controller and program executed by host controller | |
| JP2022011810A (en) | Extension module, cpu module, system and communication method | |
| JP6290761B2 (en) | Data transfer control system, data transfer control method, and data transfer control program | |
| CN107018087A (en) | Data communications method and system | |
| KR101994929B1 (en) | Method for operating collective communication and collective communication system using the same | |
| CN110169017B (en) | Control device and communication device | |
| JP4854598B2 (en) | Data transfer control device | |
| CN110278716A (en) | PLC, network unit, CPU unit, and data transfer method | |
| CN110178344B (en) | Control device and communication device | |
| JP2017027539A (en) | Programmable controller | |
| WO2023145391A1 (en) | Relay device, program, and relay method | |
| JP7294912B2 (en) | control system | |
| CN113032301B (en) | Memory controller, system on chip and electronic device | |
| CN113032300A (en) | Data transmission control method | |
| JP2007506174A (en) | Integrated circuit having a plurality of communication digital signal processors | |
| KR20230119306A (en) | Memory access method | |
| JP2006119724A (en) | CPU system, bus bridge, control method thereof, and computer system | |
| CN117371249B (en) | Bandwidth parameter setting method, chip design method, device and related equipment | |
| JP4320622B2 (en) | node | |
| KR100584583B1 (en) | Serial bus control device and method | |
| JP7226084B2 (en) | Information processing equipment | |
| CN106687930A (en) | Method, device and system for deciding on a distribution path of a task | |
| US11263046B2 (en) | Semiconductor device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090205 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110621 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110818 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110927 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111025 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141104 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4854598 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |