JPH01134504A - Transmission/reception system for programmable controller - Google Patents

Transmission/reception system for programmable controller

Info

Publication number
JPH01134504A
JPH01134504A JP29194487A JP29194487A JPH01134504A JP H01134504 A JPH01134504 A JP H01134504A JP 29194487 A JP29194487 A JP 29194487A JP 29194487 A JP29194487 A JP 29194487A JP H01134504 A JPH01134504 A JP H01134504A
Authority
JP
Japan
Prior art keywords
scale
small
link
link area
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.)
Pending
Application number
JP29194487A
Other languages
Japanese (ja)
Inventor
Hisashi Shigematsu
重松 寿
Masanori Sakamoto
坂元 正則
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.)
Koyo Electronics Industries Co Ltd
Original Assignee
Koyo Electronics Industries Co Ltd
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 Koyo Electronics Industries Co Ltd filed Critical Koyo Electronics Industries Co Ltd
Priority to JP29194487A priority Critical patent/JPH01134504A/en
Publication of JPH01134504A publication Critical patent/JPH01134504A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To ensure the effective application of a programmable controller PC link area by dividing the link area of a large-scale PC based on the size of a small-scale PC with correspondence secured among those divided link areas. CONSTITUTION:A large-scale PC 11 is connected to small-scale PC 13, 15, 17, and 19 respectively and data are transferred among these PCs. A large-scale PC link area 12 is divided into blocks is response to the sizes of the small-scale PC link areas 14, 16 and 18 respectively. Then the codes are given to these divided blocks. Then the transfer of data is carried out with the corresponding small-scale PC based on the block codes. Thus it is possible to avoid such a case where the link area of the PC 11 is limited by the link area of the small- scale PC.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は相互にデータを送受信できるようにしたプロ
グラマブルコントローラ(以下PCという)の送受信方
式、特に大規模PCのPCリンクエリアに関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a transmission/reception system for programmable controllers (hereinafter referred to as PCs) that enable mutual data transmission and reception, and particularly to a PC link area of a large-scale PC.

(従来の技術) 第5図は従来のPCのネットワークを示した図である。(Conventional technology) FIG. 5 is a diagram showing a conventional PC network.

図において、(41)は大規模P C、(43)。In the figure, (41) is a large-scale PC, (43).

(45)、 (47)はそれぞれ小規模PCであり、こ
れらは相互に接続されてデータの送受信ができるように
構成されている。(42)、 (44)、 (4B)、
 (48)は、それぞれ前記PCのPCリンクエリアを
示している。
(45) and (47) are small-scale PCs, which are connected to each other and configured to be able to send and receive data. (42), (44), (4B),
(48) each indicates the PC link area of the PC.

大規模P C(41)は、大規模なIlo及びデータを
使用するため、ユーザープログラムの語構成も大となり
、当然のことながらその語構成で取り扱える大規模なP
Cリンクエリア(42)を持っている。
Since large-scale PC (41) uses large-scale Ilo and data, the word structure of the user program is also large, and naturally the large-scale P C that can be handled with that word structure is
It has a C link area (42).

一方、小規模PC(43)、 (45)、 (47)は
小規模なIlo及びデータを取り扱い、コスト重視の観
点からユーザープログラムの語構成も小となっており、
そのpcリンクエリア(44)、  (46)、  (
4g)は大規模なPCリンクエリアが扱えきれない。
On the other hand, small-scale PCs (43), (45), and (47) handle small-scale Ilo and data, and the word structure of the user program is also small from a cost-oriented perspective.
The PC link area (44), (46), (
4g) cannot handle large-scale PC link areas.

このような大規模なPCリンクエリア(42)と小規模
なpcリンクエリア(44)、  (4B)、 (48
)との組み合わせにおいては、小規模なPCリンクエリ
ア(44)、  (4G)、  (4g)は各P C(
41)、  (43)、  (45)。
Such large-scale PC link areas (42) and small-scale PC link areas (44), (4B), (48
), the small PC link areas (44), (4G), (4g) are connected to each PC (
41), (43), (45).

(47)に対応したコントロールエリア(41a) 、
 (43a) 。
Control area (41a) corresponding to (47),
(43a).

(45a) 、 (47a)を持っている。It has (45a) and (47a).

一般に、コントロールエリアはプログラマブルであり、
PCリンクエリアを任意に分割し、゛それぞれのコント
ロールエリアをそれぞれのPCがユーザプログラムに従
って0N10FFコントロールし、他のPCのリンクエ
リアに伝送することによりPCリンクエリアを全てのP
Cに共通のデータエリアとして使用するものである。
Generally, the control area is programmable and
By arbitrarily dividing the PC link area, each PC controls the 0N10FF control area according to the user program, and transmits it to the link area of other PCs, so that the PC link area can be divided into all PCs.
It is used as a data area common to C.

しかしながら、前述のように大規模なPCリンクエリア
を持つ大規模PCと小規模なPCリンクエリアを持つ小
規模PCとのリンクにおいては、小規模PCが小規模な
P CIJシンクリアの範囲外のデータ授受ができない
ため、小規模PCとデータの授受を行う大規模P C(
41)のPCリンクエリア(42)の実質のリンクエリ
アSは、小規模なPCリンクエリアの大きさに限られて
しまい、PCリンクエリア(42)の有効利用ができな
かった。
However, as mentioned above, in a link between a large-scale PC with a large-scale PC link area and a small-scale PC with a small-scale PC link area, the small-scale PC may receive data outside the scope of the CIJ sink clearer. Since it is not possible to send and receive data, a large-scale PC that sends and receives data to a small-scale PC (
The actual link area S of the PC link area (41) (42) was limited to the size of a small PC link area, and the PC link area (42) could not be used effectively.

この発明は、かかる問題点を解決するためになされたも
ので、大規模なPCリンクエリアの有効利用を可能にし
たPCのデータ送受信方式を得ることを目的とする。
The present invention was made to solve these problems, and aims to provide a PC data transmission/reception system that enables effective use of a large PC link area.

(問題点を解決するための手段及び作用)この発明に係
るPCのデータ送受信方式は、大規模PCのPCリン、
クエリアを小規模PCのPCリンクエリアの大きさに従
って分割し、その分割された各エリアと小規模PCのP
Cリンクエリアとを対応づけて両者の間でデータの授受
を行うものである。
(Means and effects for solving the problem) The data transmission/reception method for a PC according to the present invention provides a PC link for a large-scale PC,
The query area is divided according to the size of the PC link area of the small PC, and each divided area and the P of the small PC are
The C link area is associated with the C link area, and data is exchanged between the two.

(実施例) 第1図はこの発明の一実施例を示す図である。(Example) FIG. 1 is a diagram showing an embodiment of the present invention.

図において、(11)は大規模PC,(13)、 (1
5)。
In the figure, (11) is a large-scale PC, (13), (1
5).

(17)、 (19)はそれぞれ小規模PCであり、こ
れらのPCは相互に接続され、データの授受が行われる
。(12)は大規模P C(11)のPCリンクエリア
で。
(17) and (19) are each small-scale PCs, and these PCs are interconnected to exchange data. (12) is the PC link area of large-scale PC (11).

(14)、 (1B)、 (18)、 (20)は小規
模P C(13)、  (15)。
(14), (1B), (18), and (20) are small-scale PCs (13), (15).

(17)、 (19)のリンクエリアである。大規模な
PCリンクエリア(12)は小規模なPCリンクエリア
(14)、  (16)、 (1g)の大きさに従って
ブロックに分割され、それぞれブロックコードが付与さ
れる。
This is the link area of (17) and (19). The large-scale PC link area (12) is divided into blocks according to the size of the small-scale PC link areas (14), (16), and (1g), and a block code is assigned to each block.

pcリンクエリアAは各PC(11)、 (1()、 
 (19)に対応したコントロールエリア(lla、 
(13a) 、 (19a)を従来と同様に持っている
。PCリンクエリアB、C,Dについても同様に行える
が、この実施例では省略しである。
PC link area A is for each PC (11), (1(),
(19) Control area (lla,
(13a) and (19a) as before. The same process can be performed for PC link areas B, C, and D, but is omitted in this embodiment.

第2図は大規模P C(11)のハード構成を示したブ
ロック図である。図において、(20)はCPU。
FIG. 2 is a block diagram showing the hardware configuration of the large-scale PC (11). In the figure, (20) is a CPU.

(21)はCP IJ (20)の演算動作を規定する
プログラムが格納されたROM、(22)は各種データ
が格納されるRAMである。(24)は入力データ及び
出力データが一旦格納されるI10テーブルで、(25
)は入力データ及び出力データが外部機器との間で授受
されるI10ボートである。
(21) is a ROM in which a program defining the arithmetic operation of the CP IJ (20) is stored, and (22) is a RAM in which various data are stored. (24) is the I10 table where input data and output data are temporarily stored, and (25
) is an I10 port through which input data and output data are exchanged with external devices.

(27)はPCリンクモジュール、(2g)は直列入出
力制御装置で、(29)はインターフェースである。
(27) is a PC link module, (2g) is a serial input/output control device, and (29) is an interface.

直列入出力制御装置(28)はインターフェース(29
)を介して他のPCに対して直列にデータを送受信し、
本規模のP C(11)との間では並列にデータを授受
する。(12)は第1図に示された大規模なPCリンク
エリアである。なお、この大規模なPCリンクエリア(
12)は実際にはI10テーブル(20の一部に設けら
れる場合が多いが、ここでは説明の便宜1別の構成にな
っているものとして説明する。
The serial input/output control device (28) is connected to the interface (29
) to send and receive data serially to other PCs,
Data is exchanged in parallel with this scale PC (11). (12) is the large-scale PC link area shown in FIG. In addition, this large-scale PC link area (
12) is actually often provided as a part of the I10 table (20), but for convenience of explanation, it will be described here as having a different configuration.

また、小規模PC(13)、 (15)、 (17)、
 (19)のハード構成は、容量が小さい点及びPCリ
ンクモジュールの構成が若干相違する点を除けば、第2
図に示されたものと基本的には同一である。
In addition, small-scale PCs (13), (15), (17),
The hardware configuration of (19) is the same as the second one, except that the capacity is smaller and the configuration of the PC link module is slightly different.
It is basically the same as shown in the figure.

第3図は小規模p c (ta)のPCリンクモジュー
ル(27A)のハード構成を示している。インターフェ
ース(29)にスイッチ(80)が接続され、このスイ
ッチ(30)によりそのPC自身を識別させるためのブ
ロックコードが設定される。(14)は第1図に示され
た小規模なPCリンクエリアである。他の小規模P C
(15)、 (17)のPCリンクモジュールのハード
構成も第3図に示された構成と同一である。
FIG. 3 shows the hardware configuration of a small-scale PC link module (27A). A switch (80) is connected to the interface (29), and a block code for identifying the PC itself is set by this switch (30). (14) is the small-scale PC link area shown in FIG. Other small PC
The hardware configurations of the PC link modules (15) and (17) are also the same as the configuration shown in FIG.

上記のように構成されたPCのネットワークにおいて、
小規模P C(13)から大規模P C(11)にデー
タを送信する場合の動作を第4図のフローチャートを参
照しながら説明する。
In the PC network configured as above,
The operation when transmitting data from the small-scale PC (13) to the large-scale PC (11) will be explained with reference to the flowchart shown in FIG.

小規模p c (ia)は、PCリンクモジュール(2
7A)のスイッチ(30)の開閉信号をインターフ工−
ス(29)を介して読み込み、自己のブロックコードを
特定する。ここではそのブロックコードをAとする(S
l)。次に、スイッチ又はRAM上に設定された相手コ
ードを読み込む(S2)。次いで、ブロックコード及び
相手局のコードを送信する(S3. S4)。
Small-scale PC (IA) is a PC link module (2
7A) switch (30) open/close signal
The block code is read through the block code (29) and its own block code is specified. Here, let the block code be A (S
l). Next, the other party code set on the switch or RAM is read (S2). Next, the block code and the code of the other station are transmitted (S3, S4).

一方、大規模PC(11)では前記のブロックコードを
受信すると、そのコードがPCリンクエリア(12)内
にあるか否かをチエツクした(323)後、相手局のコ
ードとして送信されてきたコードが自局のコードと一致
するか否を調べる(S24)。
On the other hand, when the large-scale PC (11) receives the block code, it checks whether the code is within the PC link area (12) (323) and then checks the code sent as the code of the other station. It is checked whether the code matches the code of the own station (S24).

一致した場合には確認信号を送信局である小規模P C
(13)へ送信する(S 25)。
If they match, a confirmation signal is sent to the small-scale PC that is the transmitting station.
(13) (S25).

小規模P C(13)ではその確認信号を受信すると(
S5)、コトロールエリア(13a)のアドレス及びデ
ータを送信する(S6)。このコントロールエリア(1
3a)のアドレスはブロックコードAが付与されたもの
となっている。大規模P C(11)では、送信されて
きたデータをPCリンクエリア(12)のブロックAの
コトロールエリア(13a)に格納する。
When the small-scale PC (13) receives the confirmation signal, (
S5), and transmits the address and data of the control area (13a) (S6). This control area (1
Address 3a) is assigned block code A. The large-scale PC (11) stores the transmitted data in the control area (13a) of block A of the PC link area (12).

データの受信が完了すると、ここで、送信局である小規
模P C(13)へ再び確認信号を送る(S27)。小
規模P C(13)は確認信号を受信すると送信動作を
終了する(S7)。
When the reception of the data is completed, a confirmation signal is sent again to the small-scale PC (13), which is the transmitting station (S27). When the small-scale PC (13) receives the confirmation signal, it ends the transmission operation (S7).

なお、小規模P C(13)において確認信号が受信で
きなかった場合には(S5.S7)、再度送信しなおす
か、成るいは異状処理ルーチンへ移行させる(S8)。
Incidentally, if the confirmation signal is not received in the small-scale PC (13) (S5, S7), it is either retransmitted, or the process proceeds to the abnormality processing routine (S8).

なお、上記実施例は小規模PCから大規模PCへデータ
を送信する場合の例であるが、その逆の方向に送信する
場合も同様に動作する。但し、その際の大規模PCには
ブロックコードの設定はないので、データのアドレスよ
りブロックコードを貸出してブロックコード送信を行う
。また、小規模PCは受信したコントロールエリアのア
ドレスからブロックコードを削除し、データをPCリン
クエリアに格納する。
Note that although the above embodiment is an example in which data is transmitted from a small-scale PC to a large-scale PC, the same operation is performed when data is transmitted in the opposite direction. However, since the large-scale PC at that time does not have a block code set, the block code is lent from the data address and the block code is transmitted. Furthermore, the small-scale PC deletes the block code from the received control area address and stores the data in the PC link area.

(発明の効果) 以上のようにこの発明によれば、大規模PCと小規模P
Cとの間でデータの授受を行う際に、大規模PCのPC
リンクエリアを小規模PCのPCリンクエリアの大きさ
に従って分割し、その分割された各エリアと各小規模P
CのPCリンクエリアとを対応ずけて両者の間で信号の
授受を行うようにしたので、大規模PCのPCリンクエ
リアの有効利用が可能になっている。
(Effect of the invention) As described above, according to this invention, large-scale PC and small-scale PC
When exchanging data with C, the PC of a large-scale PC
The link area is divided according to the size of the PC link area of the small PC, and each divided area and each small PC are
Since the PC link area of the PC and the PC link area of the PC are matched and signals are exchanged between the two, it is possible to effectively utilize the PC link area of the large-scale PC.

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

第1図はこの発明の一実施例を示すPCのネットワーク
を示す説明図、第2図は大規模PCのハード構成を示す
ブロック図、第3図は小規模PCのPCリンクモジュー
ルのブロック図、第4図は第1図の装置のデータの送受
信の動作を示したフローチャートである。第5図は従来
のPCのネットワークを示す説明図である。 図において、(12)は大規模なPCリンクエリア、(
14)、  (1B)、 (1g)、 (20)は小規
模なpcリンクエリアである。 代理人 弁理士 佐々木 宗 治 氾4図
FIG. 1 is an explanatory diagram showing a PC network according to an embodiment of the present invention, FIG. 2 is a block diagram showing the hardware configuration of a large-scale PC, and FIG. 3 is a block diagram of a PC link module of a small-scale PC. FIG. 4 is a flowchart showing the data transmission/reception operation of the apparatus shown in FIG. FIG. 5 is an explanatory diagram showing a conventional PC network. In the figure, (12) is a large-scale PC link area, (
14), (1B), (1g), and (20) are small-scale PC link areas. Agent Patent Attorney Sou Sasaki Illustration 4

Claims (1)

【特許請求の範囲】[Claims] 相互にデータを送受信できるようにしたプログラマブル
コントローラ(以下PCという)において、大規模PC
のPCリンクエリアを小規模PCのPCリンクエリアの
大きさに従って分割し、その分割された各エリアと小規
模PCのPCリンクエリアとを対応づけて両者の間でデ
ータの授受を、行うことを特徴とするプログラマブルコ
ントローラの送受信方式。
Among programmable controllers (hereinafter referred to as PCs) that can mutually send and receive data, large-scale PCs
The PC link area of the small PC is divided according to the size of the PC link area of the small PC, each of the divided areas is associated with the PC link area of the small PC, and data is exchanged between the two. Features a programmable controller transmission and reception method.
JP29194487A 1987-11-20 1987-11-20 Transmission/reception system for programmable controller Pending JPH01134504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29194487A JPH01134504A (en) 1987-11-20 1987-11-20 Transmission/reception system for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29194487A JPH01134504A (en) 1987-11-20 1987-11-20 Transmission/reception system for programmable controller

Publications (1)

Publication Number Publication Date
JPH01134504A true JPH01134504A (en) 1989-05-26

Family

ID=17775479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29194487A Pending JPH01134504A (en) 1987-11-20 1987-11-20 Transmission/reception system for programmable controller

Country Status (1)

Country Link
JP (1) JPH01134504A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5955507A (en) * 1982-09-25 1984-03-30 Sharp Corp Control system of parallel processing type programmable controller
JPS61161506A (en) * 1985-01-11 1986-07-22 Toshiba Mach Co Ltd Link system of programmable controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5955507A (en) * 1982-09-25 1984-03-30 Sharp Corp Control system of parallel processing type programmable controller
JPS61161506A (en) * 1985-01-11 1986-07-22 Toshiba Mach Co Ltd Link system of programmable controller

Similar Documents

Publication Publication Date Title
CA2019373C (en) Interrupt structure for network interface circuit
EP0115348B1 (en) Remote initialization of interconnected communications stations
JPH01134504A (en) Transmission/reception system for programmable controller
JPS61127251A (en) Subscriber protocol processing system
JP2982469B2 (en) Data exchange mechanism between FA controller and control target
JP2770177B2 (en) Link interface module of programmable controller
JPS61264405A (en) Sequence controller
JPH03143047A (en) Communication control system
JPH06290127A (en) Computer system
JPH08190408A (en) Data linking method for programmable controller
JPH06290128A (en) Communication switching system of controller
JPS5944191A (en) Information transmitter
JPH04192003A (en) Remote input/output system for programmable controller
JPS62290903A (en) Connection system for plural programmable controllers
JPH01225527A (en) Communication system between injection molding machine and peripheral machinery using identification code
JPH0282342A (en) Data communication equipment
JPH11296211A (en) Input/output device
JPS5835283B2 (en) Local check method between input and output devices
JPH04175032A (en) Computer communication network
JPH05344138A (en) Data transmission controller
JPH0310438A (en) Packet network
JPH02299004A (en) Monitor system for programmable controller
JPH0256149A (en) Communication processor
JPH01155738A (en) Data transmission system
JPH03218553A (en) Mda transmission data receiving device