JPH03188734A - Inter-network data transfer equipment - Google Patents

Inter-network data transfer equipment

Info

Publication number
JPH03188734A
JPH03188734A JP1329260A JP32926089A JPH03188734A JP H03188734 A JPH03188734 A JP H03188734A JP 1329260 A JP1329260 A JP 1329260A JP 32926089 A JP32926089 A JP 32926089A JP H03188734 A JPH03188734 A JP H03188734A
Authority
JP
Japan
Prior art keywords
network
station
data transfer
information
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.)
Granted
Application number
JP1329260A
Other languages
Japanese (ja)
Other versions
JPH0710070B2 (en
Inventor
Toshiya Takahashi
俊哉 高橋
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)

Abstract

PURPOSE:To quicken the data transfer processing between networks by providing an inter-network data transfer processing means starting an interrupt processing in a common station at the end of information transmission in a 1st or 2nd network and transferring the data between the networks. CONSTITUTION:When an in-network data communication is finished, a network control means 2(18) or a network control section 3(19) sends an interruption signal (73) or (74) to a pc(76) to bring an inter-network data transfer processing means B(75) into the START state. Thus, bidirectional data transfer between networks is attained in such a manner and the insertion of an inter-network data transfer program in series with a user processing program is not required and the operation flow is needed for only the user processing.

Description

【発明の詳細な説明】 [産業上の利用分野コ この発明はネットワーク間のデータ転送装置に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a data transfer device between networks.

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

第6図は従来のネットワーク金体の構成図であり1図に
おいて(1)はネットワークI(以下NTI)(2)は
ネットワーク2(以下NT2)、(3)はNTI(1)
に接続されているb局、(4)はNTI(1)とNT2
(2)の両方に接続されるa局、(5)はN T 2 
(2)に接続されている0局である。次に、第7図(a
)は従来におけるa局(4)とb局(3)の制御情報を
記憶するリンクデバイス1(6)のメモリ領域図であり
、第7図(b)は従来におけるa局(4)と0局(5)
の制御情報を記憶するリングデバイス2(7)のメモリ
嶺域図である。この第7図(a)において(8)はa局
(4)の制御情報を記憶するメモリ領域、(9)はb局
(3)の制御情報を記憶するメモリ領域である。また、
第7図(b)における(10)はa局(4)の制御情報
を記憶するメモリ領域、(11)は0局(5)の制御情
報を記憶するメモリ領域である。
Figure 6 is a configuration diagram of a conventional network gold body. In Figure 1, (1) is Network I (hereinafter referred to as NTI), (2) is Network 2 (hereinafter referred to as NT2), and (3) is NTI (1).
Station b, (4) connected to NTI (1) and NT2
Station a connected to both (2), (5) is N T 2
(2) is the 0 station connected to. Next, Fig. 7 (a
) is a memory area diagram of the link device 1 (6) that stores the control information of the a station (4) and the b station (3) in the conventional system, and FIG. Bureau (5)
FIG. 4 is a memory area diagram of the ring device 2 (7) that stores control information of the ring device 2 (7). In FIG. 7(a), (8) is a memory area for storing control information for station a (4), and (9) is a memory area for storing control information for station b (3). Also,
In FIG. 7(b), (10) is a memory area that stores control information for station a (4), and (11) is a memory area that stores control information for station 0 (5).

第8図は従来装置におけるb局(3)の詳細構成図であ
る。図において(12)はb局(3)が制御する被制御
部、(13)はb局(3)の被制御部(12)を制御す
るユーザ処理手段1 、 (14)はb局(3)と他局
とのデータリンクを行うネットワーク制御手段1.(I
s)はリンクデバイス1(6)をメモリ領域内に持ち、
ユーザ処理手段1 (13)からもネットワーク制御手
段1 (14)からもアクセスできる記憶手段lである
FIG. 8 is a detailed configuration diagram of station b (3) in the conventional device. In the figure, (12) is the controlled unit controlled by station b (3), (13) is the user processing means 1 that controls the controlled unit (12) of station b (3), and (14) is the controlled unit controlled by station b (3). ) and other stations; network control means 1. (I
s) has link device 1 (6) in the memory area,
It is a storage means l that can be accessed from both the user processing means 1 (13) and the network control means 1 (14).

また、第9図は従来装置におけるa局(4)の詳細構成
図である。図において(16)はa局(4)の制御する
被制御部、 (17)は被制御部を制御するユーザ処理
手段2 、 (1g)はNTI(1)のデータリンクを
行うネットワーク制御手段2 、 (19)はN T 
2 (2)のデータリンクを行うネットワーク制御手段
3. (22)はリンクデバイス1(6)とリンクデバ
イス2(7)との間であらかじめ定められた手順でデー
タ転送を行うネットワーク間データ転送処理手段A、 
(23)はユーザ処理手段2 (17)とネットワーク
間データ転送処理手段A (22)とから構成されるプ
ログラマブルコントローラ(以下pcと称す)、 (2
0)はリンクデバイス1(6)をメモリ領域内にもちp
 c (23)及びネットワーク制御手段2(18)の
両方からアクセスできる記憶手段2 、 (21)はリ
ンクデバイス2(7)をメモリ領域内にもちp c (
23)及びネットワーク制御手段3 (19)の両方か
らアクセスできる記憶手段3である。
Further, FIG. 9 is a detailed configuration diagram of station a (4) in the conventional device. In the figure, (16) is the controlled unit controlled by station a (4), (17) is the user processing means 2 that controls the controlled unit, and (1g) is the network control unit 2 that performs the data link of NTI (1). , (19) is N T
2 Network control means for performing the data link in (2) 3. (22) is an inter-network data transfer processing means A that transfers data between link device 1 (6) and link device 2 (7) according to a predetermined procedure;
(23) is a programmable controller (hereinafter referred to as PC) consisting of user processing means 2 (17) and inter-network data transfer processing means A (22);
0) has link device 1 (6) in the memory area p
Storage means 2 (21), which can be accessed from both c (23) and network control means 2 (18), has link device 2 (7) in its memory area p c (
23) and network control means 3 (19).

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

第11図は従来装置における。a局(4)のハードウェ
ア構成に基づくブロック図である。図において(24)
はNTI(1)からa局(4)への入力信号、 (25
)はa局(4)からNT1(1)への出力信号、 (2
6)はNT 2 (2)からa局(4)への入力信号、
 (27)はa局(4)からN T 2 (2)への出
力信号である。また、 (2g)はプログラマブルコン
トローラp c (23)のCPU。
FIG. 11 shows a conventional device. It is a block diagram based on the hardware configuration of a station (4). In the figure (24)
is the input signal from NTI (1) to station a (4), (25
) is the output signal from station a (4) to NT1 (1), (2
6) is the input signal from NT 2 (2) to station a (4),
(27) is the output signal from station a (4) to N T 2 (2). Moreover, (2g) is the CPU of the programmable controller p c (23).

(29)はシステムプログラムが記憶されるシステムプ
ログラムメモリ、 (30)はユーザプログラムが格納
されるユーザプログラムメモリ、  (31)はワーク
エリヤ等に使われるデータメモリ、 (32)は被制御
部(I6)への出力情報及び被制御部(16)からの人
力情報等を貯えるためのI10メモリである。 さらに
、 (33)はネットワーク制御手段2 (1g)のC
PU(34)はネットワーク制御手段2 <18>のシ
ステムプログラムメモリ、 (35)はネットワーク制
御手段2(18)のCP U (Ll)がワークエリヤ
等として使うデータメモリ、 (36)はNTI(1)
へデータを送出する送信用コントローラ、 (37)は
NTI(1)から入力されるデータを受信する受信用コ
ントローラであるまた。 (3g)はネットワーク制御
手段3 (19)のcpU、 (39)はネットワーク
制御手段3 (19)のシステムプログラムメモリ、 
(40)はワークエリヤ等として使われるデータメモリ
、(41)はN T 2 (2)へデータを送信する送
信用コントローラ、 (42)はNT2(2)から入力
されるデータを受信する受信用コントローラである。
(29) is the system program memory where the system program is stored, (30) is the user program memory where the user program is stored, (31) is the data memory used for the work area, etc., and (32) is the controlled unit (I6). ) and human power information from the controlled unit (16). Furthermore, (33) is C of network control means 2 (1g)
PU (34) is the system program memory of the network control means 2 <18>, (35) is the data memory used by the CPU (Ll) of the network control means 2 (18) as a work area, etc., and (36) is the NTI (18) )
(37) is a receiving controller that receives data input from NTI (1). (3g) is the cpu of the network control means 3 (19), (39) is the system program memory of the network control means 3 (19),
(40) is a data memory used as a work area, etc., (41) is a transmitting controller that transmits data to NT2 (2), and (42) is a receiving controller that receives data input from NT2 (2). It is a controller.

第12図は従来装置におけるネットワーク間データ転送
の全体構成の一例を示すブロック図であり第6図に示し
た各ネットワークの局数を増加した例を示している。第
12図において、 (5g)ネットワークla:(59
)はネットワーク2a、(60)は2つのネットワーク
(58)、 (59)に接続され、2つのネ、。
FIG. 12 is a block diagram showing an example of the overall configuration of inter-network data transfer in a conventional device, and shows an example in which the number of stations in each network shown in FIG. 6 is increased. In Figure 12, (5g) Network la: (59
) is connected to network 2a, (60) is connected to two networks (58) and (59), and two networks are connected.

トワーク(5g)、 (59)間のデータ転送を行う第
9図および第1I図に示される構成のA局である。(6
1)〜(66)は第8図および第1O図に示される構成
のB局、C局、D局、E局、F局、G局である。第12
図の例ではネットワークl a (5g)は、共通局で
あるA局(60)、 B局(61)、 C局(62)、
 D局(63)の4つの局から構成され、ネットワーク
2 a (59)は共通局であるA局(60)、 E局
(64)、 F局(65)、 G局(66)の4つの局
から構成されている。
Station A has the configuration shown in FIG. 9 and FIG. 1I, which transfers data between networks (5g) and (59). (6
1) to (66) are stations B, C, D, E, F, and G having the configurations shown in FIG. 8 and FIG. 1O. 12th
In the example shown in the figure, network l a (5g) includes common stations A station (60), B station (61), C station (62),
Network 2 a (59) is composed of four stations: D station (63), and four common stations: A station (60), E station (64), F station (65), and G station (66). It consists of stations.

次に、従来技術の内容を明らかにするために、第12図
に示すネットワークにおいてA局(6o)〜G局(66
)の各局に備えられているネットワーク制御手段1(1
4)、ネットワーク制御手段2 (18)、およびネッ
トワーク制御手段3 (19)の動作を述べ、ネットワ
ーク1 a (58)内と、ネットワーク2a (59
)内における情報伝達方法について説明する。ネットワ
ーク1 a (5g)内の情報伝達方法とネットワーク
2 a (59)内の情報伝達方法は同じなのでネット
ワーク1 a (5g)について説明する。A局(60
)は第9図、第11図に示すように記憶手段2 (20
)を持っている。この記憶手段2 (2G)はネットワ
ーク制御手段2(18)とp c (23)に接続され
、pc(23)側からもネットワーク制御手段2 (1
8)からもアクセスできる。B局(61)〜D局(63
)は同様にユーザ処理手段1 (13)からもネットワ
ーク制御手段1 (14)からもアクセスできる記憶手
段1 (15)を持っている。
Next, in order to clarify the content of the prior art, in the network shown in FIG. 12, stations A (6o) to G (66
) Network control means 1 (1
4), describes the operations of network control means 2 (18) and network control means 3 (19), and describes the operations within network 1 a (58) and network 2 a (59).
) will be explained about the information transmission method within. Since the information transmission method within network 1 a (5g) and the information transmission method within network 2 a (59) are the same, network 1 a (5g) will be explained. Station A (60
) is stored in the storage means 2 (20
)have. This storage means 2 (2G) is connected to the network control means 2 (18) and PC (23), and is also connected from the PC (23) side to the network control means 2 (1
8) can also be accessed. Station B (61) to Station D (63
) has a storage means 1 (15) which can likewise be accessed by both the user processing means 1 (13) and the network control means 1 (14).

これらの記憶手段1(14)、  2(2G)は第13
図(a)に示されるメモリ領域を有するリンクデバイス
1a(67)を持っている。このリンクデバイスl a
 (67)のメモリ領域はネットワークl a (58
)内にある局数に分割され1分割されたそれぞれの領域
は、それぞれの局に振り当てられ、当該局の持つ被制御
装置に関する入出力情報、内部リレー情報などを記憶し
ている。A局(60)に振り当てられた領域には、被制
御装置に関する入出力情報、内部リレー情報の他に、ネ
ットワークl a (58)とネットワーク2 a (
59)間のデータ転送のための領域を含んでいる。第1
3図(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)により書込みができるが、他局の
情報領域には自局のp c (13)(23)からは読
出しはできるが書込みはできないように構成されている
。例えばA局の情報領域(68)に対しては、A局(6
0)は書き込みができるが、B局(61)〜D局(63
)は書き込みができず、A局(60)はB局の情報領域
(69)〜D局の情報領域(71)に対しては書き込み
はできないなお、A局(60)はA局の情報領域(68
)〜D局(63)の情報領域(71)の読出しはできる
ようになっている。また、ネットワークI a (5g
)内の各局(60)。
These storage means 1 (14) and 2 (2G) are the 13th
It has a link device 1a (67) having the memory area shown in Figure (a). This link device l a
The memory area of (67) is network l a (58
) Each area divided into one area is assigned to each station, and stores input/output information, internal relay information, etc. regarding the controlled device of the station. The area allocated to the A station (60) includes input/output information regarding the controlled device, internal relay information, as well as network l a (58) and network 2 a (
59) includes an area for data transfer between 1st
In Figure 3(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), and (70) is the information area of station B assigned to station A (60). Station C (62
) is the information area of station C allocated to station D, and (71) is the information area of station D allocated to station D (63). Each of the stations A (60) to D (63) has a link device 1a (67), and the information area of the own station contains the PC of the own station.
(13) and (23), but the information area of another station is configured so that it can read from the own station's p c (13) and (23) but cannot write to it. For example, for the information area (68) of station A,
0) can be written, but stations B (61) to D (63)
) cannot be written to, and station A (60) cannot write to information area (69) of station B to information area (71) of station D. Station A (60) cannot write to information area of station A (60). (68
) to D station (63) information area (71) can be read. In addition, network I a (5g
) Each station (60).

(61)、 (62)、 (6:()の持つリンクデバ
イスl a (67)の内容は常時同一になるように制
御されている。ネットワーク内の各局がリンクデバイス
内に常時ネットワーク内のすべての局の情報を持つ通信
制御方法は、各局の持つリンクデバイスのメモリ容量を
太き(するか、ネットワーク内の交信が簡素化され結果
として通信速度が向上する場合が多いので一般に広く利
用されている方法である。
(61), (62), (6:) The contents of the link device l a (67) of Communication control methods that have information about stations are generally widely used because they often increase the memory capacity of link devices possessed by each station, or simplify communication within the network, resulting in improved communication speed. This is the way to be.

ネットワークl a (58)における各局(6G)、
 (61)。
Each station (6G) in network l a (58),
(61).

(62)、 (63)の持つリンクデバイス1 a (
67)の内容を同一にする動作は、第9図、第11図に
おけるネットワーク制御手段2 (18)、および第8
図、第10図におけるネットワーク制御手段1 (14
)が行っている。第14図はその動作の一例を示すフロ
ー図である。第14図のフロー図において、先ずステ・
ノブ(S100)で、ネットワークl a (58)内
のデータ交信を開始すると2次のステ・ノブ(Slot
)において、ネットワークl a (58)内の局のう
ち送信権を持つ唯一の局(以下親局と称す)が、リンク
デ/<イス1a(67)のうち親局に割当てられたメモ
リ領域の内容をネットワークl a (58)内の送信
権を持たなtX局(以下子局と称す)に送信する。例え
ばB局(61)が親局であればB局の設定範囲(69)
の内容をA局(60)、 C局(62)およびD局(6
3)に送信する。次にステップ(S102)において、
ステ・ノブ(Slot)で親局が送信したデータを受取
った子局は、自局の持つリンクデバイスl a (67
)のメモリ領域の中で親局の情報領域となっている部分
に、受信したデータを書き込む。例えばB局(61)が
親局となっているときは、A局(60)、 C局(62
)、およびD局(63)が持つリンクデバイスl a 
(67)の中のB局の情報領域(69)に受信したデー
タを書き込む。続いて、ステップ(S l 03)では
、ネットワーク1 a (5g)内のすべての局に対し
て送信を終了したかを判定し、終了していないときは、
ステップ(S104)で親局が送信する送信先の子局を
別のまだ送信を行っていない子局に変えステップ(SI
OI)に戻す。 ステップ(S103)で、ネットワー
クl a (5g)内のすべての子局に対して送信が終
了すれば次のステップ(3105)に進む。ネットワー
クl a (58)内の局はすべて送信権を持つ親局に
なり得るようになっていて1次のステップ(S106)
に示すように今まで子局であったネットワークl a 
(58)内の1つの局を親局にし今まで親局であった局
を子局に変えてゆく。ステップ(S105)ではネット
ワーク内のすべての局が親局になりかつ、ステップ(S
lot)〜ステ・ノブ(S104)を繰返し実行したか
判定し、この判定条件を満足していなければステ・ノブ
(S106)に戻り、今まで子局であったネットワーク
l a (5g)内の1つの局でまだ親局となっていな
い局を親局にし、ステップ(SIOl)に戻る。ステッ
プ(S105)で判定条件を満足すれば、ネットワーク
l a (5g)内における情報伝達は完了する。一般
に使用される9600BPS内外の伝送速度をもつ伝送
ラインで工場のコンベヤラインを制御する場合、1つの
ネットワーク内の局の数が多くなると情報伝達時間が大
きくなりすぎ。
(62), (63) have link device 1 a (
67) is the same as that of network control means 2 (18) in FIGS. 9 and 11, and
Network control means 1 (14
) is being carried out. FIG. 14 is a flow diagram showing an example of the operation. In the flow diagram of Figure 14, first step
When the knob (S100) starts data communication within the network l a (58), the second step knob (Slot
), the only station (hereinafter referred to as the master station) that has transmission rights among the stations in the network l a (58) stores the contents of the memory area allocated to the master station in the link device 1a (67). is transmitted to a tX station (hereinafter referred to as a slave station) that does not have the transmission right within the network l a (58). For example, if station B (61) is the master station, the setting range for station B (69)
The contents of station A (60), station C (62) and station D (6
3) Send to. Next, in step (S102),
The slave station receives the data transmitted by the master station using the Ste Knob (Slot) and uses its own link device l a (67
), the received data is written into the part of the memory area that is the information area of the master station. For example, when station B (61) is the master station, stations A (60) and C (62)
), and link device l a owned by station D (63)
The received data is written in the information area (69) of station B in (67). Subsequently, in step (S l 03), it is determined whether transmission has been completed to all stations in network 1 a (5g), and if it has not been completed,
In step (S104), the master station changes the transmission destination slave station to another slave station that is not transmitting data yet.
Return to OI). In step (S103), if transmission to all slave stations in network l a (5g) is completed, the process proceeds to the next step (3105). All stations in network l a (58) can become master stations with transmission rights, and the first step (S106)
As shown in Figure 1, network l a which was a slave station until now
(58) Make one of the stations the master station and change the stations that have been the master station to slave stations. In step (S105), all stations in the network become master stations, and step (S105)
It is determined whether steps (lot) to Ste.knob (S104) have been repeatedly executed, and if this judgment condition is not satisfied, the process returns to Ste.knob (S106) and the network la (5g), which has been a slave station, is One station that has not yet become a master station is made the master station, and the process returns to step (SIOl). If the determination condition is satisfied in step (S105), the information transmission within the network l a (5g) is completed. When controlling a factory conveyor line using a commonly used transmission line with a transmission speed of around 9600 BPS, the information transmission time becomes too long as the number of stations in one network increases.

制御が追いつかなくなる。そこで工場内の局数が多いと
きはネットワークを複数にし、ファクトリオートメーシ
ョン・コントローラ等の比較的規模の大きい制御装置に
より制御する方法がとられている。このときネットワー
ク間で交信する必要のある情報の量はネットワーク内で
交信する情報の量に比べて小さいように構成して、ファ
クトリ・オートメーション・コントローラ等の負荷を小
さくシ、処理速度を遅くしないようにしている。このよ
うなファクトリ・オートメーション・コントローラ等の
役割は、第12図においては、A局(60)のp c 
(23)が果たしている。これは、ネットワークが2つ
で、その間のデータ交信を扱う場合、pcにネットワー
ク間交換機能を持たせることによりファクトリ・オート
メーション・コントローラを用いなくても間に合うこと
が多いためである。
Control cannot keep up. Therefore, when there are many stations in a factory, a method is used in which multiple networks are provided and control is performed using a relatively large-scale control device such as a factory automation controller. At this time, the amount of information that needs to be exchanged between networks is configured to be smaller than the amount of information that is exchanged within the network, to reduce the load on factory automation controllers, etc., and to avoid slowing down processing speed. I have to. In FIG. 12, the role of such a factory automation controller, etc. is the PC of station A (60).
(23) plays a role. This is because when there are two networks and data communication between them is handled, it is often possible to do without using a factory automation controller by providing a PC with an inter-network exchange function.

次に第9図、第11図におけるp c (23)の動作
について第15図のフロー図により説明する。第6図に
示す構成のネットワークにおいて、ステップ(3201
)で、 p c (23)のc p u (2g)は、
ネットワーク間データ転送を含まない被制御部(16)
の制御プログラム等(以下ユーザ処理と称す)を実行し
1次にステップ(S202)では、ネットワーク1(1
)からネットワーク2(2)へのデータ転送を行い、ス
テ1.プ(2003)ではネットワーク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)に転送すべ
きデータが格納されている領域のデータ(1,200)
〜(1,219)を。
Next, the operation of p c (23) in FIGS. 9 and 11 will be explained with reference to the flowchart in FIG. 15. In the network configured as shown in FIG.
), and c p u (2g) of p c (23) is
Controlled unit (16) that does not include data transfer between networks
In the first step (S202), the network 1 (1
) to network 2 (2), and step 1. In step (2003), data is transferred from network 2 (2) to network 1 (1), and then the process returns to step (S201) again to perform user processing. By repeating the above operations, station a (4)
) and performs data transfer processing between network 1 (1) and network 2 (2). In addition,
FIG. 16 shows an example of data transfer (401) performed in step (S202). In this example, data to be transferred to network 2 (2) is stored in the information area (9) of station b of link device 1 (6) of storage means 1 (20) of station a (4). Area data (1,200)
~(1,219).

a局(4)の記憶手段2 (21)にあるリンクデバイ
ス2(7)のa局の情報領域(8)の領域(LO) 〜
(Li2)に転送している。このようにして、ネットワ
ーク1(1)内の情報のうち、ネットワーク2(2)に
転送したい情報があるときは、これをネットワーク2(
2)のリンクデバイス2(7)のa局の情報領域(lO
)内に転送し、ネットワーク2(2)にある0局(5)
はリンクデバイス2(7)のa局の情報領域(10)の
領域にある情報を読むことにより、ネットワークl (
1)からネットワーク2(2)へのデータ転送が行われ
る。第15図のステップ(S203)ではネットワーク
2(2)からネットワーク1(1)へのデータ転送を行
うが、その動作はステップ(S202)において説明し
た動作と同様である。
Area (LO) of the information area (8) of the link device 2 (7) in the storage means 2 (21) of the a station (4) ~
(Li2). In this way, when there is information in network 1 (1) that you want to transfer to network 2 (2), you can transfer it to network 2 (2).
2), the information area (lO
), and the 0 station (5) in network 2 (2)
reads the information in the information area (10) of station a of link device 2 (7), and establishes network l (
Data transfer is performed from network 1) to network 2 (2). In step (S203) in FIG. 15, data is transferred from network 2 (2) to network 1 (1), and the operation is similar to that described in step (S202).

また第12図に示す構成のネットワークの場合はステッ
プ(S202)の動作は第17図における(401−1
)(402−1)、 (403−1)にその−例を示す
データ転送となり、これを動作フロー図で表すと第18
図のようになる。第18図においてステップ(S301
)では第17図に示される(401−1)のデータ転送
、具体的にはA局(60)の記憶手段1 (20)にお
けるリンクデバイスl a (67)のB局の情報領域
(69)のうち、ネットワーク2a (59)に転送す
べきデータが格納されているエリヤのデータ(L200
)〜(L219)を、A局(60)の記憶手段2 (2
1)にあるリンクデバイス2a (72)のA局の情報
領域(LO)〜(Li2)に転送する。ステップ(83
02)では第17図に示される(402−1)のデータ
転送、具体的にはリンクデバイス1 a (67)の0
局の情報領域(70)の(L360)〜(L379)の
内容をリンクデバイス2 a (72)のA局の情報領
域(73)の(L20)〜(L39)に転送する。ステ
ップ(S303)では、第17図に示される(403−
1)のデータ転送、具体的にはリンクデバイスl a 
(67)のD局の情報領域(L430) 〜(L449
)の内容をリンクデバイス2a (72)のA局の情報
領域(73)の([,40)〜(L59)に転送する。
In addition, in the case of a network having the configuration shown in FIG. 12, the operation of step (S202) is
) (402-1) and (403-1) are examples of data transfer.
It will look like the figure. In FIG. 18, step (S301
), the data transfer (401-1) shown in FIG. Among them, data in area (L200) where data to be transferred to network 2a (59) is stored.
) to (L219) are stored in the storage means 2 (2
1) is transferred to the information area (LO) to (Li2) of the A station of the link device 2a (72). Step (83
02), the data transfer (402-1) shown in FIG. 17, specifically the 0 of link device 1 a (67)
The contents of (L360) to (L379) of the station information area (70) are transferred to (L20) to (L39) of the A station information area (73) of the link device 2 a (72). In step (S303), (403-
1) Data transfer, specifically link device l a
(67) Information area of station D (L430) ~ (L449
) is transferred to ([,40) to (L59) of the information area (73) of the A station of the link device 2a (72).

以上のようにネットワークl a (5g)内の情報の
うち、ネットワーク2 a (59)に転送したい情報
があるときは、これをネットワーク2 a (59)の
リンクデバイス2 a (72)のA局の情報領域(7
3)内にデータ転送し、ネットワーク2 a (59)
にある局(64)(65)、 (66)はリンクデバイ
ス2 a (72)のA局の情報領域(73)の領域に
ある情報を読むことによりネットワークl a (5g
)からネットワーク2 a (59)へデータ転送を行
っている。なお、第15図のステップ(3203)にお
いてネットワーク2a (59)からネットワークl 
a (5g)へのデータ転送も上述と同様に行われる。
As mentioned above, when there is information that you want to transfer to network 2 a (59) among the information in network l a (5g), it is transferred to station A of link device 2 a (72) of network 2 a (59). information area (7
3) Transfer data to network 2 a (59)
Stations (64), (65), (66) in network l a (5g
) to network 2 a (59). Note that in step (3203) in FIG.
Data transfer to a (5g) is also performed in the same manner as described above.

[発明が解決しようとする課題] 従来のネットワーク間データ転送装置は以上のように構
成され、第1のネットワークと第2のネットワークの両
方に接続されている局におけるpcのユーザ処理プログ
ラムに、ネットワーク間のデータ転送処理プログラムが
シリアルに組込まれるのでネットワーク間のデータ転送
速度はユーザ処理プログラムの処理時間に左右される一
方、ユーザ処理が完了したとき、前のネットワーク内の
転送処理が完了していないときは完了するまで待つか、
前回と同一内容のネットワーク間データ転送を再び行う
ので、ユーザ処理プログラムの処理速度が遅くなるとい
う問題点があった。
[Problems to be Solved by the Invention] The conventional inter-network data transfer device is configured as described above, and the network Since the data transfer processing program between networks is built in serial, the data transfer speed between networks depends on the processing time of the user processing program, but when the user processing is completed, the previous transfer processing within the network has not been completed. Wait until the time is complete, or
Since inter-network data transfer with the same content as the previous one is performed again, there is a problem in that the processing speed of the user processing program is slowed down.

この発明は上記のような問題点を解決するためになされ
たもので、ネットワーク間のデータ転送を高速にすると
ともに、ネットワーク間データ転送のためのプログラム
をユーザ処理プログラムの中にシリアルに組込む手間を
省き、ネットワーク間データ転送処理の影響によりpc
のユーザ処理プログラムの処理速度が低下するのを少な
くしたネットワーク間データ転送処理装置を得ることを
目的とする。
This invention was made to solve the above-mentioned problems, and it not only speeds up data transfer between networks, but also eliminates the trouble of serially incorporating a program for data transfer between networks into a user processing program. Due to the influence of data transfer processing between networks,
An object of the present invention is to obtain an inter-network data transfer processing device that reduces the reduction in the processing speed of a user processing program.

[問題点を解決するための手段] この発明に係るネットワーク間データ転送装置は、ネッ
トワークのデータリンクを行う第1のネットワーク制御
手段と、自局およびネットワーク内の他局の情報を記憶
する第1の記憶手段とを有する局、上記局を複数接続し
た第1のネットワーク、同様に上記局を複数接続した第
2のネットワ−ク、第1のネットワークと第2のネット
ワークの両方に接続され第1のネットワークのデータリ
ンクを行う第2のネットワーク制御手段と第2のネット
ワークのデータリンクを行う第3のネットワーク制御手
段と自局の情報と第1のネットワーク内の他局の情報を
記憶する第3の記憶手段と第1のネットワークにおける
複数の局の記憶手段がそれぞれ同一情報を持つように制
御される情報伝達が完了したとき第2のネットワーク制
御手段が発生する割込信号をトリガとして第2の記憶手
段にある第2のネットワークに転送すべきデータを第3
の記憶手段の自局の情報を書きこむ領域に書きこむこと
により第1のネットワークから第2のネットワークにデ
ータ転送を行い、第2のネットワークから第1のネット
ワークへの転送も同様に行うネットワーク間データ転送
処理手段とを有する共通局によりネットワーク間のデー
タ転送を行うようにしたものである。
[Means for Solving the Problems] An inter-network data transfer device according to the present invention includes a first network control unit that performs a data link of a network, and a first network control unit that stores information about its own station and other stations in the network. a first network to which a plurality of the above-mentioned stations are connected; a second network to which a plurality of the above-mentioned stations are similarly connected; a first network connected to both the first network and the second network; a second network control means for performing a data link of the second network; a third network control means for performing a data link of the second network; and a third network control means for storing information of the own station and information of other stations in the first network. The storage means of the first network and the storage means of the plurality of stations in the first network are controlled so that they each have the same information.The second network control means triggers an interrupt signal generated by the second network control means when the information transmission is completed. The data to be transferred to the second network in the storage means is transferred to the third network.
Data is transferred from the first network to the second network by writing the information of the own station in the storage means in the write area, and the data is transferred from the second network to the first network in the same way. Data transfer between networks is performed by a common station having data transfer processing means.

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

[発明の実施例コ 以下この発明の一実施例を図について説明する東1図は
、従来例において説明した第6図におけるa局(4)お
よび第12図におけるA局(60)に相当するこの発明
の一実施例の構成を示している。第1図、第2図は割込
信号線1 (73)と割込信号線2(74)が追加され
、pc(23)において以下に説明する変更がある他は
従来例における第9図2第11図と同一である。即ち第
1図に示すネットワーク間データ転送処理手段B (7
5)は、従来例における第9図のネットワーク間データ
転送処理手段A (22)に比べ、テーブルポインタ(
80)、データ転送テーブル(77)を有し、ネットワ
ーク間データ転送のトリガ信号をネットワーク制御手段
2 (1g)およびネットワーク制御手段3 (19)
より受はネットワーク間データ転送を行う機能を有する
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be explained with reference to figures. Figure 1 corresponds to station a (4) in Figure 6 and station A (60) in Figure 12 described in the conventional example. 1 shows the configuration of an embodiment of this invention. FIGS. 1 and 2 are similar to the conventional example shown in FIG. 9, except that interrupt signal line 1 (73) and interrupt signal line 2 (74) are added, and the PC (23) is changed as described below. It is the same as FIG. 11. That is, the inter-network data transfer processing means B (7
5), the table pointer (
80), has a data transfer table (77), and transmits a trigger signal for inter-network data transfer to network control means 2 (1g) and network control means 3 (19).
The receiver has the function of transferring data between networks.

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

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

第3図(a)のフローにおいて、ステップ(S2)でデ
−夕転送テーブル(77)のテーブルポインタ(84)
をクリヤする。次にステップ(S3)では、データ転送
テーブル(77)のテーブルポインタ(84)の指示す
る位置にデータ転送アドレス情報(80)、 (81)
、 (82)。
In the flow of FIG. 3(a), in step (S2), the table pointer (84) of the data transfer table (77) is
Clear. Next, in step (S3), data transfer address information (80), (81) is placed in the position indicated by the table pointer (84) of the data transfer table (77).
, (82).

(83)が書かれているかチエツクする。そして、書か
れていれば2次のステップ(S4)に進みデータ転送処
理を行う。すなわちデータ転送テーブル(77)のテー
ブルポインタ(84)の指示する位置においてデータ転
送テーブル(77)のデータ転送元デバイスアドレス欄
(78)に書かれているデータ転送開始アドレス(80
)とデータ転送終了アドレス(81)とが指定するデー
タ転送元のリンクデバイス1(6)の内容を、データ転
送テーブル(77)のデータ転送先デバイスアドレス欄
(79)に書かれているデータ格納開始アドレス(82
)とデータ格納終了アドレス(83)が指定するデータ
転送先のa局(4)の情報領域であるメモリ領域に書き
込む。
Check if (83) is written. If it has been written, the process advances to the secondary step (S4) and data transfer processing is performed. That is, the data transfer start address (80) written in the data transfer source device address column (78) of the data transfer table (77) at the position indicated by the table pointer (84) of the data transfer table (77)
) and the data transfer end address (81) specify the contents of the data transfer source link device 1 (6), and store the data written in the data transfer destination device address column (79) of the data transfer table (77). Start address (82
) and the data storage end address (83) are written in the memory area, which is the information area of station a (4), which is the data transfer destination.

続いてステップ(S5)において、テーブルポインタ(
84)をカウントアツプし、ステップ(S3)に戻るス
テップ(S3)において、テーブルポインタ(84)の
指示する位置に、データ転送アドレス情報(+110)
Subsequently, in step (S5), the table pointer (
84) and returns to step (S3), the data transfer address information (+110) is added to the position indicated by the table pointer (84).
.

(81)、 (82)、 (83)が書かれていなけれ
ばデータ転送を終了する。
If (81), (82), and (83) are not written, data transfer ends.

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

第5図は、第12図第13図で示されるネットワーク間
のデータ転送において、データ転送テーブル(77)を
用いて、リンクデバイスl a (67)からリンクデ
バイス2 a (72)間のデータ転送を行う場合を示
している。図においてリンクデバイスl a (67)
の8局の情報領域(86)のうち、リンクデバイス2(
72)にデータ転送する情報が格納されているアドレス
(L200)〜(L219)の内容と、リンクデバイス
la (67)の0局の情報領域(87)のうちリンク
デバイス2a (72)にデータ転送する情報が格納さ
れているアドレス(L360)〜(L379)の内容と
、リンクデバイス1 a (67)のD局の情報領域(
88)のうちリンクデバイス2a (72)にデータ転
送する情報が格納されているアドレス(L36(1)〜
(L379)の内容と、リンクデバイス1 a (67
)のD局の情報領域(88)のうちリンクデバイス2a
 (72)にデータ転送する情報が格納されているアド
レス(L430)〜(L449)の内容とを、転送先の
リンクデバイス2 a (72)のA局の情報領域(8
5)のアドレス(LO)〜(Ll9)、 アドレス(L
20)〜(L39)、  アドレス(L40)〜(L5
9)に格納する場合の例を示している。
FIG. 5 shows data transfer between link device l a (67) and link device 2 a (72) using a data transfer table (77) in data transfer between networks shown in FIGS. 12 and 13. This shows the case when doing this. In the figure, link device l a (67)
Of the information areas (86) of the eight stations, link device 2 (
72) and the contents of addresses (L200) to (L219) storing information to be transferred to link device 2a (72) in the information area (87) of the 0th station of link device la (67). The contents of the addresses (L360) to (L379) where information is stored and the information area of the D station of link device 1 a (67) (
88), addresses (L36(1) to
(L379) and link device 1 a (67
) of the information area (88) of station D, the link device 2a
The contents of addresses (L430) to (L449) storing information to be transferred to (72) are transferred to the information area (8
5) Address (LO) ~ (Ll9), Address (L
20) ~ (L39), address (L40) ~ (L5
9) shows an example of storing.

なお、ネットワーク2 a (72)からネットワーク
l a (67)へのデータ転送は、ネットワーク2a
(72)のネットワーク内情報伝達完了信号によりネッ
トワーク2 a (72)からネットワークl a (
67)へのネットワーク間データ転送処理プログラムが
起動され同様に処理される。
Note that data transfer from network 2 a (72) to network l a (67) is performed using network 2 a
(72)'s intra-network information transmission completion signal causes the network 2 a (72) to be transferred from network l a (
67) is activated and similarly processed.

以上のようにしてネットワーク間の双方向のデータ転送
ができ、しかも、第6図におけるa局(4)または第1
2図におけるA局(60)のp c (72)は、ユー
ザ処理プログラムとシリアルにネットワーク間データ転
送プログラムを挿入しないでよく、動作フローは第3図
(b)に示すステップ(SIO)のユーザ処理のみとな
る。
As described above, data can be transferred bidirectionally between networks.
The PC (72) of the A station (60) in Figure 2 does not need to insert an inter-network data transfer program serially with the user processing program, and the operation flow is similar to that of the user in the step (SIO) shown in Figure 3(b). Processing only.

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

また、上記実施例では第1のネ・ノドワークは共通局を
含め2局または4局、第2のネットワークも共通局を含
め2局または4局で構成されるが。
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.

第1のネットワークに接続される局の数および第2のネ
ットワークに接続される局の数は任意であってよい。
The number of stations connected to the first network and the number of stations connected to the second network may be arbitrary.

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

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

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

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

Claims (1)

【特許請求の範囲】[Claims] (1)ネットワークのデータリンクを行う第1のネット
ワーク制御手段と自局およびネットワーク内の他局の情
報を記憶し上記第1のネットワーク制御手段からアクセ
スできる第1の記憶手段とを有する局、上記局を複数接
続した第1のネットワーク、上記局を複数接続した第2
のネットワーク上記第1のネットワークと上記第2のネ
ットワークの両方に接続され上記第1のネットワークの
データリンクを行う第2のネットワーク制御手段と上記
第2のネットワークのデータリンクを行う第3のネット
ワーク制御手段と自局の情報を上記第1のネットワーク
内の他局の情報を記憶し上記第2のネットワーク制御手
段からアクセスできる第2の記憶手段と自局の情報と上
記第2のネットワーク内の他局の情報を記憶し上記第3
のネットワーク制御手段からアクセスできる第3の記憶
手段と上記第1のネットワークにおける複数の局の記憶
手段がそれぞれ同一情報を持つように制御される情報伝
達が完了したとき上記第2のネットワーク制御手段が発
生する割込信号により上記第2の記憶手段に記憶されて
いる上記第1のネットワークから上記第2のネットワー
クに転送すべきデータを上記第3の記憶手段の自局の情
報を書き込む領域に書き込むことにより上記第1のネッ
トワークから上記第2のネットワークへデータ転送を行
い上記第2のネットワークにおける複数の局の記憶手段
がそれぞれ同一情報を持つように制御される情報伝達が
完了したとき上記第3のネットワーク制御手段が発生す
る割込信号により上記第3の記憶手段に記憶されている
上記第2のネットワークから上記第1のネットワークに
転送すべきデータを上記第2の記憶手段の自局の情報を
書き込む領域に書き込むことにより上記第2のネットワ
ークから上記第1のネットワークへデータ転送を行うネ
ットワーク間データ転送処理手段とを有する共通局から
なるネットワーク間データ転送装置。
(1) A station having a first network control means for performing a network data link and a first storage means for storing information of the own station and other stations in the network and accessible from the first network control means; A first network that connects multiple stations, and a second network that connects multiple stations mentioned above.
a second network control means that is connected to both the first network and the second network and performs a data link of the first network; and a third network control unit that performs a data link of the second network. A second storage means that stores information on other stations in the first network and that can be accessed from the second network control means and information on the own station and information on other stations in the second network. Memorize the station information and repeat the 3rd step above.
When the information transmission is completed, the third storage means accessible from the network control means and the storage means of the plurality of stations in the first network are controlled so that they each have the same information. Writing the data stored in the second storage means to be transferred from the first network to the second network in response to the generated interrupt signal in an area of the third storage means in which information about the own station is written. When the information transmission is completed, the data is transferred from the first network to the second network, and the storage means of the plurality of stations in the second network are controlled so that they each have the same information. The data to be transferred from the second network stored in the third storage means to the first network is transferred to the own station information in the second storage means by an interrupt signal generated by the network control means. An inter-network data transfer device comprising a common station, and inter-network data transfer processing means for transferring data from the second network to the first network by writing in a write area.
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 true JPH03188734A (en) 1991-08-16
JPH0710070B2 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
JPH0710070B2 (en) 1995-02-01

Similar Documents

Publication Publication Date Title
US4942552A (en) Method and apparatus for saving and performing industrial control commands
JPH01502708A (en) Information transmission methods and devices
JPS6224801B2 (en)
JPH03188734A (en) Inter-network data transfer equipment
US5737626A (en) Deterministic communication network for industrial control
JPS6244808A (en) Control method for nc working machine group
EP0407612B1 (en) External extension type programmable controller
JP3356268B2 (en) Control system equipment
JP3265026B2 (en) I / O data exchange method
JP3113121B2 (en) Link device expansion method and transfer method thereof
JP2770177B2 (en) Link interface module of programmable controller
JP2774669B2 (en) Network configuration method for programmable controller
JPH0439684B2 (en)
JPS61161505A (en) Master controller of programmable controller
JPS6236938A (en) Communication control equipment for local area network
JP3414486B2 (en) Node communication device
JPS582496B2 (en) Data transfer method
JP3465798B2 (en) Distributed control system
JPH0559626B2 (en)
JPH04195605A (en) Programmable controller
JPH0683225B2 (en) Data transmission method to slave station in FA controller
JPS6232748A (en) Data transfer equipment
JPS6162957A (en) Communication control system
JPS60122452A (en) Controller
JPH0369229A (en) Communication control equipment

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