JP2009009352A - Data communication system of plc system - Google Patents
Data communication system of plc system Download PDFInfo
- Publication number
- JP2009009352A JP2009009352A JP2007169860A JP2007169860A JP2009009352A JP 2009009352 A JP2009009352 A JP 2009009352A JP 2007169860 A JP2007169860 A JP 2007169860A JP 2007169860 A JP2007169860 A JP 2007169860A JP 2009009352 A JP2009009352 A JP 2009009352A
- Authority
- JP
- Japan
- Prior art keywords
- plc
- data
- management
- resource
- communication module
- 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
Links
Images
Landscapes
- Programmable Controllers (AREA)
Abstract
Description
本発明は、PLCシステムのデータ通信方式に係り、特に同一PLC内に複数の管理CPUを有する場合などのデータ通信方式に関するものである。 The present invention relates to a data communication system of a PLC system, and more particularly to a data communication system in the case where a plurality of management CPUs are provided in the same PLC.
プログラマブルコントローラ(以下PLCという)に2枚以上の管理用中央処理モジュール(CPU)を実装し、実装された通信モジュールを介して他のPLCとのデータ交換が行われている。このようなPLCのデータ交換については、言語の国際規格としてIEC61131−3があり、その国内規格としてJISB3503として規格化されている。コンフィグレーションには、PLCシステム全てのリソースの定義、グローバル変数定義、コンフィグレーション間のアクセスパス定義、タスク及びPLCのリソース割り付け、タスク定義、等PLC共通のシステム定義が含まれている。 Two or more central processing modules (CPU) for management are mounted on a programmable controller (hereinafter referred to as PLC), and data exchange with other PLCs is performed via the mounted communication module. Regarding such PLC data exchange, there is IEC61131-3 as an international language standard, and it is standardized as JISB3503 as its domestic standard. The configuration includes system definitions common to PLCs, such as resource definitions for all PLC systems, global variable definitions, access path definitions between configurations, task and PLC resource allocation, task definitions, and the like.
図7はJISB3503に基づくPLCシステムの構成例を示したもので、リソースとしては、電源モジュール、第1の管理CPU1モジュール、第2の管理CPU2モジュール、及び通信モジュールが実装され、それらは電気的にはバスを介し接続されてPLCを構成している。リソースの実装態様は固定ではなく、例えば、図8のように管理CPUは1枚とし、通信モジュールを2枚実装してベースボードにパラレルバスを配設する構成のものも存在している。このPLCシステムの場合、PLC共通のシステム定義は管理CPUが全ての情報を保持、管理している。モジュール間のデータ交換は、管理CPUがパラレルバスのバスマスタとなり、管理CPUと通信モジュール間で1対1のデータ交換を実行している。 FIG. 7 shows a configuration example of a PLC system based on JISB3503. As resources, a power supply module, a first management CPU1 module, a second management CPU2 module, and a communication module are mounted. Are connected via a bus to form a PLC. The resource implementation is not fixed. For example, as shown in FIG. 8, there is a configuration in which there is one management CPU, two communication modules are mounted, and a parallel bus is provided on the base board. In the case of this PLC system, the management CPU holds and manages all information in the system definition common to the PLC. In the data exchange between modules, the management CPU becomes a bus master of a parallel bus, and a one-to-one data exchange is executed between the management CPU and the communication module.
なお、複数のPLC間データ通信方式としては、特許文献1が公知となっている。この特許文献1のものは、複数のPLC間を接続する通信手段としてイーサネット(登録商標)を使用し、IPアドレスによるノード管理を不用にしたことが開示されている。
従来におけるPLC内でのモジュール間のデータ交換は、管理CPUと通信モジュール間での1対1のデータ交換であるため、次のような機能が実現できない問題点を有している。
(1)管理CPUを介さずに通信モジュール間でのデータ交換ができない。
(2)管理CPUを図7で示すように複数実装し、実装された複数の管理CPUが1枚の通信モジュールと同時のデータ交換の実現ができない。
(3)管理CPUを複数実装して、実装された複数の管理CPU間での常時データ交換が実現できない。
(4)管理CPUを複数実装して、実装された全てのモジュール間で同時にPLC共通のシステム定義を共有することができない。
The conventional data exchange between modules in the PLC is a one-to-one data exchange between the management CPU and the communication module, and therefore has the problem that the following functions cannot be realized.
(1) Data cannot be exchanged between communication modules without going through the management CPU.
(2) A plurality of management CPUs are mounted as shown in FIG. 7, and the plurality of mounted management CPUs cannot realize simultaneous data exchange with one communication module.
(3) A plurality of management CPUs are mounted, and constant data exchange between the mounted management CPUs cannot be realized.
(4) A plurality of management CPUs are mounted, and a system definition common to PLCs cannot be shared simultaneously among all the mounted modules.
なお、特許文献1には、複数のPLC間でのデータ交換機能は存在しているが、PLC内での複数の管理CPUや通信モジュール間のデータ交換を含む上記(1)〜(4)についての機能についての記載はない。
Although
本発明が目的とするところは、上記した(1)〜(4)を解決したPLCシステムのデータ通信方式を提供することにある。 An object of the present invention is to provide a data communication system of a PLC system that solves the above (1) to (4).
本発明の請求項1は、1枚の通信モジュールと2枚以上の管理用中央処理モジュールを有し、ローダを介して入力された共通のシステム定義に基づいて動作するプログラマブルコントローラを設け、このプログラマブルコントローラと通信ケーブルを介して接続された相手側プログラマブルコントローラとの間で信号の授受を行うものにおいて、
前記複数の管理用中央処理モジュールは、送信データを自己リソース内の仮想グローバルメモリに展開した後に通信モジュールに送信し、この通信モジュールは自己の仮想グローバルメモリに展開した後に、前記複数の管理用中央処理モジュールからのデータを1つにまとめて相手側のプログラマブルコントローラの通信モジュールに送信することを特徴としたものである。
The plurality of management central processing modules transmit the transmission data to the communication module after expanding the transmission data in the virtual global memory in the own resource, and the communication module expands the plurality of management central processing modules to the virtual global memory in the own resource. The data from the processing module is collected into one and transmitted to the communication module of the counterpart programmable controller.
本発明の請求項2は、前記複数の管理用中央処理モジュールのうち、第1の管理用中央処理モジュールは、他の管理用中央処理モジュールへの送信データを自己リソースの仮想グローバルメモリに展開した後にバスの一斉送信機能を使って送信し、受信した管理用中央処理モジュールは自己リソースの仮想グローバルメモリに展開することを特徴としたものである。 According to a second aspect of the present invention, among the plurality of management central processing modules, the first management central processing module expands transmission data to other management central processing modules in a virtual global memory of its own resource. The management central processing module, which is later transmitted using the simultaneous transmission function of the bus and received, is expanded in the virtual global memory of its own resource.
本発明の請求項3は、前記相手側のプログラマブルコントローラの通信モジュールは、受信したデータを自己プログラマブルコントローラの複数の管理用中央処理モジュールにバスの一斉送信機能を使って送信することを特徴としたものである。 Claim 3 of the present invention is characterized in that the communication module of the partner programmable controller transmits the received data to a plurality of management central processing modules of the self-programmable controller by using a simultaneous transmission function of the bus. Is.
本発明の請求項4は、前記ローダからのPLC共通システム定義を前記プログラマブルコントローラに送信し、当該プログラマブルコントローラの第1の管理用中央処理モジュールは、PLC共通システム定義を自己リソースの仮想グローバルメモリに展開した後、他の管理用中央処理モジュール及び通信モジュールにバスの一斉送信機能を使って送信することを特徴としたものである。 According to a fourth aspect of the present invention, the PLC common system definition from the loader is transmitted to the programmable controller, and the first central processing module for management of the programmable controller stores the PLC common system definition in the virtual global memory of its own resource. It is characterized by transmitting the data to other management central processing modules and communication modules using the simultaneous transmission function of the bus after the expansion.
本発明の請求項5は、前記当該プログラマブルコントローラの第1の管理用中央処理モジュール、他の管理用中央処理モジュール及び通信モジュールは、仮想グローバルメモリに展開された自己リソースのステータス・ヘルシーカウンタをバスの一斉送信機能を使ってそれぞれ他のリソースに送信し、各リソースはそれぞれ自己リソースの仮想グローバルメモリに展開し、展開されたステータス・ヘルシーカウンタを参照して他のリソースの動作監視を行うことを特徴としたものである。 According to a fifth aspect of the present invention, the first central processing module for management, the other central processing module for management, and the communication module of the programmable controller bus the status and health counter of the self resource developed in the virtual global memory. Each resource is sent to other resources using the simultaneous transmission function, and each resource is expanded in the virtual global memory of its own resource, and the operation of other resources is monitored by referring to the expanded status and health counter. It is a feature.
以上のとおり、本発明によれば、PLC1の通信モジュールは、自己の仮想グローバルメモリに展開されたCPU1とCPU2のデータを1つの送信データにまとめてPLC2の通信モジュールへ送信することにより、2枚以上の管理CPUが同時に相手PLCにデータを送信することができる。
As described above, according to the present invention, the communication module of the
また、PLC1のCPU1とCPU2のデータを通信モジュールが同時に送信することが可能となったことにより、通信モジュールはCPU1とCPU2のそれぞれと同期をとるための複雑なプロトコルやタイミングをとることなく、簡単にデータをまとめてPLC2に送信することができる。
一方、PLC2側からみると、PLC1に2枚以上の管理CPUが実装されていても、受信データはまとめられて1つであるので通信負荷が増大することなく、PLC1の複数の管理CPUと通信を実行することができる。
In addition, since the communication module can simultaneously transmit the data of the
On the other hand, when viewed from the
また、請求項4、5によれば、PLC1のCPU1,CPU2,及び通信モジュールは、自己リソースの仮想グローバルメモリ上のPLC共通システム定義と他リソースのステータス・ヘルシーカウタを参照して、他リソースの動作監視を実現することが可能となる。
また、複数の管理CPUが実装されていた場合、ローダは1つの管理CPUにPLC共通システム定義を送信するだけで、複雑なプロトコルレスで全てのリソースがPLC共通システム定義を共有できる。
さらに、ローダ上でPLC共通システム定義が変更された場合、ローダは1つの管理CPUに変更されたPLC共通システム定義を送信するだけで、全てのリソースがPLC共通システム定義の変更を共有することができる。
また、複数リソースが実装されている場合、仮想グローバルメモリのPLC共通システム定義とリソースのステータス・ヘルシーカウタをお互いのリソースが監視することで、お互いのリソースの異常を検出することが出来る、などの効果を有するものである。
According to
Further, when a plurality of management CPUs are mounted, the loader can simply transmit the PLC common system definition to one management CPU, and all resources can share the PLC common system definition without complicated protocols.
Further, when the PLC common system definition is changed on the loader, the loader only transmits the changed PLC common system definition to one management CPU, and all resources may share the change of the PLC common system definition. it can.
In addition, when multiple resources are implemented, each resource's resources can be detected by monitoring each other's resources by monitoring the PLC common system definition of the virtual global memory and the resource status / health counter, etc. It is what has.
本発明は、1枚の通信モジュールと2枚以上の管理用CPUを有したPLCにローダを介して共通のシステム定義を入力し、この共通のシステム定義に基づいて動作するPLCを設ける。このPLCと通信ケーブルを介して接続された相手側のPLCとの間で信号の授受を行うとき、複数の管理用CPUは送信データを自己リソース内の仮想グローバルメモリに展開した後に通信モジュールに送信する。この通信モジュールは自己の仮想グローバルメモリに展開した後に、前記複数の管理用CPUからのデータを1つにまとめて相手側のPLCの通信モジュールに送信するようにしたものである。以下実施例に基づき具体的に説明する。 In the present invention, a common system definition is input to a PLC having one communication module and two or more management CPUs via a loader, and a PLC that operates based on the common system definition is provided. When sending and receiving signals between the PLC and a PLC on the other side connected via a communication cable, a plurality of management CPUs transmit transmission data to a virtual global memory in its own resource, and then transmit it to the communication module To do. After this communication module is expanded in its own virtual global memory, the data from the plurality of management CPUs are integrated into one and transmitted to the communication module of the counterpart PLC. Hereinafter, specific description will be given based on examples.
図1は、本発明の実施例を示すPLCのモジュールメモリ構成図、図2は本発明が適用されるPLCシステム構成図、図3は各リソースのシリアルバス概略ブロック図、図4はPLC1のメモリ使用例である。
図2で示すPLCシステムは、PLC1とPLC2を通信ケーブル8で接続した場合を示したもので、それぞれのPLC1とPLC2は、リソースとしての電源モジュール1と、2枚の管理用CPU(中央処理部)よりなるリソース2及び3と、1枚の通信モジュールよりなるリソース4とで構成され、それぞれのリソースはシリアルバス5によって接続されている。6はローダでパソコンが使用される。7は通信ケーブルで、ローダ6とPLC1間のデータ授受はこの通信ケーブル7を介して実行される。
1 is a block diagram of a PLC module memory showing an embodiment of the present invention, FIG. 2 is a block diagram of a PLC system to which the present invention is applied, FIG. 3 is a schematic block diagram of a serial bus for each resource, and FIG. It is a usage example.
The PLC system shown in FIG. 2 shows a case where PLC1 and PLC2 are connected by a
図3で示す各リソースのシリアルバス概略ブロック図において、10はCPU、11〜13はメモリで、その内のローカルRAM11は仮想グローバルメモリとして使用される。12はデータメモリ、13は書き換え可能なメモリとなっている。14はメモリエリア(DPM)で、各リソースはシリアルバス5から受信したデータを展開するための受信用RXと、メモリエリアからシリアルバス5へ送信する送信用TXとを有している。15は演算部、16はバス制御部、17は受信部、18は送信部である。
In the serial bus schematic block diagram of each resource shown in FIG. 3, 10 is a CPU, 11 to 13 are memories, and a
各リソースは、演算部15を介してメモリエリア14の受信用RXに展開された受信データを、PLC共通システム定義を参照して仮想グローバルメモリ11に展開する。また、各リソースは、PLC共通システム定義を参照して仮想グローバルメモリ11上の送信データをメモリエリア14の送信用TXにセットする。PLCはベースボードのバスとしてシリアルバス5が採用されており、自己のリソースから他の全てのリソースに対してデータを一斉送信する機能となっている。
Each resource expands the reception data expanded in the reception RX of the
ローダ6からPLC共通システム定義(コンフィグレーション)を受信したリソースは、自リソースの実メモリの仮想グローバルメモリ11にPLC共通システム定義を展開した後、他の全リソースに対してPLC共通システム定義を送信する。その際、自リソースの実メモリの仮想グローバルメモリ空間の指定アドレスにデータを展開した後に、他の全リソースに対してPLC共通システム定義を送信する。他の全リソースは、送信されたデータを受信したら、PLC共通システム定義にしたがって実メモリの仮想グローバルメモリ空間の指定アドレスにデータを展開する。
The resource that has received the PLC common system definition (configuration) from the
図1はPLC内のメモリ構成とデータの流れを示したものである。20、30,40はリソース2〜4に対応した仮想グローバルメモリ(図3の仮想グローバルメモリ11)で、20はCPU1用の仮想グローバルメモリ、30はCPU2用の仮想グローバルメモリ、40は通信モジュール4用の仮想グローバルメモリで、これら各リソースの仮想グローバルメモリは、各リソース共通のメモリ空間として仮想グローバルメモリが定義され、リソース間のデータ交換が次のようにステップSに基づいて実行される。
FIG. 1 shows the memory configuration and data flow in the PLC. 20, 30, and 40 are virtual global memories (virtual
(1)CPUの送信データの仮想グローバルメモリへの展開
S1:ローダ6からPLC共通システム定義を受信したPLC1のリソース2(CPU1)は、PLC2への送信データを仮想グローバルメモリ20に展開する。S2:PLC1のリソース3(CPU2)は、PLC2への送信データを仮想グローバルメモリ30に展開する
(2)CPUの送信データの通信モジュールへの送信
S3:PLC1のCPU1は、送信データをバスの一斉送信機能を使ってPLC1の通信モジュール(リソース4)へ送信する。
S4:PLC1のCPU2は、送信データをバスの一斉送信機能を使ってPLC1の通信モジュール(リソース4)へ送信する。
(1) Expansion of CPU transmission data to virtual global memory S1: Resource 2 (CPU 1) of
S4: The
(3)通信モジュールのデータ受信
S5:PLC1の通信モジュールは、CPU1から送信されたデータを受信して仮想グローバルメモリ40に展開する。
S6:PLC1の通信モジュールは、CPU2から送信されたデータを受信して仮想グローバルメモリ40に展開する。
(3) Data reception of communication module S5: The communication module of
S6: The communication module of the
(4)通信モジュールのPLC2へのデータ送信
S7:PLC1の通信モジュールは、仮想グローバルメモリ40に展開されたCPU1とCPU2のデータを1つの送信データにまとめてPLC2へ送信する。
(4) Data transmission to PLC2 of communication module S7: The communication module of PLC1 collects the data of CPU1 and CPU2 developed in the virtual global memory 40 into one transmission data and transmits it to PLC2.
(5)通信モジュールの仮想グローバルメモリへの展開
S8:PLC2の通信モジュールは、PLC1の通信モジュールからの受信データを自己の仮想クローバルメモリ40に展開する。
(5) Expansion of communication module to virtual global memory S8: The communication module of PLC2 expands the received data from the communication module of PLC1 to its own virtual global memory 40.
(6)通信モジュールのCPUへのデータ送信
S9:PLC2の通信モジュールは、PLC1の通信モジュールからの受信データを自己のCPU1とCPU2に一斉送信機能を使って送信する。
(6) Data transmission to CPU of communication module S9: The communication module of PLC2 transmits the received data from the communication module of PLC1 to its own CPU1 and CPU2 using the simultaneous transmission function.
(7)CPUの受信データの仮想グローバルメモリへの展開
S10:PLC2のCPU1は、PLC2の通信モジュールから受信したデータを自己の仮想グローバルメモリ20に展開する。
S11:PLC2のCPU2は、PLC2の通信モジュールから受信したデータを自己の仮想グローバルメモリ30に展開する。
(7) Expansion of received data of CPU to virtual global memory S10: The
S11: The
(8)CPUの仮想クローバルメモリからデータメモリへの展開
S12:PLC2のCPU1は、PLC2の通信モジュールから受信して仮想グローバルメモリに展開したデータを自己のデータメモリ21に展開する。
S13:PLC2のCPU2は、PLC2の通信モジュールから受信して仮想グローバルメモリに展開したデータを自己のデータメモリ31に展開する。
(8) Expansion of CPU from virtual global memory to data memory S12: The
S13: The
この実施例によれば、PLC1のCPU1とCPU2は、送信データを自己のリソース内仮想グローバルメモリに展開して通信モジュールへ送信する。PLC1の通信モジュールは、CPU1とCPU2から送信されたデータを受信し、自己のリソース内仮想グローバルメモリに展開する。PLC1の通信モジュールは、自己の仮想グローバルメモリに展開されたCPU1とCPU2のデータを1つの送信データにまとめてPLC2の通信モジュールへ送信する。これにより、2枚以上の管理CPUが同時に相手PLCにデータを送信することができる。
According to this embodiment, the
また、PLC1のCPU1とCPU2のデータを通信モジュールが同時に送信することが可能になる。これにより、通信モジュールはCPU1とCPU2のそれぞれと同期をとるための複雑なプロトコルやタイミングをとることなく、簡単にデータをまとめてPLC2に送信することができる。
一方、PLC2側からみると、PLC1に2枚以上の管理CPUが実装されていても、受信データはまとめられて1つであるので通信負荷が増大することなく、PLC1の複数の管理CPUと通信を実行することができる。
Moreover, it becomes possible for a communication module to transmit the data of CPU1 and CPU2 of PLC1 simultaneously. As a result, the communication module can easily collect and transmit data to the
On the other hand, when viewed from the
図5は、PLC1のメモリ使用例を示した本発明の他の実施例である。この実施例の場合も管理CPUを2枚以上実装し、複数の管理CPU間でデータ交換を可能としたものである。なお、PLC1のメモリ使用例以外のハード構成などは同一であるので、その説明は省略する。以下、図5に基づいてPLC1のメモリ使用についての動作を説明する。
FIG. 5 shows another embodiment of the present invention showing an example of memory usage of the
(10)CPUの送信データの仮想グローバルメモリへの展開
S20:PLC1のCPU1は、PLC1のCPU2への送信データを仮想グローバルメモリ20に展開する。
S21:PLC1のCPU2は、PLC1のCPU1への送信データを仮想グローバルメモリ30に展開する。
(10) Expansion of transmission data of CPU to virtual global memory S20:
S 21: The
(11)CPUの送信データの送信
S22:PLC1のCPU1は、送信データをバスの一斉送信機能を使ってPLC1のCPU2へ送信する。
S23:PLC1のCPU2は、送信データをバスの一斉送信機能を使ってPLC1のCPU1へ送信する。
(11) Transmission of transmission data by CPU S22: The
S23: The
(12)受信データの仮想グローバルメモリへの展開
S24:PLC1のCPU1は、CPU2から送信されたデータを受信して仮想グローバルメモリ20に展開する。
S25:PLC1のCPU2は、CPU1から送信されたデータを受信して仮想グローバルメモリ30に展開する。
(12) Expansion of received data in virtual global memory S24: The
S25: The
(13)仮想グローバルメモリからデータメモリへの展開
S26:PLC1のCPU1は、PLC1のCPU2から受信して仮想グローバルメモリ20に展開したデータをデータメモリ21に展開する。
S27:PLC1のCPU2は、PLC1のCPU1から受信して仮想グローバルメモリ30に展開したデータをデータメモリ31に展開する。
(13) Expansion from Virtual Global Memory to Data Memory S26: The
S27: The
この実施例によれば、PLC1のCPU1は、PLC1のCPU2への送信データを自己のリソース内仮想グローバルメモリに展開し、PLC1のCPU1は送信データをバスの一斉送信機能を使ってPLC1のCPU2へ送信する。PLC1のCPU2は、PLC1のCPU1からのデータを受信し、自己のリソース内仮想グローバルメモリに展開し、この展開データをデータメモリに展開する。
これにより、管理CPUを複数実装した場合でも、複雑なプロトコルやタイミングをとることなく、簡単に複数の管理CPU間でのデータ交換が実現できる。
According to this embodiment, the
As a result, even when a plurality of management CPUs are mounted, data exchange among the plurality of management CPUs can be easily realized without taking complicated protocols and timings.
なお、この実施例では、受信したデータを仮想グローバルメモリに展開するが、データメモリには展開しないことも可能である。その場合、アプリケーションで実際に使っているエリアだけをデータメモリに展開することになり、メモリの有効活用が可能となる。 In this embodiment, the received data is expanded in the virtual global memory, but may not be expanded in the data memory. In this case, only the area actually used by the application is expanded in the data memory, and the memory can be effectively used.
図6はPLC1のメモリ使用例を示す実施例で、PLCの各リソース間でPLC共通のシステム定義(IEC61131−3、またはJISB3503のコンフィグレーション)を共有する場合を示し、その動作は次のように行われる。 FIG. 6 is an embodiment showing an example of memory usage of PLC1, and shows a case where a PLC common system definition (configuration of IEC61131-3 or JISB3503) is shared among PLC resources. The operation is as follows. Done.
(20)ローダ6からのPLC共通システム定義の送信
S30:ローダ6からPLC共通システム定義をPLC1のCPU1へ送信する。
(20) PLC common system definition transmission from
(21)PLC共通システム定義の仮想グローバルメモリへの展開
S31:PLC1のCPU1はローダから受信したPLCシステム定義を仮想グローバルメモリ20に展開する。
(21) Expansion of PLC common system definition into virtual global memory S31: The
(22)CPU1のPLC共通システム定義の送信
S32:PLC1のCPU1は、PLC共通システム定義をバス一斉送信機能を使ってPLC1のCPU2と通信モジュール(リソース4)へ送信する。
(22) Transmission of PLC common system definition of
(23)PLC共通システム定義のデータ受信
S33:PLC1のCPU2は、CPU1から送信されたPLC共通システム定義を受信して仮想グローバルメモリ30に展開する。
S34:PLC1の通信モジュールは、CPU1から送信されたPLC共通システム定義を受信して自己の仮想グローバルメモリ40に展開する。
(23) PLC common system definition data reception S33: The
S34: The communication module of PLC1 receives the PLC common system definition transmitted from the CPU1 and develops it in its own virtual global memory 40.
(24)各リソースのステータス・ヘルシーカウタ送信
S35:PLC1のCPU1は、自己リソース2のステータス及びヘルシーカウタを仮想グローバルメモリ20に展開する。
S36:PLC1のCPU2は、自己リソース3のステータス及びヘルシーカウタを仮想グローバルメモリ30に展開する。
S37:PLC1の通信モジュールは、自己リソース4のステータス及びヘルシーカウタを仮想グローバルメモリ40に展開する。
(24) Status / healthy counter transmission of each resource S35: The
S 36: The
S37: The communication module of PLC1 expands the status of the self resource 4 and the healthy counter in the virtual global memory 40.
(25)PLCシステム監視
S38:PLC1のCPU1は、仮想グローバルメモリ20のPLC共通システム定義とCPU2ステータス・ヘルシーカウタと、通信モジュールステータス・ヘルシーカウタの監視を行い、CPU2と通信モジユールの動作監視を実施する。
S39:PLC1のCPU2は、仮想グローバルメモリ30のPLC共通システム定義とCPU1ステータス・ヘルシーカウタと、通信モジュールステータス・ヘルシーカウタの監視を行い、CPU1と通信モジユールの動作監視を実施する。
S40:PLC1の通信モジュールは、仮想グローバルメモリ40のPLC共通システム定義とCPU1ステータス・ヘルシーカウタと、CPU2ステータス・ヘルシーカウタの監視を行い、CPU1とCPU2の動作監視を実施する。
(25) PLC system monitoring S38: The
S39: The
S40: The PLC1 communication module monitors the PLC common system definition of the virtual global memory 40, the CPU1 status / health counter, and the CPU2 status / health counter, and monitors the operation of the CPU1 and CPU2.
以上のように、この実施例は、ローダからPLC共通システム定義をPLC1のCPU1へ送信する。PLC1のCPU1は、ローダから受信したPLC共通システム定義を自己リソースの仮想グローバルメモリに展開する。PLC1のCPU1は、PLC共通システム定義をバス一斉送信機能を使用してPLC1のCPU2と通信モジュールへ送信する。PLC1のCPU2と通信モジュールは、CPU1から送信されたPLC共通システム定義を受信して自己リソースの仮想グローバルメモリに展開する。PLC1のCPU1,CPU2,及び通信モジュールは、自己リソースの仮想グローバルメモリに、自己のリソースのステータス・ヘルシーカウタを展開する。PLC1のCPU1,CPU2,及び通信モジュールは、自己のリソースのステータス・ヘルシーカウタをバス一斉送信機能を使用して他リソースへ送信する。PLC1のCPU1,CPU2,及び通信モジュールは、受信した他リソースのステータス・ヘルシーカウタを自己リソースの仮想グローバルメモリに展開する。
As described above, in this embodiment, the PLC common system definition is transmitted from the loader to the
したがって、この実施例によれば、PLC1のCPU1,CPU2,及び通信モジュールは、自己リソースの仮想グローバルメモリ上のPLC共通システム定義と他リソースのステータス・ヘルシーカウタを参照して、他リソースの動作監視を実現することが可能となる。
また、複数の管理CPUが実装されていた場合、ローダは1つの管理CPUにPLC共通システム定義を送信するだけで、複雑なプロトコルレスで全てのリソースがPLC共通システム定義を共有できる。
さらに、ローダ上でPLC共通システム定義が変更された場合、ローダは1つの管理CPUに変更されたPLC共通システム定義を送信するだけで、全てのリソースがPLC共通システム定義の変更を共有することができる。
また、複数リソースが実装されている場合、仮想グローバルメモリのPLC共通システム定義とリソースのステータス・ヘルシーカウタをお互いのリソースが監視することで、お互いのリソースの異常を検出することが出来る、などの効果を有するものである。
Therefore, according to this embodiment, the
Further, when a plurality of management CPUs are mounted, the loader can simply transmit the PLC common system definition to one management CPU, and all resources can share the PLC common system definition without complicated protocols.
Further, when the PLC common system definition is changed on the loader, the loader only transmits the changed PLC common system definition to one management CPU, and all resources may share the change of the PLC common system definition. it can.
In addition, when multiple resources are implemented, each resource's resources can be detected by monitoring each other's resources by monitoring the PLC common system definition of the virtual global memory and the resource status / health counter, etc. It is what has.
1〜4… リソース
5… シリアルバス
6… ローダ
7、8… 通信ケーブル
PLC… プログラマブルコントローラ
11〜13… メモリ
14… メモリエリア
15… 演算部
16… バス制御部
17… 受信部
18… 送信部
1 to 4 ...
Claims (5)
前記複数の管理用中央処理モジュールは、送信データを自己リソース内の仮想グローバルメモリに展開した後に通信モジュールに送信し、この通信モジュールは自己の仮想グローバルメモリに展開した後に、前記複数の管理用中央処理モジュールからのデータを1つにまとめて相手側のプログラマブルコントローラの通信モジュールに送信することを特徴としたPLCシステムのデータ通信方式。 A programmable controller that has one communication module and two or more central processing modules for management, and that operates based on a common system definition input via a loader, is connected to this programmable controller via a communication cable. In those that send and receive signals with the other party programmable controller,
The plurality of management central processing modules transmit the transmission data to the communication module after expanding the transmission data in the virtual global memory in the own resource, and the communication module expands the plurality of management central processing modules to the virtual global memory in the own resource. A data communication method for a PLC system, characterized in that data from a processing module are collected and transmitted to a communication module of a programmable controller on the other side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007169860A JP4867818B2 (en) | 2007-06-28 | 2007-06-28 | PLC system data communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007169860A JP4867818B2 (en) | 2007-06-28 | 2007-06-28 | PLC system data communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009009352A true JP2009009352A (en) | 2009-01-15 |
JP4867818B2 JP4867818B2 (en) | 2012-02-01 |
Family
ID=40324373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007169860A Active JP4867818B2 (en) | 2007-06-28 | 2007-06-28 | PLC system data communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4867818B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092123A (en) * | 2011-11-08 | 2013-05-08 | 财团法人资讯工业策进会 | Programmable logic controller (PLC) drive system and PLC drive method |
CN107168227A (en) * | 2017-06-01 | 2017-09-15 | 杭州电子科技大学 | The communicating control method and device of many kernel Embedded PLCs |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001022401A (en) * | 1999-07-09 | 2001-01-26 | Toshiba Corp | Integrated controller, control system, and transmission device |
JP2001067107A (en) * | 1999-08-30 | 2001-03-16 | Mitsubishi Electric Corp | Programmable controller system and method for controlling transmission of information of the system |
JP2004320195A (en) * | 2003-04-14 | 2004-11-11 | Toshiba Corp | Remote i/o system in monitoring control system |
-
2007
- 2007-06-28 JP JP2007169860A patent/JP4867818B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001022401A (en) * | 1999-07-09 | 2001-01-26 | Toshiba Corp | Integrated controller, control system, and transmission device |
JP2001067107A (en) * | 1999-08-30 | 2001-03-16 | Mitsubishi Electric Corp | Programmable controller system and method for controlling transmission of information of the system |
JP2004320195A (en) * | 2003-04-14 | 2004-11-11 | Toshiba Corp | Remote i/o system in monitoring control system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092123A (en) * | 2011-11-08 | 2013-05-08 | 财团法人资讯工业策进会 | Programmable logic controller (PLC) drive system and PLC drive method |
CN103092123B (en) * | 2011-11-08 | 2015-04-22 | 财团法人资讯工业策进会 | Programmable logic controller (PLC) drive system and PLC drive method |
CN107168227A (en) * | 2017-06-01 | 2017-09-15 | 杭州电子科技大学 | The communicating control method and device of many kernel Embedded PLCs |
Also Published As
Publication number | Publication date |
---|---|
JP4867818B2 (en) | 2012-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8255095B2 (en) | Modular avionics system of an aircraft | |
KR102145795B1 (en) | Method and apparatus for analyzing and processing data stream in environment where worker nodes are distributed, and method and apparatus for managing task | |
JP6747525B2 (en) | Safety system and safety controller | |
JP5233770B2 (en) | GATEWAY DEVICE, ITS CONTROL METHOD, SYSTEM, PROGRAM FOR EXECUTING CONTROL METHOD, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
CN110320829B (en) | Safety control system and safety control unit | |
CN105472291A (en) | Digital video recorder with multiprocessor cluster and realization method of digital video recorder | |
TWI648638B (en) | Multi-microcontroller system, internet of things gateway system, and control flow of multi-microcontroller system based on network bridge | |
JP5795667B2 (en) | Network traffic control device | |
JP4867818B2 (en) | PLC system data communication system | |
JP2014222871A (en) | Master device of Profibus DP | |
US20150039929A1 (en) | Method and Apparatus for Forming Software Fault Containment Units (SWFCUS) in a Distributed Real-Time System | |
JP2007221364A (en) | Expansion method of controller, control system, and control device | |
US20070192332A1 (en) | Distributed automation system | |
CN116401065A (en) | Server, heterogeneous equipment and data processing device thereof | |
CN103944770A (en) | High-performance communication management device | |
KR101346461B1 (en) | Network connecting apparatus and network connecting method for communication on heterogeneous networks | |
KR101294308B1 (en) | Facilities control system and operating method of the system | |
JP5217971B2 (en) | Data communication system | |
CN105656740A (en) | RS422-CAN bus converter | |
JP6339438B2 (en) | Industrial equipment control network system | |
CN106170022B (en) | Distributed multimedia sensor control system | |
KR20160035446A (en) | Control method of factory automation system, recording medium recording a program therefor and central processor of factory automation system | |
JP2014080141A (en) | Railway signal system | |
JPWO2016143104A1 (en) | Control system | |
JP2007272358A (en) | Information processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091112 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110316 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110322 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110516 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20110516 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111018 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111031 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4867818 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141125 Year of fee payment: 3 |