JPH06311202A - Expanding method for link device and transfer method for the same - Google Patents

Expanding method for link device and transfer method for the same

Info

Publication number
JPH06311202A
JPH06311202A JP5098041A JP9804193A JPH06311202A JP H06311202 A JPH06311202 A JP H06311202A JP 5098041 A JP5098041 A JP 5098041A JP 9804193 A JP9804193 A JP 9804193A JP H06311202 A JPH06311202 A JP H06311202A
Authority
JP
Japan
Prior art keywords
link
station
link device
parameter
unique
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
JP5098041A
Other languages
Japanese (ja)
Other versions
JP3113121B2 (en
Inventor
Hiromi Horikiri
裕美 堀切
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 JP05098041A priority Critical patent/JP3113121B2/en
Publication of JPH06311202A publication Critical patent/JPH06311202A/en
Application granted granted Critical
Publication of JP3113121B2 publication Critical patent/JP3113121B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

(57)【要約】 【目的】 各局への通信手順を変えることなくリンクデ
バイスを転送し、これまで使用していたシーケンスプロ
グラムに変更部分を追加するのみで済むようにして作業
効率を向上させる。 【構成】 管理局により設定した全局同一の共通リンク
パラメータ1と各局毎に設定し自局のリンクデバイス受
信エリアを決定する局固有の固有リンクパラメータと2
の内容に基づいてデータリンクを実行する際に、ある局
のリンクデバイス受信エリアを拡張するために、共通リ
ンクパラメータ1の設定を変更した後、共通リンクパラ
メータ1とリンクデバイス拡張前から設定していた固有
リンクパラメータ2とを自動的にチェックし、変更部分
についてのリンクデバイス受信エリアを、その先頭アド
レス、サイズを任意に周辺装置から新規の固有リンクパ
ラメータ2’として入力して各局に設定する。
(57) [Abstract] [Purpose] To improve the work efficiency by transferring the link device without changing the communication procedure to each station and adding only the changed part to the sequence program used so far. [Structure] Common link parameter 1 set by the management station that is the same for all stations and station-specific link parameter that is set for each station and determines the link device reception area of the station and 2
In order to extend the link device reception area of a certain station when executing the data link based on the contents of, the common link parameter 1 and the common link parameter 1 are set before the link device is extended. Then, the link device reception area for the changed portion is automatically input as a new unique link parameter 2'from the peripheral device and set to each station.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、周辺装置からの固有
リンクパラメータの入力により、従来のシーケンスプロ
グラムを変更することなく、受信データを追加すること
ができるリンクデバイスの拡張方法とその転送方法に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a link device expansion method capable of adding received data without changing a conventional sequence program by inputting a unique link parameter from a peripheral device, and a transfer method thereof. It is a thing.

【0002】[0002]

【従来の技術】現在、工場内におけるシステムの大規模
化等により、複数のプログラマブルコントローラ間にお
いてネットワークを用いてデータリンクを行う必要性が
高くなってきている。また、新しいラインの追加等、シ
ステムの変更に伴い、最初に設定したデータリンクにお
けるリンクパラメータの設定を変更しなければならない
ことも少なくない。
2. Description of the Related Art At present, there is an increasing need to perform data link between a plurality of programmable controllers by using a network due to a large scale system in a factory. In addition, it is often the case that the setting of the link parameter in the initially set data link has to be changed due to the system change such as the addition of a new line.

【0003】図13は、従来におけるデータリンクシス
テムの概略構成を示す説明図である。図において、1
2,13は、それぞれデータリンクを構築するプログラ
マブルコントローラ(以下、PCという)であり、12
はデータリンクを制御する管理局(以下、MPCとい
う)として位置付けされたPCである。また、13はM
PCおよび他のPCとそれぞれN:Nでデータリンクを
構築する通常局(以下、NPCという)として位置付け
されたPCである。また、14はこれらの各PCに直結
され、パラメータの入力やシーケンスプログラムの作成
を実行する周辺装置である。
FIG. 13 is an explanatory diagram showing a schematic configuration of a conventional data link system. In the figure, 1
Reference numerals 2 and 13 denote programmable controllers (hereinafter, referred to as PCs) that construct a data link, respectively.
Is a PC positioned as a management station (hereinafter referred to as MPC) that controls the data link. Also, 13 is M
It is a PC positioned as a normal station (hereinafter referred to as NPC) that establishes a data link with a PC and another PC by N: N. Reference numeral 14 is a peripheral device directly connected to each of these PCs for inputting parameters and creating a sequence program.

【0004】次に、共通リンクパラメータと固有リンク
パラメータの関係を説明する。共通リンクパラメータ
は、その設定をMPC12により実行され、ネットワー
ク内全てのPCが共有している全局同一のリンクパラメ
ータである。一方、この共通リンクパラメータに対し、
固有リンクパラメータは各NPC13にてそれぞれ設定
され、共通リンクパラメータにて設定されたリンクデバ
イスを受信する自局の受信エリアを任意に設定する局固
有のリンクパラメータである。
Next, the relationship between the common link parameter and the unique link parameter will be described. The common link parameter is a link parameter that is set by the MPC 12 and is the same for all stations shared by all PCs in the network. On the other hand, for this common link parameter,
The unique link parameter is set by each NPC 13, and is a station-specific link parameter that arbitrarily sets the reception area of the own station that receives the link device set by the common link parameter.

【0005】図14は、共通リンクパラメータの内部構
成と、その設定例を示す説明図であり、上記図13に示
したようなシステム構成時における設定内容の一例を示
している。図において、15はネットワーク内の号機N
o.、16は各号機が受信するリンクデバイスの先頭ア
ドレス、17はそのリンクデバイスのサイズを示してい
る。また、これら15〜17を周辺装置14(図13参
照)から入力し、管理局MPC12へ設定することによ
り、共通リンクパラメータがネットワーク内のPC全局
に設定される。
FIG. 14 is an explanatory diagram showing the internal structure of the common link parameter and its setting example, and shows an example of the setting contents in the system structure as shown in FIG. In the figure, 15 is a machine N in the network
o. , 16 indicates the head address of the link device received by each machine, and 17 indicates the size of the link device. Further, by inputting these 15 to 17 from the peripheral device 14 (see FIG. 13) and setting them in the management station MPC12, common link parameters are set to all PC stations in the network.

【0006】次に、この共通リンクパラメータの設定内
容について説明する。号機1と設定されたNPC13
は、リンクデバイスをアドレス0からサイズ20、すな
わち、アドレス019までを共通リンクパラメータで設
定された受信エリアにより受信し、同様に号機2はアド
レス020からアドレス039、号機3はアドレス04
0からアドレス069の受信エリアにおいてそれぞれリ
ンクデバイスを受信する設定になる。
Next, the setting contents of this common link parameter will be described. NPC 13 set as Unit 1
Receives the link device from address 0 to size 20, that is, address 019 in the reception area set by the common link parameter. Similarly, the number 2 is from address 020 to the address 039 and the number 3 is from address 04.
In the reception area from 0 to address 069, the link devices are set to be received.

【0007】図15は、従来における固有リンクパラメ
ータの内部構成と、その設定例を示す説明図であり、図
13に示すようなシステム構成時における設定内容の一
例を示している。図において、18はリンクデバイスの
受信エリアにおける局順を示している。これを周辺装置
14から各局に設定することによって、それぞれの局で
は、自局のリンクデバイス受信エリアを決定している。
FIG. 15 is an explanatory diagram showing an internal structure of a conventional unique link parameter and a setting example thereof, and shows an example of setting contents in the system structure shown in FIG. In the figure, 18 indicates the station order in the reception area of the link device. By setting this to each station from the peripheral device 14, each station determines its own link device receiving area.

【0008】次に、固有リンクパラメータの設定内容の
例について説明する。この固有リンクパラメータが設定
された局では、リンクデバイスの受信エリアにおける局
順が、号機1,号機3,号機2という順番になっている
ため、この順番にしたがって共通リンクパラメータによ
り設定された各号機のリンクデバイスが、1,3,2の
号機順番により受信エリアへ指定されたサイズでリンク
デバイスを転送する設定になる。
Next, an example of setting contents of the unique link parameter will be described. In the station to which this unique link parameter is set, the order of stations in the receiving area of the link device is the order of No. 1, No. 3 and No. 2, so each unit set by the common link parameter according to this order. The link device of No. 1 is set to transfer the link device in the designated size to the receiving area in the order of the machine numbers 1, 3, 2.

【0009】図16は、固有リンクパラメータ設定なし
の場合において、データリンクした場合における各局の
受信状態を示す説明図である。すなわち、固有リンクパ
ラメータを設定せずに、共通リンクパラメータの設定の
みで図13に示したようなシステム構成を用いてデータ
リンクを実行させた際におけるリンクデバイスの動きを
示している。図16において、1は図14に示したよう
な内容でMPC12に設定された全局同一である共通リ
ンクパラメータの割り付け、2は各局で設定された局固
有の固有リンクパラメータの割り付け、3は各局側で実
際にリンクデバイスを受信した受信エリアである。ま
た、図において、,,は、共通リンクパラメータ
1および固有リンクパラメータ2の中でそれぞれ割り付
けられた各NPC13におけるリンクデバイスの受信エ
リアを示している。さらに、その左横の数字は、それぞ
れの局の受信エリアの先頭アドレスを示している。
FIG. 16 is an explanatory diagram showing a reception state of each station in the case of data linking without setting the unique link parameter. That is, it shows the movement of the link device when the data link is executed using the system configuration as shown in FIG. 13 only by setting the common link parameter without setting the unique link parameter. In FIG. 16, 1 is allocation of common link parameters that are the same for all stations set in the MPC 12 and has the content shown in FIG. 14, 2 is allocation of unique link parameters peculiar to each station set in each station, and 3 is each station side Is the reception area where the link device was actually received. Further, in the figure ,, and indicate the receiving areas of the link devices in each NPC 13 allocated in the common link parameter 1 and the unique link parameter 2, respectively. Further, the number on the left side of the figure shows the start address of the reception area of each station.

【0010】次に、動作について説明する。図16に示
したように固有リンクパラメータ2の設定がない場合に
あっては、共通リンクパラメータ1の設定内容における
先頭アドレス、サイズに基づいて、局順にリンクデバイ
スが各局の受信エリアへそのまま矢印で示したような動
作により転送される。
Next, the operation will be described. When the specific link parameter 2 is not set as shown in FIG. 16, the link devices are directly arrowed to the receiving areas of the respective stations in the station order based on the start address and size in the setting content of the common link parameter 1. It is transferred by the operation as shown.

【0011】図17は、従来における固有リンクパラメ
ータによる各局の受信状態を示す説明図であり、図16
に示した状態に固有リンクパラメータ2を図15に示し
たような内容で設定し、データリンクを構築した際のリ
ンクデバイスの動きを示している。固有リンクパラメー
タ2において受信エリアの局順を図17に示したように
1,3,2と設定すると、共通リンクパラメータ1で設
定された局番1のリンクデバイス受信エリアは、アド
レス0からサイズ20でアドレス019の受信エリアへ
転送され、局番3のリンクデバイス受信エリアは、固
有リンクパラメータ2にて2番目に設定されているた
め、局番1のリンクデバイス受信エリアのすぐ後に共
通リンクパラメータ1で設定されていたサイズ30で、
アドレス20からアドレス49の受信エリアへ転送され
る。
FIG. 17 is an explanatory diagram showing the reception state of each station according to the conventional unique link parameter.
15 shows the behavior of the link device when the data link is constructed by setting the peculiar link parameter 2 with the content as shown in FIG. 15 in the state shown in FIG. When the station order of the receiving area in the unique link parameter 2 is set to 1, 3 and 2 as shown in FIG. 17, the link device receiving area of the station number 1 set in the common link parameter 1 is from address 0 to size 20. It is transferred to the receiving area of address 019, and the link device receiving area of station number 3 is set second by the unique link parameter 2, so it is set by common link parameter 1 immediately after the link device receiving area of station number 1. The size was 30
It is transferred from the address 20 to the receiving area of the address 49.

【0012】また、同様に、局番2のリンクデバイス受
信エリアは、固有リンクパラメータ2で3番目として
設定されているため、リンクデバイス受信エリアの後
にアドレス50からアドレス69のサイズ20として受
信エリアへ転送されることになる。なお、図中の矢印
は、このようなリンクデバイスの受信エリアへの転送の
動作を示している。
Similarly, since the link device receiving area of the station number 2 is set as the third by the unique link parameter 2, it is transferred to the receiving area as the size 20 of the address 50 to the address 69 after the link device receiving area. Will be done. The arrow in the figure indicates the operation of transferring such a link device to the reception area.

【0013】図18は、従来における各局のリンクデバ
イス受信動作を示すフローチャートである。まず、他局
から送信されてきたリンクデバイスを共通リンクパラメ
ータにより設定された受信エリアへ転送し(S22)、
その後、固有リンクパラメータが設定されているか否か
を判断する(S23)。その結果、固有リンクパラメー
タが設定されていないと判断したときには、共通リンク
パラメータにより設定された受信エリアでリンクデバイ
スを受信した後(S25)、本処理を終了する。反対
に、上記ステップ23において、固有リンクパラメータ
が設定されていると判断したときには、リンクデバイス
を共通リンクパラメータで設定された受信エリアから固
有リンクパラメータで設定された受信エリアへ転送し
(S24)、リンクデバイスを受信した後(S25)、
本処理を終了する。
FIG. 18 is a flowchart showing the link device receiving operation of each station in the related art. First, the link device transmitted from another station is transferred to the reception area set by the common link parameter (S22),
Then, it is determined whether or not the unique link parameter is set (S23). As a result, when it is determined that the unique link parameter is not set, after the link device is received in the reception area set by the common link parameter (S25), this process is ended. On the contrary, when it is determined in step 23 that the unique link parameter is set, the link device is transferred from the receiving area set by the common link parameter to the receiving area set by the unique link parameter (S24), After receiving the link device (S25),
This process ends.

【0014】次に、各局で受信されるリンクデバイスを
拡張した場合の従来における処理方法について説明す
る。図19は、従来におけるリンクデバイス拡張時の各
局の受信状態を示す説明図である。すなわち、図19
は、図17において説明したような内容の共通リンクパ
ラメータ1および固有リンクパラメータ2により設定さ
れ、データリンクしていた状態に1局目のNPC13の
リンクデバイスをサイズ10だけ拡張させた場合におけ
る各局での受信エリアの変化を示している。図19にお
いて斜線で示した部分が新たに拡張された1局目のNP
C13のリンクデバイスである。なお、図中、3’は共
通リンクパラメータ1を拡張する前の各局の受信結果を
拡張後の3と比較しやすくするために補足的に示したも
のである。
Next, a conventional processing method when the link device received by each station is expanded will be described. FIG. 19 is an explanatory diagram showing a reception state of each station when the conventional link device is expanded. That is, FIG.
Is set by the common link parameter 1 and the unique link parameter 2 having the contents described in FIG. 17, and at each station when the link device of the NPC 13 of the first station is expanded by the size 10 in the data link state. Shows the change of the reception area of. The shaded area in FIG. 19 indicates the newly expanded NP of the first station.
It is a C13 link device. In the figure, reference numeral 3'is a supplementary one for making it easier to compare the reception result of each station before the common link parameter 1 is expanded with that after the expansion.

【0015】まず、MPC12にて共通リンクパラメー
タ1の設定を変更する。1局目のNPC13のサイズを
10拡張するため、それぞれ1局目のNPC13のアド
レスが0〜29、2局目のNPC13のアドレスが30
〜49、3局目のNPC13のアドレスが50〜79と
いう設定になり、2,3局目のNPC13では元の共通
リンクパラメータの設定と比較して、アドレスが1局目
の拡張分である10ずつずれることになる。
First, the MPC 12 changes the setting of the common link parameter 1. Since the size of the first NPC 13 is expanded by 10, the address of the first NPC 13 is 0 to 29, and the address of the second NPC 13 is 30 respectively.
˜49, the address of the NPC 13 of the 3rd station is set to 50 to 79, and in the NPC 13 of the 2nd and 3rd stations, the address is the extension of the 1st station, compared with the setting of the original common link parameter. It will be shifted by one.

【0016】従来における固有リンクパラメータでは、
局順の設定しかできないため、上記のように共通リンク
パラメータ1のリンクデバイスを拡張し、割り付けの内
容に変更があった場合、各局では設定されている固有リ
ンクパラメータ2の割り付けの局順に基づいて、共通リ
ンクパラメータ1のサイズで他局から送信されてきたリ
ンクデバイスを各受信エリアに転送する。
In the conventional unique link parameter,
Since only the station order can be set, if the link device of the common link parameter 1 is expanded as described above and the assignment contents are changed, the station order is set based on the assigned unique link parameter 2 of each station. , The link device transmitted from another station with the size of the common link parameter 1 is transferred to each reception area.

【0017】上記の動作を、この例で説明すると、図1
9において示すように、1局目のNPC13のリンクデ
バイスはアドレス0〜29の受信エリアへ、2局目のN
PC13のリンクデバイスは固有リンクパラメータ2で
局順が3番目に設定されているためアドレス60〜79
の受信エリアへ、3局目のNPC13のリンクデバイス
は局順が2番目に設定されているためアドレス30〜5
9の受信エリアへそれぞれ転送されて受信されることに
なる。これをリンクデバイス拡張前の受信状態を示した
3’と比較すると明らかなように、2,3局目のNPC
13における受信エリアの先頭アドレスが1局目のNP
C13の拡張分だけ、共通リンクパラメータにおける設
定と同様にずれることになる。
The above operation will be described with reference to FIG.
As shown in FIG. 9, the link device of the NPC 13 of the first station goes to the reception area of addresses 0 to 29 and the N
Since the link device of the PC 13 is set to the third station order by the unique link parameter 2, the addresses 60 to 79 are set.
To the reception area of the third station, the link device of the third NPC 13 is set to the second station order.
It will be transferred and received in each of the nine receiving areas. As is clear from a comparison of this with 3 ', which shows the reception state before the link device expansion, the NPCs of the second and third stations
The first address of the reception area in 13 is the NP of the first station
Only the extension of C13 will be displaced similarly to the setting in the common link parameter.

【0018】図20は、図16に示した状態のときに各
局において使用していたシーケンスプログラムである。
これは、図17において説明した1局目のNPC13の
リンクデバイスを拡張する前の状態のときに、各NPC
13のデータリンクを構築するために使用していたシー
ケンスプログラムの一部を示すものである。図におい
て、9が1局目のNPC13のシーケンスプログラム、
10が2局目のNPC13のシーケンスプログラム、1
1が3局目のNPC13のシーケンスプログラムをそれ
ぞれ示している。
FIG. 20 shows a sequence program used in each station in the state shown in FIG.
This is because when the link device of the first NPC 13 explained in FIG.
13 shows a part of a sequence program used for constructing 13 data links. In the figure, 9 is a sequence program of the first NPC 13,
10 is a sequence program for the second NPC 13, 1
Reference numeral 1 denotes the sequence program of the NPC 13 of the third station.

【0019】次に、上記従来におけるシーケンスプログ
ラムの動作について説明する。まず、1局目のNPC1
3のシーケンスプログラム9でX0の接点がONする
と、リンクデバイスB0がONする。次に、1局目のN
PC13におけるリンクデバイスB0がONすることに
より、2局目のNPC13におけるシーケンスプログラ
ム10のリンクデバイスB0の接点がONし、タイマT
0により、その1秒後にリンクデバイスB50がONす
る。そして、2局目のNPC13でB50がONしたこ
とにより、3局目のNPC13のシーケンスプログラム
11でリンクデバイスB50の接点がONし、シーケン
スプログラム10と同様にタイマT0により、1秒後に
リンクデバイスB20がONする。
Next, the operation of the conventional sequence program will be described. First, the first NPC1
When the contact of X0 is turned on in the sequence program 9 of 3, the link device B0 is turned on. Next, the first station N
When the link device B0 of the PC 13 is turned on, the contact of the link device B0 of the sequence program 10 of the second NPC 13 is turned on, and the timer T
With 0, the link device B50 is turned on 1 second later. Then, since the B50 is turned ON in the NPC 13 of the second station, the contact of the link device B50 is turned ON in the sequence program 11 of the NPC 13 of the third station, and the link device B20 is set in 1 second after the timer T0 as in the sequence program 10. Turns on.

【0020】図21は、図19に示した状態のときに各
局で図17に示した固有リンクパラメータによる各局の
受信状態を修正したシーケンスプログラムである。すな
わち、図21は、図19を用いて説明したように、1局
目のNPC13のリンクデバイスをサイズ10だけ拡張
して各局の受信エリアにおけるアドレスがずれているの
で、これに伴って各NPC13で図20に示したシーケ
ンスプログラムを修正したものである。図において、破
線で囲んだ個所がその修正部分を示している。
FIG. 21 is a sequence program in which each station corrects the reception state of each station according to the unique link parameter shown in FIG. 17 in the state shown in FIG. That is, in FIG. 21, as described with reference to FIG. 19, the link device of the NPC 13 of the first station is expanded by size 10 and the address in the reception area of each station is displaced, and accordingly, in each NPC 13, It is a modification of the sequence program shown in FIG. In the figure, the portion surrounded by a broken line shows the modified portion.

【0021】まず、1局目のNPC13におけるシーケ
ンスプログラム9でX0の接点がONすると、リンクデ
バイスB0とB20がONする。リンクデバイスB20
はリンクデバイス拡張により1局目のNPC13のリン
クデバイスとなり、追加されたものである。次に、1局
目のNPC13におけるリンクデバイスB0がONした
ことにより、2局目のNPC13におけるプログラム1
0のリンクデバイスB0の接点がONし、タイマT0に
より、その1秒後にリンクデバイスB60がONする。
これはリンクデバイス拡張前における図16では、B5
0であったリンクデバイスが1局目のリンクデバイス拡
張分の10だけずれたため、B50は、2局目のNPC
13に設定されたリンクデバイスではなくなり、B60
へ修正してある。
First, when the contact of X0 is turned on by the sequence program 9 in the NPC 13 of the first station, the link devices B0 and B20 are turned on. Link device B20
Is added as a link device of the first NPC 13 by the link device expansion. Next, since the link device B0 in the first NPC 13 is turned on, the program 1 in the second NPC 13 is
The contact of the link device B0 of 0 is turned on, and the timer T0 turns on the link device B60 one second later.
This is B5 in FIG. 16 before the link device expansion.
Since the link device that was 0 was shifted by 10 for the link device expansion of the first station, B50 is the NPC of the second station.
It is no longer a link device set to 13, and B60
It has been corrected to.

【0022】その後、この2局目のリンクデバイスB6
0がONしたことにより、3局目のNPC13のシーケ
ンスプログラム11によりリンクデバイスB60の接点
がONし、タイマT0により、1秒後にリンクデバイス
B30がONする。このリンクデバイスB30について
も、シーケンスプログラム10のB60と同様、リンク
デバイス拡張前における図16では、B20であったと
ころが拡張分だけずれることによって、B20は1局目
のNPC13におけるリンクデバイスとなり、3局目の
リンクデバイスの設定がB30からになったことによる
修正を実行する。
After that, the link device B6 of the second station
When 0 is turned on, the contact of the link device B60 is turned on by the sequence program 11 of the third NPC 13, and the link device B30 is turned on after 1 second by the timer T0. Similar to B60 of the sequence program 10, as for the link device B30, B20 in FIG. 16 before expansion of the link device is shifted by the expansion amount, and B20 becomes the link device in the NPC 13 of the first station. The correction is executed because the setting of the eye link device is changed from B30.

【0023】すなわち、従来においては、図20および
図21を用いて説明したように、受信エリアがずれるこ
とにより、そこへ受信されるリンクデバイスを用いてシ
ーケンスプログラムを作成し、データリンク処理を実行
している各局にあっては、受信エリアのアドレスの変更
に伴って、それまで使用していたシーケンスプログラム
の修正をその都度実行していた。
That is, in the prior art, as described with reference to FIGS. 20 and 21, the reception area is shifted, so that the sequence program is created using the link device received there and the data link processing is executed. At each station, the sequence program used up to that point was modified each time the address of the receiving area was changed.

【0024】その他、この発明に関連する参考技術文献
としては、特開平4−35138号公報に開示されてい
る「受信バッファ管理方法」、特開平2−44837号
公報に開示されている「アドレス設定方式」、特開平3
−127104号公報に開示されている「プログラマブ
ルコントローラのデータリンク装置」、特開平3−65
705号公報に開示されている「プログラマブルコント
ローラのリンクシステム」、特開平4−35338号公
報に開示されている「外部テーブルによるバッファ取得
方法」、特開平1−307857号公報に開示されてい
る「受信バッファ制御方式」がある。
As other reference technical documents related to the present invention, "Reception buffer management method" disclosed in JP-A-4-35138 and "Address setting" disclosed in JP-A-2-44837. Method ", Japanese Patent Laid-Open No. Hei 3
-127104 "Data link device of programmable controller" disclosed in Japanese Patent Laid-Open No. 3-65
"Programmable controller link system" disclosed in Japanese Patent Laid-Open No. 705, "Buffer acquisition method using an external table" disclosed in Japanese Patent Laid-Open No. 4-35338, and "Japanese Patent Laid-Open No. 1-307857". There is a receive buffer control method.

【0025】[0025]

【発明が解決しようとする課題】しかしながら、上記に
示されるような従来におけるリンクパラメータ拡張方法
にあっては、各局で受信されるリンクデバイスを拡張す
るために、共通のリンクパラメータで割り付けられてい
たリンクデバイスを拡張すると、各局ではリフレッシュ
される受信エリアのアドレスが変化してしまうため、そ
れらのリンクデバイスを用いて作成しているシーケンス
プログラムをその都度、変更内容に合わせて修正しなけ
ればならず、作業効率が悪いという問題点があった。
However, in the conventional link parameter extending method as described above, common link parameters are assigned in order to extend the link device received by each station. If the link device is expanded, the address of the refreshed reception area will change at each station, so the sequence program created using these link devices must be modified each time according to the changes. There was a problem that work efficiency was poor.

【0026】この発明は、上記に鑑みてなされたもので
あって、各局のリンクデバイスを拡張するために、共通
リンクパラメータにおいて設定内容に変更があっても、
各局への通信手順を変えることなくリンクデバイスを転
送でき、また、これまで使用していたシーケンスプログ
ラムがそのまま流用でき、変更部分を追加するのみで済
むようにし、作業効率を向上させたリンクパラメータの
拡張方法およびその転送方法を得ることを目的とする。
The present invention has been made in view of the above, and in order to expand the link device of each station, even if the setting contents in the common link parameter are changed,
Link devices can be transferred without changing the communication procedure to each station, and the sequence programs that have been used up to now can be used as they are. The purpose is to obtain an extension method and its transfer method.

【0027】[0027]

【課題を解決するための手段】この発明に係るリンクデ
バイス拡張方法は、上記の目的を達成するために、管理
局により設定した全局同一の共通リンクパラメータと、
各局毎に設定し自局のリンクデバイス受信エリアを決定
する局固有の固有リンクパラメータとの内容に基づいて
データリンクを実行する際に、ある局のリンクデバイス
受信エリアを拡張するために、前記共通リンクパラメー
タの設定を変更した後、該共通リンクパラメータとリン
クデバイス拡張前から設定していた前記固有リンクパラ
メータとを自動的にチェックし、変更部分についてのリ
ンクデバイス受信エリアを、その先頭アドレス、サイズ
を任意に周辺装置から新規の固有リンクパラメータとし
て入力して各局に設定するものである。
In order to achieve the above object, a link device expansion method according to the present invention has a common link parameter set by a management station and common to all stations.
In order to extend the link device reception area of a certain station when executing a data link based on the content of the station-specific link parameter that is set for each station and determines the link device reception area of the own station After changing the setting of the link parameter, the common link parameter and the unique link parameter set before the link device expansion are automatically checked, and the link device reception area for the changed portion is set to its start address and size. Is arbitrarily input as a new unique link parameter from the peripheral device and set in each station.

【0028】また、管理局により設定した全局同一の共
通リンクパラメータと、各局毎に設定し自局のリンクデ
バイス受信エリアを決定する局固有の固有リンクパラメ
ータとの内容に基づいてデータリンクを実行する際に、
ある局のリンクデバイス受信エリアを拡張するために、
前記共通リンクパラメータの設定を変更した後、該共通
リンクパラメータとリンクデバイス拡張前から設定して
いた前記固有リンクパラメータとを自動的にチェック
し、変更部分についてのリンクデバイス受信エリアを、
その先頭アドレス、局順、サイズを任意に周辺装置から
新規の固有リンクパラメータとして入力して各局に設定
するものである。
Further, the data link is executed based on the contents of the common link parameter set by the management station that is the same for all stations and the unique link parameter that is set for each station and that determines the link device reception area of the own station. When
In order to extend the link device coverage of a station,
After changing the setting of the common link parameter, the common link parameter and the unique link parameter set before the link device expansion are automatically checked, and the link device reception area for the changed portion is
The head address, station order, and size are arbitrarily input from the peripheral device as new unique link parameters and set to each station.

【0029】また、管理局により設定され、全局同一の
共通リンクパラメータと、各局毎に複数個設定された自
局のリンクデバイス受信エリアを決定する局固有の固有
リンクパラメータのそれぞれの設定内容に基づいて、各
受信エリアへリンクデバイスを転送するものである。
Further, based on the respective setting contents of the common link parameter set by the management station and common to all stations, and a unique link parameter unique to each station that determines a link device receiving area of its own station set in plural for each station. Then, the link device is transferred to each reception area.

【0030】[0030]

【作用】この発明によるリンクデバイス拡張方法は、管
理局により設定した全局同一の共通リンクパラメータと
各局毎に設定し自局のリンクデバイス受信エリアを決定
する局固有の固有リンクパラメータとの内容に基づいて
データリンクを実行する際に、ある局のリンクデバイス
受信エリアを拡張するために、共通リンクパラメータの
設定を変更した後、共通リンクパラメータとリンクデバ
イス拡張前から設定していた固有リンクパラメータとを
自動的にチェックし、変更部分についてのリンクデバイ
ス受信エリアを、その先頭アドレス、サイズを任意に周
辺装置から新規の固有リンクパラメータとして入力する
ことにより、各局の受信エリアのアドレスを変更するこ
となくリンクデバイスを拡張する。
The link device expansion method according to the present invention is based on the contents of the common link parameter set by the management station that is the same for all stations and the unique link parameter that is set for each station and that determines the link device reception area of its own station. In order to extend the link device reception area of a certain station when executing data link by using the common link parameter setting, change the common link parameter setting and the unique link parameter set before the link device expansion. By automatically checking and inputting the start address and size of the link device reception area for the changed part as a new unique link parameter from the peripheral device, linking is performed without changing the reception area address of each station. Expand your device.

【0031】また、この発明によるリンクデバイス拡張
方法は、管理局により設定した全局同一の共通リンクパ
ラメータと各局毎に設定し自局のリンクデバイス受信エ
リアを決定する局固有の固有リンクパラメータとの内容
に基づいてデータリンクを実行する際に、ある局のリン
クデバイス受信エリアを拡張するために、共通リンクパ
ラメータの設定を変更した後、共通リンクパラメータと
リンクデバイス拡張前から設定していた固有リンクパラ
メータとを自動的にチェックし、変更部分についてのリ
ンクデバイス受信エリアを、その先頭アドレス、局順、
サイズを任意に周辺装置から新規の固有リンクパラメー
タとして入力して各局に設定することにより、各局の受
信エリアのアドレスを変更することなくリンクデバイス
を拡張する。
In the link device expansion method according to the present invention, the contents of common link parameters set by the management station that are the same for all stations and station-specific link parameters that are set for each station and that determine the link device reception area of the station itself. In order to extend the link device reception area of a certain station when executing data link based on, the common link parameter and the unique link parameter set before the link device extension are changed. Are automatically checked, and the link device reception area for the changed part is set to its start address, station order,
By inputting the size as a new unique link parameter from the peripheral device and setting it in each station, the link device is expanded without changing the address of the receiving area of each station.

【0032】さらに、この発明によるリンクデバイス転
送方法は、管理局により設定され、全局同一の共通リン
クパラメータと各局毎に複数個設定された自局のリンク
デバイス受信エリアを決定する局固有の固有リンクパラ
メータのそれぞれの設定内容に基づいて、リンクデバイ
スを各局の受信エリアへ転送することにより、拡張前の
リンクデバイス受信エリアのアドレスが不変となること
から、それまで各局で作成し、使用していたシーケンス
プログラムを流用可能とし、その拡張部分のみを作成し
て追加する。
Furthermore, the link device transfer method according to the present invention is a station-specific unique link which is set by the management station and determines the link device reception area of the own station which is set in common for all stations and has a plurality of common link parameters set for each station. By transferring the link device to the receiving area of each station based on the setting contents of each parameter, the address of the link device receiving area before expansion does not change, so it was created and used by each station until then. The sequence program can be reused, and only the extended part is created and added.

【0033】[0033]

【実施例】〔実施例1〕以下、この発明の一実施例を添
付図面に基づいて説明する。なお、図中、従来例と同一
符号のものは、従来例と同一あるいは同等な機能要素を
示すものとし、その説明を省略する。また、データリン
ク装置としてのプログラマブルコントローラの構成も従
来例と同一であり、ここでは、その説明を省略する。
[Embodiment 1] An embodiment of the present invention will be described below with reference to the accompanying drawings. In the figure, the same reference numerals as those of the conventional example indicate the same or equivalent functional elements as those of the conventional example, and the description thereof will be omitted. The configuration of the programmable controller as the data link device is also the same as that of the conventional example, and the description thereof is omitted here.

【0034】図2は、この発明の第1の実施例を示し、
固有リンクパラメータの内部構成と、その設定例を示す
説明図であり、図13に示したようなシステム構成にお
ける設定内容の一例を示している。図2において、4は
各局において受信されるリンクデバイスの先頭アドレ
ス、5はリンクデバイスのサイズ、15は共通リンクパ
ラメータにより設定された号機No.を示している。第
1の実施例における固有リンクパラメータは、リンクデ
バイスの先頭アドレス4とサイズ5を各局毎に周辺装置
14から号機No.15の順番に入力することにより設
定される。
FIG. 2 shows a first embodiment of the present invention,
It is explanatory drawing which shows the internal structure of a peculiar link parameter, and its setting example, and has shown an example of the setting content in the system structure as shown in FIG. In FIG. 2, 4 is the head address of the link device received at each station, 5 is the size of the link device, and 15 is the machine number set by the common link parameter. Is shown. The peculiar link parameters in the first embodiment are the start address 4 and the size 5 of the link device from the peripheral device 14 to the machine No. for each station. It is set by inputting in the order of 15.

【0035】図4は、上記第1の実施例におけるリンク
デバイス拡張前の各局における受信状態を示す説明図で
ある。すなわち、図4が、図14に示した内容により設
定された共通リンクパラメータと上記図2に示した内容
により設定された固有リンクパラメータとからデータリ
ンクを構築し、リンクデバイスを各局の受信エリアへ転
送している状態を示している。図4において、1は共通
リンクパラメータ、2は固有リンクパラメータ、3は各
局において実際にリンクデバイスを受信した状態を示し
ている。なお、図中の矢印は転送されるリンクデバイス
の動作を示している。
FIG. 4 is an explanatory diagram showing a reception state in each station before the link device expansion in the first embodiment. That is, FIG. 4 constructs a data link from the common link parameters set according to the contents shown in FIG. 14 and the unique link parameters set according to the contents shown in FIG. 2, and sets the link device to the reception area of each station. It shows the state of transfer. In FIG. 4, 1 is a common link parameter, 2 is a unique link parameter, and 3 is a state in which each station actually receives a link device. The arrows in the figure show the operation of the link device to be transferred.

【0036】次に、固有リンクパラメータ2の設定内容
と、その動作について説明する。この固有リンクパラメ
ータ2では、従来例のように局順を設定しないため、管
理局MPC12により設定された共通リンクパラメータ
1の号機No.15に対応して順番に設定した先頭アド
レス4、サイズ5で受信エリアへリンクデバイスを転送
する。したがって、この設定では、共通リンクデバイス
1により設定された局番1のリンクデバイスをアドレス
0からサイズ20、すなわち、アドレス19の受信エリ
アへ、同様に、局番2のリンクデバイスをアドレス20
からアドレス39の受信エリアへ、局番3のリンクデバ
イスをアドレス40からアドレス69へ矢印が示すよう
な動作により転送する。
Next, the setting content of the unique link parameter 2 and its operation will be described. Since the station order is not set with the unique link parameter 2 unlike the conventional example, the unit number of the common link parameter 1 set by the management station MPC12 is set. The link device is transferred to the reception area with the start address 4 and size 5 set in order corresponding to 15. Therefore, in this setting, the link device with the station number 1 set by the common link device 1 is transferred from the address 0 to the size 20, that is, the receiving area with the address 19, and similarly, the link device with the station number 2 is moved to the address 20.
To the receiving area of address 39, the link device of station number 3 is transferred from address 40 to address 69 by the operation indicated by the arrow.

【0037】次に、各局で受信されるリンクデバイスを
拡張する場合の処理方法について説明する。図1は、第
1の実施例および第3の実施例(後述する)を示すリン
クデバイス拡張時における各局の受信状態を示す説明図
である。また、図3は、第1の実施例におけるリンクデ
バイス拡張時において新規に設定した固有リンクパラメ
ータの設定内容を示す説明図である。また、図1は、図
4において説明したような内容の共通リンクパラメータ
1、固有リンクパラメータ2により設定され、データリ
ンクしていた状態に1局目のNPC13のリンクデバイ
スのサイズを10拡張させた場合における各局での受信
エリアの変化を示している。
Next, a processing method for expanding the link device received by each station will be described. FIG. 1 is an explanatory diagram showing a reception state of each station when a link device is expanded, showing a first embodiment and a third embodiment (described later). Further, FIG. 3 is an explanatory diagram showing the setting content of the unique link parameter newly set when the link device is expanded in the first embodiment. Further, in FIG. 1, the size of the link device of the NPC 13 of the first station is expanded by 10 in the state of being set by the common link parameter 1 and the unique link parameter 2 having the contents as described in FIG. The change of the receiving area in each station in the case is shown.

【0038】図1において、斜線で示した部分が新たに
拡張された1局目のNPC13のリンクデバイスであ
る。また、2’はリンクデバイス拡張部分について、図
3において示すような内容で新規に設定され、追加され
た固有リンクパラメータである。また、3’はリンクデ
バイス拡張前における各局の受信状態を示し、拡張後に
おける状態3と比較しやすいように補足的に示してい
る。
In FIG. 1, the shaded area is the newly expanded link device of the first NPC 13. Reference numeral 2'denotes a unique link parameter which is newly set and added to the link device extended portion with the contents shown in FIG. Further, 3'represents the reception state of each station before the expansion of the link device, and is supplementarily shown so as to be easily compared with the state 3 after the expansion.

【0039】次に、固有リンクパラメータ2’を設定す
る動作について説明する。図5は、図2に示した固有リ
ンクパラメータの設定処理を示すフローチャートであ
る。まず、MPC12にて共通リンクパラメータ1の設
定を変更する。1局目のNPC13のリンクデバイスの
サイズを10拡張するため、共通リンクパラメータ1
は、それぞれ1局目のNPC13のアドレスが0〜2
9、2局目のNPC13のアドレスが30〜49、3局
目のNPC13のアドレスが50〜79という設定とな
り、2,3局目のNPC13においては元の共通リンク
パラメータ1の設定に比べて、先頭アドレスが1局目の
拡張分である10ずつずれる。
Next, the operation of setting the unique link parameter 2'will be described. FIG. 5 is a flowchart showing the setting process of the unique link parameter shown in FIG. First, the MPC 12 changes the setting of the common link parameter 1. To increase the size of the link device of the first NPC 13 by 10, the common link parameter 1
Respectively, the addresses of the first NPC 13 are 0 to 2
The addresses of the NPC 13 of the 9th and 2nd stations are set to 30 to 49, the addresses of the NPC 13 of the 3rd station are set to 50 to 79, and in the NPC 13 of the 2nd and 3rd stations, compared to the original setting of the common link parameter 1, The start address is deviated by 10 which is the extension of the first station.

【0040】続いて、各局側において、固有リンクパラ
メータ2の設定を実行する。この設定を図5に示したフ
ローチャートに基づいて説明する。まず、設定する対象
が拡張されたリンクデバイス部分であるか否かを判断す
る(S1)。なお、ここで拡張前から設定されていたリ
ンクデバイスについて再度設定する場合は固有リンクパ
ラメータ2の設定から先頭アドレス、サイズの入力を実
行する。逆に、拡張前に固有リンクパラメータ2により
設定されていたリンクデバイスはそのままで、新たに拡
張された部分についてのみ設定する場合、すなわち、上
記ステップ1において設定する対象が拡張されたリンク
デバイス部分であると判断したときには、変更した共通
リンクパラメータ1と従来から既に設定されていた固有
リンクパラメータ2により、その変更部分を自動的にチ
ェックする(S2)。
Subsequently, the setting of the unique link parameter 2 is executed on the side of each station. This setting will be described with reference to the flowchart shown in FIG. First, it is determined whether the setting target is the expanded link device portion (S1). When setting again the link device that has been set before expansion, the start address and size are input from the setting of the unique link parameter 2. On the contrary, when the link device set by the unique link parameter 2 before the expansion is left as it is and only the newly expanded part is set, that is, the target to be set in step 1 is the expanded link device part. When it is determined that there is such a change, the changed part is automatically checked by the changed common link parameter 1 and the unique link parameter 2 that has been set in the past (S2).

【0041】さらに、上記ステップ2のチェック結果か
らサイズに残りがあるか否かを判断する(S3)。これ
を、図1に示した例により説明すると、変更部分である
1局目のNPC13のサイズ設定は、共通リンクパラメ
ータ1では30、固有リンクパラメータ2では20とな
っているため、この両者を比較すると固有リンクパラメ
ータ2’として設定できる残りサイズが10あることに
なる。したがって、上記ステップ3において、サイズに
残りがないと判断したときには、固有リンクパラメータ
2’を新たに設定できないので、そのまま本設定処理を
終了する。反対に、この図1に示した例のように、サイ
ズに残りがあると判断した場合には、残りサイズを利用
して固有リンクパラメータ2’を新規に設定する。
Further, it is judged from the check result of the above step 2 whether or not there is a size remaining (S3). Explaining this with the example shown in FIG. 1, the size setting of the NPC 13 of the first station, which is the changed part, is 30 for the common link parameter 1 and 20 for the unique link parameter 2, so the two are compared. Then, there are 10 remaining sizes that can be set as the unique link parameter 2 '. Therefore, when it is determined in step 3 that there is no remaining size, the unique link parameter 2'cannot be newly set, and the present setting process is ended. On the contrary, when it is determined that there is a remaining size, as in the example shown in FIG. 1, the unique link parameter 2 ′ is newly set using the remaining size.

【0042】上記固有リンクパラメータ2’の新規設定
は、リンクデバイス拡張前に設定していた固有リンクパ
ラメータ2と同様で、局順に受信エリアの先頭アドレス
を入力し(S4)、さらに、サイズを入力する(S
5)。その後、内部において、その変更処理を実行し
(S6)、局を1つずつインクリメント(局+1)して
(S7)、全局が完了したか否かを判断する(S8)。
ここで、全局が完了してないと判断したときは、上記ス
テップ4に戻り、全局の設定が終了するまで、この処理
を繰り返し実行する。
The new setting of the unique link parameter 2'is similar to the unique link parameter 2 set before the expansion of the link device, the start address of the reception area is input in the station order (S4), and the size is further input. Do (S
5). After that, the change processing is internally executed (S6), the station is incremented by one (station + 1) (S7), and it is determined whether all stations are completed (S8).
If it is determined that all stations have not been completed, the process returns to step 4, and this process is repeatedly executed until the setting of all stations is completed.

【0043】なお、図1に示した例では、固有リンクパ
ラメータ2’として1局目のNPC13に拡張されたリ
ンクデバイスについて、先頭アドレス70からサイズ1
0で受信エリアを設定しており、2,3局目のNPC1
3については、リンクデバイスに変更がなかったため、
設定していない。
In the example shown in FIG. 1, for the link device extended to the NPC 13 of the first station as the unique link parameter 2 ', the size from the head address 70 to the size 1
The receiving area is set to 0, and NPC1 of the second and third stations
As for 3, there was no change in the link device, so
Not set.

【0044】したがって、以上のような方法により、固
有リンクパラメータ2’を各局で新規に設定すれば、図
1に示した如く、リンクデバイス拡張前の各局における
受信状態3’とリンクデバイス拡張後の各局における受
信状態3とを比較しても明らかなように、各局の受信エ
リアにおけるアドレスは不変の状態のままでリンクデバ
イスを拡張することができる。
Therefore, if the unique link parameter 2'is newly set in each station by the above method, as shown in FIG. 1, the reception state 3'in each station before the link device expansion and the link device after the link device expansion are shown. As is clear from comparison with the reception state 3 in each station, the link device can be expanded while the address in the reception area of each station remains unchanged.

【0045】以上、説明した第1の実施例による効果を
まとめると、各局で受信できるリンクデバイスを拡張す
るため、管理局MPC12により設定される共通リンク
パラメータを変更しても、共通リンクパラメータと従来
から既に設定されていた固有リンクパラメータから自動
的に変更部分をチェックし、その結果、該変更部分のリ
ンクデバイスについてのみ新たに固有リンクパラメータ
として周辺装置14から、先頭アドレス、サイズを入力
し、設定する手段を設けたことにより、各局の受信エリ
アのアドレスを変更することなく、リンクデバイスを拡
張することができる。
The effects of the first embodiment described above can be summarized as follows: in order to expand the link device that can be received by each station, even if the common link parameter set by the management station MPC12 is changed, the common link parameter and conventional Automatically checks the changed part from the peculiar link parameters that have already been set, and as a result, only the link device of the changed part is newly set as the peculiar link parameter from the peripheral device 14 by inputting the start address and size. By providing such means, the link device can be expanded without changing the address of the reception area of each station.

【0046】〔実施例2〕次に、第2の実施例について
説明する。図6は、第2の実施例による固有リンクパラ
メータの内部構成と設定内容の一例を示す説明図であ
る。図において、6は固有リンクパラメータ2内におい
て1番目に設定される受信エリアの先頭アドレス、7は
受信する局順、8はリンクデバイスのサイズである。ま
た、この第2の実施例における固有リンクパラメータ
は、これらの要素を各局毎に周辺装置14から入力する
ことにより設定される。
[Second Embodiment] Next, a second embodiment will be described. FIG. 6 is an explanatory diagram showing an example of the internal configuration and setting contents of the unique link parameter according to the second embodiment. In the figure, 6 is the start address of the receiving area set first in the unique link parameter 2, 7 is the order of receiving stations, and 8 is the size of the link device. The unique link parameters in the second embodiment are set by inputting these elements from the peripheral device 14 for each station.

【0047】図8は、第2の実施例に係るリンクデバイ
ス拡張前の各局における受信状態を示す説明図である。
すなわち、図8にあっては、図14に示した内容で設定
された共通リンクパラメータと図6に示した内容で設定
された固有リンクパラメータとからデータリンクを構築
し、リンクデバイスを各局の受信エリアへ転送する状態
を示している。図8において、1は共通リンクパラメー
タ、2は固有リンクパラメータ、3は各局で実際にリン
クデバイスを受信した状態を示している。また、図中の
矢印は転送されるリンクデバイスの動作を示している。
FIG. 8 is an explanatory diagram showing a reception state in each station before the link device expansion according to the second embodiment.
That is, in FIG. 8, a data link is constructed from the common link parameter set with the contents shown in FIG. 14 and the unique link parameter set with the contents shown in FIG. 6, and the link device is received by each station. This shows the state of transfer to the area. In FIG. 8, 1 is a common link parameter, 2 is a unique link parameter, and 3 is a state in which each station actually receives a link device. Further, the arrows in the figure show the operation of the transferred link device.

【0048】次に、固有リンクパラメータの設定内容
と、その動作について説明する。共通リンクパラメータ
1により設定された1局目のNPC13のリンクデバイ
スは、固有リンクパラメータ2にて局番が1番目と設定
されているため、先頭アドレスが0から始まり、サイズ
20で受信エリアへ転送される。次に、固有リンクパラ
メータ2にて局順が2番目に設定された3局目のNPC
13のリンクデバイスは、1番目に受信された1局目に
おけるNPC13の後の受信エリアへサイズ30で転送
される。このとき、3局目の受信エリアの先頭アドレス
は、固有リンクパラメータ2にて設定されていないが、
1局目の受信エリアが先頭アドレス0からサイズ20で
あったことにより、アドレス20からの受信エリアとな
る。また、これと同様に、固有リンクパラメータ2によ
り局順が3番目に設定された2局目のNPC13のリン
クデバイスは、3局目におけるNPC13の後の受信エ
リアであるアドレス50〜69の受信エリアへ転送され
る。
Next, the setting content of the unique link parameter and its operation will be described. The link device of the NPC 13 of the first station set by the common link parameter 1 is set to the first station number by the unique link parameter 2, so the start address starts from 0 and is transferred to the reception area with size 20. It Next, the NPC of the third station whose station order is set second by the unique link parameter 2
The 13 link devices are transferred with a size of 30 to the reception area after the NPC 13 in the first received first station. At this time, the start address of the reception area of the third station is not set in the unique link parameter 2,
Since the reception area of the first station has a size of 20 from the start address 0, the reception area from the address 20 is set. Similarly, the link device of the second NPC 13 whose station order is set to the third by the unique link parameter 2 is the receiving area of the addresses 50 to 69 which is the receiving area after the NPC 13 in the third station. Transferred to.

【0049】次に、各局で受信されるリンクデバイスを
拡張する場合の処理方法について説明する。図9は、第
2および第3の実施例(後述する)を示すリンクデバイ
ス拡張時における各局の受信状態を示す説明図である。
また、図7は、第2の実施例におけるリンクデバイス拡
張時において新規に設定した固有リンクパラメータの設
定内容を示す説明図である。また、図9は、図8におい
て説明したような内容の共通リンクパラメータ1および
固有リンクパラメータ2により設定されたデータリンク
を構築していた状態に、1局目のNPC13のリンクデ
バイスのサイズを10拡張させた場合における各局での
受信エリアの変化を示している。
Next, a processing method for expanding the link device received by each station will be described. FIG. 9 is an explanatory diagram showing the reception state of each station when the link device is expanded, showing the second and third embodiments (described later).
Further, FIG. 7 is an explanatory diagram showing the setting contents of the unique link parameters newly set when the link device is expanded in the second embodiment. Further, FIG. 9 shows that the size of the link device of the first NPC 13 is 10 when the data link set by the common link parameter 1 and the unique link parameter 2 having the contents described in FIG. 8 is constructed. The change in the reception area at each station when expanded is shown.

【0050】図9において、斜線により示した部分が新
たに拡張された1局目のNPC13のリンクデバイスで
ある。また、2’はリンクデバイス拡張部分について図
7に示したような内容で新規に設定し、追加した固有リ
ンクパラメータであり、3’はリンクデバイス拡張前の
各局における受信状態を示し、拡張後における状態3と
比較しやすくなるように補足的に示している。
In FIG. 9, the shaded area is the newly expanded link device of the first NPC 13. Further, 2'is a unique link parameter newly set and added with respect to the link device extension part as shown in FIG. 7, and 3'represents a reception state in each station before the link device extension, and after the extension. It is supplementarily shown so as to be easily compared with the state 3.

【0051】次に、固有リンクパラメータ2’を設定す
るまでの動作について説明する。図10は、図7に示し
た固有リンクパラメータの設定処理を示すフローチャー
トである。ここでは、まず、MPC12にて共通リンク
パラメータ1の設定を変更する。1局目のNPC13の
リンクデバイスのサイズを10拡張するため、共通リン
クパラメータ1は、それぞれ1局目のNPC13のアド
レスが0〜29、2局目のNPC13のアドレスが30
〜49、3局目のNPC13のアドレスが50〜79と
いう設定となり、2,3局目のNPC13では元の共通
リンクパラメータの設定と比べて、先頭アドレスが1局
目の拡張分である10ずつずれる。
Next, the operation up to setting the unique link parameter 2'will be described. FIG. 10 is a flowchart showing the setting process of the unique link parameter shown in FIG. Here, first, the setting of the common link parameter 1 is changed in the MPC 12. In order to expand the size of the link device of the NPC 13 of the first station by 10, the common link parameter 1 is such that the address of the NPC 13 of the first station is 0 to 29 and the address of the NPC 13 of the second station is 30 respectively.
˜49, the address of the NPC 13 of the 3rd station is set to 50 to 79. In the NPC 13 of the 2nd and 3rd stations, the start address is 10 increments, which is the extension of the 1st station, compared to the setting of the original common link parameter. It shifts.

【0052】続いて、各局側で、固有リンクパラメータ
2の設定を実行する。以下、図10に示したフローチャ
ートに基づいて説明する。まず、設定する対象が拡張さ
れたリンクデバイス部分のみの変更であるか否かを判断
する(S9)。このとき、拡張前から設定されていたリ
ンクデバイスについて再度設定する場合には、固有リン
クパラメータ2の設定から先頭アドレス、サイズの入力
を実行する。逆に、拡張前に固有リンクパラメータ2で
設定されていたリンクデバイスはそのままで、新たに拡
張された部分についてのみ設定する場合、すなわち、上
記ステップ9において設定する対象が拡張されたリンク
デバイス部分のみの変更であると判断したときには、変
更した共通リンクパラメータ1と従来から既に設定され
ていた固有リンクパラメータ2とにより、その変更部分
を自動的にチェックする(S10)。
Then, each station sets the unique link parameter 2. Hereinafter, description will be given based on the flowchart shown in FIG. First, it is determined whether or not the setting target is only the change of the extended link device portion (S9). At this time, when the link device that has been set before the expansion is set again, the start address and the size are input from the setting of the unique link parameter 2. On the contrary, when the link device set by the unique link parameter 2 before the expansion is left as it is and only the newly expanded part is set, that is, the target of the setting in step 9 is only the expanded link device part. When it is determined that the change is made, the changed part is automatically checked by the changed common link parameter 1 and the peculiar link parameter 2 that has been set conventionally (S10).

【0053】その後、上記ステップ10の結果からサイ
ズに残りがあるか否かを判断する(S11)。この動作
を図9に示した例を用いて説明すると、変更部分である
1局目のNPC13のサイズ設定は、共通リンクパラメ
ータ1では30、固有リンクパラメータ2では20とな
っているため、この両者を比較すると固有リンクパラメ
ータ2’として設定できる残りサイズが10あることに
なる。したがって、もし、上記ステップ11においてサ
イズに残りがないと判断したときには、固有リンクパラ
メータ2’を新たに設定できないので、そのまま本設定
処理を終了する。一方、図9に示した例のように、サイ
ズに残りがあると判断した場合には、残りサイズを利用
して固有リンクパラメータ2’を新規に設定する。
Then, it is judged from the result of the above step 10 whether or not there is a size remaining (S11). Explaining this operation using the example shown in FIG. 9, the size setting of the NPC 13 of the first station, which is the changed part, is 30 for the common link parameter 1 and 20 for the unique link parameter 2. When there is a comparison, there are 10 remaining sizes that can be set as the unique link parameter 2 ′. Therefore, if it is determined in step 11 that there is no remaining size, the unique link parameter 2'cannot be newly set, and thus this setting process is directly terminated. On the other hand, when it is determined that there is a remaining size, as in the example shown in FIG. 9, the unique size is set to a new unique link parameter 2 ′.

【0054】上記固有リンクパラメータ2’の新規設定
は、リンクデバイス拡張前に設定していた固有リンクパ
ラメータ2と同様で、まず、固有リンクパラメータ2’
内で局順が1番目に設定されている局の先頭アドレスを
入力し(S12)、その後、リンクデバイスを転送する
局順を入力し(S13)、さらに、サイズを入力する
(S14)。その後、内部において、その変更処理を実
行し(S15)、全局が完了したか否かを判断する(S
16)。ここで、全局が完了してないと判断したとき
は、上記ステップ13に戻って設定したい局の全てに対
して設定が終了するまで、この処理を繰り返し実行す
る。そして、全局完了した時点で固有リンクパラメータ
2’の設定が終了する。
The new setting of the unique link parameter 2'is the same as the unique link parameter 2 set before the expansion of the link device. First, the unique link parameter 2'is set.
The start address of the station whose station order is set first is input (S12), then the station order to transfer the link device is input (S13), and the size is also input (S14). After that, the change process is executed internally (S15), and it is determined whether all stations are completed (S15).
16). If it is determined that all stations have not been completed, the process returns to step 13 and this process is repeatedly executed until the setting is completed for all the stations to be set. Then, when all stations are completed, the setting of the unique link parameter 2'is completed.

【0055】なお、図9に示した例にあっては、固有リ
ンクパラメータ2’として1局目のNPC13の拡張さ
れたリンクデバイスについて、局順1で、先頭アドレス
70からサイズ10の受信エリアを設定しており、2,
3局目のNPC13については、リンクデバイスに変更
がなかったため、設定していない。
In the example shown in FIG. 9, for the extended link device of the NPC 13 of the first station as the unique link parameter 2 ', the reception area of the size 10 from the head address 70 in the station order 1 is selected. I have set 2,
The NPC 13 of the third station is not set because the link device has not been changed.

【0056】したがって、以上のような方法により、固
有リンクパラメータ2’を各局で新規に設定すれば、図
9に示したように、リンクデバイス拡張前における各局
の受信状態3’とリンクデバイス拡張後の各局における
受信状態3を比較しても明らかなように、各局の受信エ
リアにおけるアドレスは不変のままの状態でリンクデバ
イスを拡張することができる。
Therefore, if the unique link parameter 2'is newly set in each station by the above method, as shown in FIG. 9, the reception state 3'of each station before the link device expansion and the link device after the link device expansion are performed, as shown in FIG. As is clear from the comparison of the reception states 3 of the stations, the link device can be expanded while the addresses in the reception areas of the stations remain unchanged.

【0057】以上、説明した第2の実施例による効果を
まとめると、各局で受信できるリンクデバイスを拡張す
るため、管理局MPC12で設定される共通リンクパラ
メータを変更しても、共通リンクパラメータと従来から
既に設定されていた固有リンクパラメータから自動的に
変更部分をチェックし、その結果、変更部分のリンクデ
バイスについてのみ新たに固有リンクパラメータとして
周辺装置14から、先頭アドレス、局順、サイズを入力
し、設定する手段を設けたことにより、各局の受信エリ
アのアドレスを変更することなく、リンクデバイスを拡
張することができる。
The effects of the second embodiment described above can be summarized as follows: in order to expand the link device that can be received by each station, even if the common link parameter set in the management station MPC12 is changed, the common link parameter and the conventional Automatically checks the changed part from the peculiar link parameters already set from, and as a result, the start address, station order, and size are newly input from the peripheral device 14 as the peculiar link parameter only for the changed link device. By providing the setting means, the link device can be expanded without changing the address of the reception area of each station.

【0058】〔実施例3〕次に、実施例1および実施例
2を説明した図1および図7を用いて、第3の実施例に
ついて説明する。図1において、それぞれ細い実線の矢
印はリンクデバイス拡張前から設定されていた固有リン
クパラメータ2による各局へのリンクデバイス転送の動
作を示している。一方、太い実線の矢印はリンクデバイ
ス拡張後に新規に設定された固有リンクパラメータ2’
による各局へのリンクデバイス転送の動作を示してい
る。
[Third Embodiment] Next, a third embodiment will be described with reference to FIGS. 1 and 7 for explaining the first and second embodiments. In FIG. 1, thin solid arrows respectively indicate the operation of link device transfer to each station by the unique link parameter 2 set before the link device expansion. On the other hand, the thick solid arrow indicates the unique link parameter 2'which is newly set after the link device expansion.
Shows the operation of link device transfer to each station by.

【0059】リンクデバイスが拡張した際に、リンクデ
バイス拡張前から設定されていた固有リンクパラメータ
2に加え、上記実施例1および2にて説明した方法で、
拡張されたリンクデバイスを受信するため、各局の受信
エリアを固有リンクパラメータ2’として新規に設定す
る。各局ではそれまで自局に送信されてきたリンクデバ
イスを共通リンクパラメータ1により設定された受信エ
リア,,から固有リンクパラメータ2の設定にの
みしたがって、細い実線の矢印で示されるような動作で
各受信エリアへリンクデバイスを転送することにより受
信してきたが、固有リンクパラメータ2’を新たに設定
することによって、リンクデバイス拡張前から設定され
ていたリンクデバイスはそれまで通り、固有リンクパラ
メータ2にしたがって、細い矢印のような動作で各受信
エリアへ転送する。そして、拡張されたリンクデバイス
については、固有リンクパラメータ2’にしたがって、
太い矢印が示すような動作でリンクデバイスをそれぞれ
各受信エリアへ転送し、受信する。
When the link device is expanded, in addition to the unique link parameter 2 set before the expansion of the link device, the method described in the first and second embodiments is used.
In order to receive the extended link device, the reception area of each station is newly set as the unique link parameter 2 '. In each station, the link device that has been transmitted to itself is received from the receiving area set by the common link parameter 1, only the setting of the unique link parameter 2, and therefore each operation is performed by the operation indicated by the thin solid arrow. Although it was received by transferring the link device to the area, by newly setting the unique link parameter 2 ′, the link device that was set before the link device expansion is still as it is, according to the unique link parameter 2, Transfer to each reception area by the operation like a thin arrow. Then, for the extended link device, according to the unique link parameter 2 ′,
The link device is transferred to each reception area and received by the operation indicated by the thick arrow.

【0060】図11は、上記における第3の実施例によ
るリンクデバイス転送処理を示すフローチャートであ
る。図において、まず、他局から送信されてきたリンク
デバイスを共通リンクパラメータにより設定された受信
エリアへ転送する(S17)。その後、固有リンクパラ
メータが設定されているか否かを判断する(S18)。
その結果、固有リンクパラメータが設定されていないと
判断したときには、共通リンクパラメータにより設定さ
れた受信エリアで、そのままリンクデバイスを受信して
(S21)、本処理を終了する。反対に、上記ステップ
18において、固有リンクパラメータが設定されている
と判断したときには、リンクデバイスを共通リンクパラ
メータにより設定された受信エリアから固有リンクパラ
メータにより設定された受信エリアへ転送する(S1
9)。
FIG. 11 is a flowchart showing the link device transfer processing according to the third embodiment described above. In the figure, first, the link device transmitted from another station is transferred to the reception area set by the common link parameter (S17). Then, it is determined whether or not the unique link parameter is set (S18).
As a result, when it is determined that the unique link parameter is not set, the link device is received as it is in the reception area set by the common link parameter (S21), and this processing is ended. On the contrary, when it is determined in step 18 that the unique link parameter is set, the link device is transferred from the receiving area set by the common link parameter to the receiving area set by the unique link parameter (S1).
9).

【0061】次に、追加された固有リンクパラメータの
設定があるか否かを判断する(S20)。このとき、追
加された固有リンクパラメータの設定があると判断した
ときには、同様に、その固有リンクパラメータの設定に
基づいて共通リンクパラメータの受信エリアから固有リ
ンクパラメータの受信エリアへリンクデバイスを転送す
る(S19)。この動作を設定された固有リンクパラメ
ータについて実行し、全ての固有リンクパラメータが終
了すれば、それぞれの固有リンクパラメータの設定によ
り、転送された受信エリアにおいてリンクデバイスを受
信して(S21)、本処理を終了する。
Next, it is determined whether or not the added unique link parameter is set (S20). At this time, when it is determined that the added unique link parameter is set, the link device is similarly transferred from the common link parameter receiving area to the unique link parameter receiving area based on the setting of the unique link parameter ( S19). This operation is executed for the set unique link parameters, and when all the unique link parameters are completed, the link device is received in the transferred reception area by the setting of each unique link parameter (S21), and this processing is executed. To finish.

【0062】以上のように、複数の固有リンクパラメー
タの設定内容に基づいて、自局に送信されてきたリンク
デバイスを各受信エリアに転送することにより、各局で
は、自局の受信エリアにおけるアドレスがリンクデバイ
スを拡張しても拡張前の状態と不変である。
As described above, by transferring the link device transmitted to the own station to each reception area based on the setting contents of the plurality of unique link parameters, each station can obtain the address in the reception area of its own station. Even if the link device is expanded, it is unchanged from the state before expansion.

【0063】図12は、上記第3の実施例におけるリン
クデバイス拡張後の各局におけるシーケンスプログラム
である。すなわち、図12は、図1または図9に示した
ようにリンクデバイスを拡張した後に上記のような転送
方法でデータリンクしている各局のシーケンスプログラ
ムを示すものである。図において、9は1局目のNPC
13のプログラム、10は2局目のNPC13のプログ
ラム、11は3局目のNPC13のプログラムをそれぞ
れ示し、破線で囲んでいる箇所がリンクデバイス拡張前
のプログラム(図20参照)と異なる部分である。
FIG. 12 is a sequence program in each station after the link device expansion in the third embodiment. That is, FIG. 12 shows a sequence program of each station which is data-linked by the transfer method as described above after expanding the link device as shown in FIG. 1 or FIG. In the figure, 9 is the first NPC
The program of 13 shows the program of the NPC 13 of the second station, the 11 shows the program of the NPC 13 of the third station, and the part surrounded by the broken line is the part different from the program before the link device expansion (see FIG. 20). .

【0064】以上、説明してきたように、第3の実施例
によるリンクデバイス転送方法によれば、受信エリアの
アドレスが不変となることから、そこへ転送し、受信さ
れるリンクデバイスを用いてシーケンスプログラムを作
成し、データリンクの処理を実行している各局では、リ
ンクデバイス拡張前から使用していたシーケンスプログ
ラムをそのまま流用することが可能となり、追加したリ
ンクデバイスについてのみプログラムを追加すれば良い
ことになる。
As described above, according to the link device transfer method according to the third embodiment, since the address of the reception area remains unchanged, the sequence is transferred using the link device which is transferred to and received. At each station that has created a program and is performing data link processing, it is possible to reuse the sequence program that was used before the expansion of the link device, and only add the program for the added link device. become.

【0065】したがって、図12においては、リンクデ
バイス拡張前におけるシーケンスプログラム(図20参
照)に、拡張されて1局目のNPC13のリンクデバイ
スとなったB20を追加したのみであり、その他の部分
については、新たな処理を追加することがない限り、受
信エリアのアドレスが不変のため、図20に示したシー
ケンスプログラムと全く同様となる。
Therefore, in FIG. 12, only the B20, which has been expanded to become the link device of the NPC 13 of the first station, is added to the sequence program before the expansion of the link device (see FIG. 20). Is the same as the sequence program shown in FIG. 20, because the address of the receiving area is unchanged unless new processing is added.

【0066】以上、説明した第3の実施例による効果を
まとめると、各局で受信されるリンクデバイスを拡張す
るようなことがあっても、リンクデバイス拡張前に設定
されていた固有リンクパラメータに加え、第1および第
2の実施例に示したような方法により各局毎に拡張部分
の受信エリアを新規に固有リンクパラメータとして設定
することにより、従来における固有リンクパラメータと
の両方に基づいて、リンクデバイスが各局の受信エリア
へそれぞれ転送され、拡張前のリンクデバイス受信エリ
アのアドレスが不変となることから、それまで各局で作
成し、使用されていたシーケンスプログラムが、そのま
まの状態で流用可能となり、拡張部分のみを作成し、追
加すればよくなるため、これまでリンクデバイスを拡張
する都度、シーケンスプログラムを全て修正していた煩
わしさを排除することができる。よって、シーケンスプ
ログラム作成の作業効率が向上する。
As a summary of the effects of the third embodiment described above, even if the link device received at each station is expanded, in addition to the unique link parameters set before the expansion of the link device, By newly setting the reception area of the extended portion as a unique link parameter for each station by the method as shown in the first and second embodiments, the link device is based on both the conventional unique link parameter and the conventional unique link parameter. Is transferred to the receiving area of each station, and the address of the link device receiving area before expansion remains unchanged.Therefore, the sequence programs created and used by each station up to that point can be reused as they are and expanded. Since it suffices to create only the part and add it, a sequence is required every time the link device is expanded. The scan program it is possible to eliminate the burden that has been modified all. Therefore, the work efficiency of creating the sequence program is improved.

【0067】[0067]

【発明の効果】以上説明したように、この発明によるリ
ンクデバイス拡張方法によれば、各局のリンクデバイス
を拡張するために、管理局により設定した全局同一の共
通リンクパラメータを変更した際に、自動的にその変更
部分をチェックして、各局毎に設定され自局のリンクデ
バイス受信エリアを決定する局固有の固有リンクパラメ
ータを、その変更部分に対応させて、周辺装置から任意
に複数個設定することによりリンクデバイスを拡張する
ようにしたため、各局のリンクデバイスを拡張する際
に、共通リンクパラメータにおいて設定内容に変更があ
っても、各局への通信手順を変えることなくリンクデバ
イスを転送する各局のリンクデバイスの受信エリアのア
ドレスを変更せずにリンクデバイスを拡張することがで
き、作業効率が飛躍的に向上する。
As described above, according to the link device expansion method of the present invention, when the common link parameter set by the management station and common to all stations is changed, the link device of each station is automatically expanded. Check the changed part, and set a plurality of station-specific unique link parameters that are set for each station and that determine the link device reception area of its own station, corresponding to the changed part, from the peripheral device. Since the link device is expanded by doing so, even when the setting contents in the common link parameter are changed when expanding the link device of each station, the station of each station that transfers the link device does not change the communication procedure to each station. The link device can be expanded without changing the address of the receiving area of the link device, resulting in greater work efficiency. To improve on.

【0068】また、この発明によるリンクデバイス転送
方法によれば、管理局により設定され、全局同一の共通
リンクパラメータと各局毎に複数個設定された自局のリ
ンクデバイス受信エリアを決定する局固有の固有リンク
パラメータのそれぞれの設定内容に基づいて、各受信エ
リアへリンクデバイスを転送するようにしたため、これ
まで使用していたシーケンスプログラムがそのまま流用
でき、変更部分を追加するのみで済み、作業効率は飛躍
的に向上する。
Further, according to the link device transfer method of the present invention, a common station is set by the management station and common to all stations. Since the link device is transferred to each reception area based on the setting of each unique link parameter, the sequence program that has been used up to now can be used as it is, only the changed part needs to be added, and work efficiency is improved. Improve dramatically.

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

【図1】この発明に係るリンクデバイス拡張時における
各局の受信状態を示す説明図である。
FIG. 1 is an explanatory diagram showing a reception state of each station when a link device according to the present invention is expanded.

【図2】この発明に係る固有リンクパラメータの内部構
成とその設定例を示す説明図である。
FIG. 2 is an explanatory diagram showing an internal configuration of a unique link parameter according to the present invention and a setting example thereof.

【図3】この発明に係るリンクデバイス拡張時に新規に
設定した固有リンクパラメータの設定内容を示す説明図
である。
FIG. 3 is an explanatory diagram showing the setting contents of unique link parameters newly set at the time of expanding the link device according to the present invention.

【図4】この発明に係るリンクデバイス拡張前の各局に
おける受信状態を示す説明図である。
FIG. 4 is an explanatory diagram showing a reception state in each station before the link device expansion according to the present invention.

【図5】図2に示した固有リンクパラメータの設定処理
動作を示すフローチャートである。
5 is a flowchart showing a setting processing operation of the unique link parameter shown in FIG.

【図6】この発明に係る固有リンクパラメータの内部構
成と設定内容の一例を示す説明図である。
FIG. 6 is an explanatory diagram showing an example of an internal configuration and setting contents of a unique link parameter according to the present invention.

【図7】この発明に係るリンクデバイス拡張時において
新規に設定した固有リンクパラメータの設定内容を示す
説明図である。
FIG. 7 is an explanatory diagram showing setting contents of unique link parameters newly set at the time of expanding the link device according to the present invention.

【図8】この発明に係るリンクデバイス拡張前における
各局の受信状態を示す説明図である。
FIG. 8 is an explanatory diagram showing a reception state of each station before the link device expansion according to the present invention.

【図9】この発明に係るリンクデバイス拡張時における
各局の受信状態を示す説明図である。
FIG. 9 is an explanatory diagram showing a reception state of each station when the link device according to the present invention is expanded.

【図10】図7に示した固有リンクパラメータの設定処
理動作を示すフローチャートである。
10 is a flowchart showing a setting processing operation of the unique link parameter shown in FIG.

【図11】この発明のリンクデバイス転送処理動作を示
すフローチャートである。
FIG. 11 is a flowchart showing a link device transfer processing operation of the present invention.

【図12】この発明に係るリンクデバイス拡張後の各局
におけるシーケンスプログラムを示す説明図である。
FIG. 12 is an explanatory diagram showing a sequence program in each station after the link device expansion according to the present invention.

【図13】従来におけるデータリンクシステムの概略構
成を示す説明図である。
FIG. 13 is an explanatory diagram showing a schematic configuration of a conventional data link system.

【図14】従来における共通リンクパラメータの内部構
成とその設定例を示す説明図である。
FIG. 14 is an explanatory diagram showing a conventional internal configuration of a common link parameter and a setting example thereof.

【図15】従来における固有リンクパラメータの内部構
成とその設定例を示す説明図である。
FIG. 15 is an explanatory diagram showing a conventional internal structure of a unique link parameter and a setting example thereof.

【図16】従来における固有リンクパラメータ設定なし
のときにデータリンクした場合の各局における受信状態
を示す説明図である。
FIG. 16 is an explanatory diagram showing a reception state in each station when data linking is performed without setting a unique link parameter in the related art.

【図17】従来における固有リンクパラメータによる各
局の受信状態を示す説明図である。
FIG. 17 is an explanatory diagram showing a reception state of each station according to a conventional unique link parameter.

【図18】従来における各局のリンクデバイス受信方法
を示すフローチャートである。
FIG. 18 is a flowchart showing a conventional link device receiving method of each station.

【図19】従来におけるリンクデバイス拡張時の各局に
おける受信状態を示す説明図である。
FIG. 19 is an explanatory diagram showing a reception state in each station when a link device is expanded in the related art.

【図20】図17に示した状態のときに各局で使用して
いたシーケンスプログラムを示す説明図である。
20 is an explanatory diagram showing a sequence program used in each station in the state shown in FIG.

【図21】図19に示した状態のときに各局で図20に
示したシーケンスプログラムを修正したシーケンスプロ
グラムを示す説明図である。
21 is an explanatory diagram showing a sequence program obtained by modifying the sequence program shown in FIG. 20 in each station in the state shown in FIG.

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

1 共通リンクパラメータ 2 リンクデバイス拡張前の固有リンクパラメータ 2’ リンクデバイス拡張後の固有リンクパラメータ 4,6 先頭アドレス 5,8 サイズ 7 局順 12 管理局(プログラマブルコントローラ:MPC) 13 通常局(プログラマブルコントローラ:NPC) 14 周辺装置 1 Common link parameter 2 Unique link parameter before link device expansion 2'Unique link parameter after link device expansion 4,6 Start address 5,8 Size 7 Station order 12 Management station (programmable controller: MPC) 13 Normal station (programmable controller : NPC) 14 peripheral devices

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 管理局により設定した全局同一の共通リ
ンクパラメータと、各局毎に設定し自局のリンクデバイ
ス受信エリアを決定する局固有の固有リンクパラメータ
との内容に基づいてデータリンクを実行する際に、ある
局のリンクデバイス受信エリアを拡張するために、前記
共通リンクパラメータの設定を変更した後、該共通リン
クパラメータとリンクデバイス拡張前から設定していた
前記固有リンクパラメータとを自動的にチェックし、変
更部分についてのリンクデバイス受信エリアを、その先
頭アドレス、サイズを任意に周辺装置から新規の固有リ
ンクパラメータとして入力して各局に設定することを特
徴とするリンクデバイスの拡張方法。
1. A data link is executed based on the contents of a common link parameter set by the management station that is the same for all stations and a unique link parameter that is set for each station and that determines the link device reception area of the station itself. In this case, in order to extend the link device reception area of a certain station, after changing the setting of the common link parameter, the common link parameter and the unique link parameter set before the link device extension are automatically set. A method for expanding a link device, which comprises checking and setting the start address and size of the link device receiving area for the changed part as a new unique link parameter from a peripheral device and setting it to each station.
【請求項2】 管理局により設定した全局同一の共通リ
ンクパラメータと、各局毎に設定し自局のリンクデバイ
ス受信エリアを決定する局固有の固有リンクパラメータ
との内容に基づいてデータリンクを実行する際に、ある
局のリンクデバイス受信エリアを拡張するために、前記
共通リンクパラメータの設定を変更した後、該共通リン
クパラメータとリンクデバイス拡張前から設定していた
前記固有リンクパラメータとを自動的にチェックし、変
更部分についてのリンクデバイス受信エリアを、その先
頭アドレス、局順、サイズを任意に周辺装置から新規の
固有リンクパラメータとして入力して各局に設定するこ
とを特徴とするリンクデバイスの拡張方法。
2. The data link is executed based on the contents of a common link parameter set by the management station that is the same for all stations and a unique link parameter that is set for each station and that determines the link device reception area of the station itself. In this case, in order to extend the link device reception area of a certain station, after changing the setting of the common link parameter, the common link parameter and the unique link parameter set before the link device extension are automatically set. A method for expanding a link device characterized in that the link device reception area for the changed portion is checked and the start address, station order, and size are arbitrarily input from the peripheral device as new unique link parameters and set to each station. .
【請求項3】 管理局により設定され、全局同一の共通
リンクパラメータと、各局毎に複数個設定された自局の
リンクデバイス受信エリアを決定する局固有の固有リン
クパラメータのそれぞれの設定内容に基づいて、各受信
エリアへリンクデバイスを転送することを特徴とするリ
ンクデバイスの転送方法。
3. A common link parameter that is set by the management station and is the same for all stations, and a plurality of unique link parameters that are unique to each station and that determine the link device reception area of the local station are set for each station. Then, the link device is transferred to each reception area.
JP05098041A 1993-04-23 1993-04-23 Link device expansion method and transfer method thereof Expired - Lifetime JP3113121B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05098041A JP3113121B2 (en) 1993-04-23 1993-04-23 Link device expansion method and transfer method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05098041A JP3113121B2 (en) 1993-04-23 1993-04-23 Link device expansion method and transfer method thereof

Publications (2)

Publication Number Publication Date
JPH06311202A true JPH06311202A (en) 1994-11-04
JP3113121B2 JP3113121B2 (en) 2000-11-27

Family

ID=14209020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05098041A Expired - Lifetime JP3113121B2 (en) 1993-04-23 1993-04-23 Link device expansion method and transfer method thereof

Country Status (1)

Country Link
JP (1) JP3113121B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112006003770T5 (en) 2006-03-29 2009-04-23 Mitsubishi Electric Corporation A programming support apparatus, a program support method, a program for causing a computer to implement the method, and a recording medium containing the program
JP2011227556A (en) * 2010-04-15 2011-11-10 Mitsubishi Electric Corp Network parameter automatic setting program and peripheral device of programmable controller

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2798329B2 (en) 1992-09-09 1998-09-17 三菱電機株式会社 Data communication method
JP3116403U (en) 2005-08-04 2005-12-08 とも子 室田 Full body towel with lymphatic massage for bath.

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112006003770T5 (en) 2006-03-29 2009-04-23 Mitsubishi Electric Corporation A programming support apparatus, a program support method, a program for causing a computer to implement the method, and a recording medium containing the program
US8499277B2 (en) 2006-03-29 2013-07-30 Mitsubishi Electric Corporation Programming support apparatus, programming support method, program for causing computer to implement the method, and recording medium containing the program
JP2011227556A (en) * 2010-04-15 2011-11-10 Mitsubishi Electric Corp Network parameter automatic setting program and peripheral device of programmable controller

Also Published As

Publication number Publication date
JP3113121B2 (en) 2000-11-27

Similar Documents

Publication Publication Date Title
US7024463B1 (en) Network system, control method, control apparatus, and multiprocessor
KR20010013112A (en) Method for transaction within a distributed database
KR20190047125A (en) Simulation device and simulation method
KR101757417B1 (en) Method for updating communication node firmware in wireless communication
JPH06311202A (en) Expanding method for link device and transfer method for the same
CN117112315A (en) Data synchronization method, system, storage medium and electronic device for redundant equipment
JP3642594B2 (en) Development support equipment
JP3269164B2 (en) Peripheral device of programmable controller
JPH11288307A (en) FA system
JP2000004243A (en) Data communication method of programmable controller and programmable controller
TW202141953A (en) Communication device, communication system, communication method and program
JPH05252168A (en) Data link method
CN114143329B (en) Method and device for synchronous execution of main and standby functions and parameter transmission
JP2839384B2 (en) Programmable controller
JPH02137046A (en) Patch data transfer method
JPH01169608A (en) Numerical control method
JP3465798B2 (en) Distributed control system
JP3802472B2 (en) Station data update system, facility design system, and station data update method
JPH11110015A (en) Data exchange device between CPU modules
JPH10333716A (en) Programmable controller control system
WO2020166131A1 (en) Remote i/o system
JPH01251283A (en) Image processor
JPH08314510A (en) Programmable controllers and data transfer method between programmable controllers
JPH0337719A (en) System for expanding master file on main storage device
JPH10322543A (en) Image processing device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080922

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080922

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090922

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090922

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130922

Year of fee payment: 13

EXPY Cancellation because of completion of term