JPH0710070B2 - Data transfer device between networks - Google Patents

Data transfer device between networks

Info

Publication number
JPH0710070B2
JPH0710070B2 JP1329260A JP32926089A JPH0710070B2 JP H0710070 B2 JPH0710070 B2 JP H0710070B2 JP 1329260 A JP1329260 A JP 1329260A JP 32926089 A JP32926089 A JP 32926089A JP H0710070 B2 JPH0710070 B2 JP H0710070B2
Authority
JP
Japan
Prior art keywords
network
station
information
data transfer
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1329260A
Other languages
Japanese (ja)
Other versions
JPH03188734A (en
Inventor
俊哉 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1329260A priority Critical patent/JPH0710070B2/en
Publication of JPH03188734A publication Critical patent/JPH03188734A/en
Publication of JPH0710070B2 publication Critical patent/JPH0710070B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はネットワーク間のデータ転送装置に関するも
のである。
TECHNICAL FIELD The present invention relates to a data transfer device between networks.

[従来の技術] 先ず第6図乃至第18図を用いて従来のネットワーク間の
データ転送について説明する。
[Prior Art] First, a conventional data transfer between networks will be described with reference to FIGS. 6 to 18.

第6図は従来のネットワーク全体の構成図であり,図に
おいて(1)はネットワーク1(以下NT1),(2)は
ネットワーク2(以下NT2),(3)はNTI(1)に接続
されているb局,(4)はNT1(1)とNT2(2)の両方
に接続されるa局,(5)はNT2(2)に接続されてい
るc局である。次に,第7図(a)は従来におけるa局
(4)とb局(3)の制御情報を記憶するリンクデバイ
ス1(6)のメモリ領域図であり,第7図(b)は従来
におけるa局(4)とc局(5)の制御情報を記憶する
リンクデバイス2(7)のメモリ領域図である。この第
7図(a)において(8)はa局(4)の制御情報を記
憶するメモリ領域,(9)はb局(3)の制御情報を記
憶するメモリ領域である。また,第7図(b)における
(10)はa局(4)の制御情報を記憶するメモリ領域,
(11)はc局(5)の制御情報を記憶するメモリ領域で
ある。
FIG. 6 is a block diagram of the entire conventional network. In the figure, (1) is connected to network 1 (hereinafter NT1), (2) is connected to network 2 (hereinafter NT2), and (3) is connected to NTI (1). Station b, (4) is station a connected to both NT1 (1) and NT2 (2), and (5) is station c connected to NT2 (2). Next, FIG. 7 (a) is a memory area diagram of a link device 1 (6) for storing control information of station a (4) and station b (3) in the related art, and FIG. 6 is a memory area diagram of a link device 2 (7) storing control information of station a (4) and station c (5) in FIG. In FIG. 7 (a), (8) is a memory area for storing control information of station a (4), and (9) is a memory area for storing control information of station b (3). Further, (10) in FIG. 7 (b) is a memory area for storing the control information of the station a (4),
(11) is a memory area for storing control information of the c station (5).

第8図は従来装置におけるb局(3)の詳細構成図であ
る。図において(12)はb局(3)が制御する被制御
部,(13)はB局(3)の被制御部(12)を制御するユ
ーザ処理手段1,(14)はb局(3)と他局とのデータリ
ンクを行う第1のネットワーク制御手段たるネットワー
ク制御手段1,(15)はリンクデバイス1(6)をメモリ
領域内に持ち,ユーザ処理手段1(13)からもネットワ
ーク制御手段1(14)からもアクセスできる第1の記憶
手段たる記憶手段1である。また,第9図は従来装置に
おけるa局(4)の詳細構成図である。図において(1
6)はa局(4)の制御する被制御部,(17)は被制御
部を制御するユーザ処理手段2,(18)はNT1(1)のデ
ータリンクを行うネットワーク制御手段2,(19)はNT2
(2)のデータリンクを行うネットワーク制御手段3,
(22)はリンクデバイス1(6)とリンクデバイス2
(7)との間であらかじめ定められた手順でデータ転送
を行うネットワーク間データ転送処理手段A,(23)はユ
ーザ処理手段2(17)とネットワーク間データ転送処理
手段A(22)とから構成されるプログラマブルコントロ
ーラ(以下pcと称す),(20)はリンクデバイス1
(6)をメモリ領域内に持ちpc(23)及びネットワーク
制御手段2(18)の両方からアクセスできる第2の記憶
手段たる記憶手段2,(21)はリンクデバイス2(7)を
メモリ領域内に持ちpc(23)及びネットワーク制御手段
3(19)の両方からアクセスできる第3の記憶手段たる
記憶手段3である。
FIG. 8 is a detailed block diagram of station b (3) in the conventional apparatus. In the figure, (12) is a controlled section controlled by the b station (3), (13) is a user processing means for controlling the controlled section (12) of the B station (3), and (14) is a b station (3). ) And a network control means 1 (15) as a first network control means for performing a data link with another station have a link device 1 (6) in a memory area, and the user control means 1 (13) also controls the network. The storage means 1 is a first storage means that can be accessed from the means 1 (14). Further, FIG. 9 is a detailed configuration diagram of the station a (4) in the conventional apparatus. In the figure (1
6) is a controlled unit controlled by the a station (4), (17) is user processing means 2 for controlling the controlled unit, and (18) is network control means 2, (19) for performing data link of NT1 (1). ) Is NT2
Network control means 3 for performing the data link of (2),
(22) is a link device 1 (6) and a link device 2
The inter-network data transfer processing means A, (23) for performing data transfer with the (7) according to a predetermined procedure is composed of the user processing means 2 (17) and the inter-network data transfer processing means A (22). Programmable controller (hereinafter referred to as pc), (20) is the link device 1
The storage means 2, (21), which is the second storage means having (6) in the memory area and accessible by both the pc (23) and the network control means 2 (18), stores the link device 2 (7) in the memory area. The storage means 3 is a third storage means that can be accessed by both the pc (23) and the network control means 3 (19).

第10図は,従来装置におけるb局(3)のハードウエア
構成に基づくブロック図である。図において(45)はNT
1(1)からb局(3)への入力信号,(46)はb局
(3)からNT1(1)への出力信号,(47)はプログラ
マブルコントローラpc(43)のCPU,(48)はシステムプ
ログラムが記憶されているシステムプログラムメモリ,
(49)はユーザプログラムが格納されるユーザプログラ
ムメモリ,(50)はワークエリア等に使われるデータメ
モリ,(51)は被制御部(12)への出力情報と被制御部
(12)からの入力情報を貯えるためのI/Oメモリであ
る。(52)はネットワーク制御手段1(14)のCPU,(5
3)はシステムプログラムが記憶されるシステムプログ
ラムメモリ,(54)はワークエリア等に使われるデータ
メモリ,(55)はNT1(1)に送信データを送信する送
信用コントローラ,(56)NT1(1)から受信データを
受ける受信用コントローラである。
FIG. 10 is a block diagram based on the hardware configuration of station b (3) in the conventional apparatus. In the figure, (45) is NT
1 Input signal from (1) to station b (3), (46) is output signal from station b (3) to NT1 (1), (47) is CPU of programmable controller pc (43), (48) Is the system program memory where the system program is stored,
(49) is a user program memory in which a user program is stored, (50) is a data memory used for a work area, etc. (51) is output information to the controlled part (12) and from the controlled part (12). It is an I / O memory for storing input information. (52) is the CPU of the network control means 1 (14), (5
3) is a system program memory in which the system program is stored, (54) is a data memory used for a work area, etc., (55) is a transmission controller for transmitting transmission data to NT1 (1), (56) NT1 (1 ) Is a receiving controller that receives the received data from

第11図は従来装置における,a局(4)のハードウエア構
成に基づくブロック図である。図において(24)はNT1
(1)からa局(4)への入力信号,(25)はa局
(4)からNT1(1)への出力信号,(26)はNT2(2)
からa局(4)への入力信号,(27)はa局(4)から
NT2(2)への出力信号である。また,(28)はプログ
ラムブルコントローラpc(23)のCPU,(29)はシステム
プログラムが記憶されるシステムプログラムメモリ,
(30)はユーザプログラムが格納されるユーザプログラ
ムメモリ,(31)はワークエリア等に使われるデータメ
モリ,(32)は被制御部(16)への出力情報及び被制御
部(16)から入力情報等を貯えるためのI/Oメモリであ
る。さらに,(33)はネットワーク制御手段2(18)の
CPU(34)はネットワーク制御手段2(18)のシステム
プログラムメモリ,(35)はネットワーク制御手段2
(18)のCPU(33)がワークエリア等として使うデータ
メモリ,(36)はNT1(1)へデータを送出する送信用
コントローラ,(37)はNT1(1)から入力されるデー
タを受信する受信用コントローラである。また,(38)
はネットワーク制御手段3(19)のCPU,(39)はネット
ワーク制御手段3(19)のシステムプログラムメモリ,
(40)はワークエリア等として使われるデータメモリ,
(41)はNT2(2)へデータを送信する送信用コントロ
ーラ,(42)はNT2(2)から入力されるデータを受信
する受信用コントローラである。
FIG. 11 is a block diagram based on the hardware configuration of station a (4) in the conventional apparatus. In the figure, (24) is NT1
Input signal from (1) to station a (4), (25) is output signal from station (4) to NT1 (1), and (26) is NT2 (2)
Signal from station a to station (4), (27) from station a (4)
This is the output signal to NT2 (2). Further, (28) is the CPU of the programmable controller pc (23), (29) is the system program memory in which the system program is stored,
(30) is a user program memory in which a user program is stored, (31) is a data memory used for a work area, etc. (32) is output information to the controlled unit (16) and input from the controlled unit (16) An I / O memory for storing information. Furthermore, (33) is the network control means 2 (18)
The CPU (34) is the system program memory of the network control means 2 (18), and (35) is the network control means 2
A data memory used by the CPU (33) of (18) as a work area, etc., (36) a controller for sending data to the NT1 (1), and (37) receiving data input from the NT1 (1). It is a receiving controller. Also, (38)
Is a CPU of the network control means 3 (19), (39) is a system program memory of the network control means 3 (19),
(40) is a data memory used as a work area,
Reference numeral (41) is a transmission controller for transmitting data to NT2 (2), and (42) is a reception controller for receiving data input from NT2 (2).

第12図は従来装置におけるネットワーク間データ転送の
全体構成の一例を示すブロック図であり,第6図に示し
た各ネットワークの局数を増加した例を示している。第
12図において,(58)はネットワーク1a,(59)はネッ
トワーク2a,(60)は2つのネットワーク(58),(5
9)に接続され,2つのネットワーク(58),(59)間の
データ転送を行う第9図および第11図に示される構成の
A局である。(61)〜(66)は第8図および第10図に示
される構成のB局,C局,D局,E局,G局である。第12図の例
ではネットワーク1a(58)は,共通局であるA局(6
0),B局(61),C局(62),D局(63)の4つの局から構
成され,ネットワーク2a(59)共通局であるA局(6
0),E局(64),F局(65),G局(66)の4つの局から構
成されている。
FIG. 12 is a block diagram showing an example of the overall configuration of data transfer between networks in a conventional device, and shows an example in which the number of stations in each network shown in FIG. 6 is increased. First
In Fig. 12, (58) is the network 1a, (59) is the network 2a, and (60) is the two networks (58), (5).
It is station A connected to 9) and configured to transfer data between two networks (58) and (59) as shown in FIGS. 9 and 11. (61) to (66) are B station, C station, D station, E station, and G station having the configurations shown in FIGS. 8 and 10. In the example of FIG. 12, the network 1a (58) is the common station A station (6
0), B station (61), C station (62), D station (63), which is a common station of network 2a (59).
0), E station (64), F station (65), G station (66).

次に,従来技術の内容を明らかにするために,第12図に
示すネットワークにおいてA局(60)〜G局(66)の各
局に備えられているネットワーク制御手段1(14),ネ
ットワーク制御手段2(18),およびネットワーク制御
手段3(19)の動作を述べ,ネットワーク1a(58)内
と,ネットワーク2a(59)内における情報伝達方法につ
いて説明する。ネットワーク1a(58)内の情報伝達方法
とネットワーク2a(59)内の情報伝達方法は同じなので
ネットワーク1a(58)について説明する。A局(60)は
第9図,第11図に示すように記憶手段2(20)を持って
いる。この記憶手段2(20)はネットワーク制御手段2
(18)とpc(23)に接続され,pc(23)側からもネット
ワーク制御手段2(18)からもアクセスできる。B局
(61)〜D局(63)は同様にユーザ処理手段1(13)か
らもネットワーク制御手段1(14)からもアクセスでき
る記憶手段1(15)を持っている。これらの記憶手段1
(14),2(20)は第13図(a)に示されるメモリ領域を
有するリンクデバイス1a(67)を持っている。このリン
クデバイス1a(67)のメモリ領域はネットワーク1a(5
8)内にある局数に分割され,分割されたそれぞれの領
域は,それぞれの局に振り当てられ,当該局の持つ被制
御装置に関する入出力情報,内部リレー情報などを記憶
している。A局(60)に振り当てられた領域には,被制
御装置に関する入出力情報,内部リレー情報の他に,ネ
ットワーク1a(58)とネットワーク2a(59)間のデータ
転送のための領域を含んでいる。第13図(a)において
(68)はA局(60)に振り当てられたA局の情報領域,
(69)はB局(61)に振り当てられたB局の情報領域,
(70)はC局(62)に振り当てられたC局の情報領域,
(71)はD局(63)に振り当てられたD局の情報領域で
ある。A局(60)〜D局(63)のいずれの局もリンクデ
バイス1a(67)を持ち,自局の情報領域には自局のpc
(13),(23)により書き込みができるが,他局の情報
領域には自局のpc(13)(23)からは読出しはできるが
書込みはできないように構成されている。例えばA局の
情報領域(68)に対しては,A局(60)は書き込みはでき
るが,B局(61)〜D局(63)は書き込みができず,A局
(60)はB局の情報領域(69)〜D局の情報領域(71)
に対しては書き込みはできない。なお,A局(60)はA局
の情報領域(68)〜D局(63)の情報領域(71)の読出
しはできるようになっている。また,ネットワーク1a
(58)内の各局(60),(61),(62),(63)の持つ
リンクデバイス1a(67)の内容は常時同一になるように
制御されている。ネットワーク内の各局がリンクデバイ
ス内に常時ネットワーク内のすべての局の情報を持つ通
信制御方法は,各局の持つリンクデバイスのメモリ容量
を大きくするか,ネットワーク内の交信が簡素化され結
果として通信速度が向上する場合が多いので一般に広く
利用されている方法である。
Next, in order to clarify the contents of the prior art, the network control means 1 (14) and the network control means provided in each of the stations A (60) to G (66) in the network shown in FIG. 2 (18) and the operation of the network control means 3 (19) will be described, and the information transmission method in the network 1a (58) and the network 2a (59) will be described. Since the information transmission method in the network 1a (58) and the information transmission method in the network 2a (59) are the same, the network 1a (58) will be described. The station A (60) has a storage means 2 (20) as shown in FIGS. This storage means 2 (20) is the network control means 2
It is connected to (18) and pc (23) and can be accessed from the pc (23) side as well as from the network control means 2 (18). Similarly, stations B (61) to D (63) have storage means 1 (15) that can be accessed by the user processing means 1 (13) and the network control means 1 (14). These storage means 1
(14) and 2 (20) have a link device 1a (67) having the memory area shown in FIG. 13 (a). The memory area of this link device 1a (67) is network 1a (5
8) is divided into the number of stations, and each divided area is allocated to each station and stores input / output information about the controlled device of the station, internal relay information, and the like. The area allocated to the station A (60) includes an area for data transfer between the network 1a (58) and the network 2a (59) in addition to the input / output information and internal relay information about the controlled device. I'm out. In FIG. 13 (a), (68) is the information area of station A assigned to station A (60),
(69) is the information area of station B assigned to station B (61),
(70) is the information area of C station assigned to C station (62),
(71) is the information area of the D station allocated to the D station (63). Each of the stations A (60) to D (63) has a link device 1a (67), and its own information area has a pc of its own station.
Although it can be written by (13) and (23), the information area of another station can be read from its own pc (13) (23) but not written. For example, in the information area (68) of station A, station A (60) can write, but stations B (61) to D (63) cannot write, and station A (60) is station B. Information Area (69) ~ Station D Information Area (71)
Cannot be written to. The A station (60) can read the information area (68) of the A station to the information area (71) of the D station (63). Also, network 1a
The contents of the link device 1a (67) of each station (60), (61), (62), (63) in (58) are controlled so that they are always the same. The communication control method in which each station in the network has the information of all stations in the network in the link device at all times is to increase the memory capacity of the link device in each station or to simplify the communication in the network, resulting in the communication speed. Is a method that is generally widely used because it often improves.

ネットワーク1a(58)における各局(60),(61),
(62),(63)の持つリンクデバイス1a(67)の内容を
同一にする動作は,第9図,第11図におけるネットワー
ク制御手段2(18),および第8図,第10図におけるネ
ットワーク制御手段1(14)が行っている。第14図はそ
の動作の一例を示すフロー図である。第14図のフロー図
において,先ずステップ(S100)で,ネットワーク1a
(58)内のデータ交信を開始すると,次のステップ(S1
01)において,ネットワーク1a(58)内の局のうち送信
権を持つ唯一の局(以下親局と称す)が,リンクデバイ
ス1a(67)うち親局に割当てられたメモリ領域の内容を
ネットワーク1a(58)内の送信権を持たない局(以下子
局と称す)に送信する。例えばB局(61)が親局であれ
ばB局の設定範囲(69)の内容をA局(60),C局(62)
およびD局(63)に送信する。次にステップ(S102)に
おいて,ステップ(S101)で親局が送信したデータを受
取った子局は,自局の持つリンクデバイス1a(67)のメ
モリ領域の中で親局の情報領域となっている部分に,受
信したデータを書き込む。,例えばB局(61)親局とな
っているときは,A局(60),C局(62),およびD局(6
3)が持つリンクデバイス1a(67)の中のB局の情報領
域(69)に受信したデータを書き込む。続いて,ステッ
プ(S103)では,ネットワーク1a(58)内のすべての局
に対して送信を終了したかを判定し,終了していないと
きは,ステップ(S104)で親局が送信する送信先の子局
を別のまだ送信を行っていない子局に変えステップ(S1
01)に戻す。ステップ(S103)で,ネットワーク1a(5
8)内のすべての子局に対して送信が終了すれば次のス
テップ(S105)に進む。ネットワーク1a(58)内の局は
すべて送信権を持つ親局になり得るようになっていて,
次のステップ(S106)に示すように今まで子局であった
ネットワーク1a(58)内の1つの局を親局にし今まで親
局であった局を子局に変えて行く。ステップ(S105)で
はネットワーク内のすべての局が親局になりかつ,ステ
ップ(S101)〜ステップ(S104)を繰返し実行したか判
定し,この条件を満足していないければステップ(S10
6)に戻り,今まで子局であったネットワーク1a(58)
内の1つの局でまだ親局となっていない局を親局にし,
ステップ(S101)に戻る。ステップ(S105)で判定条件
を満足すれば,ネットワーク1a(58)内における情報伝
達は完了する。一般に使用される9600BPS内外の伝送速
度を持つ伝送ラインで工場のコンベヤラインを制御する
場合,1つのネットワーク内の局の数が多くなると情報伝
達時間が大きくなりすぎ,制御が追いつかなくなる。そ
こで工場内の局数が多いときはネットワークを複数に
し,ファクトリオートメーション・コントローラ等の比
較的規模の大きい制御装置により制御する方法がとられ
ている。このときネットワーク間で交信する必要のある
情報の量はネットワーク内で交信する情報の量に比べて
小さいように構成して,ファクトリ・オートメーション
・コントローラ等の負荷を小さくし,処理速度を遅くし
ないようにしている。このようなファクトリ・オートメ
ーション・コントローラ等の役割は,第12図において
は,A局(60)のpc(23)が果たしている。これは,ネッ
トワークが2つで,その間のデータ交信を扱う場合,pc
にネットワーク間交換機能を持たせることによりファク
トリ・オートメーション・コントローラを用いなくても
間に合うことが多いためである。
Each station (60), (61), in the network 1a (58)
The operation of making the contents of the link devices 1a (67) of (62) and (63) the same is performed by the network control means 2 (18) in FIGS. 9 and 11 and the network in FIGS. 8 and 10. The control means 1 (14) does this. FIG. 14 is a flow chart showing an example of the operation. In the flowchart of FIG. 14, first, in step (S100), the network 1a
When the data communication in (58) is started, the next step (S1
In 01), the only station (hereinafter referred to as the master station) that has the transmission right among the stations in the network 1a (58) displays the contents of the memory area allocated to the master station of the link device 1a (67) in the network 1a. Send to a station in (58) that does not have the transmission right (hereinafter referred to as a slave station). For example, if the B station (61) is the master station, the contents of the setting range (69) of the B station are the A station (60) and the C station (62).
And to the D station (63). Next, in step (S102), the slave station that receives the data transmitted by the master station in step (S101) becomes the information area of the master station in the memory area of the link device 1a (67) of the own station. Write the received data in the area where it is present. , For example, when the master station is station B (61), station A (60), station C (62), and station D (6
The received data is written in the information area (69) of the B station in the link device 1a (67) owned by 3). Then, in step (S103), it is determined whether the transmission has been completed for all the stations in the network 1a (58). If not, the transmission destination transmitted by the master station in step (S104). Step to change the slave station of another slave station that has not yet transmitted (S1
Return to 01). In step (S103), the network 1a (5
When the transmission to all the slave stations in 8) is completed, the process proceeds to the next step (S105). All stations in network 1a (58) can become master stations with transmission rights,
As shown in the next step (S106), one station in the network 1a (58), which was a slave station until now, is made a master station, and the station which was a master station until now is changed to a slave station. In step (S105), it is determined whether all stations in the network have become master stations and steps (S101) to (S104) have been repeatedly executed. If this condition is not satisfied, step (S10)
Return to 6), network 1a (58), which was a child station until now
Make one of the stations that is not the master station the master station,
Return to step (S101). If the determination condition is satisfied in step (S105), the information transmission in the network 1a (58) is completed. When controlling a factory conveyor line with a transmission line having a transmission speed of 9600 BPS, which is generally used, if the number of stations in one network increases, the information transmission time becomes too long and the control cannot keep up. Therefore, when the number of stations in a factory is large, a method is adopted in which multiple networks are used and control is performed by a relatively large-scale control device such as a factory automation controller. At this time, the amount of information that needs to be communicated between the networks is configured to be smaller than the amount of information that is communicated within the network so that the load on the factory automation controller, etc. is reduced and the processing speed is not slowed down. I have to. In FIG. 12, the pc (23) of the A station (60) plays such a role as the factory automation controller. This is pc when there are two networks and data communication between them is handled.
This is because by providing a function for exchanging between networks, it is often in time without using a factory automation controller.

次に第9図,第11図におけるpc(23)の動作について第
15図のフロー図により説明する。第6図に示す構成のネ
ットワークにおいて,ステップ(S201)で,pc(23)のc
pu(28)は,ネットワーク間データ転送を含まない被制
御部(16)の制御プログラム等(以下ユーザ処理と称
す)を実行し,次にステップ(S202)では,ネットワー
ク1(1)からネットワーク2(2)へのデータ転送を
行い,ステップ(S203)ではネットワーク2(2)から
ネットワーク1(1)へのデータ転送を行い,その後再
びステップ(S201)に戻りユーザ処理を行う。以上の動
作を繰り返すことによりa局(4)は被制御部(16)を
制御すると共にネットワーク1(1)とネットワーク2
(2)の間のデータ転送処理を行っている。なお,第16
図にステップ(S202)で行われるデータ転送(401)の
一例を示す。この例では,a局(4)の記憶手段1(20)
のリンクデバイス1(6)b局の情報領域(9)のう
ち,ネットワーク2(2)に転送すべきデータが格納さ
れている領域のデータ(L200)〜(L219)を,a局(4)
の記憶手段2(21)にあるリンクデバイス2(7)のa
局の情報領域(8)の領域(L0)〜(L19)に転送して
いる。このようにして,ネットワーク1(1)内の情報
のうち,ネットワーク2(2)に転送したい情報がある
ときは,これをネットワーク2(2)のリンクデバイス
2(7)のa局の情報領域(10)内に転送し,ネットワ
ーク2(2)にあるc局(5)はリンクデバイス2
(7)のa局の情報領域(10)の領域にある情報を読む
ことにより,ネットワーク1(1)からネットワーク2
(2)へのデータ転送が行われる。第15図のステップ
(S203)ではネットワーク2(2)からネットワーク1
(1)へのデータ転送を行うが,その動作はステップ
(S202)において説明した動作と同様である。
Next, the operation of the pc (23) in FIGS.
This will be described with reference to the flowchart of FIG. In the network having the configuration shown in FIG. 6, in step (S201), c of pc (23)
The pu (28) executes a control program or the like of the controlled unit (16) that does not include data transfer between networks (hereinafter referred to as user processing), and then in step (S202), the network 1 (1) to the network 2 Data is transferred to (2), data is transferred from the network 2 (2) to the network 1 (1) in step (S203), and then the process returns to step (S201) again for user processing. By repeating the above operation, the station a (4) controls the controlled unit (16) and also the network 1 (1) and the network 2
Data transfer processing during (2) is performed. The 16th
The figure shows an example of the data transfer (401) performed in step (S202). In this example, storage means 1 (20) of station a (4)
The data (L200) to (L219) of the area storing the data to be transferred to the network 2 (2) in the information area (9) of the link device 1 (6) b station of the station a (4)
Of the link device 2 (7) in the storage means 2 (21) of
The data is transferred to the areas (L0) to (L19) of the station information area (8). In this way, when there is information to be transferred to the network 2 (2) among the information in the network 1 (1), this is the information area of the station a of the link device 2 (7) of the network 2 (2). The station c (5) in the network 2 (2) transfers to the link device 2
By reading the information in the information area (10) of station a in (7), network 1 (1) to network 2
Data transfer to (2) is performed. In step (S203) of FIG. 15, from network 2 (2) to network 1
Data transfer to (1) is performed, and the operation is the same as the operation described in step (S202).

また第12図に示す構成のネットワークの場合はステップ
(S202)の動作は第17図における(401−1)(402−
1),(403−1)にその一例を示すデータ転送とな
り,これを動作フロー図で表すと第18図のようになる。
第18図においてステップ(S301)では第17図に示される
(401−1)のデータ転送,具体的にはA局(60)の記
憶手段1(20)におけるリンクデバイス1a(67)のB局
の情報領域(69)にうち,ネットワーク2a(59)に転送
すべきデータが格納されているエリアのデータ(L200)
〜(L219)を,A局(60)の記憶手段2(21)にあるリン
クデバイス2a(72)のA局の情報領域(L0)〜(L19)
に転送する。ステップ(S302)では第17図に示される
(402−1)のデータ転送,具体的にはリンクデバイス1
a(67)のC局の情報領域(70)の(L360)〜(L379)
の内容をリンクデバイス2a(72)のA局の情報領域(7
3)の(L20)〜(L39)に転送する。ステップ(S303)
では,第17図に示される(403−1)のデータ転送,具
体的にはリンクデバイス1a(67)のD局の情報領域(L4
30)〜(L449)のリンクデバイス2a(72)のA局の情報
領域(73)の(L40)〜(L59)に転送する。
In the case of the network having the configuration shown in FIG. 12, the operation of step (S202) is (401-1) (402-
Data transfer, an example of which is shown in 1) and (403-1), is shown in the operation flow chart of FIG.
In step (S301) of FIG. 18, data transfer of (401-1) shown in FIG. 17, specifically, B station of link device 1a (67) in storage means 1 (20) of A station (60). Data (L200) of the area that stores the data to be transferred to the network 2a (59) in the information area (69) of
~ (L219) is the information area (L0) to (L19) of the A station of the link device 2a (72) in the storage means 2 (21) of the A station (60).
Transfer to. In step (S302), the data transfer of (402-1) shown in FIG. 17, specifically link device 1
a (67) C station information area (70) (L360) ~ (L379)
Contents of the link device 2a (72) station A information area (7
Transfer to (L20) to (L39) in 3). Step (S303)
Then, the data transfer of (403-1) shown in FIG. 17, specifically, the information area of the D station of the link device 1a (67) (L4
30) to (L449) of the link device 2a (72) to the information area (73) of the station A (L40) to (L59).

以上のようにネットワーク1a(58)内の情報のうち,ネ
ットワーク2a(59)に転送したい情報があるときは,こ
れをネットワーク2a(59)のリンクデバイス2a(72)の
A局の情報領域(73)内にデータ転送し,ネットワーク
2a(59)にある局(64),(65),(66)はリンクデバ
イス2a(72)のA局の情報領域(73)の領域にある情報
を読むことによりネットワーク1a(58)からネットワー
ク2a(59)へデータ転送を行っている。なお,第15図の
ステップ(S203)においてネットワーク2a(59)からネ
ットワーク1a(58)へのデータ転送も上述と同様に行わ
れる。
As described above, when there is information to be transferred to the network 2a (59) among the information in the network 1a (58), this is the information area of the station A of the link device 2a (72) of the network 2a (59) ( 73) transfer data to the network
The stations (64), (65), and (66) in 2a (59) read from the information in the information area (73) of station A of the link device 2a (72) to connect from network 1a (58) to network. Data is being transferred to 2a (59). Data transfer from the network 2a (59) to the network 1a (58) in step (S203) of FIG. 15 is performed in the same manner as above.

[発明が解決しようとする課題] 従来のネットワーク間データ転送装置は以上のように構
成され,第1のネットワークと第2のネットワークの両
方に接続されている局におけるpcのユーザ処理プログラ
ムに,ネットワーク間のデータ転送処理プログラムがシ
リアルに組込まれるのでネットワーク間のデータ転送速
度はユーザ処理プログラムの処理時間に左右される一
方,ユーザ処理が完了したとき,前のネットワーク内の
転送処理が完了していないときは完了するまで待つか,
前回と同一内容のネットワーク間データ転送を再び行う
ので,ユーザ処理プログラムの処理速度が遅くなるとい
う問題点があった。
[Problems to be Solved by the Invention] A conventional inter-network data transfer device is configured as described above, and a PC user processing program in a station connected to both the first network and the second network is used for the network. Since the data transfer processing program between the two is serially incorporated, the data transfer speed between networks depends on the processing time of the user processing program, but when the user processing is completed, the transfer processing in the previous network is not completed Or wait until it ’s done,
Since the data transfer between networks having the same contents as the previous time is performed again, there is a problem that the processing speed of the user processing program becomes slow.

この発明は上記のような問題点を解決するためになされ
たので,ネットワーク間のデータ転送を高速にするとと
もに,ネットワーク間データ転送のためのプログラムを
ユーザ処理プログラムの中にシリアルに組込む手間を省
く,ネットワーク間データ転送処理の影響によりpcのユ
ーザ処理プログラムの処理速度が低下するのを防止した
ネットワーク間データ転送処理装置を得ることを目的と
する。
Since the present invention has been made to solve the above problems, it speeds up data transfer between networks and saves time and effort for serially incorporating a program for data transfer between networks into a user processing program. An object of the present invention is to provide an inter-network data transfer processing device that prevents the processing speed of the user processing program of the pc from decreasing due to the effect of the inter-network data transfer processing.

[課題を解決するための手段] この発明に係るネットワーク間データ転送装置は,ネッ
トワークのデータリンクを行う第1のネットワーク制御
手段と,自局およびネットワーク内の他局の情報を記憶
し,上記第1のネットワーク制御手段からアクセスでき
る第1の記憶手段とを有する局,上記局を複数接続した
第1のネットワーク,上記局を複数接続した第2のネッ
トワーク,上記第1のネットワークと上記第2のネット
ワークの両方に接続され,上記第1のネットワークのデ
ータリンクを行う第2のネットワーク制御手段と,上記
第2のネットワークのデータリンクを行う第3のネット
ワーク制御手段と,自局及び上記第1のネットワーク内
の他局の情報を記憶し,上記第2のネットワーク制御手
段からアクセスできる第2の記憶手段と,自局および上
記第2のネットワーク内の他局の情報を記憶し,上記第
3のネットワーク制御手段からアクセスできる第3の記
憶手段と,上記第1のネットワークにおける複数の局の
上記第1の記憶手段がそれぞれ同一情報を持つように制
御される情報伝達が完了したとき,上記第2のネットワ
ーク制御手段が発生する割込信号により上記第2の記憶
手段に記憶されている上記第1のネットワークから上記
第2のネットワークに転送すべきデータを上記第3の記
憶手段の自局の情報を書き込む領域に書き込むことによ
り上記第1のネットワークから上記第2のネットワーク
へデータ転送を行い,上記第2のネットワークにおける
複数の局の上記第1の記憶手段がそれぞれ同一情報を持
つように制御される情報伝達が完了したとき,上記第3
のネットワーク制御手段が発生する割込信号により上記
3の記憶手段に記憶されている上記2のネットワークか
ら上記第1のネットワークに転送すべきデータを上記第
2の記憶手段の自局の情報を書き込む領域に書き込むこ
とにより上記第2のネットワークから上記第1のネット
ワークへデータ転送を行うネットワーク間データ転送処
理手段とを有する共通局,からなるものである。
[Means for Solving the Problems] An inter-network data transfer apparatus according to the present invention stores first network control means for performing data link of a network and information of its own station and other stations in the network, A station having a first storage means accessible from one network control means, a first network connecting a plurality of the stations, a second network connecting a plurality of the stations, the first network and the second network Second network control means connected to both of the networks for performing the data link of the first network, third network control means for performing the data link of the second network, its own station and the first network Second storage means for storing information of other stations in the network and accessible from the second network control means; Third storage means for storing information of its own station and other stations in the second network and accessible from the third network control means, and the first storage of a plurality of stations in the first network. Upon completion of the information transmission in which the means are controlled so as to have the same information, respectively, from the first network stored in the second storage means by an interrupt signal generated by the second network control means. By writing the data to be transferred to the second network in the area for writing the information of the own station of the third storage means, the data is transferred from the first network to the second network, and the second network is transferred. When the information transmission is completed in which the first storage means of the plurality of stations in the network are controlled to have the same information, respectively, the third storage means
The data to be transferred from the second network to the first network, which is stored in the third storage means, is written in the information of its own station in the second storage means by an interrupt signal generated by the network control means. And a common station having inter-network data transfer processing means for transferring data from the second network to the first network by writing in the area.

[作用] この発明におけるネットワーク間データ転送装置では第
1のネットワークにおける複数の局の記憶手段がそれぞ
れ同一情報をもつように制御される情報伝達が完了した
とき第2のネットワーク制御手段が発生する割込信号に
より,共通局と第1のネットワーク内の共通局以外の局
の情報を記憶する第2の記憶手段にある第2のネットワ
ークに転送すべきデータを,共通局と第2のネットワー
ク内の共通局以外の局の情報を記憶する第3の記憶手段
の共通局の情報を書き込む領域に書きこみ,これにより
第1のネットワークから第2のネットワークにデータ転
送を行い,また第2のネットワークから第1のネットワ
ークへのデータ転送も同様に行うようにしたので,ネッ
トワーク内での情報伝達が完了したとき自動的に他のネ
ットワークへのネットワーク間データ転送が行われる。
[Operation] In the inter-network data transfer device according to the present invention, the second network control means is generated when the information transmission is controlled so that the storage means of the plurality of stations in the first network have the same information respectively. The data to be transferred to the second network in the second storage means for storing information of the stations other than the common station and the common station in the first network by the embedded signal are transferred to the second station in the common station and the second network. Write in the area for writing information of the common station of the third storage means for storing information of stations other than the common station, thereby performing data transfer from the first network to the second network, and from the second network. Since the data transfer to the first network is performed in the same manner, when the information transfer in the network is completed, another network is automatically Data transfer to the network.

[発明の実施例] 以下この発明の一実施例を図について説明する。第1図
は,従来例において説明した第6図におけるa局(4)
および第12図におけるA局(60)に相当するこの発明の
一実施例の構成を示している。第1図,第2図は割込信
号線1(73)と割込信号線2(74)が追加され,pc(2
3)において以下に説明する変更がある他は従来例にお
ける第9図,第11図と同一である。即ち第1図に示すネ
ットワーク間データ転送処理装置B(75)は,従来例に
おける第9図のネットワーク間データ転送処理手段A
(22)に比べ,テーブルポインタ(80),データ転送テ
ーブル(77)を有し,ネットワーク間データ転送のトリ
ガ信号を第2のネットワーク制御手段たるネットワーク
制御手段2(18)および第3のネットワーク制御手段た
るネットワーク制御手段3(19)より受け,ネットワー
ク間データを行う機能を有する。
[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a station (4) in FIG. 6 explained in the conventional example.
The configuration of an embodiment of the present invention corresponding to the A station (60) in FIG. 12 is shown. In Fig. 1 and Fig. 2, interrupt signal line 1 (73) and interrupt signal line 2 (74) are added, pc (2
It is the same as FIG. 9 and FIG. 11 in the conventional example except that there are changes described below in 3). That is, the inter-network data transfer processing device B (75) shown in FIG. 1 is the inter-network data transfer processing means A of the conventional example shown in FIG.
Compared to (22), it has a table pointer (80) and a data transfer table (77), and uses a network control means 2 (18) and a third network control which are second network control means for trigger signals for data transfer between networks. It has a function of receiving data from the network control means 3 (19) as a means and performing inter-network data.

共通局以外のb局(3),c局(5),B局(61),C局(6
2),D局(63),E局(64),F局(65),G局(66)ついて
は,従来例における第8図,第10図に示す構成と同じで
ある。
B station (3), c station (5), B station (61), C station (6
2), D station (63), E station (64), F station (65) and G station (66) have the same configurations as shown in FIGS. 8 and 10 in the conventional example.

次にこの実施例装置の動作について,第3図(a),
(b),第4図(a),(b),(c)により説明す
る。第14図のフローに示されたネットワーク内データ交
信は終了すると,第1図または第2図におけるネットと
ワーク制御手段2(18)またはネットワーク制御手段3
は,割込信号(73)または割込信号(74)をpc(76)に
送る。この割込信号が第3図(a)のフロー図におい
て,ネットワーク間データ転送処理手段B(75)をSTAR
T(S1)状態にする。第4図(b)に示すデータ転送テ
ーブル(77)は,データ転送元デバイスアドレス欄(7
8)とデータ転送先デバイスアドレス欄(79)とを有
し,データ転送元デバイスアドレス欄(78)にはデータ
転送元のリンクデバイス1(6)のデータ転送開始アド
レス(80)とデータ転送終了アドレス(81)を,データ
転送先デバイスアドレス欄(79)にはデータ転送先のリ
ンクデバイス2(7)のデータ格納開始アドレス(82)
と,データ格納終了アドレス(83)をあらかじめ書き込
んでおく。このとき,データ格納開始アドレス(82)と
データ格納終了アドレス(83)とが指示するデータ転送
先リンクデバイス2(7)のメモリ領域はa局(4)の
設定範囲内でなければならない。データ転送テーブル
(77)は,a局(4)のpc(76)のメモリに格納されてい
る。
Next, regarding the operation of the apparatus of this embodiment, FIG.
This will be described with reference to (b) and FIGS. 4 (a), (b) and (c). When the intra-network data communication shown in the flow of FIG. 14 is completed, the network and the work control means 2 (18) or the network control means 3 in FIG. 1 or 2 are completed.
Sends an interrupt signal (73) or an interrupt signal (74) to the pc (76). This interrupt signal causes the inter-network data transfer processing means B (75) to be STAR in the flow chart of FIG. 3 (a).
Set to T (S1) state. The data transfer table (77) shown in FIG. 4 (b) has a data transfer source device address column (7
8) and a data transfer destination device address column (79), and a data transfer source device address column (78) has a data transfer start address (80) and a data transfer end of the link device 1 (6) of the data transfer source. The address (81), the data transfer destination device address column (79), the data storage start address (82) of the link device 2 (7) of the data transfer destination.
Write the data storage end address (83) in advance. At this time, the memory area of the data transfer destination link device 2 (7) designated by the data storage start address (82) and the data storage end address (83) must be within the setting range of the station a (4). The data transfer table (77) is stored in the memory of the pc (76) of the station a (4).

第3図(a)のフローにおいて,ステップ(S2)でデー
タ転送テーブル(77)のテーブルポインタ(84)をクリ
アする。次にステップ(S3)では,データ転送テーブル
(77)のテーブルポインタ(84)の指示する位置にデー
タ転送アドレス情報(80),(81),(82),(83)が
書かれているかチェックする。そして,書かれていれ
ば,次のステップ(S4)に進みデータ転送処理を行う。
すなわちデータ転送テーブル(77)のテーブルポインタ
(84)の指示する位置においてデータ転送テーブル(7
7)のデータ転送元デバイスアドレス欄(78)に書かれ
ているデータ転送開始アドレス(80)とデータ転送終了
アドレス(81)とが指定するデータ転送元のリンクデバ
イス1(6)の内容を,データ転送テーブル(77)のデ
ータ転送先デバイスアドレス欄(79)に書かれているデ
ータ格納開始アドレス(82)とデータ格納終了アドレス
(83)が指定するデータ転送先のa局(4)の情報領域
であるメモリ領域に書き込む。
In the flow of FIG. 3A, the table pointer (84) of the data transfer table (77) is cleared in step (S2). Next, in step (S3), it is checked whether the data transfer address information (80), (81), (82), (83) is written at the position indicated by the table pointer (84) of the data transfer table (77). To do. If it is written, the process proceeds to the next step (S4) and the data transfer process is performed.
That is, at the position indicated by the table pointer (84) of the data transfer table (77), the data transfer table (7
The contents of the link device 1 (6) of the data transfer source specified by the data transfer start address (80) and the data transfer end address (81) written in the data transfer source device address column (78) of 7) Information on the data transfer destination a station (4) specified by the data storage start address (82) and data storage end address (83) written in the data transfer destination device address column (79) of the data transfer table (77) Write to the memory area which is the area.

続いてステップ(S5)において,テーブルポインタ(8
4)をカウントアップし,ステップ(S3)に戻るステッ
プ(S3)において,テーブルポインタ(84)の指示する
位置に,データ転送アドレス情報(80),(81),(8
2),(83)が書かれていなければデータ転送を終了す
る。
Then, in step (S5), the table pointer (8
In step (S3) which counts up 4) and returns to step (S3), data transfer address information (80), (81), (8) is set at the position indicated by the table pointer (84).
If 2) and (83) are not written, the data transfer ends.

第4図はリンクデバイス1(6)のb局の情報領域のう
ちリンクデバイス2(7)にデータ転送する情報が格納
されているアドレス(L200)〜(L219)の内容を,デー
タ転送先のリンクデバイス2(7)のa局の情報領域内
のアドレス(L0)〜(L19)に格納する場合の例を示し
ている。この例では,リンクデバイス1(1)からリン
クデバイス2(2)へのデータ転送の例を示している
が,リンクデバイス2(2)からリンクデバイス1
(1)へのデータ転送の場合もネットワーク2(2)の
ネットワーク内情報伝達完了信号によりネットワーク間
データ転送処理プログラムが起動され同様に処理され
る。
FIG. 4 shows the contents of the addresses (L200) to (L219) where the information for data transfer to the link device 2 (7) in the information area of station b of the link device 1 (6) is stored in the data transfer destination. An example of storing at addresses (L0) to (L19) in the information area of the station a of the link device 2 (7) is shown. In this example, an example of data transfer from the link device 1 (1) to the link device 2 (2) is shown, but the link device 2 (2) to the link device 1
Also in the case of data transfer to (1), the inter-network data transfer processing program is activated by the in-network information transfer completion signal of the network 2 (2) and processed in the same manner.

第5図は,第12図第13図で示されるネットワーク間デー
タ転送において,データ転送テーブル(77)を用いて,
リンクデバイス1a(67)からリンクデバイス2a(72)間
のデータ転送を行う場合を示している。図においてリン
クデバイス1a(67)のB局の情報領域(86)のうち,リ
ンクデバイス2(72)にデータ転送する情報が格納され
ているアドレス(L200)〜(L219)の内容と,リンクデ
バイス1a(67)のC局の情報領域(87)のうちリンクデ
バイス2a(72)にデータ転送する情報が格納されている
アドレス(L360)〜(L379)の内容と,リンクデバイス
1a(67)のD局の情報領域(88)のうちリンクデバイス
2a(72)にデータ転送する情報が格納されているアドレ
ス(L360)〜(L379)の内容と,リンクデバイス1a(6
7)のD局の情報領域(88)のうちリンクデバイス2a(7
2)にデータ転送する情報が格納されているアドレス(L
430)〜(L449)の内容とを,転送先のリンクデバイス2
a(72)のA局の情報領域(85)のアドレス(L0)〜(L
19),アドレス(L20)〜(L39),アドレス(L40)〜
(L59)に格納する場合の例を示している。
FIG. 5 shows the data transfer table (77) used in the data transfer between networks shown in FIG. 12 and FIG.
The case where data transfer is performed between the link device 1a (67) and the link device 2a (72) is shown. In the figure, in the information area (86) of the station B of the link device 1a (67), the contents of the addresses (L200) to (L219) where the information to be transferred to the link device 2 (72) is stored, and the link device The contents of the addresses (L360) to (L379) where the information to be transferred to the link device 2a (72) is stored in the information area (87) of the station C of 1a (67), and the link device
Link device in information area (88) of station D in 1a (67)
The contents of addresses (L360) to (L379) where the information for data transfer is stored in 2a (72) and the link device 1a (6
Link device 2a (7) of station D information area (88)
2) Address where the information to be transferred is stored (L
430) ~ (L449) and the link device 2 of the transfer destination
Address (L0) to (L of the information area (85) of station A of a (72)
19), address (L20) to (L39), address (L40) to
An example of storing the data in (L59) is shown.

なお,ネットワーク2a(72)からネットワーク1a(67)
へのデータ転送は,ネットワーク2a(72)のネットワー
ク内情報伝達完了信号によりネットワーク2a(72)から
ネットワーク1a(67)へのネットワーク間データ転送処
理プログラムが起動され同様に処理される。
From network 2a (72) to network 1a (67)
Data transfer to the network 2a (72) is similarly processed by starting the inter-network data transfer processing program from the network 2a (72) to the network 1a (67) by the in-network information transmission completion signal of the network 2a (72).

以上のようにしてネットワーク間の双方向のデータ転送
ができ,しかも,第6図のおけるa局(4)または第12
図におけるA局(60)のpc(72)は,ユーザ処理プログ
ラムとシリアルネットワーク間データプログラムを挿入
しないでよく,動作フローは第3図(b)に示すステッ
プ(S10)のユーザ処理のみとなる。
As described above, bidirectional data transfer between networks is possible, and in addition, station a (4) or station 12 in FIG.
The pc (72) of the A station (60) in the figure does not need to insert the user processing program and the data program between serial networks, and the operation flow is only the user processing of step (S10) shown in FIG. 3 (b). .

なお,上記実施例では第1のネットワークと第2のネッ
トワークの両方に接続される局をpcを用いて構成した場
合について示したが,pcでなくファクトリ・オートメー
ション・コントローラを用いて構成しても上記実施例と
同様の効果を奏する。
In the above embodiment, the case where the station connected to both the first network and the second network is configured by using pc is shown, but it may be configured by using the factory automation controller instead of pc. The same effect as that of the above embodiment is obtained.

また,上記実施例では第1のネットワークは共通局を含
め2局または4局,第2のネットワークも共通局を含め
2局または4局で構成されるが,第1のネットワークに
接続される局の数および第2のネットワークに接続され
る局の数は任意であってよい。
Further, in the above embodiment, the first network is composed of two or four stations including the common station, and the second network is also composed of two or four stations including the common station, but the stations connected to the first network. , And the number of stations connected to the second network may be arbitrary.

さらに,上記実施例では共通局に2つのネットワークが
接続されているが,2つ以上の任意の数のネットワークが
接続されていても同様の効果を奏する。
Further, although two networks are connected to the common station in the above embodiment, the same effect can be obtained even if an arbitrary number of networks of two or more are connected.

[発明の効果] 以上のように,この発明によれば,第1のネットワーク
または第2のネットワーク内の情報伝達完了時に,共通
局において割込処理が起動されネットワーク間のデータ
転送を行うネットワーク間データ転送処理手段を設けた
ので,ネットワーク内の情報伝達完了時に自動的にネッ
トワーク間の情報伝達を行わせることができ,共通局に
おける被制御部を制御するプログラムの処理速度を向上
させ,ネットワーク間データ転送処理も高速にできる効
果がある。
[Effects of the Invention] As described above, according to the present invention, when the information transmission in the first network or the second network is completed, an interrupt process is activated in the common station to perform data transfer between networks. Since the data transfer processing means is provided, the information transfer between the networks can be automatically performed when the information transfer within the networks is completed, and the processing speed of the program controlling the controlled unit in the common station is improved, There is also an effect that the data transfer processing can be speeded up.

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

第1図の発明の一実施例による共通局のブロック図、第
2図はこの発明の一実施例による共通局のハードウエア
構成に基づくブロック図、第3図(a)はこの発明の一
実施例によるデータ転送テーブルを使ってのネットワー
ク間データ転送のフロー図、第3図(b)はこの発明の
一実施例による共通局の処理プログラムのフロー図、第
4図はこの発明の一実施例によるリンクデバイス1とリ
ンクデバイス2との間のデータ転送を示す図であって、
リンクデバイス1のメモリ領域とデータ転送テーブルと
リンクデバイス2のメモリ領域とを示す図、第5図はこ
の発明の他の実施例によるリンクデバイス1aのメモリ領
域とデータ転送テーブルとリンクデバイス2aのメモリ領
域とを示す図、第6図は従来およびこの発明の一実施例
によるネットワーク全体の構成図、第7図(a)は従来
およびこの発明の一実施例によるリンクデバイス1のメ
モリ領域図、第7図(b)は従来およびこの発明の一実
施例によるリンクデバイス2のメモリ領域図、第8図は
従来およびこの発明の一実施例による共通局以外の局の
ブロック図、第9図は従来における共通局のブロック
図、第10図は従来およびこの発明の一実施例による共通
局以外の局のハードウエア構成に基づくブロック図、第
11図は従来における共通局のハードウエア構成に基づく
ブロック図、第12図は従来およびこの発明に他の実施例
によるネットワーク全体の構成図、第13図(a)は従来
およびこの発明の他の実施例によるリンクデバイス1aの
メモリ領域図、第13図(b)は従来およびこの発明の他
の実施例によるリンクデバイス2aのメモリ領域図、第14
図は従来およびこの発明によるネットワーク内情報伝達
のフロー図、第15図は従来における共通局のデータ処理
のフロー図、第16図は従来およびこの発明の一実施例に
よるリンクデバイス1とリンクデバイス2との間のデー
タ転送の図であって、リンクデバイス1のメモリ領域と
リンクデバイス2のメモリ領域とを示す、第17図は従来
およびこの発明の他の実施例によるリンクデバイス1aと
リンクデバイス2aとの間のデータ転送の図であって、リ
ンクデバイス1aのメモリ領域と、リンクデバイス2aのメ
モリ領域とを示す図、第18図は従来およびこの発明の他
の実施例による第15図におけるS202の詳細フロー図であ
る。 (1)はネットワーク1、(2)はネットワーク2、
(3)はネットワーク1に接続されるb局、(4)はネ
ットワーク1とネットワーク2の両方に接続されるa
局、(5)はネットワーク2に接続されるc局、(6)
はネットワーク1のリンクデバイス1、(7)はネット
ワーク2のリンクデバイス2、(73)は割込信号、(7
4)は割込信号、(77)はデータ転送テーブル なお、図中同一符号同一、または相当部分を示す。
1 is a block diagram of a common station according to an embodiment of the invention, FIG. 2 is a block diagram based on a hardware configuration of a common station according to an embodiment of the invention, and FIG. 3 (a) is an embodiment of the invention. 3 is a flow chart of data transfer between networks using a data transfer table according to an example, FIG. 3 (b) is a flow chart of a processing program of a common station according to an embodiment of the present invention, and FIG. 4 is an embodiment of the present invention. FIG. 3 is a diagram showing data transfer between a link device 1 and a link device 2 according to
FIG. 5 is a diagram showing a memory area of the link device 1, a data transfer table, and a memory area of the link device 2. FIG. 5 is a memory area of the link device 1a, a data transfer table, and a memory of the link device 2a according to another embodiment of the present invention. FIG. 6 is a diagram showing the entire area of the network according to the related art and one embodiment of the present invention, and FIG. 7 (a) is a memory area diagram of the link device 1 according to the related art and one embodiment of the present invention. FIG. 7 (b) is a memory area diagram of the link device 2 according to the related art and one embodiment of the present invention, FIG. 8 is a block diagram of stations other than the common station according to the related art and one embodiment of the present invention, and FIG. 10 is a block diagram of a common station in FIG. 10, and FIG. 10 is a block diagram based on a hardware configuration of a station other than the common station according to the conventional and one embodiment of the present invention.
FIG. 11 is a block diagram based on the conventional hardware configuration of a common station, FIG. 12 is a configuration diagram of an entire network according to another embodiment of the present invention, and FIG. 13 (a) is a conventional and another embodiment of the present invention. FIG. 13 (b) is a memory area diagram of a link device 1a according to an embodiment, FIG. 13 (b) is a memory area diagram of a link device 2a according to another embodiment of the present invention, and FIG.
FIG. 15 is a flow chart of information transmission in a network according to the related art and the present invention, FIG. 15 is a flow chart of data processing of a common station according to the related art, and FIG. 16 is a link device 1 and a link device 2 according to an embodiment of the related art and the present invention. And FIG. 17 is a diagram of data transfer between the link device 1 and the link device 1 and the memory region of the link device 2, and FIG. 17 shows a link device 1a and a link device 2a according to a conventional example and another embodiment of the present invention. And FIG. 18 is a diagram of data transfer between the memory device and the link device 1a, showing the memory region of the link device 1a and the memory region of the link device 2a, FIG. 3 is a detailed flowchart of FIG. (1) is network 1, (2) is network 2,
(3) is a station b connected to the network 1, and (4) is a connected to both the network 1 and the network 2.
Station, (5) is station c connected to network 2, (6)
Is a link device 1 of network 1, (7) is a link device 2 of network 2, (73) is an interrupt signal, (7
4) is an interrupt signal, and (77) is a data transfer table. In the figure, the same reference numerals indicate the same or corresponding portions.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ネットワークのデータリンクを行う第1の
ネットワーク制御手段と,自局およびネットワーク内の
他局の情報を記憶し,上記第1のネットワーク制御手段
からアクセスできる第1の記憶手段とを有する局,上記
局を複数接続した第1のネットワーク,上記局の複数接
続した第2のネットワーク,上記第1のネットワークと
上記第2のネットワークの両方を接続され,上記第1の
ネットワークのデータリンクを行う第2のネットワーク
制御手段と,上記第2のネットワークのデータリンクを
行う第3のネットワーク制御手段と,自局および上記第
1のネットワーク内の他局の情報を記憶し,上記第2の
ネットワーク制御手段からアクセスできる第2に記憶手
段と,自局および上記第2のネットワーク内の他局の情
報を記憶し,上記第3のネットワーク制御手段からアク
セスできる第3の記憶手段と,上記第1のネットワーク
における複数の局の上記第1の記憶手段がそれぞれ同一
情報を持つように制御される情報伝達が完了したとき,
上記第2のネットワーク制御手段が発生する割込信号に
より上記第2の記憶手段に記憶されている上記第1のネ
ットワークから上記第2のネットワークに転送すべきデ
ータを上記第3の記憶手段の自局の情報を書き込む領域
に書き込むことにより上記第1のネットワークから上記
第2のネットワークへデータ転送を行い,上記第2のネ
ットワークにおける複数の局の上記第1の記憶手段がそ
れぞれ同一情報を持つように制御される情報伝達が完了
したとき,上記第3のネットワーク制御手段が発生する
割込信号により上記第3の記憶手段に記憶されている上
記第2のネットワークから上記第1のネットワークに転
送すべきデータを上記第2に記憶手段の自局の情報を書
き込む領域に書き込むことにより上記第2にネットワー
クから上記第1のネットワークへデータ転送を行うネッ
トワーク間データ転送処理手段とを有する共通局,から
なるネットワーク間データ転送装置。
1. A first network control means for performing a data link of a network, and a first storage means for storing information of its own station and other stations in the network and accessible from the first network control means. A station having the same, a first network having a plurality of the stations connected, a second network having a plurality of the stations connected, both the first network and the second network connected, and a data link of the first network Second network control means for performing the above, third network control means for performing the data link of the second network, information of its own station and other stations in the first network, and storing the second network control means. Secondly, storage means that can be accessed from the network control means, and information about its own station and other stations in the second network are stored. A third storage unit that can be accessed from the third network control means, when the information transmission a first plurality of stations in the network the first storage means is controlled such that each have the same information has been completed,
The data to be transferred from the first network to the second network, which is stored in the second storage means, by the interrupt signal generated by the second network control means is stored in the third storage means itself. Data is transferred from the first network to the second network by writing information in the station information area so that the first storage means of a plurality of stations in the second network each have the same information. When the information transmission controlled by the third network control means is completed, an interrupt signal generated by the third network control means transfers the information from the second network stored in the third storage means to the first network. Data to be written in the area for writing information of its own station in the second storage means so that the second data can be transmitted from the network to the first storage area. Common station, network data transfer apparatus comprising a comprising a network between the data transfer processing means for performing data transfer to Ttowaku.
JP1329260A 1989-12-19 1989-12-19 Data transfer device between networks Expired - Lifetime JPH0710070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1329260A JPH0710070B2 (en) 1989-12-19 1989-12-19 Data transfer device between networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1329260A JPH0710070B2 (en) 1989-12-19 1989-12-19 Data transfer device between networks

Publications (2)

Publication Number Publication Date
JPH03188734A JPH03188734A (en) 1991-08-16
JPH0710070B2 true JPH0710070B2 (en) 1995-02-01

Family

ID=18219457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1329260A Expired - Lifetime JPH0710070B2 (en) 1989-12-19 1989-12-19 Data transfer device between networks

Country Status (1)

Country Link
JP (1) JPH0710070B2 (en)

Also Published As

Publication number Publication date
JPH03188734A (en) 1991-08-16

Similar Documents

Publication Publication Date Title
US4727538A (en) Information transfer method and arrangement
KR100981461B1 (en) Communication chip and method for controlling the access to data in a message store in a communication chip by means of a message manager
EP1850196B1 (en) Programmable controller with communication unit capable of responding in real time to request of I/O data
KR920007950B1 (en) Direct access memory controller
US7032080B2 (en) Plural station memory data sharing system
JPH11510930A (en) Buffer circuit placed above module
JPH0710070B2 (en) Data transfer device between networks
JP2774669B2 (en) Network configuration method for programmable controller
JPS6244808A (en) Control method for nc working machine group
JP2000067021A (en) High-speed automatic updating system for software
JP2611388B2 (en) Data processing device
JP3265026B2 (en) I / O data exchange method
JP2715849B2 (en) Communication device for display device
JP2000004243A (en) Data communication method for programmable controller and programmable controller
JP3465798B2 (en) Distributed control system
JPS6236938A (en) Communication control equipment for local area network
JPH0736370A (en) Data transmitting and receiving system, and method therefor
JPH04282938A (en) Communication controller
JP3687684B2 (en) Data transfer method between devices
JPS61161505A (en) Master controller of programmable controller
JPH0683225B2 (en) Data transmission method to slave station in FA controller
JPH0697948A (en) Address setting system
JP2770177B2 (en) Link interface module of programmable controller
JPS59230347A (en) Programmable controller system
JPH01243739A (en) Radio line access system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080201

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090201

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100201

Year of fee payment: 15

EXPY Cancellation because of completion of term