JPH01175337A - Communication equipment - Google Patents
Communication equipmentInfo
- Publication number
- JPH01175337A JPH01175337A JP33231187A JP33231187A JPH01175337A JP H01175337 A JPH01175337 A JP H01175337A JP 33231187 A JP33231187 A JP 33231187A JP 33231187 A JP33231187 A JP 33231187A JP H01175337 A JPH01175337 A JP H01175337A
- Authority
- JP
- Japan
- Prior art keywords
- communication data
- main device
- shared
- communication
- stored
- 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
Links
- 238000000034 method Methods 0.000 abstract description 13
- 230000015654 memory Effects 0.000 description 44
- 238000004519 manufacturing process Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 5
- 239000003795 chemical substances by application Substances 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Communication Control (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、たとえば工場内の生産ラインなどで多数用い
られるいわゆるプログラマブルコントローラと、複数の
プログラマブルコントローラの動作を制御するホストコ
ンピュータとの間で通信を行う通信装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is directed to communication between so-called programmable controllers, which are used in large numbers on production lines in factories, for example, and a host computer that controls the operations of a plurality of programmable controllers. Related to communication devices.
従来技術
典型的な先行技術は第3図に示されている。通信回線1
1にそれぞれ接続された複数のプログラマブルコントロ
ーラpt、p2.・・・、PNには、各プログラマブル
コントローラ間で相互に交換される後述の通信データが
格納される共有メモリm1、m2.・・・、mNが設け
られている。Prior Art A typical prior art is shown in FIG. Communication line 1
A plurality of programmable controllers pt, p2 . . . , PN includes shared memories m1, m2, . ..., mN are provided.
これら複数のプログラマブルコントローラp1゜P2.
・・・、pNは、たとえば生産ラインなどにおいて用い
られる一連の生産機械などの動作を制御するものである
。このような一連の生産機械は、1つの生産ラインの中
において配置されているために、相互に連係した動作を
行うことが要求されている。このため、これらの生産機
械を制御する各プログラマブルコントローラp1.p:
2.・・・。These plural programmable controllers p1゜P2.
..., pN controls the operation of a series of production machines used in, for example, a production line. Since such a series of production machines are arranged in one production line, they are required to perform operations in conjunction with each other. For this reason, each programmable controller p1. p:
2. ....
pNでは、生産工程上のデータに関する情報が前記通信
回線11を介して相互に交換され、各共有メモリml、
m2.・・・、mNに格納される。In pN, information regarding data on the production process is mutually exchanged via the communication line 11, and each shared memory ml,
m2. ..., stored in mN.
一方、これら複数のプログラマブルコントローラρ1.
P2.・・・、PNの動作を制御するホストコンピュー
タ1は、汎用バッファメモリ2と、制御部3とを含むイ
ンターフェイス4を介して前記通信回線11に接続され
ている。On the other hand, these plural programmable controllers ρ1.
P2. ..., a host computer 1 that controls the operation of the PN is connected to the communication line 11 via an interface 4 that includes a general-purpose buffer memory 2 and a control section 3.
従来、ホストコンピュータ1が前記各共有メモリml、
m2.・・・、mNに格納されている通信データを読出
すにあたっては、次の2つの方法があった。Conventionally, a host computer 1 stores each of the shared memories ml,
m2. There are two methods for reading communication data stored in mN.
まず、第1の方法としては、ホストコンピュータ1から
読出し命令を各プログラマブルコントローラpl、p2
.・・・、pNに対して送出し、この読出し命令に対し
て応答、すなわち各共有メモリに格納された通信データ
を、前記汎用バッファメモリ2を介して読込む方法であ
る。第2の方法としては、各プログラマブルコントロー
ラpi、p2、・・・、pNから、直接、前記通信デー
タをホストコンピュータ1に対して送出し、これによっ
てホストコンピュータ1が前記汎用バッファメモリ2を
介して読取る方法である。First, the first method is to send a read command from the host computer 1 to each programmable controller pl, p2.
.. ..., pN, and a response to this read command, that is, communication data stored in each shared memory, is read through the general-purpose buffer memory 2. As a second method, each programmable controller pi, p2, . . . , pN directly sends the communication data to the host computer 1, whereby the host computer 1 This is how to read it.
発明が解決しようとする問題点
前記第1の方法では、ホストコンピュータ1側において
操作者が読出し命令の送出などを制御する通信制御のた
めのプログラムを別途作成しなければならない。また、
第2の方法では、各プログラマブルコントローラ側にお
いて、どのようなタイミングで、あるいはどのような条
件の下に通信データの送出を行うかというような通信制
御のためのプログラムを、操作者が別途作成しなければ
ならない、このようにいずれの場合においても、従来で
は、ホストコンピュータ1が各プログラマブルコントロ
ーラ内の通信データを読出すにあたっては、別途通信制
御のためのプログラムを作成しなければならず、その作
業が繁雑であった。Problems to be Solved by the Invention In the first method, the operator must separately create a communication control program on the host computer 1 side to control sending of read commands and the like. Also,
In the second method, the operator separately creates a communication control program for each programmable controller, such as at what timing or under what conditions communication data should be sent. In either case, conventionally, when the host computer 1 reads the communication data in each programmable controller, a separate program for communication control must be created, and that work is required. was complicated.
本発明の目的は、前述の問題点を解決し、各端末装置内
の共有記憶部に格納されている通信データを主装置が読
出すにあたって、その作業手順を格段に簡略化すること
ができる通信装置を提供することである。SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and to significantly simplify the work procedure when a main device reads communication data stored in a shared storage section in each terminal device. The purpose is to provide equipment.
問題点を解決するための手段
本発明は、相互に定期的に交換される通信データを格納
する共有記憶部をそれぞれ有する複数の端末装置と、
各端末装置の動作を制御する主装置であって、前記各端
末装置内の共有記憶部間で交換される通信データを格納
するための専用記憶部を有する、そのような主装置とを
含むことを特徴とする通信装置である。Means for Solving the Problems The present invention provides a plurality of terminal devices each having a shared storage section for storing communication data that is periodically exchanged with each other, and a main device that controls the operation of each terminal device. , and a main device having a dedicated storage section for storing communication data exchanged between shared storage sections in each of the terminal devices.
作 用
本発明の通信装置では、各端末装置間で、たとえば各端
末装置自身に関する通信データが相互に定期的に交換さ
れて、各共有記憶部内に格納される。したがって各端末
装置の共有記憶部には、たとえばそれぞれ他の端末装置
に関する最新の通信データが格納されている。Function: In the communication device of the present invention, communication data regarding, for example, each terminal device itself is periodically exchanged between each terminal device and stored in each shared storage unit. Therefore, the shared storage section of each terminal device stores, for example, the latest communication data regarding each other terminal device.
本発明に従えば、主装置内に前記各端末装置間で交換さ
れる通信データを格納するための専用記憶部を設けた。According to the present invention, a dedicated storage section for storing communication data exchanged between the terminal devices is provided in the main device.
この記憶部には、各端末装置の共有記憶部に格納された
通信データと同じデータが常に格納される。すなわち、
この記憶部は、各端末装置における共有記憶部と同様な
機能を有するものである。This storage section always stores the same communication data as the communication data stored in the shared storage section of each terminal device. That is,
This storage unit has the same function as the shared storage unit in each terminal device.
したがって、主装置側において、希望する端末装置に関
するデータを読出すにあたっては、この主装置内に設け
られた記憶部内に格納されたデータを読出すだけでよく
、たとえばその端末装置に対して読出し命令を送出した
後に、データが送出されるまで待つというような!I!
!雑な作業手順が省略され、きわめて簡単に行うことが
できる。Therefore, in order to read data related to a desired terminal device on the main device side, it is only necessary to read the data stored in the storage section provided within the main device. After sending the , wait until the data is sent! I!
! It eliminates complicated work procedures and is extremely easy to perform.
実施例
第1図は、本発明の一実施例の電気的構成を示すブロッ
ク図である。通信回線11にそれぞれ接続された複数の
端末装置であるプログラマブルコントローラPL、P2
.・・・、PNには、各プログラマブルコントローラ間
で相互に交換される通信データが格納される共有メモリ
Ml、M2.・・・。Embodiment FIG. 1 is a block diagram showing the electrical configuration of an embodiment of the present invention. Programmable controllers PL and P2 which are a plurality of terminal devices each connected to the communication line 11
.. ..., PN includes shared memories Ml, M2, . ....
MNが設けられている。MN is provided.
これら複数のプログラマブルコントローラP1゜P2.
・・・、PNは、たとえば生産ラインにおいて用いられ
ている一連の生産機械などの動作を制御する場合などに
用いられる。このような一連の生産機械は、1つの生産
ラインにおいてそれぞれの役割を果たすために配置され
ており、相互に連係した動作を行うことが要求される。These plural programmable controllers P1゜P2.
..., PN is used, for example, when controlling the operations of a series of production machines used on a production line. A series of such production machines are arranged to perform their respective roles in one production line, and are required to perform operations in coordination with each other.
したがって、各生産機械を制御するプログラマブルコン
トローラにおいては、たとえば生産工程上において次々
と発生する最新情報を相互に交換しながら、これらの情
報に基づいて各生産機械を制御することが望ましい、こ
のために、各プログラマブルコントローラPI、P2.
・・・、PN内には、前述したような情報に関する通信
データを格納するための共有メモリMl、M2.・・・
、MNが設けられている。Therefore, in a programmable controller that controls each production machine, it is desirable to mutually exchange the latest information that occurs one after another in the production process, and to control each production machine based on this information. , each programmable controller PI, P2.
. . , PN includes shared memories Ml, M2 . ...
, MN are provided.
一方、これら複数のプログラマブルコントローラPL、
P2.・・・、PNの動作を制御する主装置であるホス
トコンピュータ11には、インターフェイス15が設け
られており、このホストコンピュータ11はインターフ
ェイス15を介して前記通信回線12に接続されている
。インターフェイス15は、汎用バッファメモリ12と
後述される共有バッファメモリ13と、該インターフェ
イス15内の通信状態を制御する制御部14とを含んで
構成される。On the other hand, these plural programmable controllers PL,
P2. . . . A host computer 11, which is a main device that controls the operation of the PN, is provided with an interface 15, and the host computer 11 is connected to the communication line 12 via the interface 15. The interface 15 includes a general-purpose buffer memory 12, a shared buffer memory 13 (described later), and a control unit 14 that controls the communication state within the interface 15.
第2図は、通信データの流れを模式的に示す図である。FIG. 2 is a diagram schematically showing the flow of communication data.
ここでは、説明の便利のために、前記通信回線12に接
続されるプログラマブルコントローラを3個に限定して
、その動作について説明する。同図において参照符21
,22.23が付される部分は、前記3個のプログラマ
ブルコントローラの各共有メモリ領域を示し、参照符2
4が符される部分は、ホストコンピュータ11の共有バ
ッファメモリ13内のメモリ領域を示している。Here, for convenience of explanation, the number of programmable controllers connected to the communication line 12 will be limited to three, and their operations will be explained. In the figure, reference numeral 21
, 22 and 23 indicate each shared memory area of the three programmable controllers, and are denoted by reference numeral 2.
The portion marked with 4 indicates a memory area within the shared buffer memory 13 of the host computer 11.
前記各共有メモリ領域21〜23は、それぞれ通信回線
12に接続されるプログラマブルコントローラの数に分
割される。すなわち、この場合には各共有メモリ領域2
1〜23は、それぞれ第1〜第3分割領域21a、22
a、23a;21b。Each of the shared memory areas 21 to 23 is divided into the number of programmable controllers connected to the communication line 12, respectively. That is, in this case, each shared memory area 2
1 to 23 are first to third divided regions 21a and 22, respectively.
a, 23a; 21b.
22b、23b:21c、22c、23cに3分割され
ている。このような構成の共有メモリ領域21〜23で
は、ある共有メモリを有するプログラマブルコントロー
ラから送出された通信データは、他の共有メモリ領域を
有するプログラマブルコントローラにおいて受信され、
この共有メモリ領域内に格納される。このような通信デ
ータの送受信は一定周期で次々に実行されていく。たと
えば共有メモリ領域21内の第1分割領域21a内に格
納されている通信データは、通信回線12を介して送信
され、2つの共有メモリ領域22,23内の第1分割領
域22a、23a内にそれぞれ格納される。同様にして
共有メモリ22内の第1分割領域22aおよび共有メモ
リ領域23内の第3メモリ領域23c内にそれぞれ格納
されている通信データも、他の共有メモリ領域内の対応
する分割領域に格納される。このような動作は、前述し
たように一定周期で次々に実行されてゆくので、新しく
受信した通信データは、それ以前に受信した古い通信デ
ータの上に書き重ねられてゆく。したがって、各共有メ
モリ領域21〜23には、常に他の共有メモリ領域に関
する最新情報が格納されることになる。このような動作
によって、複数のプログラマブルコントローラ内の共有
メモリ領域には、常に同一の通信データが格納され、互
いの動作を連係することができる。It is divided into three parts: 22b, 23b: 21c, 22c, and 23c. In the shared memory areas 21 to 23 having such a configuration, communication data sent from a programmable controller having a certain shared memory is received by a programmable controller having another shared memory area,
stored within this shared memory area. Such transmission and reception of communication data is performed one after another at a constant cycle. For example, communication data stored in the first divided area 21a in the shared memory area 21 is transmitted via the communication line 12 and stored in the first divided areas 22a and 23a in the two shared memory areas 22 and 23. Each is stored. Similarly, the communication data stored in the first divided area 22a in the shared memory 22 and the third memory area 23c in the shared memory area 23 are also stored in the corresponding divided areas in other shared memory areas. Ru. As described above, such operations are executed one after another at regular intervals, so newly received communication data is overwritten on old communication data that was received before. Therefore, each shared memory area 21 to 23 always stores the latest information regarding other shared memory areas. By such an operation, the same communication data is always stored in the shared memory area in the plurality of programmable controllers, and mutual operations can be coordinated.
ホストコンピュータ11の共有バッファメモリ13に対
応する共有メモリ領域24は、前記各共有メモリ21〜
23と同様に3分割されており、各共有メモリ21〜2
3が送出する通信データを常に受信して、これを格納し
ている。このような動作は、インターフェイス15内の
通信制御部14によって、ホストコンピュータ11内の
アプリケーションプログラムとは無関係に実行される。A shared memory area 24 corresponding to the shared buffer memory 13 of the host computer 11 includes each of the shared memories 21 to
Like 23, it is divided into three, and each shared memory 21 to 2
It always receives the communication data sent by 3 and stores it. Such operations are executed by the communication control section 14 within the interface 15, independently of the application program within the host computer 11.
このような動作によって、共有メモリ領域24内には、
各プログラマブルコントローラ内の共有メモリ領域21
〜23と同様なデータ配列が得られる。Due to this operation, the shared memory area 24 has the following information:
Shared memory area 21 in each programmable controller
A data array similar to ~23 is obtained.
換言すれば、通信回線12に接続される複数のプログラ
マブルコントローラPL、P2.・・・、PN間におい
て相互に交換される最新の通信データは、ホストコンピ
ュータ11内の共有バッファメモリ13に常に格納され
ていることになる。したがって、ホストコンピュータ1
1側において、各プログラマブルコントローラ内の共有
メモリの内容を読出すにあたっては、操作者が通信制御
プログラムなどを作成する必要はなく、ホストコンピュ
ータ11内の単なるメモリ参照の方法でこれを実行する
ことができ、その作業手順が格段に簡略化される。In other words, a plurality of programmable controllers PL, P2 . ..., the latest communication data mutually exchanged between the PNs is always stored in the shared buffer memory 13 within the host computer 11. Therefore, host computer 1
On the 1 side, when reading the contents of the shared memory in each programmable controller, there is no need for the operator to create a communication control program, and this can be executed by simply referencing the memory in the host computer 11. This greatly simplifies the work procedure.
なお、各プログラマブルコントローラPL、P2、・・
・、PN内には、共有メモリMl、M2.・・・MN以
外のメモリ領域が設けられているけれども、ホストコン
ピュータ11がこのメモリ領域内のデータをアクセスす
る場合には、従来と同様に、インターフェイス15内の
汎用バッファメモリ12を介してこれを実行すればよい
。In addition, each programmable controller PL, P2,...
. , PN includes shared memories Ml, M2 . Although a memory area other than MN is provided, when the host computer 11 accesses data in this memory area, it accesses the data via the general-purpose buffer memory 12 in the interface 15, as in the past. Just do it.
効 果
以上のように本発明に従えば、各端末装置間で交換され
て各共有記憶部内に格納される通信データを主装置が読
出すにあたって、その作業手順を格段に簡略化すること
ができる。Effects As described above, according to the present invention, when the main device reads communication data exchanged between each terminal device and stored in each shared storage section, the work procedure can be significantly simplified. .
第1図は本発明の一実施例の電気的構成を示すブロック
図、第2図はデータの流れを示す模式図、第3図は典型
的な先行技術の電気的構成を示すブロック図である。
11・・・ホストコンピュータ、13・・・共有バッフ
ァメモリ、14・・・通信制御部、15・・・インター
フェイス、21〜24・・共有メモリ領域、PI、P2
゜・・・、PN・・・プログラマブルコントローラ、M
l。
M2.・・・、MN・・・共有メモリ
代理人 弁理士 西教 圭一部
第2図
第3図
手続補正書く方式)
%式%
、発明の名称
通信装置
3、補正をする者
事件との関係 出願人
住所
名称 (504)シャープ株式会社 ′、、T>。
シ\
代表者
1−・1,1.Δ 。
4、代理人 +t:i:’
住 所 大阪市西区西本町1丁目13番38号 新興塵
ビル1tIi際置EXO525−5985INTAPT
J国際FAX GIll&Gn (06)538−
0247昭和63年 3月29日(発送臼)
6、補正の対象
図 面
7、補正の内容
図面の浄書(内容に変更なし)。
以 上FIG. 1 is a block diagram showing the electrical configuration of an embodiment of the present invention, FIG. 2 is a schematic diagram showing the flow of data, and FIG. 3 is a block diagram showing the electrical configuration of a typical prior art. . DESCRIPTION OF SYMBOLS 11... Host computer, 13... Shared buffer memory, 14... Communication control unit, 15... Interface, 21-24... Shared memory area, PI, P2
゜..., PN...Programmable controller, M
l. M2. ..., MN...Shared memory agent Patent attorney Kei Saikyo Part 2 Figure 3 Procedure amendment writing method) % formula %, Name of the invention Communication device 3, Person making the amendment Relationship with the case Applicant Address name (504) Sharp Corporation ',,T>. \Representative
1-・1,1. Δ. 4. Agent +t:i:'
Address 1-13-38 Nishihonmachi, Nishi-ku, Osaka Shinko Jin Building 1tIi EXO525-5985INTAPT
J International FAX GIll&Gn (06)538-
0247 March 29, 1986 (Shipping) 6. Drawings to be amended Surface 7. Contents of amendments: Engraving of drawings (no changes in content). that's all
Claims (1)
憶部をそれぞれ有する複数の端末装置と、各端末装置の
動作を制御する主装置であって、前記各端末装置内の共
有記憶部間で交換される通信データを格納するための専
用記憶部を有する、そのような主装置とを含むことを特
徴とする通信装置。A plurality of terminal devices, each having a shared storage section for storing communication data that is periodically exchanged with each other, and a main device that controls the operation of each terminal device, the main device comprising: and a main device having a dedicated storage for storing communication data to be exchanged.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP33231187A JPH01175337A (en) | 1987-12-29 | 1987-12-29 | Communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP33231187A JPH01175337A (en) | 1987-12-29 | 1987-12-29 | Communication equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01175337A true JPH01175337A (en) | 1989-07-11 |
Family
ID=18253544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP33231187A Pending JPH01175337A (en) | 1987-12-29 | 1987-12-29 | Communication equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01175337A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04211550A (en) * | 1990-03-19 | 1992-08-03 | Hitachi Ltd | Information transfer system |
JP2009271933A (en) * | 2000-10-10 | 2009-11-19 | Schneider Automation Inc | Plc executive with integrated web server |
-
1987
- 1987-12-29 JP JP33231187A patent/JPH01175337A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04211550A (en) * | 1990-03-19 | 1992-08-03 | Hitachi Ltd | Information transfer system |
JP2009271933A (en) * | 2000-10-10 | 2009-11-19 | Schneider Automation Inc | Plc executive with integrated web server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0365673B1 (en) | Peer-to-peer register exchange controller for plcs | |
JPS6224801B2 (en) | ||
JPH01175337A (en) | Communication equipment | |
JP4492778B2 (en) | Communication system in monitoring system | |
JPH04362783A (en) | Cad system having simultaneous concurrent processing function at plural terminals | |
CN219285720U (en) | Cascadable metering chip mass production burning system | |
JPH05252168A (en) | Data link method | |
JP3005379B2 (en) | Communication system between programmable controllers | |
WO2022049885A1 (en) | Control device | |
JPH03202904A (en) | Display method for sequence control | |
JPS60263208A (en) | Factory automation system | |
JP4433492B2 (en) | Data exchange method with programmable controller | |
JPH028334B2 (en) | ||
JPS62200945A (en) | Communication control system | |
JP2009252074A (en) | Productive equipment and relay apparatus, and control program for relay apparatus and control method for productive equipment | |
JPH0447305A (en) | Cell controller | |
JPH04144337A (en) | Communication system | |
JPH08314510A (en) | Programmable controllers and data transfer method between programmable controllers | |
JPH0732993B2 (en) | A work teaching device for robots | |
JPS63317854A (en) | Line controller | |
JPH02228709A (en) | Position display system for numerical controller | |
JPH01173104A (en) | Programmable controller | |
JPS62105254A (en) | Buffer control system for local area network | |
JPH07244510A (en) | Distributed controller | |
JPH01177106A (en) | Transmission system for control program |