JP2008158650A - Process control device, and method for determining failure in process control device - Google Patents

Process control device, and method for determining failure in process control device Download PDF

Info

Publication number
JP2008158650A
JP2008158650A JP2006344422A JP2006344422A JP2008158650A JP 2008158650 A JP2008158650 A JP 2008158650A JP 2006344422 A JP2006344422 A JP 2006344422A JP 2006344422 A JP2006344422 A JP 2006344422A JP 2008158650 A JP2008158650 A JP 2008158650A
Authority
JP
Japan
Prior art keywords
process control
control device
counter
data
communication
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
JP2006344422A
Other languages
Japanese (ja)
Inventor
Kaoru Base
薫 馬瀬
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 JP2006344422A priority Critical patent/JP2008158650A/en
Publication of JP2008158650A publication Critical patent/JP2008158650A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a process control device (hereinafter abbreviated as P) that can determine a failure in the process control device by simplified control S/W. <P>SOLUTION: A first P 1-1 comprises a counter 3-1-1 that counts up at every scan from a control S/W 4-1, a write memory area 2-1-1 to which the counter data counted up is written, and a sending means for sending the counter data written to a second P 1-2. The second P comprises a read memory area 2-2-1 for reading the counter data sent from the first P via a cyclic communication network 10, and a check means for checking changes in the read count data. The check means determines a failure of the first P if the count data read into the read memory area is not changed. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、例えば、公共水処理(上下水道)プラントなどの動作状態を監視および制御するプラント監視・制御システムに係わり、特にプラントの機器を監視・制御するためにネットワーク通信接続されたプロセス制御装置およびプロセス制御装置の異常判定方法に関するものである。   The present invention relates to a plant monitoring / control system for monitoring and controlling an operating state of, for example, a public water treatment (water supply / sewerage) plant, and in particular, a process control apparatus connected to a network for monitoring / controlling plant equipment. The present invention also relates to an abnormality determination method for a process control apparatus.

公共水処理(上下水道)プラントを監視・制御するプラント監視・制御システムでは、プラントの機器や負荷などを監視・制御する複数のプロセス制御装置をネットワーク接続して、通信により監視・制御データを集中管理している。
電子部品で構成されるプロセス制御装置は故障する可能性があるが、プラント稼動運用中にプロセス制御装置で故障が発生した場合に、ネットワーク接続している他の通信端末(即ち、他のプロセス制御装置)で故障発生を検出し、プラントを管理している操作員に通報する必要がある。
In a plant monitoring and control system that monitors and controls public water treatment (water and sewage) plants, multiple process control devices that monitor and control plant equipment and loads are connected to the network, and monitoring and control data is concentrated via communication. I manage.
Although a process control device composed of electronic components may fail, if a failure occurs in the process control device during plant operation, another communication terminal connected to the network (ie, other process control) It is necessary to detect the occurrence of a failure in the equipment and notify the operator who manages the plant.

通信端末(プロセス制御装置)の故障を検出する方法としては、例えば、特開2004−180276号公報(特許文献1)では、通信元の端末(プロセス制御装置)から通信要求データを発信して、通信相手の端末(プロセス制御装置)から通信応答データが返ってくることを確認することによって、通信相手の端末(プロセス制御装置)が正常な動作状態であるのか、または異常(故障)状態であるのかの確認(判定)をしていた。
特開2004−180276号公報
As a method for detecting a failure of a communication terminal (process control device), for example, in Japanese Patent Application Laid-Open No. 2004-180276 (Patent Document 1), communication request data is transmitted from a communication source terminal (process control device), By confirming that communication response data is returned from the communication partner terminal (process control device), the communication partner terminal (process control device) is in a normal operating state or in an abnormal (failed) state. I was checking (judgment).
JP 2004-180276 A

上述した従来例では、通信元と通信相手の端末間でプロトコル(通信手順の取決め)に基づいて通信を行う必要がある。
従来例では、通信データのフォーマットやサイズ、フォーマット内の各種データ内容の定義などを決めた通信プロトコルに沿って、通信元と通信相手の端末で通信ソフトウェアを作成しなければならない。
そのため、ソフトウェアの製作に手間が掛かるという問題点があった。
In the above-described conventional example, it is necessary to perform communication between a communication source and a communication partner terminal based on a protocol (arrangement of communication procedure).
In the conventional example, communication software must be created by a communication source and a communication partner terminal in accordance with a communication protocol that determines the format and size of communication data and the definition of various data contents in the format.
Therefore, there was a problem that it took time to produce software.

本発明は、上述した従来の問題点を解決するためになされたものであり、従来のように通信プロトコルに基づいて通信ソフトウェアを作成する必要がなく、容易に、プラントの各機器や負荷の動作を監視・制御するプロセス制御装置の動作の正常・異常判定を行うことが可能なプロセス制御装置あるいはプロセス制御装置の異常判定方法を提供することを目的とする。   The present invention has been made to solve the above-described conventional problems, and it is not necessary to create communication software based on a communication protocol as in the prior art, and it is easy to operate each device and load in the plant. It is an object of the present invention to provide a process control apparatus or a process control apparatus abnormality determination method capable of determining normality / abnormality of operation of a process control apparatus that monitors and controls the process.

本発明に係わるプロセス制御装置は、サイクリック通信ネットワークを介して複数が互いに接続されるプロセス制御装置であって、
書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリと、上記書込みメモリエリアにデータを書込む書込み手段と、上記書込みメモリエリアのデータを上記サイクリック通信ネットワークを介して他のプロセス制御装置にサイクリックに送信する送信手段と、他のプロセス制御装置から送信されるデータを受信してそのプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する受信手段と、上記読込みメモリエリアをチェックするチェック手段とを備え、上記読込みメモリエリアには、対応する他のプロセス制御装置が正常な時に値が変化するカウンタデータがあり、上記チェック手段が、上記読込みメモリエリアの上記カウンタデータが変化しない場合に対応する他のプロセス制御装置の動作は異常であると判定するものである。
A process control device according to the present invention is a process control device in which a plurality of devices are connected to each other via a cyclic communication network.
A cyclic communication memory having a write memory area and a read memory area allocated to each of the other process control devices; a writing means for writing data into the write memory area; and data in the write memory area for the cyclic communication Transmitting means for cyclically transmitting to another process control apparatus via the network, and receiving means for receiving data transmitted from the other process control apparatus and storing it in the read memory area assigned to the process control apparatus And check means for checking the read memory area, the read memory area includes counter data whose value changes when the corresponding other process control device is normal, and the check means includes the read memory. When the counter data in the area does not change Operation of other process control devices that respond is to determined to be abnormal.

また、本発明に係わるプロセス制御装置の異常判定方法は、サイクリック通信ネットワークを介して接続され、サイクリック通信を行うための書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリを備えた第1のプロセス制御装置および第2のプロセス制御装置において、上記第2のプロセス制御装置が上記第1のプロセス制御装置の動作異常を判定するプロセス制御装置の異常判定方法であって、
上記第1のプロセス制御装置でなされる、サイクリック送信の周期毎に所定の規則でカウンタデータを変化させるカウントステップ、上記カウンタデータを上記書込みエリアに書込む書込みステップ、書込まれた上記カウンタデータを含む上記書込みエリアのデータを上記第2のプロセス制御装置にサイクリックに送信する送信ステップを有し、
上記第2のプロセス制御装置でなされる、上記第1のプロセス制御装置から送信されるデータを受信して上記第1のプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する受信ステップ、上記読込みメモリエリアに保存された上記第1のプロセス制御装置の上記カウンタデータの変化をチェックし、上記カウンタデータが変化しない場合に上記第1のプロセス制御装置の動作は異常であると判定するチェックステップを有するものである。
The abnormality determination method for the process control apparatus according to the present invention includes a write memory area for performing cyclic communication and a read memory area allocated for each other process control apparatus, connected via a cyclic communication network. In the first process control apparatus and the second process control apparatus provided with a cyclic communication memory having the above, an abnormality of the process control apparatus in which the second process control apparatus determines an operation abnormality of the first process control apparatus A determination method comprising:
A counting step for changing the counter data according to a predetermined rule for each cyclic transmission cycle, a writing step for writing the counter data into the writing area, and the written counter data, which are performed by the first process control device Including a transmission step of cyclically transmitting data in the writing area including the second process control device,
A reception step of receiving data transmitted from the first process control device and storing the data in the read memory area assigned to the first process control device, the reading being performed by the second process control device; A check step of checking a change in the counter data of the first process control device stored in the memory area and determining that the operation of the first process control device is abnormal when the counter data does not change; It is what you have.

また、本発明に係わるプロセス制御装置の異常判定方法は、サイクリック通信ネットワークを介して接続され、サイクリック通信を行うための書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリを備えた第1のプロセス制御装置および第2のプロセス制御装置において、上記第1のプロセス制御装置が上記第2のプロセス制御装置の動作異常を判定するプロセス制御装置の異常判定方法であって、
上記第1のプロセス制御装置でなされる、サイクリック送信の周期毎に所定の規則でカウンタデータを変化させるカウントステップ、上記カウンタデータを上記書込みエリアに書込む書込みステップ、書込まれた上記カウンタデータを含む上記書込みエリアのデータを上記第2のプロセス制御装置にサイクリックに送信する第1の送信ステップを有し、
上記第2のプロセス制御装置でなされる、上記第1のプロセス制御装置から送信されるデータを受信して上記第1のプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する第1の受信ステップ、上記読込みメモリエリアに保存された上記第1のプロセス制御装置の上記カウンタデータを読み出して上記書込みエリアに書込むコピーステップ、書込まれた上記カウンタデータを含む上記書込みエリアのデ―タを上記第1のプロセス制御装置にサイクリックに送信する第2の送信ステップを有し、さらに、上記第1のプロセス制御装置でなされる、上記第2のプロセス制御装置から送信されるデータを受信して上記第2のプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する第2の受信ステップ、上記読込みメモリに保存された上記第2のプロセス制御装置の上記カウンタデータの変化をチェックし、上記カウンタデータが変化しない場合に上記第2のプロセス制御装置の動作は異常であると判定するチェクステップを有するものである。
The abnormality determination method for the process control apparatus according to the present invention includes a write memory area for performing cyclic communication and a read memory area allocated for each other process control apparatus, connected via a cyclic communication network. In the first process control apparatus and the second process control apparatus provided with a cyclic communication memory having the above, an abnormality of the process control apparatus in which the first process control apparatus determines an operation abnormality of the second process control apparatus A determination method comprising:
A counting step for changing the counter data according to a predetermined rule for each cyclic transmission cycle, a writing step for writing the counter data into the writing area, and the written counter data, which are performed by the first process control device A first transmission step of cyclically transmitting the data in the writing area including: to the second process control device;
A first reception step of receiving data transmitted from the first process control device and storing it in the read memory area allocated to the first process control device, performed by the second process control device A copy step of reading the counter data of the first process control device stored in the read memory area and writing it in the write area; and writing data in the write area including the written counter data A second transmission step of cyclically transmitting to the first process control device; and further, receiving data transmitted from the second process control device, which is performed by the first process control device. A second receiving step for storing in the read memory area allocated to the second process control device; A check step for checking a change in the counter data of the second process control device stored in the memory and determining that the operation of the second process control device is abnormal when the counter data does not change It is.

本発明によれば、サイクリック通信を利用することにより、従来のように通信プロトコルに基づいて通信ソフトウェアを作成する必要がなく、プラントの各機器や負荷の動作を直接監視・制御するプロセス制御装置の動作異常判定を容易に行うことが可能なプロセス制御装置およびプロセス制御装置の異常判定方法を提供できる。   According to the present invention, by using cyclic communication, there is no need to create communication software based on a communication protocol as in the prior art, and a process control device that directly monitors and controls the operation of each device and load in the plant. It is possible to provide a process control device and a process control device abnormality determination method capable of easily performing the operation abnormality determination.

以下、図面に基づいて、本発明の一実施の形態について説明する。
なお、各図間において、同一符号は、同一あるいは相当のものであることを表す。
実施の形態1.
図1は、本発明の実施の形態1によるプロセス制御装置(通信端末)を説明するためのシステム構成図である。
本発明では通信プロトコルを意識せずにソフトウェアの製作が可能となるサイクリック通信を利用して、通信相手端末の状態確認の処理を行う。
ここで、「サイクリック通信」とは、ネットワークを介して接続されている複数の端末間(プロセス制御装置)で仮想的に共有するメモリエリアを設け、それぞれの通信端末(プロセス制御装置)が予め書込みエリアを決定しておき、その領域への書込みデータを定周期で他の通信端末(プロセス制御装置)に送信することによってネットワーク全体で共有メモリを実現するものである。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
In the drawings, the same reference numerals indicate the same or equivalent ones.
Embodiment 1 FIG.
FIG. 1 is a system configuration diagram for explaining a process control apparatus (communication terminal) according to Embodiment 1 of the present invention.
In the present invention, the process of confirming the state of the communication partner terminal is performed using cyclic communication that enables software to be produced without regard to the communication protocol.
Here, “cyclic communication” means that a memory area that is virtually shared between a plurality of terminals (process control devices) connected via a network is provided, and each communication terminal (process control device) A shared memory is realized in the entire network by determining a write area and transmitting write data to the area to another communication terminal (process control device) at a fixed period.

図1に示すように、複数の通信端末(プロセス制御装置)1−1、1−2、1−3、 ・・・・ 、1−nは、サイクリック通信ネットワーク10に接続されてサイクリック通信を行う。
なお、本発明の各実施の形態においては、サイクリック通信ネットワークを介して接続される通信端末は、プラントの機器や負荷に対応して設けられ、プラントの各機器や負荷の動作を直接監視・制御する「プロセス制御装置」であるので、以後は「通信端末(プロセス制御装置)」は単に「通信端末」と記す。
図1に示すように、通信端末1−1内にはサイクリック通信ネットワーク10を介して複数の通信端末間で仮想的に共有するサイクリック通信メモリ2−1が実装され、それぞれの通信端末用に設定しているメモリエリア毎にカウンタ3−1−1、3−1−2、・・・・、3−1−nを割り付ける。
As shown in FIG. 1, a plurality of communication terminals (process control devices) 1-1, 1-2, 1-3,..., 1-n are connected to a cyclic communication network 10 to perform cyclic communication. I do.
In each embodiment of the present invention, the communication terminal connected via the cyclic communication network is provided corresponding to the plant equipment and load, and directly monitors the operation of each plant equipment and load. Since it is a “process control device” to be controlled, “communication terminal (process control device)” will be simply referred to as “communication terminal” hereinafter.
As shown in FIG. 1, a cyclic communication memory 2-1 that is virtually shared among a plurality of communication terminals via a cyclic communication network 10 is mounted in the communication terminal 1-1. .., 3-1-n are allocated to the memory areas set to “1”.

通信端末1−1において、2−1−1は通信端末1−1用のサイクリック通信書込み(送信)メモリエリア、2−1−2は通信端末1−2用のサイクリック通信読込み(受信)メモリエリア、2−1−3は通信端末1−3用のサイクリック通信読込み(受信)メモリエリア、・・・・、2−1−nは通信端末1−n用のサイクリック通信読込み(受信)メモリエリアであり、これらのメモリエリアによって通信端末1−1のサイクリック通信メモリ2−1が構成されている。
また、通信端末1−2において、2−2−1は通信端末1−1用のサイクリック通信読込み(受信)メモリエリア、2−2−2は通信端末1−2用のサイクリック通信書込み(送信)メモリエリア、2−2−3は通信端末1−3用のサイクリック通信読込み(受信)メモリエリア、・・・・、2−2−nは通信端末1−n用のサイクリック通信読込み(受信)メモリエリアであり、これらのメモリエリアによって、通信端末1−2のサイクリック通信メモリ2−2が構成されている。
In the communication terminal 1-1, 2-1-1 is a cyclic communication write (transmission) memory area for the communication terminal 1-1, and 2-1-2 is a cyclic communication read (reception) for the communication terminal 1-2. Memory area, 2-1-3 is a cyclic communication read (reception) memory area for the communication terminal 1-3,..., 2-1-n is a cyclic communication read (reception) for the communication terminal 1-n. ) These are memory areas, and the cyclic communication memory 2-1 of the communication terminal 1-1 is constituted by these memory areas.
In the communication terminal 1-2, 2-2-1 is a cyclic communication read (reception) memory area for the communication terminal 1-1, and 2-2-2 is a cyclic communication write for the communication terminal 1-2 ( (Transmission) memory area, 2-2-3 is a cyclic communication read (reception) memory area for the communication terminal 1-3,..., 2-2-2n is a cyclic communication read for the communication terminal 1-n. (Reception) memory areas, and the cyclic communication memory 2-2 of the communication terminal 1-2 is configured by these memory areas.

また、通信端末1−3において、2−3−1は通信端末1−1用のサイクリック通信読込み(受信)メモリエリア、2−3−2は通信端末1−2用のサイクリック通信読込み(受信)メモリエリア、2−3−3は通信端末1−3用のサイクリック通信書込み(送信)メモリエリア、・・・・、2−3−nは通信端末1−n用のサイクリック通信読込み(受信)メモリエリアであり、これらのメモリエリアによって、通信端末1−3のサイクリック通信メモリ2−3が構成されている。
また、通信端末1−nにおいて、2−n−1は通信端末1−1用のサイクリック通信読込み(受信)メモリエリア、2−n−2は通信端末1−2用のサイクリック通信読込み(受信)メモリエリア、2−n−3は通信端末1−3用のサイクリック通信読込み(受信)メモリエリア、・・・・、2−n−nは通信端末1−n用のサイクリック通信書込み(送信)メモリエリアであり、これらのメモリエリアによって、通信端末1−nのサイクリック通信メモリ2−nが構成されている。
In the communication terminal 1-3, 2-3-1 is a cyclic communication reading (reception) memory area for the communication terminal 1-1, and 2-3-2 is a cyclic communication reading (communication for the communication terminal 1-2). (Reception) memory area, 2-3-3 is a cyclic communication write (transmission) memory area for the communication terminal 1-3,..., 2-3-3-n is a cyclic communication read for the communication terminal 1-n. (Reception) memory areas, and these memory areas constitute the cyclic communication memory 2-3 of the communication terminal 1-3.
In the communication terminal 1-n, 2-n-1 is a cyclic communication reading (reception) memory area for the communication terminal 1-1, and 2-n-2 is a cyclic communication reading for the communication terminal 1-2 ( (Reception) memory area, 2-n-3 is a cyclic communication read (reception) memory area for the communication terminal 1-3, ..., 2-nn is a cyclic communication write for the communication terminal 1-n. (Transmission) memory areas, and the cyclic communication memory 2-n of the communication terminal 1-n is configured by these memory areas.

通信端末1−1の制御S/W(制御ソフトウェア)4−1は、サイクリック通信メモリ2−1の通信端末1−1用サイクリック通信書込み(送信)エリア2−1−1内のカウンタ3−1−1を所定の制御周期でスキャン(scan)する毎に、カウンタ3−1−1のカウンタデータをインクリメントライト(incrementwrite)して常時カウントアップ(count up)する。
カウンタ3−1−1でカウントアップされた値(即ち、カウンタデータ)は、サイクリック通信により通信端末1−2のサイクリック通信メモリ2−2の通信端末1−1用サイクリック通信読込み(受信)メモリエリア2−2−1内のカウンタ3−2−1に伝達されて保存される。
The control S / W (control software) 4-1 of the communication terminal 1-1 is a counter 3 in the cyclic communication write (transmission) area 2-1-1 for the communication terminal 1-1 of the cyclic communication memory 2-1. Every time scan of 1-1-1 is performed at a predetermined control cycle, the counter data of the counter 3-1-1 is incremented and incremented (count up) at all times.
The value counted up by the counter 3-1 (that is, the counter data) is read (received) by the cyclic communication for the communication terminal 1-1 in the cyclic communication memory 2-2 of the communication terminal 1-2 by cyclic communication. ) The data is transmitted to and stored in the counter 3-2-1 in the memory area 2-2-1.

通信端末1−2の制御S/W4−2は、サイクリック通信メモリ2−2の通信端末1−1用サイクリック通信書込み(受信)エリア2−2−1内のカウンタ3−2−1を所定の制御周期でサイクリック通信を行い、カウンタ3−2−1のカウンタデータをリードチェック(readcheck)してカウンタ3−2−1の変化を確認する。
もし、通信端末1−1が、故障などのために異常な状態となった場合、制御S/W4−1が正しく動作しなくなり、カウンタ3−1−1のインクリメントライトが行えなくなり、カウンタ3−1−1のカウントアップは止まる。
The control S / W 4-2 of the communication terminal 1-2 sets the counter 3-2-1 in the cyclic communication write (reception) area 2-2-1 for the communication terminal 1-1 of the cyclic communication memory 2-2. Cyclic communication is performed at a predetermined control cycle, and the counter data of the counter 3-2-1 is read-checked to check the change of the counter 3-2-1.
If the communication terminal 1-1 is in an abnormal state due to a failure or the like, the control S / W4-1 does not operate correctly, and the increment write of the counter 3-1-1 cannot be performed. The count-up of 1-1 stops.

前述したように、通信端末1−1のカウンタ3−1−1でカウントアップされた値(即ち、カウンタデータ)は、サイクリック通信により通信端末1−2のサイクリック通信メモリ2−2の通信端末1−1用サイクリック通信読込み(受信)メモリエリア2−2−1内のカウンタ3−2−1に伝達される。
しかし、通信端末1−1のカウンタ3−1−1のカウントアップが止まると、通信端末1−2のカウンタ3−2−1のカウンタデータが更新されなくなる。
従って、制御S/W4−2が通信端末1−2のカウンタ3−2−1をリードチェックして、一定時間以上、カウンタ3−2−1のカウンタデータが更新されないことを検出することによって、通信相手の通信端末1−1の動作は異常であると判断する。
As described above, the value counted up by the counter 3-1-1 of the communication terminal 1-1 (that is, the counter data) is communicated with the cyclic communication memory 2-2 of the communication terminal 1-2 by cyclic communication. The cyclic communication reading (receiving) for terminal 1-1 is transmitted to the counter 3-2-1 in the memory area 2-2-1.
However, when the counter 3-1-1 of the communication terminal 1-1 stops counting up, the counter data of the counter 3-2-1 of the communication terminal 1-2 is not updated.
Therefore, the control S / W 4-2 performs a read check on the counter 3-2-1 of the communication terminal 1-2 and detects that the counter data of the counter 3-2-1 is not updated for a certain time or longer. It is determined that the operation of the communication partner 1-1 of the communication partner is abnormal.

なお、上述の説明では、通信端末1−1の制御S/W4−1は、サイクリック通信メモリ2−1の通信端末1−1用サイクリック通信書込み(送信)エリア2−1−1内のカウンタ3−1−1を所定の制御周期でスキャンする毎に、カウンタ3−1−1のカウンタデータをインクリメントライトして常時カウンタデータを1つづつカウントアップする場合について説明したが、所定の制御周期でスキャンする毎に、カウンタ3−1−1のカウンタデータを1つづつカウントダウンしてもよい。
また、所定の制御周期でスキャンする毎に、カウンタ3−1−1のカウンタデータを2つづつカウントアップあるいはカウントダウンしてもよい。
さらに、カウントアップ(あるいはカウントダウン)してからカウンタデータをサイクリック送信することに限らず、サイクリック送信を行った後にカウントアップ(あるいはカウントダウン)してもよい。
つまり、サイクリック送信の周期毎に所定の規則でカウンタデータ(カウンタ値)が変化するカウンタであれば、どのようなカウンタでもよい。
このことは、以降に説明する他の実施の形態においても同様である。
In the above description, the control S / W 4-1 of the communication terminal 1-1 is in the cyclic communication write (transmission) area 2-1-1 for the communication terminal 1-1 in the cyclic communication memory 2-1. The case where the counter data of the counter 3-1-1 is incremented and written to increment the counter data one by one every time the counter 3-1-1 is scanned at a predetermined control cycle has been described. The counter data of the counter 3-1-1 may be counted down one by one every time scanning is performed in a cycle.
Further, every time scanning is performed at a predetermined control cycle, the counter data of the counter 3-1-1 may be counted up or down by two.
Furthermore, the counter data is not limited to cyclic transmission after counting up (or counting down), but may be counted up (or counted down) after cyclic transmission.
That is, any counter may be used as long as the counter data (counter value) changes according to a predetermined rule for each cyclic transmission cycle.
The same applies to other embodiments described below.

他の通信端末1−3、・・・・、1−nにおいても、同様に通信端末1−1用サイクリック通信読込み(受信)メモリエリアのカウンタ3−3−1、・・・・、3−n−1を、各々の制御S/W4−3、・・・・、4−nがリードチェックすることにより、通信端末1−1の動作状態(即ち、正常動作状態あるいは異常動作状態)を監視することが可能である。
同様に、通信端末1−2の状態は、他の通信端末が通信端末1−2用サイクリック通信読込み(受信)エリアのカウンタ3−1−2、・・・・、3−n−2(3−2−2は通信端末1−2の自書込みメモリエリアのため除く)を各々の制御S/W4−1、・・・・、4−n(4−2は自通信端末1−2となるため除く)がリードチェックすることにより、通信端末1−2の状態(正常または異常)を監視することが可能である。
Similarly, in the other communication terminals 1-3,..., 1-n, the counters 3-3-1 of the cyclic communication reading (receiving) memory area for the communication terminal 1-1,. -N-1 is read-checked by each control S / W 4-3,..., 4-n to determine the operation state of the communication terminal 1-1 (that is, the normal operation state or the abnormal operation state). It is possible to monitor.
Similarly, the state of the communication terminal 1-2 is determined by the counters 3-1-2,..., 3-n-2 ( 3-2-2 except for the self-writing memory area of the communication terminal 1-2, the control S / W 4-1,. Therefore, it is possible to monitor the state (normal or abnormal) of the communication terminal 1-2.

また同様に、通信端末1−3の状態は、他の通信端末が通信端末1−3用サイクリック通信読込み(受信)エリアのカウンタ3−1−3、・・・・、3−n−3(3−3−3は通信端末1−3の自書込みメモリエリアのため除く)を各々の制御S/W4−1、・・・・、制御S/W4−n(制御S/W4−3は自通信端末1−3となるため除く)がリードチェックすることにより、通信端末1−3の状態(正常または異常)を監視することが可能である。
また同様に、通信端末1−nの状態は、他の通信端末が通信端末1−n用サイクリック通信読込み(受信)エリアのカウンタ3−1−n、・・・・、3−(n−1)−3(3−n−nは通信端末1−nの自書込みメモリエリアのため除く)を各々の制御S/W4−1、・・・・、4−(n−1)(4−nは自通信端末1−nとなるため除く)がリードチェックすることにより、通信端末1−nの状態(正常または異常)を監視することが可能である。
Similarly, the state of the communication terminal 1-3 is determined by the counters 3-1-3,..., 3-n-3 of the cyclic communication reading (receiving) area for the communication terminal 1-3. (Excluding 3-3-3 because of the self-written memory area of the communication terminal 1-3), control S / W4-1, ..., control S / W4-n (control S / W4-3 is By performing a lead check on the communication terminal 1-3, it is possible to monitor the state (normal or abnormal) of the communication terminal 1-3.
Similarly, the state of the communication terminal 1-n is determined by the counters 3-1-n,..., 3- (n− 1) -3 (3-n-n is excluded because of the self-written memory area of the communication terminal 1-n), and each control S / W 4-1,..., 4- (n-1) (4- Since n is a local communication terminal 1-n, it is possible to monitor the state (normal or abnormal) of the communication terminal 1-n by performing a read check.

以上説明したように、本実施の形態によるプロセス制御装置(通信端末)は、サイクリック通信ネットワークを介して複数が互いに接続されるプロセス制御装置であって、
書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリと、書込みメモリエリアにデータを書込む書込み手段と、書込みメモリエリアのデータをサイクリック通信ネットワークを介して他のプロセス制御装置にサイクリックに送信する送信手段と、他のプロセス制御装置から送信されるデータを受信してそのプロセス制御装置に割り当てられた読込みメモリエリアに保存する受信手段と、読込みメモリエリアをチェックするチェック手段とを備え、
読込みメモリエリアには、対応する他のプロセス制御装置が正常な時に値が変化するカウンタデータがあり、チェック手段が、読込みメモリエリアのカウンタデータが変化しない場合に対応する他のプロセス制御装置の動作は異常であると判定する。
As described above, the process control device (communication terminal) according to the present embodiment is a process control device in which a plurality are connected to each other via a cyclic communication network.
A cyclic communication memory having a write memory area and a read memory area allocated to each other process control device; a writing means for writing data into the write memory area; and data in the write memory area via a cyclic communication network Transmitting means for cyclically transmitting to another process control apparatus, receiving means for receiving data transmitted from the other process control apparatus and storing it in a read memory area assigned to the process control apparatus, and read memory A check means for checking the area,
In the read memory area, there is counter data whose value changes when the corresponding other process control device is normal, and the operation of the other process control device corresponding to the case where the check means does not change the counter data in the read memory area Is determined to be abnormal.

また、サイクリック送信の周期毎に所定の規則で値が変化するカウンタを備え、該カウンタの値を上記カウンタデータとして上記書込み手段が上記書込みエリアに書込む。   A counter whose value changes according to a predetermined rule for each cyclic transmission cycle is provided, and the writing means writes the counter value as the counter data in the writing area.

また、本実施の形態によるプロセス制御装置の異常判定方法は、サイクリック通信ネットワークを介して接続され、サイクリック通信を行うための書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリを備えた第1のプロセス制御装置および第2のプロセス制御装置において、第2のプロセス制御装置が第1のプロセス制御装置の動作異常を判定するプロセス制御装置の異常判定方法であって、第1のプロセス制御装置でなされる、サイクリック送信の周期毎に所定の規則でカウンタデータを変化させるカウントステップ、カウンタデータを書込みエリアに書込む書込みステップ、書込まれたカウンタデータを含む書込みエリアのデータを第2のプロセス制御装置にサイクリックに送信する送信ステップを有し、第2のプロセス制御装置でなされる、第1のプロセス制御装置から送信されるデータを受信して第1のプロセス制御装置に割り当てられた読込みメモリエリアに保存する受信ステップ、読込みメモリエリアに保存された第1のプロセス制御装置のカウンタデータの変化をチェックし、カウンタデータが変化しない場合に第1のプロセス制御装置の動作は異常であると判定するチェックステップを有している。   In addition, the abnormality determination method for the process control apparatus according to the present embodiment includes a write memory area for performing cyclic communication and a read memory area allocated for each other process control apparatus, connected via a cyclic communication network. In the first process control device and the second process control device provided with the cyclic communication memory having the above, the second process control device determines the operation abnormality of the first process control device. A method comprising: a counting step for changing counter data in accordance with a predetermined rule for each cyclic transmission period, a writing step for writing counter data to a writing area, and a written counter, which are performed by the first process control device The data in the writing area including the data is transferred to the second process control device. A transmission step for transmitting data to the Rick, received by the second process control device, received from the first process control device, and stored in a read memory area assigned to the first process control device A receiving step for checking, a change in counter data of the first process control device stored in the read memory area, and a check step for determining that the operation of the first process control device is abnormal when the counter data does not change have.

従って、本実施の形態によるプロセス制御装置(通信端末)あるいはプロセス制御装置の異常判定方法によれば、読込みメモリエリアのカウンタデータが変化しない場合に他のプロセス制御装置の動作は異常であると判定するので、従来のように、通信元端末と通信相手の端末間でプロトコルに基づいて通信を行う必要がなく、簡素化した処理S/Wによって、送信元端末であるプロセス制御装置の動作異常の有無を容易に確認することが可能となる。   Therefore, according to the process control apparatus (communication terminal) or the process control apparatus abnormality determination method according to the present embodiment, it is determined that the operation of another process control apparatus is abnormal when the counter data in the read memory area does not change. Therefore, unlike the conventional case, there is no need to perform communication between the communication source terminal and the communication partner terminal based on the protocol, and the simplified process S / W prevents abnormal operation of the process control device that is the transmission source terminal. The presence / absence can be easily confirmed.

実施の形態2.
図2は、実施の形態2によるプロセス制御装置(通信端末)を説明するためのシステム構成図である。
なお、図2は、説明の便宜上、通信端末1−1と通信端末1−2の2台の通信端末をサイクリック通信ネットワーク10を介して接続している場合を示しているが、図1に示したように、2台よりも多いn台の通信端末をサイクリック通信ネットワーク10を介して接続してもよい。
通信端末1−1のサイクリック通信メモリ2−1の通信端末用サイクリック通信書込み(送信)メモリエリア2−1−1にカウンタ3−1−1を割り付ける。
通信端末1−1の制御S/W(制御ソフトウェア)4−1は、サイクリック通信メモリ2−1の通信端末1−1用サイクリック通信書込み(送信)エリア2−1−1内のカウンタ3−1−1を所定の制御周期でスキャンする毎に、カウンタ3−1−1のカウンタデータをインクリメントライトして常時カウントアップする。
カウンタ3−1−1でカウントアップされたカウンタデータは、サイクリック通信ネットワーク10を介して通信端末1−2の通信端末1−1用のサイクリック通信読込み(受信)メモリエリア2−2−1のカウンタ3−2−1に伝達される。
Embodiment 2. FIG.
FIG. 2 is a system configuration diagram for explaining a process control apparatus (communication terminal) according to the second embodiment.
2 shows a case where two communication terminals, the communication terminal 1-1 and the communication terminal 1-2, are connected via the cyclic communication network 10 for convenience of explanation. As shown, more than n communication terminals may be connected via the cyclic communication network 10.
The counter 3-1-1 is allocated to the cyclic communication write (transmission) memory area 2-1-1 for the communication terminal in the cyclic communication memory 2-1 of the communication terminal 1-1.
The control S / W (control software) 4-1 of the communication terminal 1-1 is a counter 3 in the cyclic communication write (transmission) area 2-1-1 for the communication terminal 1-1 of the cyclic communication memory 2-1. Every time 1-1 is scanned at a predetermined control cycle, the counter data of the counter 3-1-1 is incremented and written to constantly count up.
The counter data counted up by the counter 3-1-1 is sent to the cyclic communication reading (receiving) memory area 2-2-1 for the communication terminal 1-1 of the communication terminal 1-2 via the cyclic communication network 10. To the counter 3-2-1.

通信端末1−2の制御S/W4−2は、カウンタ3−2−1に伝達されたカウンタデータを通信端末1−2のサイクリック通信書込み(送信)メモリエリア2−2−2のフィードバック用カウンタ5−2−1にコピーする。
その後、サイクリック通信ネットワーク0を介して通信端末1−1の通信端末1−2用サイクリック通信読込み(受信)メモリエリア2−1−2に割り付けられたフィードバック用カウンタ5−1−1に伝達される。
The control S / W 4-2 of the communication terminal 1-2 uses the counter data transmitted to the counter 3-2-1 for feedback of the cyclic communication write (transmission) memory area 2-2-2 of the communication terminal 1-2. Copy to counter 5-2-1.
Thereafter, the cyclic communication is read via the cyclic communication network 0 to the feedback counter 5-1-1 allocated to the cyclic communication reading (receiving) memory area 2-1-2 for the communication terminal 1-2 of the communication terminal 1-1. Is done.

そのため、通信端末1−1の制御S/W4−1は、フィードバック用カウンタ5−1−1のカウンタデータをリードチェックすることによって、通信端末1−1の通信相手である通信端末1−2の状態(正常または異常)を確認することが可能である。
即ち、通信端末1−2より通信端末1−1にフィードバックされたカウンタデータに変化がなければ、通信端末1−2の制御S/W4−2によってカウンタ3−2−1に伝達されたカウンタデータはフィードバック用カウンタ5−2−1にコピーされていないことになり、通信相手である通信端末1−2の動作は異常であると判定できる。
For this reason, the control S / W 4-1 of the communication terminal 1-1 performs read check on the counter data of the feedback counter 5-1-1, so that It is possible to check the status (normal or abnormal).
That is, if there is no change in the counter data fed back from the communication terminal 1-2 to the communication terminal 1-1, the counter data transmitted to the counter 3-2-1 by the control S / W4-2 of the communication terminal 1-2. Is not copied to the feedback counter 5-2-1, and it can be determined that the operation of the communication terminal 1-2 as the communication partner is abnormal.

なお、上述の説明では、通信端末1−1が送信元であり、通信端末1−2が通信端末1−1の通信相手である場合について説明したが、通信端末1−2が送信元であり、通信端末1−1が通信端末1−2の通信相手であっても、同様に通信相手の通信端末の動作の正常・異常を判定できる。
また、2台を越える通信端末がサイクリック通信ネットワーク10を介して接続されている場合でも、任意の2台の通信端末間で、同様に通信相手である通信端末の状態(正常または異常)を確認することができる。
In the above description, the communication terminal 1-1 is the transmission source and the communication terminal 1-2 is the communication partner of the communication terminal 1-1. However, the communication terminal 1-2 is the transmission source. Even if the communication terminal 1-1 is the communication partner of the communication terminal 1-2, it is possible to determine the normality / abnormality of the operation of the communication terminal of the communication partner in the same manner.
Further, even when more than two communication terminals are connected via the cyclic communication network 10, the state (normal or abnormal) of the communication terminal that is the communication partner is similarly set between any two communication terminals. Can be confirmed.

以上説明したように、本実施の形態によるプロセス制御装置は、さらに、サイクリック送信の周期毎に所定の規則で値が変化するカウンタを備え、該カウンタの値をカウンタデータとして書込み手段が書込みエリアに書込むプロセス制御装置から送信されるデータが保存される読込みメモリエリア中のカンウンタデータを書込みエリアにコピーするコピー手段を備えている。   As described above, the process control apparatus according to the present embodiment further includes a counter whose value changes according to a predetermined rule for each cyclic transmission cycle, and the writing means uses the counter value as counter data in the writing area. Copying means for copying the counter data in the read memory area in which the data transmitted from the process control device to be written in is stored in the write area is provided.

また、本実施の形態によるプロセス制御装置の異常判定方法は、サイクリック通信ネットワークを介して接続され、サイクリック通信を行うための書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリを備えた第1のプロセス制御装置および第2のプロセス制御装置において、第1のプロセス制御装置が第2のプロセス制御装置の動作異常を判定するプロセス制御装置の異常判定方法であって、第1のプロセス制御装置でなされる、サイクリック送信の周期毎に所定の規則でカウンタデータを変化させるカウントステップ、カウンタデータを書込みエリアに書込む書込みステップ、書込まれたカウンタデータを含む上記書込みエリアのデータを第2のプロセス制御装置にサイクリックに送信する第1の送信ステップを有し、第2のプロセス制御装置でなされる、第1のプロセス制御装置から送信されるデータを受信して第1のプロセス制御装置に割り当てられた読込みメモリエリアに保存する第1の受信ステップ、読込みメモリエリアに保存された第1のプロセス制御装置のカウンタデータを読み出して書込みエリアに書込むコピーステップ、書込まれたカウンタデータを含む書込みエリアのデ―タを第1のプロセス制御装置にサイクリックに送信する第2の送信ステップを有し、さらに、第1のプロセス制御装置でなされる、第2のプロセス制御装置から送信されるデータを受信して第2のプロセス制御装置に割り当てられた読込みメモリエリアに保存する第2の受信ステップ、読込みメモリに保存された第2のプロセス制御装置のカウンタデータの変化をチェックし、カウンタデータが変化しない場合に第2のプロセス制御装置の動作は異常であると判定するチェクステップを有している。   In addition, the abnormality determination method for the process control apparatus according to the present embodiment includes a write memory area for performing cyclic communication and a read memory area allocated for each other process control apparatus, connected via a cyclic communication network. In the first process control device and the second process control device including the cyclic communication memory having the above, the first process control device determines the operation abnormality of the second process control device. A method comprising: a counting step for changing counter data in accordance with a predetermined rule for each cyclic transmission period, a writing step for writing counter data to a writing area, and a written counter, which are performed by the first process control device The data in the writing area including the data is sent to the second process control device A first sending step for sending to the click, and reading performed by the second process control device for receiving data sent from the first process control device and assigned to the first process control device A first reception step for storing in the memory area; a copy step for reading the counter data of the first process control device stored in the read memory area and writing it in the write area; and a write area including the written counter data. A second transmission step for cyclically transmitting data to the first process control device, and further receiving data transmitted from the second process control device, which is performed by the first process control device A second receiving step for storing in a reading memory area allocated to the second process control device, and a second receiving step for storing in the reading memory. Check the change in the counter data of the process control device, the operation of the second process control device when the counter data is not changed has Chek determining as abnormal.

従って、本実施の形態によるプロセス制御装置あるいはプロセス制御装置の異常判定方法によれば、実施の形態1の場合とは異なった手順によって、通信相手の端末(プロセス制御装置)の動作が正常であるのか異常であるのかを確認することができる。
なお、本実施の形態においても、プロセス制御装置の制御S/Wのライブチェックは、カウンタをカウントアップ(あるいはカウントダウン)およびリードチェックするだけの簡素化した処理内容となり、制御S/Wの製作が容易となる。
即ち、実施の形態1の場合と同様に、通信元端末(即ち、第1のプロセス制御装置)と通信相手の端末(即ち、第2のプロセス制御装置)間でプロトコルに基づいて通信を行う必要がなく、簡素化した処理S/Wによって、通信相手である第2のプロセス制御装置の動作異常の有無を容易に確認することが可能となる。
Therefore, according to the process control apparatus or the process control apparatus abnormality determination method according to the present embodiment, the operation of the communication partner terminal (process control apparatus) is normal by a procedure different from that in the first embodiment. Or whether it is abnormal.
Also in the present embodiment, the live check of the control S / W of the process control apparatus has a simplified processing content that simply counts up (or counts down) and reads the counter, and the control S / W can be manufactured. It becomes easy.
That is, as in the case of the first embodiment, it is necessary to perform communication based on the protocol between the communication source terminal (ie, the first process control device) and the communication partner terminal (ie, the second process control device). Therefore, the simplified processing S / W makes it possible to easily check whether there is an abnormal operation of the second process control device that is the communication partner.

実施の形態3.
図3は、実施の形態3によるプロセス制御装置の特徴的な機能を説明するためのシステム構成図である。
なお、図3も、説明の便宜上、通信端末1−1と通信端末1−2の2台の通信端末をサイクリック通信ネットワーク10に接続している場合を示しているが、図1に示したように2台よりも多いn台の通信端末(プロセス制御装置)を接続してもよい。
本実施の形態では、前述した実施の形態2の場合と同様に、通信端末1−1のサイクリック通信メモリ2−1の送信端末1−1用サイクリック通信書込み(送信)メモリエリア2−1−1にカウンタ3−1−1を割り付ける。
Embodiment 3 FIG.
FIG. 3 is a system configuration diagram for explaining the characteristic functions of the process control apparatus according to the third embodiment.
3 also shows a case where two communication terminals, the communication terminal 1-1 and the communication terminal 1-2, are connected to the cyclic communication network 10 for convenience of explanation. As described above, more than two communication terminals (process control devices) may be connected.
In the present embodiment, as in the case of the second embodiment described above, the cyclic communication write (transmission) memory area 2-1 for the transmission terminal 1-1 in the cyclic communication memory 2-1 of the communication terminal 1-1. The counter 3-1-1 is assigned to -1.

通信端末1−1の制御S/W(制御ソフトウェア)4−1は、サイクリック通信メモリ2−1の通信端末1−1用サイクリック通信書込み(送信)エリア2−1−1内のカウンタ3−1−1を所定の制御周期でスキャンする毎に、カウンタ3−1−1のカウンタデータをインクリメントライトして常時カウントアップする。
カウンタ3−1−1でカウントアップされたカウンタデータは、サイクリック通信ネットワーク10を介して通信端末1−2の通信端末1−1用のサイクリック通信読込み(受信)メモリエリア2−2−1のカウンタ3−2−1に伝達される。
The control S / W (control software) 4-1 of the communication terminal 1-1 is a counter 3 in the cyclic communication write (transmission) area 2-1-1 for the communication terminal 1-1 of the cyclic communication memory 2-1. Every time 1-1 is scanned at a predetermined control cycle, the counter data of the counter 3-1-1 is incremented and written to constantly count up.
The counter data counted up by the counter 3-1-1 is sent to the cyclic communication reading (receiving) memory area 2-2-1 for the communication terminal 1-1 of the communication terminal 1-2 via the cyclic communication network 10. To the counter 3-2-1.

通信端末1−2の制御S/W4−2は、カウンタ3−2−1に伝達されたカウンタデータを通信端末1−2のサイクリック通信書込み(送信)メモリエリア2−2−2のフィードバック用カウンタ5−2−1にコピーする。
その後、サイクリック通信ネットワーク0を介して通信端末1−1の通信端末1−2用サイクリック通信読込み(受信)メモリエリア2−1−2に割り付けられたフィードバック用カウンタ5−1−1に伝達される。
The control S / W 4-2 of the communication terminal 1-2 uses the counter data transmitted to the counter 3-2-1 for feedback of the cyclic communication write (transmission) memory area 2-2-2 of the communication terminal 1-2. Copy to counter 5-2-1.
Thereafter, the cyclic communication is read via the cyclic communication network 0 to the feedback counter 5-1-1 allocated to the cyclic communication reading (receiving) memory area 2-1-2 for the communication terminal 1-2 of the communication terminal 1-1. Is done.

ここまでの説明は、実施の形態2によるプロセス制御装置と同じであり、実施の形態1あるいは実施の形態2の場合と同様に、通信元端末(即ち、第1のプロセス制御装置)と通信相手の端末(即ち、第2のプロセス制御装置)間でプロトコルに基づいて通信を行う必要がなく、簡素化した処理S/Wによって、通信相手である第2のプロセス制御装置の動作異常の有無を容易に確認することが可能となる。
本実施の形態では、更に、通信端末1−1のフィードバック用カウンタ5−1−1のカウンタデータが変化する時間差を時間差計測手段(例えば、タイマ)が計測するようにしたことを特徴とする。
これにより、通信端末1−1の通信相手である通信端末1−2のカウンタ3−2−1からフィードバック用カウンタ5−2−1にコピーする制御S/W4−2のスキャン周期(制御周期)が判る。
従って、通信端末1−1のフィードバック用カウンタ5−1−1のカウンタデータが変化する時間差を計測することにより、通信端末1−2の制御処理負荷を監視することが可能である。
The description up to this point is the same as that of the process control apparatus according to the second embodiment. Similar to the case of the first or second embodiment, the communication source terminal (that is, the first process control apparatus) and the communication partner It is not necessary to perform communication between the terminals (that is, the second process control device) based on the protocol, and the operation S / W of the second process control device, which is the communication partner, can be detected by the simplified processing S / W. It can be easily confirmed.
The present embodiment is further characterized in that a time difference measuring means (for example, a timer) measures a time difference at which the counter data of the feedback counter 5-1-1 of the communication terminal 1-1 changes.
As a result, the scan cycle (control cycle) of the control S / W4-2 that is copied from the counter 3-2-1 of the communication terminal 1-2 that is the communication partner of the communication terminal 1-1 to the feedback counter 5-2-1. I understand.
Therefore, it is possible to monitor the control processing load of the communication terminal 1-2 by measuring the time difference at which the counter data of the feedback counter 5-1-1 of the communication terminal 1-1 changes.

以上説明したように、本実施の形態によるプロセス制御装置は、受信手段が他のプロセス制御装置から送信されるデータを受信してから次に同じプロセス制御装置から送信されるデータを受信するまでの時間差を計測する時間差計測手段と、時間差計測手段が計測した時間差から他のプロセス制御装置の負荷を監視する負荷監視手段とを備えることにより、通信相手である第2のプロセス制御装置が制御処理する負荷を監視する機能を有したことを特徴とする。
従って、本実施の形態によるプロセス制御装置によれば、通信元の端末と通信相手の端末の間でプロトコルに基づいて通信を行う必要がなく、簡素化した処理S/Wによって、通信相手の端末(プロセス制御装置)の動作異常の有無を容易に確認することが可能となると共に、更に、通信元で通信相手端末(第2のプロセス制御装置)の制御処理の負荷を監視することができ、通信相手である第2のプロセス制御装置の処理負荷を調整する場合の参考情報として利用することが可能である。
As described above, in the process control apparatus according to the present embodiment, the reception unit receives data transmitted from another process control apparatus and then receives data transmitted from the same process control apparatus. By providing a time difference measuring means for measuring the time difference and a load monitoring means for monitoring the load of another process control device from the time difference measured by the time difference measuring means, the second process control device as the communication partner performs control processing. It has a function of monitoring a load.
Therefore, according to the process control apparatus according to the present embodiment, it is not necessary to perform communication based on the protocol between the communication source terminal and the communication partner terminal, and the communication partner terminal can be performed by simplified processing S / W. It is possible to easily check whether there is an abnormal operation of the (process control device), and furthermore, it is possible to monitor the control processing load of the communication partner terminal (second process control device) at the communication source, It can be used as reference information when adjusting the processing load of the second process control apparatus which is the communication partner.

実施の形態4.
図4は、実施の形態4によるプロセス制御装置の特徴的な機能を説明するためのシステム構成図である。
なお、図4(a)は第1の通信端末1−1に故障が発生する直前を、図4(b)は第1の通信端末1−1が故障から復旧した時を示している。
また、図4も、説明の便宜上、通信端末1−1と通信端末1−2の2台の通信端末をサイクリック通信ネットワーク10に接続している場合を示しているが、図1に示したように2台以上よりも多いn台の通信端末を接続してもよい。
前述の実施の形態3によるプロセス制御装置では、実施の形態2によるプロセス制御装置に対して、さらに、通信端末1−1(第1のプロセス制御装置)は、受信手段が他のプロセス制御装置から送信されるデータを受信してから次に同じプロセス制御装置から送信されるデータを受信するまでの時間差を計測する時間差計測手段と、時間差計測手段が計測した時間差から通信端末1−2(第2のプロセス制御装置)の負荷を監視する負荷監視手段とを備えていた。
Embodiment 4 FIG.
FIG. 4 is a system configuration diagram for explaining the characteristic functions of the process control apparatus according to the fourth embodiment.
4A shows a state immediately before a failure occurs in the first communication terminal 1-1, and FIG. 4B shows a time when the first communication terminal 1-1 is recovered from the failure.
FIG. 4 also shows a case where two communication terminals, the communication terminal 1-1 and the communication terminal 1-2, are connected to the cyclic communication network 10 for convenience of explanation. As described above, more than two communication terminals may be connected.
In the process control apparatus according to the above-described third embodiment, the communication terminal 1-1 (first process control apparatus) further receives a reception unit from another process control apparatus as compared with the process control apparatus according to the second embodiment. A time difference measuring means for measuring a time difference between receiving data to be transmitted and receiving data transmitted from the same process control device next time, and a communication terminal 1-2 (second) from the time difference measured by the time difference measuring means. Load monitoring means for monitoring the load of the process control apparatus).

本実施の形態によるプロセス制御装置は、送信元端末であるプロセス制御装置の動作異常の有無を確認するための基本的な構成と機能については、前述した実施の形態1と同様であるが、通信端末1−2(第2のプロセス制御装置)に不揮発性ローカルメモリ6−2を備えていることを特徴とする。
そして、通信端末1−2のフィードバック用カウンタ5−2−1を制御S/W4−2が制御周期でスキャンする毎に、フィードバック用カウンタ5−2−1でカウントアップ(あるいはカウントダウン)されたカウンタデータを不揮発性ローカルメモリ6−2にコピーして、フィードバック用カウンタデータ前回値7−2を残す。
通信端末1−2(第2のプロセス制御装置)に故障が発生し、制御S/W4−2が動作できない状態となり、その後通信端末1−2(第2のプロセス制御装置)が復旧した場合、フィードバック用カウンタ5−2−1のカウンタデータが復旧後1回目に変化した値と、不揮発性ローカルメモリ6−2のフィードバック用カウンタ前回値7−2から差分値を算出する。
そして、その差分値に通信端末1−2の制御S/W4−2のスキャン周期(カウンタ3−2−1をカウントアップする周期)を乗じると、通信端末1−2が異常な状態であった時間を算出することが可能である。
The process control apparatus according to the present embodiment has the same basic configuration and function for confirming whether or not there is an abnormal operation of the process control apparatus that is the transmission source terminal, but is the same as that of the first embodiment described above. The terminal 1-2 (second process control device) includes a nonvolatile local memory 6-2.
Then, every time the control S / W 4-2 scans the feedback counter 5-2-1 of the communication terminal 1-2 in the control cycle, the counter is counted up (or counted down) by the feedback counter 5-2-1. The data is copied to the nonvolatile local memory 6-2, and the previous counter value for feedback 7-2 is left.
When a failure occurs in the communication terminal 1-2 (second process control device) and the control S / W4-2 cannot operate, and then the communication terminal 1-2 (second process control device) is restored, A difference value is calculated from the value at which the counter data of the feedback counter 5-2-1 changes after the recovery and the previous value 7-2 of the feedback counter of the nonvolatile local memory 6-2.
Then, when the difference value is multiplied by the scan period of the control S / W4-2 of the communication terminal 1-2 (the period for counting up the counter 3-2-1), the communication terminal 1-2 is in an abnormal state. It is possible to calculate the time.

つまり、通信端末1−2の一時的な障害が復旧した後、フィードバック用カウンタ5−2−1が1回目に変化した値と、不揮発性ローカルメモリ6−2のフィードバック用カウンタの前回値から差分を算出し、その値(即ち、差分値)にフィードバック用カウンタのインクリメントライトの時間差を乗じることにより、通信相手の通信端末1−2が異常な状態にあった時間を算出できる。   That is, after the temporary failure of the communication terminal 1-2 is recovered, the difference between the value at which the feedback counter 5-2-1 changes for the first time and the previous value of the feedback counter of the nonvolatile local memory 6-2 is different. And the value (that is, the difference value) is multiplied by the time difference of the increment write of the feedback counter, thereby calculating the time when the communication terminal 1-2 of the communication partner is in an abnormal state.

以上説明したように、本実施の形態によるプロセス制御装置は、コピー手段がコピーした書込みエリアのカウンタデータを保存する不揮発性のローカルメモリと、サイクリック送信の周期毎に、書込みエリアのカウンタデータと不揮発性のローカルメモリに保存されたカウンタデータとの差分からコピー手段がコピーする元の読込みメモリエリアに対応するプロセス制御装置が異常であった時間を算出し、その後で書込みエリアのカウンタデータを不揮発性のローカルメモリに保存する異常時間算出手段とを備える。
従って、本実施の形態によるプロセス制御装置によれば、通信元の端末と通信相手の端末の間でプロトコルに基づいて通信を行う必要がなく、簡素化した処理S/Wによって、通信相手の端末の動作異常の有無を容易に確認することが可能となると共に、更に、通信相手の端末が異常な状態にあった時間を算出することができる。
その結果、通信相手の通信端末の動作履歴データを記録することなどにも利用可能となる。
As described above, the process control apparatus according to the present embodiment includes the non-volatile local memory that stores the counter data of the write area copied by the copying unit, and the counter data of the write area for each cyclic transmission cycle. Calculate the time when the process control device corresponding to the original read memory area to be copied by the copy means is abnormal from the difference with the counter data stored in the nonvolatile local memory, and then store the counter data in the write area in a nonvolatile manner And an abnormal time calculation means for storing in the local memory.
Therefore, according to the process control apparatus according to the present embodiment, it is not necessary to perform communication based on the protocol between the communication source terminal and the communication partner terminal, and the communication partner terminal can be performed by simplified processing S / W. It is possible to easily check whether or not there is any abnormal operation, and it is also possible to calculate the time during which the communication partner terminal was in an abnormal state.
As a result, it can be used for recording operation history data of the communication terminal of the communication partner.

実施の形態5.
図5は、実施の形態5によるプロセス制御装置の特徴的な機能を説明するためのシステム構成図である。
なお、図5も、説明の便宜上、通信端末1−1と通信端末1−2の2台の通信端末をサイクリック通信ネットワーク10に接続している場合を示しているが、図1に示したように2台よりも多いn台の通信端末を接続してもよい。
本実施の形態では、基本的な動作は、前述した実施の形態2によるプロセス制御装置と同じあるが、更に、以下に説明する動作が行われる。
Embodiment 5 FIG.
FIG. 5 is a system configuration diagram for explaining the characteristic functions of the process control apparatus according to the fifth embodiment.
FIG. 5 also shows a case where two communication terminals, the communication terminal 1-1 and the communication terminal 1-2, are connected to the cyclic communication network 10 for convenience of explanation. As described above, more than two communication terminals may be connected.
In the present embodiment, the basic operation is the same as that of the process control apparatus according to the second embodiment described above, but the operation described below is further performed.

本実施の形態では、通信端末1−1のカウンタ3−1−1をインクリメントライトした時から、インクリメントライトした同値が、サイクリック通信端末10を介して通信端末1−2に送信され、通信端末1−2においてフィードバック用5−2−1にコピーされ、再びサイクリック通信端末10を介して通信端末1−1のフィードバック用カウンタ5−1−1にセットされるまでの経過時間を計測する経過時間計測手段(例えば、タイマ)が計測することにより、サイクリック通信ネットワーク10を介して通信端末1−1から通信端末1−2への往復伝達時間が判る。
この往復の伝達時間の差(即ち、通信端末1−1から通信端末1−2にカウンタデータが送信される時間と通信端末1−2から通信端末1−1にカウンタデータがフィードバックされる時間の差)から、サイクリック通信ネットワーク10の通信負荷を監視することが可能である。
In this embodiment, since the counter 3-1-1 of the communication terminal 1-1 is incrementally written, the same value that has been incrementally written is transmitted to the communication terminal 1-2 via the cyclic communication terminal 10, and the communication terminal The process of measuring the elapsed time from 1-2 being copied to the feedback 5-2-1 and being set again to the feedback counter 5-1-1 of the communication terminal 1-1 via the cyclic communication terminal 10 The time measurement means (for example, a timer) measures to determine the round-trip transmission time from the communication terminal 1-1 to the communication terminal 1-2 via the cyclic communication network 10.
The difference between the round trip transmission times (that is, the time when the counter data is transmitted from the communication terminal 1-1 to the communication terminal 1-2 and the time when the counter data is fed back from the communication terminal 1-2 to the communication terminal 1-1) From the difference, it is possible to monitor the communication load of the cyclic communication network 10.

以上説明したように、送信手段(即ち、書込みメモリエリアのデータをサイクリック通信ネットワークを介して他のプロセス制御装置にサイクリックに送信する送信手段)が、カウンタデータを含む書込みメモリエリアのデータをサイクリックに送信してから同じ値のカンウタデータをプロセス制御装置から受信手段(即ち、他のプロセス制御装置から送信されるデータを受信してそのプロセス制御装置に割り当てられた読込みメモリエリアに保存する受信手段)が受信するまでの経過時間を計測する経過時間計測手段と、経過時間計測手段が計測した経過時間からサイクリック通信ネットワークの負荷を監視するネットワーク負荷監視手段とを備えている。
従って、本実施の形態によるプロセス制御装置によれば、通信元の端末と通信相手の端末の間でプロトコルに基づいて通信を行う必要がなく、簡素化した処理S/Wによって、通信相手の端末(プロセス制御装置)の動作異常の有無を容易に確認することが可能となると共に、更に、サイクリック通信ネットワークの負荷状態を監視することもできるので、サイクリック通信ネットワーク自体が正常または異常な状態であるのかを監視および検出することも可能となる。
As described above, the transmission means (that is, the transmission means for cyclically transmitting the data in the write memory area to another process control device via the cyclic communication network) transmits the data in the write memory area including the counter data. After the cyclic transmission, the counter value of the same value is received from the process control device (that is, the data transmitted from another process control device is received and stored in the read memory area allocated to the process control device). An elapsed time measuring means for measuring an elapsed time until reception by the receiving means) and a network load monitoring means for monitoring the load of the cyclic communication network from the elapsed time measured by the elapsed time measuring means.
Therefore, according to the process control apparatus according to the present embodiment, it is not necessary to perform communication based on the protocol between the communication source terminal and the communication partner terminal, and the communication partner terminal can be performed by simplified processing S / W. It is possible to easily check whether there is an abnormal operation of the (process control device) and to monitor the load state of the cyclic communication network, so that the cyclic communication network itself is normal or abnormal It is also possible to monitor and detect whether it is.

実施の形態6.
図6は、実施の形態6によるプロセス制御装置の特徴的な機能を説明するためのシステム構成図である。
なお、図6も、説明の便宜上、通信端末1−1と通信端末1−2の2台の通信端末をサイクリック通信ネットワーク10に接続している場合を示しているが、図1に示したように2台よりも多いn台の通信端末を接続してもよい。
本実施の形態によるプロセス制御装置は、前述した実施の形態2によるプロセス制御装置において、通信端末1−1(第1のプロセス制御装置)および通信端末1−2(第2のプロセス制御装置)は、それぞれサイクリック通信メモリが二重化されており、二重化された系統の一方が故障しても、他の系統を使用することにより通信端末1−2(第2のプロセス制御装置)の動作異常を判定することを特徴とするものである。
Embodiment 6 FIG.
FIG. 6 is a system configuration diagram for explaining the characteristic functions of the process control apparatus according to the sixth embodiment.
6 also shows a case where two communication terminals, the communication terminal 1-1 and the communication terminal 1-2, are connected to the cyclic communication network 10 for convenience of explanation. As described above, more than two communication terminals may be connected.
The process control apparatus according to the present embodiment is the same as the process control apparatus according to the second embodiment described above, except that the communication terminal 1-1 (first process control apparatus) and the communication terminal 1-2 (second process control apparatus) are Each of the cyclic communication memories is duplicated, and even if one of the duplicated systems fails, the operation abnormality of the communication terminal 1-2 (second process control device) is determined by using the other system It is characterized by doing.

本実施の形態においては、通信端末1−1は、制御S/W4−1によってサイクリックにスキャンされる毎にカウントアップするカウンタ3−1−1と、カウンタ3−1−1でカウントアップされたカウンタデータを書込む書込みメモリエリア2−1−1と、書込みメモリエリア2−1−1に書込まれたカウンタデータを通信端末1−2にサイクリックに送信する手段(図示なし)と、上記通信端末1−2からフィードバックされるカウンタデータを読込むフィードバック用カウンタ5−1−1を備えている。
通信端末1−2は、通信端末1−1からサイクリックに送信されるカウンタデータを受信するカウンタ3−2−1と、受信するカウンタデータをフィードバック用カウンタ5−2−1にコピーする手段(図示なし)と、フィードバック用カウンタ5−2−1にコピーしたカウンタデータを通信端末1−1にフィードバックするフィードバック手段(図示なし)を備えている。
そして、通信端末1−2から通信端末1−1にフィードバックされたカウンタデータ(即ち、フィードバック用カウンタ5−1−1にフィードバックされるカウンタデータ)に変化があれば、通信端末1−2の動作は異常であると判定する。
ここまでの説明は、前述した実施の形態2の場合と同じである。
In the present embodiment, the communication terminal 1-1 is counted up by the counter 3-1-1 that counts up every time it is cyclically scanned by the control S / W4-1 and the counter 3-1-1. Write memory area 2-1-1 for writing the counter data, means for cyclically transmitting the counter data written in the write memory area 2-1-1 to the communication terminal 1-2 (not shown), A feedback counter 5-1-1 for reading counter data fed back from the communication terminal 1-2 is provided.
The communication terminal 1-2 has a counter 3-2-1 for receiving counter data transmitted cyclically from the communication terminal 1-1, and means for copying the received counter data to the feedback counter 5-2-1 ( (Not shown) and feedback means (not shown) for feeding back the counter data copied to the feedback counter 5-2-1 to the communication terminal 1-1.
If there is a change in the counter data fed back from the communication terminal 1-2 to the communication terminal 1-1 (that is, counter data fed back to the feedback counter 5-1-1), the operation of the communication terminal 1-2 is performed. Is determined to be abnormal.
The description so far is the same as in the case of the second embodiment described above.

更に、本実施の形態においては、通信端末1−1は、制御S/W4−1によってサイクリックにスキャンされる毎にカウントアップするカウンタ3−1−1′と、カウンタ3−1−1′でカウントアップされたカウンタデータを書込む書込みメモリエリア2−1−1′と、書込みメモリエリア2−1−1′に書込まれたカウンタデータを通信端末1−2にサイクリックに送信する手段(図示なし)と、通信端末1−2からフィードバックされるカウンタデータを読込むフィードバック用カウンタ5−1−1′を備えている。
また、通信端末1−2は、通信端末1−1からサイクリックに送信されるカウンタデータを受信するカウンタ3−2−1′と、受信するカウンタデータをフィードバック用カウンタ5−2−1′にコピーする手段(図示なし)と、フィードバック用カウンタ5−2−1′にコピーしたカウンタデータを第1のプロセス制御装置1−1にフィードバックするフィードバック手段(図示なし)を備えている。
そして、通信端末1−2から通信端末1−1にフィードバックされたカウンタデータ(即ち、フィードバック用カウンタ5−1−1′にフィードバックされるカウンタデータ)に変化があれば、通信端末1−2の動作は異常であると判定する。
Further, in the present embodiment, the communication terminal 1-1 includes a counter 3-1-1 ′ that counts up every time it is cyclically scanned by the control S / W 4-1, and a counter 3-1-1 ′. Write memory area 2-1-1 'to which the counter data counted up in step 1 is written, and means for cyclically transmitting the counter data written in write memory area 2-1-1' to communication terminal 1-2 (Not shown) and a feedback counter 5-1-1 'for reading counter data fed back from the communication terminal 1-2.
Also, the communication terminal 1-2 sends the counter data 3-2-1 'that receives the cyclic data transmitted cyclically from the communication terminal 1-1, and the received counter data to the feedback counter 5-2-1'. A copying means (not shown) and a feedback means (not shown) for feeding back the counter data copied to the feedback counter 5-2-1 ′ to the first process control device 1-1 are provided.
If there is a change in the counter data fed back from the communication terminal 1-2 to the communication terminal 1-1 (that is, counter data fed back to the feedback counter 5-1-1 ′), the communication terminal 1-2 It is determined that the operation is abnormal.

本実施の形態によるプロセス制御装置は、前述の実施の形態2と同様に、通信端末1−1(第1のプロセス制御装置)のサイクリック通信メモリ2−1と通信端末1−2(第2のプロセス制御装置)のサイクリック通信メモリ2−2の間でサイクリック通信ネットワーク10を介して通信する。
また、同時に並行して、通信端末1−1のサイクリック通信メモリ2−1′と通信端末1−2のサイクリック通信メモリ2−2′の間でサイクリック通信ネットワーク10を介して通信する。
このように、本実施の形態では、通信端末1−1(第1のプロセス制御装置)および通信端末1−2(第2のプロセス制御装置)のサイクリック通信用メモリは、それぞれ二重化されており(即ち、通信端末1−1および通信端末1−2はそれぞれ2個のサイクリック通信メモリを備えており)、例えば、一方のサイクリック通信用のメモリチップが故障した場合でも、もう一方のサイクリック通信メモリのカウンタデータを使用することができるので、一方の系統が故障しても、他方の系統を利用して継続して通信端末1−2の動作をライブチェックすることが可能である。
The process control apparatus according to the present embodiment is similar to the above-described second embodiment in that the cyclic communication memory 2-1 and the communication terminal 1-2 (second) of the communication terminal 1-1 (first process control apparatus). Communication between the cyclic communication memories 2-2 of the process control apparatus) via the cyclic communication network 10.
At the same time, communication is performed via the cyclic communication network 10 between the cyclic communication memory 2-1 'of the communication terminal 1-1 and the cyclic communication memory 2-2' of the communication terminal 1-2.
Thus, in this embodiment, the cyclic communication memories of the communication terminal 1-1 (first process control device) and the communication terminal 1-2 (second process control device) are duplicated. (That is, each of the communication terminal 1-1 and the communication terminal 1-2 includes two cyclic communication memories). For example, even when one memory chip for cyclic communication fails, the other cyclic communication memory is connected. Since the counter data of the click communication memory can be used, even if one system fails, the operation of the communication terminal 1-2 can be continuously checked using the other system.

以上説明したように、本実施の形態によるプロセス制御装置においては、第1のプロセス制御装置および第2のプロセス制御装置は、それぞれ2個の上記サイクリック通信メモリを備え、送信手段(即ち、書込みメモリエリアのデータをサイクリック通信ネットワークを介して他のプロセス制御装置にサイクリックに送信する送信手段)、受信手段(即ち、他のプロセス制御装置から送信されるデータを受信してそのプロセス制御装置に割り当てられた読込みメモリエリアに保存する受信手段)およびチェック手段(即ち、読込みメモリエリアをチェックするチェック手段と)が、この2個のサテクリック通信メモリに並列に同じ処理を行う。
つまり、第1のプロセス制御装置および第2のプロセス制御装置は、それぞれサイクリック通信メモリが二重化されており、二重化された系統の一方の系統が故障しても他の系統を使用することにより、継続して第2のプロセス制御装置の動作チェックが可能であり、信頼性の高いプロセス制御装置を実現できる。
As described above, in the process control apparatus according to the present embodiment, each of the first process control apparatus and the second process control apparatus includes two cyclic communication memories, and transmission means (that is, write) A transmission means for cyclically transmitting data in the memory area to another process control apparatus via a cyclic communication network), a reception means (that is, a process control apparatus for receiving data transmitted from another process control apparatus and receiving the data) Receiving means for storing in the read memory area allocated to the check memory) and check means (that is, check means for checking the read memory area) perform the same processing in parallel on the two satellite communication memories.
In other words, the first process control device and the second process control device each have a cyclic communication memory duplexed, and even if one of the duplexed systems fails, by using the other system, The operation check of the second process control device can be continued, and a highly reliable process control device can be realized.

この発明は、通信プロトコルに基づいて通信ソフトウェアを作成する必要がなく、簡素化した制御S/Wによってプラントの各機器や負荷の動作を監視・制御するプロセス制御装置の異常判定が可能なプロセス制御装置の実現に有用である。   The present invention eliminates the need to create communication software based on a communication protocol, and enables process control apparatus that can determine the abnormality of a process control device that monitors and controls the operation of each device and load of a plant by simplified control S / W Useful for realization of the device.

実施の形態1によるプロセス制御装置を説明するためのシステム構成図である。1 is a system configuration diagram for explaining a process control apparatus according to Embodiment 1. FIG. 実施の形態2によるプロセス制御装置を説明するためのシステム構成図である。FIG. 4 is a system configuration diagram for explaining a process control apparatus according to a second embodiment. 実施の形態3によるプロセス制御装置を説明するためのシステム構成図である。FIG. 5 is a system configuration diagram for explaining a process control apparatus according to a third embodiment. 実施の形態4によるプロセス制御装置を説明するためのシステム構成図である。FIG. 10 is a system configuration diagram for explaining a process control apparatus according to a fourth embodiment. 実施の形態5によるプロセス制御装置を説明するためのシステム構成図である。FIG. 10 is a system configuration diagram for explaining a process control apparatus according to a fifth embodiment. 実施の形態5によるプロセス制御装置を説明するためのシステム構成図である。FIG. 10 is a system configuration diagram for explaining a process control apparatus according to a fifth embodiment.

符号の説明Explanation of symbols

1―1、1―2、1―3、・・・、1―n 通信端末(プロセス制御装置)
2―1、2―2、2―3、・・・、2―n サイクリック通信メモリ
2―1′、2―2′ サイクリック通信メモリ
2―n−n(n:1、2、3、・・・) メモリエリア
3―n−n(n:1、2、3、・・・) カウンタ
3−1−1′、3−2−1′ カウンタ
4―1、4―2、4―3、・・・、4―n 制御S/W
5―n−n(n:1、2、3、・・・) フィードバック用カウンタ
5−1−1′、5−2−1′ フィードバック用カウンタ
6―1 不揮発性ローカルメモリ
10 サイクリック通信ネットワーク
1-1, 1-2, 1-3, ..., 1-n Communication terminal (process control device)
2-1, 2-2, 2-3, ..., 2-n cyclic communication memory 2-1 ', 2-2' cyclic communication memory 2-nn (n: 1, 2, 3, ...) Memory area 3-n-n (n: 1, 2, 3, ...) Counter 3-1-1 ', 3-2-1' Counter 4-1, 4-2, 4-3 ... 4-n Control S / W
5-n-n (n: 1, 2, 3,...) Feedback counter 5-1-1 ′, 5-2-1 ′ Feedback counter 6-1 Nonvolatile local memory 10 Cyclic communication network

Claims (9)

サイクリック通信ネットワークを介して複数が互いに接続されるプロセス制御装置であって、
書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリと、
上記書込みメモリエリアにデータを書込む書込み手段と、
上記書込みメモリエリアのデータを上記サイクリック通信ネットワークを介して他のプロセス制御装置にサイクリックに送信する送信手段と、
他のプロセス制御装置から送信されるデータを受信してそのプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する受信手段と、
上記読込みメモリエリアをチェックするチェック手段とを備え、
上記読込みメモリエリアには、対応する他のプロセス制御装置が正常な時に値が変化するカウンタデータがあり、
上記チェック手段が、上記読込みメモリエリアの上記カウンタデータが変化しない場合に対応する他のプロセス制御装置の動作は異常であると判定することを特徴とするプロセス制御装置。
A plurality of process control devices connected to each other via a cyclic communication network,
A cyclic communication memory having a write memory area and a read memory area allocated for each other process control device;
Writing means for writing data into the write memory area;
A transmission means for cyclically transmitting the data in the write memory area to another process control device via the cyclic communication network;
Receiving means for receiving data transmitted from another process control device and storing it in the read memory area assigned to the process control device;
Check means for checking the read memory area,
In the read memory area, there is counter data whose value changes when the corresponding other process control device is normal,
The process control apparatus, wherein the check means determines that the operation of another process control apparatus corresponding to the case where the counter data in the read memory area does not change is abnormal.
サイクリック送信の周期毎に所定の規則で値が変化するカウンタを備え、
該カウンタの値を上記カウンタデータとして上記書込み手段が上記書込みエリアに書込むことを特徴とする請求項1に記載のプロセス制御装置。
A counter whose value changes according to a predetermined rule for each cyclic transmission cycle,
2. The process control apparatus according to claim 1, wherein the writing means writes the value of the counter as the counter data in the writing area.
請求項2に記載のプロセス制御装置から送信されるデータが保存される上記読込みメモリエリア中の上記カンウンタデータを上記書込みエリアにコピーするコピー手段を備えることを特徴とする請求項1に記載のプロセス制御装置。   The copy means for copying the counter data in the read memory area in which the data transmitted from the process control device according to claim 2 is stored to the write area. Process control device. 上記受信手段が他のプロセス制御装置から送信されるデータを受信してから次に同じプロセス制御装置から送信されるデータを受信するまでの時間差を計測する時間差計測手段と、
上記時間差計測手段が計測した上記時間差から他のプロセス制御装置の負荷を監視する負荷監視手段とを備えることを特徴とする請求項1に記載のプロセス制御装置。
A time difference measuring means for measuring a time difference from when the receiving means receives data transmitted from another process control apparatus until the next data transmitted from the same process control apparatus is received;
2. The process control apparatus according to claim 1, further comprising load monitoring means for monitoring a load of another process control apparatus from the time difference measured by the time difference measurement means.
上記コピー手段がコピーした上記書込みエリアの上記カウンタデータを保存する不揮発性のローカルメモリと、
サイクリック送信の周期毎に、上記書込みエリアの上記カウンタデータと上記ローカルメモリに保存された上記カウンタデータとの差分から上記コピー手段がコピーする元の上記読込みメモリエリアに対応するプロセス制御装置が異常であった時間を算出し、その後で上記書込みエリアの上記カウンタデータを上記ローカルメモリに保存する異常時間算出手段とを備えることを特徴する請求項3に記載のプロセス制御装置。
A non-volatile local memory for storing the counter data of the writing area copied by the copying means;
At each cyclic transmission cycle, the process control device corresponding to the original read memory area copied by the copy means is abnormal from the difference between the counter data in the write area and the counter data stored in the local memory. 4. The process control apparatus according to claim 3, further comprising: an abnormal time calculation unit that calculates a time that is, and thereafter stores the counter data of the write area in the local memory.
上記送信手段が上記カウンタデータを含む上記書込みメモリエリアのデータをサイクリックに送信してから同じ値の上記カンウタデータを請求項3に記載のプロセス制御装置から上記受信手段が受信するまでの経過時間を計測する経過時間計測手段と、
上記経過時間計測手段が計測した上記経過時間から上記サイクリック通信ネットワークの負荷を監視するネットワーク負荷監視手段とを備えたことを特徴とする請求項2に記載のプロセス制御装置。
The process from when the transmission means cyclically transmits the data in the write memory area including the counter data until the reception means receives the counter data having the same value from the process control device according to claim 3. An elapsed time measuring means for measuring time;
3. The process control apparatus according to claim 2, further comprising network load monitoring means for monitoring a load of the cyclic communication network from the elapsed time measured by the elapsed time measuring means.
2個の上記サイクリック通信メモリを備え、上記送信手段、上記受信手段および上記チェック手段が2個の上記サテクリック通信メモリに並列に同じ処理を行うことを特徴とする請求項1に記載のプロセス制御装置。   2. The process according to claim 1, further comprising two cyclic communication memories, wherein the transmission means, the reception means, and the check means perform the same processing in parallel on the two satellite communication memories. Control device. サイクリック通信ネットワークを介して接続され、サイクリック通信を行うための書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリを備えた第1のプロセス制御装置および第2のプロセス制御装置において、上記第2のプロセス制御装置が上記第1のプロセス制御装置の動作異常を判定するプロセス制御装置の異常判定方法であって、
上記第1のプロセス制御装置でなされる、サイクリック送信の周期毎に所定の規則でカウンタデータを変化させるカウントステップ、上記カウンタデータを上記書込みエリアに書込む書込みステップ、書込まれた上記カウンタデータを含む上記書込みエリアのデータを上記第2のプロセス制御装置にサイクリックに送信する送信ステップを有し、
上記第2のプロセス制御装置でなされる、上記第1のプロセス制御装置から送信されるデータを受信して上記第1のプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する受信ステップ、上記読込みメモリエリアに保存された上記第1のプロセス制御装置の上記カウンタデータの変化をチェックし、上記カウンタデータが変化しない場合に上記第1のプロセス制御装置の動作は異常であると判定するチェックステップを有することを特徴とするプロセス制御装置の異常判定方法。
A first process control device including a cyclic communication memory connected via a cyclic communication network and having a write memory area for performing cyclic communication and a read memory area assigned to each other process control device And the second process control device, wherein the second process control device determines an operation abnormality of the first process control device.
A counting step for changing the counter data according to a predetermined rule for each cyclic transmission cycle, a writing step for writing the counter data into the writing area, and the written counter data, which are performed by the first process control device Including a transmission step of cyclically transmitting data in the writing area including the second process control device,
A reception step of receiving data transmitted from the first process control device and storing the data in the read memory area assigned to the first process control device, the reading being performed by the second process control device; A check step of checking a change in the counter data of the first process control device stored in the memory area and determining that the operation of the first process control device is abnormal when the counter data does not change; An abnormality determination method for a process control device, comprising:
サイクリック通信ネットワークを介して接続され、サイクリック通信を行うための書込みメモリエリアおよび他のプロセス制御装置毎に割り当てられた読込みメモリエリアとを有するサイクリック通信メモリを備えた第1のプロセス制御装置および第2のプロセス制御装置において、上記第1のプロセス制御装置が上記第2のプロセス制御装置の動作異常を判定するプロセス制御装置の異常判定方法であって、
上記第1のプロセス制御装置でなされる、サイクリック送信の周期毎に所定の規則でカウンタデータを変化させるカウントステップ、上記カウンタデータを上記書込みエリアに書込む書込みステップ、書込まれた上記カウンタデータを含む上記書込みエリアのデータを上記第2のプロセス制御装置にサイクリックに送信する第1の送信ステップを有し、
上記第2のプロセス制御装置でなされる、上記第1のプロセス制御装置から送信されるデータを受信して上記第1のプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する第1の受信ステップ、上記読込みメモリエリアに保存された上記第1のプロセス制御装置の上記カウンタデータを読み出して上記書込みエリアに書込むコピーステップ、書込まれた上記カウンタデータを含む上記書込みエリアのデ―タを上記第1のプロセス制御装置にサイクリックに送信する第2の送信ステップを有し、さらに、
上記第1のプロセス制御装置でなされる、上記第2のプロセス制御装置から送信されるデータを受信して上記第2のプロセス制御装置に割り当てられた上記読込みメモリエリアに保存する第2の受信ステップ、上記読込みメモリに保存された上記第2のプロセス制御装置の上記カウンタデータの変化をチェックし、上記カウンタデータが変化しない場合に上記第2のプロセス制御装置の動作は異常であると判定するチェクステップを有することを特徴とするプロセス制御装置の異常判定方法。
A first process control device including a cyclic communication memory connected via a cyclic communication network and having a write memory area for performing cyclic communication and a read memory area assigned to each other process control device And the second process control device, wherein the first process control device determines an abnormality in the operation of the second process control device.
A counting step for changing the counter data according to a predetermined rule for each cyclic transmission cycle, a writing step for writing the counter data into the writing area, and the written counter data, which are performed by the first process control device A first transmission step of cyclically transmitting the data in the writing area including: to the second process control device;
A first reception step of receiving data transmitted from the first process control device and storing it in the read memory area allocated to the first process control device, performed by the second process control device A copy step of reading the counter data of the first process control device stored in the read memory area and writing it in the write area; and writing data in the write area including the written counter data A second transmission step for cyclically transmitting to the first process control device;
A second receiving step of receiving data transmitted from the second process control device and storing it in the read memory area allocated to the second process control device, performed by the first process control device; Checking the change of the counter data of the second process control device stored in the read memory, and checking that the operation of the second process control device is abnormal when the counter data does not change An abnormality determination method for a process control apparatus, comprising a step.
JP2006344422A 2006-12-21 2006-12-21 Process control device, and method for determining failure in process control device Pending JP2008158650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006344422A JP2008158650A (en) 2006-12-21 2006-12-21 Process control device, and method for determining failure in process control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006344422A JP2008158650A (en) 2006-12-21 2006-12-21 Process control device, and method for determining failure in process control device

Publications (1)

Publication Number Publication Date
JP2008158650A true JP2008158650A (en) 2008-07-10

Family

ID=39659508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006344422A Pending JP2008158650A (en) 2006-12-21 2006-12-21 Process control device, and method for determining failure in process control device

Country Status (1)

Country Link
JP (1) JP2008158650A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427336B (en) * 2020-05-08 2021-02-09 杭州安恒信息技术股份有限公司 Vulnerability scanning method, device and equipment for industrial control system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07288530A (en) * 1994-04-20 1995-10-31 Hitachi Ltd Cyclic communication system
JPH09311716A (en) * 1996-05-24 1997-12-02 Toshiba Corp Lan device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07288530A (en) * 1994-04-20 1995-10-31 Hitachi Ltd Cyclic communication system
JPH09311716A (en) * 1996-05-24 1997-12-02 Toshiba Corp Lan device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427336B (en) * 2020-05-08 2021-02-09 杭州安恒信息技术股份有限公司 Vulnerability scanning method, device and equipment for industrial control system

Similar Documents

Publication Publication Date Title
US10429813B2 (en) Communication system, communication device, and communication program
US7251690B2 (en) Method and system for reporting status over a communications link
CN100440817C (en) Method for detecting single-channel fault of ring-type network
CN107918590B (en) Arithmetic device and control device
KR20160042933A (en) Managing data feeds
GB2393813A (en) System and method for processing node interrupt states in a network
JP2008158650A (en) Process control device, and method for determining failure in process control device
US8433952B2 (en) Memory access control device, memory access control method and memory access control program
JP6129443B1 (en) Communication apparatus, communication system, and communication failure detection method
JP4541241B2 (en) Plant control system
JPWO2016051573A1 (en) Control device and unit for distributed control system
JP4419617B2 (en) Fault location determination method for multi-loop network
US9241043B2 (en) Method of connecting a hardware module to a fieldbus
JP5544099B2 (en) Controller communication method and controller communication device
JP2017045154A (en) Image formation device and communication control device
JP2009179043A (en) Multifunctional type image forming apparatus, and computer program
JP4284339B2 (en) Receiving apparatus, receiving method, and communication system
JP6148076B2 (en) Fault detection system, fault detection method, and communication apparatus control program
US20230152783A1 (en) Control system, industrial device, control method, and program
JP2018117241A (en) Communication device, master device and communication control method
JP4286610B2 (en) Plant monitoring and control system
JP4631374B2 (en) Image forming apparatus state management method and apparatus
WO2014061076A1 (en) Communication system and communication device
WO2006030697A1 (en) Communication device, communication control method, communication control program, and computer-readable recording medium containing the communication control program
JP6213496B2 (en) Control device, control method, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100714

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100721

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101116