JP2002297210A - Data transmitter - Google Patents

Data transmitter

Info

Publication number
JP2002297210A
JP2002297210A JP2001102813A JP2001102813A JP2002297210A JP 2002297210 A JP2002297210 A JP 2002297210A JP 2001102813 A JP2001102813 A JP 2001102813A JP 2001102813 A JP2001102813 A JP 2001102813A JP 2002297210 A JP2002297210 A JP 2002297210A
Authority
JP
Japan
Prior art keywords
data
programmable controller
data transmission
transmission device
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.)
Granted
Application number
JP2001102813A
Other languages
Japanese (ja)
Other versions
JP3751536B2 (en
Inventor
Osamu Shibamiya
理 柴宮
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001102813A priority Critical patent/JP3751536B2/en
Publication of JP2002297210A publication Critical patent/JP2002297210A/en
Application granted granted Critical
Publication of JP3751536B2 publication Critical patent/JP3751536B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)
  • Information Transfer Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data transmitter capable of preventing the deterioration of processing performance by reducing the increase of the load of a programmable controller and a data transmitter as much as possible even when the quantity of a common memory is increased in a data transmitter for transferring data with the other device in a common memory system. SOLUTION: Only a data part required by a programmable controller 10 in a common memory 25A is transferred to a programmable controller memory 23 for transfer, and the programmable controller 10 reads the programmable controller memory 23 for transfer in a prescribed timing. Thus, the increase of a data transfer load between the programmable controller 10 and a data transmitter 20 can be restrained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はコモンメモリ方式を
用いて他装置とデータの授受を行うデータ伝送装置に係
り、特にプログラマブルコントローラに適用するデータ
伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission apparatus for exchanging data with another apparatus using a common memory system, and more particularly to a data transmission apparatus applied to a programmable controller.

【0002】[0002]

【従来の技術】まず、コモンメモリ方式を使用するデー
タ伝送装置で、特にプログラマブルコントローラに適用
するデータ伝送装置について説明する。
2. Description of the Related Art First, a data transmission device using a common memory system, particularly a data transmission device applied to a programmable controller will be described.

【0003】図2に示すように、データの交換を行う複
数台のデータ伝送装置1(1A、1B、1C)において、
各データ伝送装置1A、1B、1Cがそれぞれ内部に共通
のメモリ(コモンメモリ)2A、2B、2Cを持つ。デー
タ伝送装置1Aがコモンメモリ2 A上のエリアAに対して
データを書き込むと、他装置1B、1Cのコモンメモリ2
B、2C上のエリアAにデータ伝送装置1Aが書き込んだ
データが反映される。データ伝送装置1B、1Cがそれぞ
れのコモンメモリ2B、2C上のエリアAを読み出すこと
でデータの交換を実現している。この方式をコモンメモ
リ方式と呼んでいる。
[0003] As shown in FIG.
Several data transmission devices 1 (1A, 1B, 1C)
Each data transmission device 1A, 1B, 1CAre common to each inside
Memory (common memory) 2A, 2B, 2Chave. Day
Data transmission device 1AIs common memory 2 AFor area A above
When the data is written, the other device 1B, 1CCommon memory 2
B, 2CData transmission device 1 in area A aboveAWrote
The data is reflected. Data transmission device 1B, 1CEach
Common memory 2B, 2CReading area A above
Is used to exchange data. Common memo
This is called the re-method.

【0004】データ伝送装置1のコモンメモリ2をプロ
グラマブルコントローラ3で取り扱う場合、図3に示す
ように、プログラマブルコントローラ3側にデータ伝送
装置1用に用意したメモリエリア4と、コモンメモリ2
とを1対1で対応させておく。
When the common memory 2 of the data transmission device 1 is handled by the programmable controller 3, as shown in FIG. 3, a memory area 4 prepared for the data transmission device 1 and a common memory 2 are provided on the programmable controller 3 side.
Are made to correspond one-to-one.

【0005】プログラマブルコントローラ3のユーザプ
ログラム5はデータ伝送装置用に用意したメモリエリア
4に対して、送信するデータを書き込み、他装置が書き
込んだデータを読み込むようにしている。他装置が書き
込んだデータの中で、該当プログラマブルコントローラ
3に必要なデータは、ユーザプログラム5で選別する必
要がある。
A user program 5 of the programmable controller 3 writes data to be transmitted to a memory area 4 prepared for a data transmission device, and reads data written by another device. Among the data written by the other devices, data necessary for the corresponding programmable controller 3 needs to be selected by the user program 5.

【0006】プログラマブルコントローラ3は、データ
伝送装置1用に用意したメモリエリア4とコモンメモリ
2の内容を、一定周期(プログラマブルコントローラ3
の制御周期、等)で更新している。この場合、データ伝
送装置1のデータ交換周期(装置1Aがコモンメモリに
書き込みを行ってから再び装置1Aがコモンメモリに書
き込みを行うまで)とプログラマブルコントローラ3の
制御周期は、通常無関係である。
[0006] The programmable controller 3 stores the contents of the memory area 4 and the common memory 2 prepared for the data transmission apparatus 1 in a fixed cycle (programmable controller 3).
Control cycle, etc.). In this case, the control period of the data exchange period (device 1 A until the apparatus again 1 A from writing to the common memory writes to common memory) and the programmable controller 3 of the data transmission apparatus 1 is usually irrelevant .

【0007】データ伝送装置1のコモンメモリ2の量が
大量になった場合、プログラマブルコントローラ3側の
データ伝送装置用メモリエリア4もコモンメモリ2の量
に合わせて増やす必要がある。さもなければ、図4に示
すように、コモンメモリ2の一部にプログラマブルコン
トローラ3側のデータ伝送装置用メモリエリア4を割り
当てる方法がある。
When the amount of the common memory 2 of the data transmission device 1 becomes large, the data transmission device memory area 4 of the programmable controller 3 also needs to be increased according to the amount of the common memory 2. Otherwise, as shown in FIG. 4, there is a method of allocating the memory area 4 for the data transmission device on the programmable controller 3 side to a part of the common memory 2.

【0008】しかしながら、上述の図3、図4に示すい
ずれの場合においても、プログラマブルコントローラ3
側のデータ伝送装置用メモリエリア4とコモンメモリ2
の量が増えた場合、データ更新にかかる処理が増えるの
で、プログラマブルコントローラ3およびデータ伝送装
置1の負荷が増加し、処理性能が悪化する。このことに
関し、従来のデータ伝送装置について、更に説明する。
However, in any of the cases shown in FIGS. 3 and 4, the programmable controller 3
Memory area 4 and common memory 2 for data transmission device on the side
When the amount of data increases, the processing for updating the data increases, so that the loads on the programmable controller 3 and the data transmission device 1 increase, and the processing performance deteriorates. In this regard, a conventional data transmission device will be further described.

【0009】図5は、従来のデータ伝送装置の構成を示
すブロック図である。プログラマブルコントローラ40
は、データ伝送装置50にデータ授受が可能なように接
続されている。データ伝送装置50は伝送路60に接続
され、他のデータ伝送装置(図示せず)との間でコモン
メモリ方式のデータ伝送を行うようになっている。
FIG. 5 is a block diagram showing a configuration of a conventional data transmission device. Programmable controller 40
Are connected to the data transmission device 50 so that data can be exchanged. The data transmission device 50 is connected to a transmission line 60, and performs data transmission of a common memory system with another data transmission device (not shown).

【0010】プログラマブルコントローラ40は、内部
にデータ伝送装置指示エリア41を備え、データ伝送装
置50のプログラマブルコントローラ指示受付部51に
対して、データ伝送装置の動作に関する指示を発行でき
る。また、データ伝送装置情報エリア42を備え、デー
タ伝送装置50の状態表示部52のデータを表示するこ
とができる。また、データ伝送装置50のコモンメモリ
53上のデータを反映するデータ伝送装置用メモリ43
を備える。
The programmable controller 40 includes a data transmission device instruction area 41 therein, and can issue an instruction relating to the operation of the data transmission device to the programmable controller instruction reception unit 51 of the data transmission device 50. In addition, a data transmission device information area 42 is provided, and data of the status display unit 52 of the data transmission device 50 can be displayed. Further, the data transmission device memory 43 that reflects data on the common memory 53 of the data transmission device 50.
Is provided.

【0011】データ伝送装置50は、プログラマブルコ
ントローラ指示受付部51と、状態表示部52と、コモ
ンメモリ53と、制御部54と、データ伝送装置50の
動作データや伝送データを格納するシステムメモリ55
と、システムメモリ55のデータを伝送路60に送信
し、伝送路60から受信データをシステムメモリ55に
転送するネットワークインタフェース56とを備えてい
る。ここでプログラマブルコントローラ指示受付部5
1、状態表示部52、コモンメモリ53は、データ伝送
装置50およびプログラマブルコントローラ40の両方
からアクセスできるメモリエリアである。
The data transmission device 50 includes a programmable controller instruction receiving unit 51, a status display unit 52, a common memory 53, a control unit 54, and a system memory 55 for storing operation data and transmission data of the data transmission device 50.
And a network interface 56 for transmitting data in the system memory 55 to the transmission line 60 and transferring received data from the transmission line 60 to the system memory 55. Here, the programmable controller instruction receiving unit 5
1. The status display unit 52 and the common memory 53 are memory areas that can be accessed from both the data transmission device 50 and the programmable controller 40.

【0012】このような構成において、データ伝送装置
50では、伝送路60から入ってきた受信データをシス
テムメモリ55上で成形してコモンメモリ53に転送し
ている。しかし、プログラマブルコントローラ40のデ
ータ伝送装置用メモリ43とデータ伝送装置50のコモ
ンメモリ53の量が増えた場合、データ更新にかかる処
理が増えるので、プログラマブルコントローラ40およ
びデータ伝送装置50の負荷が増加し、処理性能が悪化
する。
In such a configuration, in the data transmission device 50, the received data input from the transmission line 60 is formed on the system memory 55 and transferred to the common memory 53. However, when the amount of the data transmission device memory 43 of the programmable controller 40 and the amount of the common memory 53 of the data transmission device 50 are increased, the processing for updating the data is increased, so that the load on the programmable controller 40 and the data transmission device 50 is increased. , The processing performance deteriorates.

【0013】[0013]

【発明が解決しようとする課題】上述のように、コモン
メモリ方式により他装置とデータの授受を行う従来のデ
ータ伝送装置50においては、コモンメモリ50上で他
装置がデータを書き込むエリアのデータの全てをプログ
ラマブルコントローラ40側に提供しているため、プロ
グラマブルコントローラ40のデータ伝送装置用メモリ
43とデータ伝送装置50のコモンメモリ53の量が増
えた場合、データ更新にかかる処理が増えるので、プロ
グラマブルコントローラ40およびデータ伝送装置50
の負荷が増加し、処理性能が悪化するという問題点があ
った。
As described above, in the conventional data transmission device 50 for exchanging data with another device by the common memory system, the data in the area where the other device writes data on the common memory 50 is described. Since everything is provided to the programmable controller 40 side, when the amount of the memory 43 for the data transmission device of the programmable controller 40 and the amount of the common memory 53 of the data transmission device 50 increase, the processing for updating the data increases. 40 and data transmission device 50
However, there is a problem that the load on the device increases and the processing performance deteriorates.

【0014】そこで、本発明の目的は、コモンメモリ方
式により他装置とデータの授受を行うデータ伝送装置に
おいて、コモンメモリの量が増えた場合でも、プログラ
マブルコントローラおよびデータ伝送装置の負荷の増加
をできるだけ抑制し、処理性能の悪化を防止することが
可能なデータ伝送装置を提供することである。
It is an object of the present invention to provide a data transmission apparatus for transmitting and receiving data to and from another apparatus by a common memory system, even if the amount of common memory is increased, to minimize the load on the programmable controller and the data transmission apparatus. An object of the present invention is to provide a data transmission device capable of suppressing the deterioration of processing performance.

【0015】[0015]

【課題を解決するための手段】前記課題を解決するた
め、請求項1に記載の発明は、プログラマブルコントロ
ーラに接続して使用され、コモンメモリ方式により他装
置とデータの授受を行うデータ伝送装置において、コモ
ンメモリ上で他装置がデータを書き込むエリアの中で、
プログラマブルコントローラ側に必要なデータのみを提
供するデータ提供手段を備えたことを特徴とするデータ
伝送装置である。
According to an aspect of the present invention, there is provided a data transmission apparatus connected to a programmable controller for transmitting and receiving data to and from another apparatus by a common memory system. In the area where other devices write data on the common memory,
A data transmission device comprising a data providing unit for providing only necessary data to a programmable controller.

【0016】請求項1に記載の発明によれば、コモンメ
モリ上で他装置がデータを書き込むエリアの中で、プロ
グラマブルコントローラ側に必要なデータのみを提供す
るので、コモンメモリの量が増えた場合でも、プログラ
マブルコントローラおよびデータ伝送装置の負荷の増加
をできるだけ抑制し、処理性能の悪化を防止することが
できる。
According to the first aspect of the present invention, only necessary data is provided to the programmable controller in the area where the other device writes data on the common memory. However, an increase in the load on the programmable controller and the data transmission device can be suppressed as much as possible, and deterioration of the processing performance can be prevented.

【0017】また、請求項2に記載の発明は、請求項1
に記載のデータ伝送装置において、プログラマブルコン
トローラからの指示を受付ける指示受付手段を備え、デ
ータ提供手段は指示受付手段により受付けたプログラマ
ブルコントローラからの指示に従ってプログラマブルコ
ントローラ側に必要なデータを提供するものであること
を特徴とするデータ伝送装置である。
Further, the invention described in claim 2 is the first invention.
The data transmission device according to the above, further comprising an instruction receiving means for receiving an instruction from the programmable controller, wherein the data providing means provides necessary data to the programmable controller according to the instruction from the programmable controller received by the instruction receiving means. A data transmission device characterized in that:

【0018】請求項2に記載の発明によれば、プログラ
マブルコントローラ側に必要なデータを、プログラマブ
ルコントローラからの指示に従って提供することができ
る。
According to the second aspect of the present invention, data necessary for the programmable controller can be provided in accordance with an instruction from the programmable controller.

【0019】更に、請求項3に記載の発明は、請求項1
または請求項2に記載のデータ伝送装置において、コモ
ンメモリ上のデータの更新情報または変化情報をプログ
ラマブルコントローラに提供する手段を備えたことを特
徴とするデータ伝送装置である。
Further, the invention described in claim 3 is the first invention.
Alternatively, the data transmission apparatus according to claim 2, further comprising means for providing update information or change information of data on the common memory to the programmable controller.

【0020】請求項3に記載の発明によれば、プログラ
マブルコントローラが提供された更新情報または変化情
報に基づいて、提供されるプログラマブルコントローラ
側に必要なデータを読み出すことができるので、必要な
データを読み出す動作を少なくすることができ、プログ
ラマブルコントローラとデータ伝送装置の負担を更に軽
減することができる。
According to the third aspect of the present invention, the necessary data can be read out by the programmable controller based on the provided update information or change information. The number of read operations can be reduced, and the burden on the programmable controller and the data transmission device can be further reduced.

【0021】[0021]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0022】(一実施形態)図1は本発明の一実施形態
に係るデータ伝送装置のブロック図である。プログラマ
ブルコントローラ10は、データ伝送装置20にデータ
授受が可能なように接続されている。データ伝送装置2
0は伝送路30に接続され、他のデータ伝送装置(図示
せず)との間でコモンメモリ方式のデータ伝送を行うよ
うになっている。
(One Embodiment) FIG. 1 is a block diagram of a data transmission apparatus according to one embodiment of the present invention. The programmable controller 10 is connected to the data transmission device 20 so that data can be exchanged. Data transmission device 2
Numeral 0 is connected to the transmission line 30, and performs data transmission of a common memory system with another data transmission device (not shown).

【0023】プログラマブルコントローラ10は、内部
にデータ伝送装置指示エリア11を備え、データ伝送装
置20のプログラマブルコントローラ指示受付部21に
対して、データ伝送装置20の動作に関する指示を発行
できる。また、データ伝送装置情報エリア12を備え、
データ伝送装置20の状態表示部22のデータを表示す
ることができる。また、データ伝送装置20のプログラ
マブルコントローラ転送用メモリ23上のデータを反映
するデータ伝送装置用メモリエリア13を備える。
The programmable controller 10 has a data transmission device instruction area 11 therein, and can issue an instruction relating to the operation of the data transmission device 20 to the programmable controller instruction reception unit 21 of the data transmission device 20. In addition, a data transmission device information area 12 is provided,
The data of the status display unit 22 of the data transmission device 20 can be displayed. In addition, a data transmission device memory area 13 that reflects data on the programmable controller transfer memory 23 of the data transmission device 20 is provided.

【0024】データ伝送装置20は、プログラマブルコ
ントローラ指示受付部21と、状態表示部22と、プロ
グラマブルコントローラ転送用メモリ23と、制御部2
4と、データ伝送装置20の動作データや伝送データを
格納するシステムメモリ25と、システムメモリ25内
に設けられたコモンメモリ25Aと、システムメモリ2
5のデータを伝送路30に送信し、伝送路30から受信
データをシステムメモリ25に転送するネットワークイ
ンタフェース26とを備えている。ここでプログラマブ
ルコントローラ指示受付部21、状態表示部22、プロ
グラマブルコントローラ転送用メモリ23は、データ伝
送装置20およびプログラマブルコントローラ10の両
方からアクセスできるメモリエリアである。
The data transmission device 20 includes a programmable controller instruction receiving unit 21, a status display unit 22, a programmable controller transfer memory 23,
4, a system memory 25 for storing operation data and transmission data of the data transmission device 20, a common memory 25A provided in the system memory 25, and a system memory 2
And a network interface 26 for transmitting data No. 5 to the transmission line 30 and transferring received data from the transmission line 30 to the system memory 25. Here, the programmable controller instruction receiving unit 21, the status display unit 22, and the programmable controller transfer memory 23 are memory areas accessible from both the data transmission device 20 and the programmable controller 10.

【0025】本実施形態の構成を示す図1において、従
来技術を示す図4との相違点は、従来技術におけるコモ
ンメモリ53が、本実施形態においてはコモンメモリエ
リア25Aとしてシステムメモリ25の内部に移ったこ
と、従来技術におけるコモンメモリ53であった部分が
プログラマブルコントローラ転送用メモリ23に変わっ
たことである。このような構成として、コモンメモリ量
が増加してもプログラマブルコントローラとデータ伝送
装置との間のデータ転送負荷の増加をできるだけ抑制す
る。
FIG. 1 showing the configuration of the present embodiment differs from FIG. 4 showing the prior art in that the common memory 53 of the prior art is provided inside the system memory 25 as a common memory area 25A in the present embodiment. That is, the common memory 53 in the related art is replaced with the programmable controller transfer memory 23. With such a configuration, even if the amount of common memory increases, an increase in the data transfer load between the programmable controller and the data transmission device is suppressed as much as possible.

【0026】以上のような構成における本実施形態の動
作を、図1を参照して説明する。従来技術では、伝送路
60から入ってきた受信データをシステムメモリ55上
で成形してコモンメモリ53に転送している。ところ
が、本実施形態では、伝送路30から入ってきた受信デ
ータをシステムメモリ25の中のコモンメモリ25Aで
成形した後、プログラマブルコントローラ10が必要と
するデータ部分のみを、プログラマブルコントローラ転
送用メモリ23に転送する。このようにすることによ
り、コモンメモリ量が増加してもプログラマブルコント
ローラ10とデータ伝送装置20との間のデータ転送負
荷の増加をできるだけ抑制することができる。
The operation of the present embodiment in the above configuration will be described with reference to FIG. In the prior art, the received data coming from the transmission path 60 is shaped on the system memory 55 and transferred to the common memory 53. However, in the present embodiment, after the received data input from the transmission path 30 is formed by the common memory 25A in the system memory 25, only the data portion required by the programmable controller 10 is stored in the programmable controller transfer memory 23. Forward. By doing so, even if the amount of common memory increases, an increase in the data transfer load between the programmable controller 10 and the data transmission device 20 can be suppressed as much as possible.

【0027】プログラマブルコントローラ10が必要と
するデータを、プログラマブルコントローラ10からデ
ータ伝送装置20に通知する方法を説明する。プログラ
マブルコントローラ10内部のユーザプログラムがデー
タ伝送装置指示エリア11を使用して、データ伝送装置
20に「コモンメモリ25Aのアドレスm番地からnワ
ード分を転送」という通知を発行する。ユーザプログラ
ムは本通知をデータ伝送開始前でも、また途中で変更す
るためにデータ伝送中でも発行することが可能である。
またプログラマブルコントローラ転送用メモリ23の範
囲(容量)の許す限り、本通知を繰り返し(更に追加し
て)発行可能とする。
A method for notifying the data transmission device 20 of data required by the programmable controller 10 from the programmable controller 10 will be described. The user program in the programmable controller 10 uses the data transmission device instruction area 11 to issue a notification to the data transmission device 20 that "n words are transferred from the address m of the common memory 25A". The user program can issue this notification even before the start of data transmission, or even during data transmission to change the notification midway.
This notification can be repeatedly (and additionally) issued as long as the range (capacity) of the programmable controller transfer memory 23 permits.

【0028】プログラマブルコントローラ指示受付部2
1で本通知を受付けたデータ伝送装置20においては、
制御部24の制御により、コモンメモリ25A中の本通
知で指示された部分のデータをプログラマブルコントロ
ーラ転送用メモリ23に転送する。
Programmable controller instruction receiving unit 2
In the data transmission device 20 that has received this notification in step 1,
Under the control of the control unit 24, the data of the portion in the common memory 25A designated by this notification is transferred to the programmable controller transfer memory 23.

【0029】プログラマブルコントローラ10からデー
タ伝送装置20に対して指示を発行することは、従来技
術でも存在しているが、従来技術では制御上の別の指示
であり、一方、本実施形態ではコモンメモリ25Aの中
で特定の受信エリアを指定する指示を導入している。
The issuance of an instruction from the programmable controller 10 to the data transmission device 20 exists in the prior art, but is another control instruction in the prior art. An instruction for designating a specific reception area in 25A is introduced.

【0030】プログラマブルコントローラ転送用メモリ
23上のデータを、データ伝送装置用メモリエリア13
に反映するタイミング(プログラマブルコントローラ1
0からプログラマブルコントローラ転送用メモリ23上
のデータを読み出すタイミング)は、 (1)プログラマブルコントローラ10の制御周期ごと
にプログラマブルコントローラ10がプログラマブルコ
ントローラ転送用メモリ23を読み出す (2)データ伝送装置20が状態表示部22を使用し
て、データ伝送装置20側のタイミングを通知し、通知
されたタイミングでプログラマブルコントローラ10が
プログラマブルコントローラ転送用メモリ23を読み出
す方法のいずれかを用意する。特に(2)の場合、下記
の2種類の通知方法のいずれかを用意する。 (a)データ伝送装置間でコモンメモリにデータを書き
込む動作を周期的に行っている場合、1周ごとに、プロ
グラマブルコントローラ転送用メモリ55に更新したこ
との通知を発行する。 (b)コモンメモリ25A上で、指定したエリアのデー
タが変化したことを通知する。
The data in the programmable controller transfer memory 23 is transferred to the data transmission device memory area 13.
To be reflected in (Programmable controller 1
The timing at which data on the programmable controller transfer memory 23 is read from 0) is as follows: (1) The programmable controller 10 reads the programmable controller transfer memory 23 for each control cycle of the programmable controller 10 (2) The data transmission device 20 displays the status The timing of the data transmission device 20 is notified by using the unit 22, and one of the methods of preparing the programmable controller 10 to read the programmable controller transfer memory 23 at the notified timing is prepared. In particular, in the case of (2), one of the following two types of notification methods is prepared. (A) When the operation of writing data to the common memory is performed periodically between the data transmission devices, a notice of the update is issued to the programmable controller transfer memory 55 every round. (B) Notifying that the data of the designated area has changed on the common memory 25A.

【0031】プログラマブルコントローラ10の制御周
期より、データ伝送装置間でコモンメモリにデータを書
き込む動作の周期の方が長い場合は、上記(1)の方法
より、上記(2)の(a)の方法の方が、プログラマブ
ルコントローラ10がプログラマブルコントローラ転送
用メモリ23を読み出す動作が少なくなるので、プログ
ラマブルコントローラ10とデータ伝送装置20の負担
が軽減される。また、データ伝送装置間でコモンメモリ
にデータを書き込む動作で常にコモンメモリ25A上の
指定したエリアのデータが変化するとは限らないので、
上記(2)の(b)の方法によりコモンメモリ25A上
で指定したエリアのデータが変化した場合にのみプログ
ラマブルコントローラ10がプログラマブルコントロー
ラ転送用メモリ23を読み出すこととすれば、プログラ
マブルコントローラ10とデータ伝送装置20の負担が
更に軽減される。
When the cycle of the operation of writing data to the common memory between the data transmission devices is longer than the control cycle of the programmable controller 10, the method (a) of the above (2) is more suitable than the method (1). In this case, the operation of the programmable controller 10 reading the programmable controller transfer memory 23 is reduced, so that the burden on the programmable controller 10 and the data transmission device 20 is reduced. In addition, the operation of writing data to the common memory between the data transmission devices does not always change the data in the designated area on the common memory 25A.
If the programmable controller 10 reads the programmable controller transfer memory 23 only when the data in the area specified on the common memory 25A changes by the method (b) of (2), data transmission with the programmable controller 10 is performed. The burden on the device 20 is further reduced.

【0032】(他の実施形態)次に本発明の他の実施形
態について説明する。上述の実施形態においては、プロ
グラマブルコントローラ10が必要とするデータをデー
タ伝送装置20に指示するのに「コモンメモリ25Aの
アドレスm番地からnワード分を転送」という通知を発
行することとしたが、データ伝送装置20内部に、他装
置がコモンメモリ25Aのどの部分にデータを書き込む
かというデータ(マッピングデータ)がある場合、ユー
ザプログラムからのデータ伝送装置20への指示は、
「ノードpの送信エリアで、先頭アドレスm、nワード
分」という指定にする。本実施形態の場合、他装置の送
信エリアが変更になった場合、コモンメモリ25Aから
プログラマブルコントローラ転送用メモリ23に転送す
るデータエリアを再指定する必要は無くなる。
(Other Embodiments) Next, other embodiments of the present invention will be described. In the above-described embodiment, to instruct the data transmission device 20 of the data required by the programmable controller 10, the notification “transfer n words from the address m of the common memory 25 A” is issued. When there is data (mapping data) in which part of the common memory 25A another device writes data in the data transmission device 20, an instruction from the user program to the data transmission device 20 is:
It is designated as “the transmission area of the node p, for the start address m, n words”. In the case of this embodiment, when the transmission area of another device is changed, it is not necessary to re-designate the data area to be transferred from the common memory 25A to the programmable controller transfer memory 23.

【0033】この場合、プログラマブルコントローラ転
送用メモリ23上のデータを、データ伝送装置用メモリ
エリア13に反映するタイミング(プログラマブルコン
トローラ10からプログラマブルコントローラ転送用メ
モリ23上のデータを読み出すタイミング)は、 (1)プログラマブルコントローラ10の制御周期ごと
にプログラマブルコントローラ10がプログラマブルコ
ントローラ転送用メモリ23を読み出す (2)データ伝送装置20が状態表示部22を使用し
て、データ伝送装置20側のタイミングを通知し、通知
されたタイミングでプログラマブルコントローラ10が
プログラマブルコントローラ転送用メモリ23を読み出
す方法のいずれかを用意する。特に(2)の場合、下記
の2種類の通知方法のいずれかを用意する。 (a)データ伝送装置間でコモンメモリにデータを書き
込む動作を周期的に行っている場合、1周ごとに、プロ
グラマブルコントローラ転送用メモリ55に更新したこ
との通知を発行する。 (b)1装置毎のコモンメモリ25A上のデータが変化
したことを通知する。
In this case, the timing at which the data in the programmable controller transfer memory 23 is reflected in the data transmission device memory area 13 (the timing at which the data in the programmable controller transfer memory 23 is read from the programmable controller 10) is: The programmable controller 10 reads the programmable controller transfer memory 23 for each control cycle of the programmable controller 10. (2) The data transmission device 20 uses the status display unit 22 to notify the timing of the data transmission device 20 and notify At this time, the programmable controller 10 prepares one of the methods of reading the programmable controller transfer memory 23. In particular, in the case of (2), one of the following two types of notification methods is prepared. (A) In the case where the operation of writing data to the common memory is performed periodically between the data transmission devices, a notification of the update is issued to the programmable controller transfer memory 55 every round. (B) Notify that the data on the common memory 25A for each device has changed.

【0034】本実施形態においても、プログラマブルコ
ントローラ10の制御周期より、データ伝送装置間でコ
モンメモリにデータを書き込む動作の周期の方が長い場
合は、上記(1)の方法より、上記(2)の(a)の方
法の方が、プログラマブルコントローラ10とデータ伝
送装置20の負担が軽減される。また、上記(2)の
(b)の方法により1装置毎のコモンメモリ25A上の
データが変化した場合にのみプログラマブルコントロー
ラ10がプログラマブルコントローラ転送用メモリ23
を読み出すこととすれば、更に負担が軽減される。
Also in the present embodiment, when the cycle of the operation of writing data to the common memory between the data transmission devices is longer than the control cycle of the programmable controller 10, the above method (1) is used. In the method (a), the burden on the programmable controller 10 and the data transmission device 20 is reduced. Only when the data on the common memory 25A for each device changes by the method (b) of (2), the programmable controller 10
Is read, the burden is further reduced.

【0035】[0035]

【発明の効果】以上説明したように、本発明によれば、
コモンメモリ方式により他機器とデータの授受を行うデ
ータ伝送装置において、コモンメモリの量が増えた場合
でも、プログラマブルコントローラおよびデータ伝送装
置の負荷の増加をできるだけ抑制し、処理性能の悪化を
防止することができる。
As described above, according to the present invention,
In a data transmission device that exchanges data with other devices using the common memory method, even if the amount of common memory increases, the load on the programmable controller and the data transmission device should be suppressed as much as possible to prevent the processing performance from deteriorating. Can be.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施形態に係るデータ伝送装置の
構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a data transmission device according to an embodiment of the present invention.

【図2】 コモンメモリ方式のデータ伝送装置を説明す
るためのブロック図。
FIG. 2 is a block diagram for explaining a common memory type data transmission device.

【図3】 データ伝送装置内のコモンメモリとプログラ
マブルコントローラ内のデータ伝送装置用メモリエリア
の関係を説明するための図。
FIG. 3 is a diagram for explaining a relationship between a common memory in the data transmission device and a memory area for the data transmission device in the programmable controller.

【図4】 データ伝送装置内のコモンメモリとプログラ
マブルコントローラ内のデータ伝送装置用メモリエリア
(コモンメモリの方が大きい場合)の関係を説明するた
めの図。
FIG. 4 is a diagram for explaining a relationship between a common memory in the data transmission device and a memory area for the data transmission device in the programmable controller (when the common memory is larger).

【図5】 従来例の構成を示すブロック図。FIG. 5 is a block diagram showing a configuration of a conventional example.

【符号の説明】[Explanation of symbols]

10…プログラマブルコントローラ 11…データ伝送装置指示エリア 12…データ伝送装置情報エリア 13…データ伝送装置用メモリエリア 20…データ伝送装置 21…プログラマブルコントローラ指示受付部 22…状態表示部 23…プログラマブルコントローラ転送用メモリ 24…制御部 25…システムメモリ 25A…コモンメモリ 26…ネットワークインタフェース 30…伝送路 DESCRIPTION OF SYMBOLS 10 ... Programmable controller 11 ... Data transmission device instruction area 12 ... Data transmission device information area 13 ... Data transmission device memory area 20 ... Data transmission device 21 ... Programmable controller instruction reception part 22 ... Status display part 23 ... Programmable controller transmission memory 24 control unit 25 system memory 25A common memory 26 network interface 30 transmission line

フロントページの続き Fターム(参考) 5B077 DD23 5H220 CC09 CX05 CX09 EE09 EE10 FF03 HH04 JJ12 JJ19 JJ59 5K033 AA03 DB12 5K034 AA02 AA05 DD03 FF04 HH01 HH02 KK12 Continued on front page F term (reference) 5B077 DD23 5H220 CC09 CX05 CX09 EE09 EE10 FF03 HH04 JJ12 JJ19 JJ59 5K033 AA03 DB12 5K034 AA02 AA05 DD03 FF04 HH01 HH02 KK12

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】プログラマブルコントローラに接続して使
用され、コモンメモリ方式により他装置とデータの授受
を行うデータ伝送装置において、コモンメモリ上で他装
置がデータを書き込むエリアの中で、プログラマブルコ
ントローラ側に必要なデータのみを提供するデータ提供
手段を備えたことを特徴とするデータ伝送装置。
In a data transmission device which is connected to a programmable controller and transmits / receives data to / from another device by a common memory system, the data transmission device writes data to the programmable controller in an area where the other device writes data on the common memory. A data transmission device comprising data providing means for providing only necessary data.
【請求項2】請求項1に記載のデータ伝送装置におい
て、プログラマブルコントローラからの指示を受付ける
指示受付手段を備え、前記データ提供手段は前記指示受
付手段により受付けたプログラマブルコントローラから
の指示に従ってプログラマブルコントローラ側に必要な
データを提供するものであることを特徴とするデータ伝
送装置。
2. The data transmission device according to claim 1, further comprising: an instruction receiving unit that receives an instruction from the programmable controller, wherein the data providing unit receives the instruction from the programmable controller in accordance with the instruction received by the instruction receiving unit. A data transmission device for providing data necessary for the data transmission.
【請求項3】請求項1または請求項2に記載のデータ伝
送装置において、コモンメモリ上のデータの更新情報ま
たは変化情報をプログラマブルコントローラに提供する
手段を備えたことを特徴とするデータ伝送装置。
3. The data transmission device according to claim 1, further comprising means for providing update information or change information of data on a common memory to a programmable controller.
JP2001102813A 2001-04-02 2001-04-02 Data transmission equipment Expired - Fee Related JP3751536B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001102813A JP3751536B2 (en) 2001-04-02 2001-04-02 Data transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001102813A JP3751536B2 (en) 2001-04-02 2001-04-02 Data transmission equipment

Publications (2)

Publication Number Publication Date
JP2002297210A true JP2002297210A (en) 2002-10-11
JP3751536B2 JP3751536B2 (en) 2006-03-01

Family

ID=18955960

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001102813A Expired - Fee Related JP3751536B2 (en) 2001-04-02 2001-04-02 Data transmission equipment

Country Status (1)

Country Link
JP (1) JP3751536B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007221292A (en) * 2006-02-15 2007-08-30 Fuji Electric Systems Co Ltd Communication system
JP2014238820A (en) * 2013-05-09 2014-12-18 富士電機株式会社 Shared data definition supporting system, its supporting device and program
JP2015215865A (en) * 2014-04-24 2015-12-03 富士電機株式会社 Programmable controller system, support device thereof and programmable controller
JP2016099899A (en) * 2014-11-25 2016-05-30 富士電機株式会社 Control system, support device of the same, and programmable control device
JP2020173505A (en) * 2019-04-08 2020-10-22 株式会社東芝 Monitoring control system and data transmission device for water treatment facilities

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007221292A (en) * 2006-02-15 2007-08-30 Fuji Electric Systems Co Ltd Communication system
JP2014238820A (en) * 2013-05-09 2014-12-18 富士電機株式会社 Shared data definition supporting system, its supporting device and program
JP2018041514A (en) * 2013-05-09 2018-03-15 富士電機株式会社 Shared data definition supporting system, supporting device of the same, and program
JP2015215865A (en) * 2014-04-24 2015-12-03 富士電機株式会社 Programmable controller system, support device thereof and programmable controller
JP2016099899A (en) * 2014-11-25 2016-05-30 富士電機株式会社 Control system, support device of the same, and programmable control device
JP2020173505A (en) * 2019-04-08 2020-10-22 株式会社東芝 Monitoring control system and data transmission device for water treatment facilities
JP7317554B2 (en) 2019-04-08 2023-07-31 株式会社東芝 Monitoring control system and data transmission device for water treatment facility

Also Published As

Publication number Publication date
JP3751536B2 (en) 2006-03-01

Similar Documents

Publication Publication Date Title
KR100284718B1 (en) Timer manager
JP2002297210A (en) Data transmitter
JPS63215134A (en) Communication control equipment
KR0182342B1 (en) Synchronous memory and information processor having synchronous memory
JPH06274463A (en) Data communication system
JPH0522307A (en) Data transmitter
JP2738314B2 (en) Switching system of N + 1 redundant circuit controller
JP2723245B2 (en) Facsimile storage and switching equipment
JP2944193B2 (en) Data receiving device
JP3259095B2 (en) Data transfer method
JP2576236B2 (en) Communication method of programmable controller
EP1459191B1 (en) Communication bus system
JP2752834B2 (en) Data transfer device
JPS6378260A (en) Input-output device controlling system
JPH04330541A (en) Common data transfer system
JP2547256B2 (en) DMA device
JP2555325B2 (en) Display device
JP2002341907A (en) Method for transmitting/receiving data in blast furnace facility program logic controller
JPS6383854A (en) Data transfer circuit
JPH07143133A (en) Multi-layer protocol processor for common use of memory
JPH01248207A (en) Numerical controller
JPS61232746A (en) Data transferring buffer system
JPH0427571B2 (en)
JPS60258638A (en) Control system of magnetic disk device
JPH02114294A (en) Graphic display device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050819

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051014

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: 20051202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051207

LAPS Cancellation because of no payment of annual fees