JP2007026241A - Abnormality monitoring method and controller using it - Google Patents

Abnormality monitoring method and controller using it Download PDF

Info

Publication number
JP2007026241A
JP2007026241A JP2005209436A JP2005209436A JP2007026241A JP 2007026241 A JP2007026241 A JP 2007026241A JP 2005209436 A JP2005209436 A JP 2005209436A JP 2005209436 A JP2005209436 A JP 2005209436A JP 2007026241 A JP2007026241 A JP 2007026241A
Authority
JP
Japan
Prior art keywords
monitoring data
monitoring
data
slave
abnormality
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
JP2005209436A
Other languages
Japanese (ja)
Inventor
Toshifumi Takeuchi
利文 竹内
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2005209436A priority Critical patent/JP2007026241A/en
Publication of JP2007026241A publication Critical patent/JP2007026241A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To detect an abnormality of the control software of both a master apparatus and a slave apparatus, in a controller wherein the master apparatus and a plurality of the slave apparatuses are connected by a communication line. <P>SOLUTION: The master apparatus has: a monitoring data generation processing part 3 generating monitoring data changing in each control period of the master apparatus; and a slave apparatus monitoring processing part 4 monitoring monitoring data from the slave apparatus. The slave apparatus has: a monitoring data generation processing part 9 generating the monitoring data changing in a control period of the slave apparatus; and a master apparatus monitoring processing part 8 monitoring the monitoring data from the master apparatus. Each of the master apparatus and the slave apparatus detects the abnormality of the opposite apparatus by confirming the update of the monitoring data in each communication period. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、マスタ機器と複数のスレーブ機器が通信回線で接続された制御装置の異常監視方法に関し、特に異常監視方法およびそれを用いた制御装置に関する。   The present invention relates to an abnormality monitoring method for a control device in which a master device and a plurality of slave devices are connected via a communication line, and more particularly to an abnormality monitoring method and a control device using the abnormality monitoring method.

従来のマスタ機器と複数のスレーブ機器が接続された制御装置について、図を用いて説明する。
図4に従来例のシステム構成図、図5に従来例の通信データフレームを示す。
ここで、マスタ機器は、運転データ生成処理部1にて運転データを生成しスレーブ機器に送信し、スレーブ機器は運転データ処理部6にて送信された運転データに基づいて処理動作を行う。これと共に、スレーブ機器は、運転状態データ出力部7にて自身の運転状態を示すデータをマスタ機器に送信し、マスタ機器は、スレーブ機器運転状態モニタ部にてスレーブ機器の運転データをモニタする。このように、運転に関するデータのみのやりとりしているので、相手機器が正しく動作しているのかを判断できていなかった。
A control device in which a conventional master device and a plurality of slave devices are connected will be described with reference to the drawings.
FIG. 4 shows a system configuration diagram of the conventional example, and FIG. 5 shows a communication data frame of the conventional example.
Here, the master device generates operation data by the operation data generation processing unit 1 and transmits it to the slave device, and the slave device performs a processing operation based on the operation data transmitted by the operation data processing unit 6. At the same time, the slave device transmits data indicating its own operation state to the master device at the operation state data output unit 7, and the master device monitors the operation data of the slave device at the slave device operation state monitor unit. As described above, since only data related to driving is exchanged, it has not been possible to determine whether the counterpart device is operating correctly.

これを解決する方法として、特許文献1では、データを送信する際に、運転データに加え監視データをも送信する方法が開示されている。ここでは、通信周期毎に以下のデータ送受信が行われている。すなわち、上位装置(操作手段)が、異常監視データを更新し、運転データと異常監視データを併せて下位装置(制御手段)に送信し、下位装置はこの異常監視データを別のレジスタに転送し、次の通信周期でこのレジスタのデータを上位装置(操作手段)に送信している。これと平行して、上位装置(操作手段)は下位装置(制御手段)からの返ってきた異常監視データをチェックし、下位装置は上位装置の異常監視データをチェックし、いずれも異常監視データが前回から正しく更新されていなかった場合に相手装置に異常が発生したと判断している。 As a method for solving this, Patent Document 1 discloses a method of transmitting monitoring data in addition to operation data when transmitting data. Here, the following data transmission / reception is performed for each communication cycle. That is, the host device (operation means) updates the abnormality monitoring data and sends the operation data and abnormality monitoring data together to the lower device (control means), and the lower device transfers this abnormality monitoring data to another register. The data in this register is transmitted to the host device (operation means) in the next communication cycle. In parallel with this, the host device (operation means) checks the abnormality monitoring data returned from the lower device (control means), the lower device checks the abnormality monitoring data of the host device, and any abnormality monitoring data is If it has not been updated correctly since the previous time, it is determined that an abnormality has occurred in the counterpart device.

特開平10−315170JP-A-10-315170

従来例では、マスタ機器がソフトウエア暴走などの異常が発生した場合に、スレーブ局へ間違った運転データを送信し、スレーブ機器がこの間違った運転データで運転を継続し暴走事故を起こす可能性があった。また、スレーブ機器で同様な異常が発生した場合では、スレーブ局から間違った運転状態データが送信され、マスタ局で誤った動きをしてしまうという問題があった。   In the conventional example, when an error such as a software runaway occurs in the master device, the slave device may send incorrect operation data to the slave station, and the slave device may continue operation with this incorrect operation data and cause a runaway accident. there were. In addition, when a similar abnormality occurs in the slave device, there is a problem that incorrect operation state data is transmitted from the slave station and the master station performs an incorrect operation.

一方、特許文献1では、運転データに加え異常監視データをも送信し、上位装置および下位装置で、この異常監視データをチェックすることで相手機器の異常を検出できている。しかしながら、通信ソフトウエアは正常であるが、制御ソフトウェアに異常が発生した場合に、通信ソフトウェアにより通常どうりに監視データが送信されるので、各装置のシステム異常を検出できないという問題があった。   On the other hand, in Patent Document 1, abnormality monitoring data is also transmitted in addition to operation data, and the abnormality of the counterpart device can be detected by checking the abnormality monitoring data with the upper device and the lower device. However, although the communication software is normal, when an abnormality occurs in the control software, the monitoring data is transmitted as usual by the communication software, so that there is a problem that the system abnormality of each device cannot be detected.

本発明はこのような問題を鑑みてなされたものであり、マスタ機器と複数のスレーブ機器が通信回線で接続された制御装置において、マスタ機器およびスレーブ機器の異常を確実に検出できる手段を提供することを目的とする。   The present invention has been made in view of such problems, and provides means for reliably detecting an abnormality in a master device and a slave device in a control device in which a master device and a plurality of slave devices are connected via a communication line. For the purpose.

上記問題を解決するため、本発明は次のように構成したのである。
すなわち、請求項1に記載の発明では、
マスタ機器とスレーブ機器が通信回線で接続された制御装置において、
マスタ機器は、マスタ機器の制御周期毎に変化する監視データを生成する監視データ生成処理部と、スレーブ機器からの監視データを監視するスレーブ機器監視処理部とを備え、
スレーブ機器は、スレーブ機器の制御周期毎に変化する監視データを生成する監視データ生成処理部と、マスタ機器からの監視データを監視するマスタ機器監視処理部とを備え、
通信周期毎に、前記監視データの更新を確認することで、相手機器の異常を検出するようにしたようにするものである。
請求項2記載の発明では、請求項1記載の異常監視方法を用いた制御装置とするものである。
In order to solve the above problem, the present invention is configured as follows.
That is, in the invention according to claim 1,
In the control device where the master device and the slave device are connected via a communication line,
The master device includes a monitoring data generation processing unit that generates monitoring data that changes every control cycle of the master device, and a slave device monitoring processing unit that monitors monitoring data from the slave device,
The slave device includes a monitoring data generation processing unit that generates monitoring data that changes every control cycle of the slave device, and a master device monitoring processing unit that monitors monitoring data from the master device,
An abnormality of the counterpart device is detected by confirming the update of the monitoring data for each communication cycle.
According to a second aspect of the present invention, a control device using the abnormality monitoring method according to the first aspect is provided.

本発明によれば、マスタ機器とスレーブ機器ともに、自身の制御ソフトウェアで監視データを更新し、通信周期毎にその監視データを送信しているので、相手機器の制御ソフトウェア異常を確実に検出できる。
また、本異常監視方法を使った制御装置では、相手機器の異常をより確実に検出できる。
According to the present invention, since both the master device and the slave device update the monitoring data with their own control software and transmit the monitoring data for each communication cycle, it is possible to reliably detect the control software abnormality of the counterpart device.
In addition, the control device using this abnormality monitoring method can detect the abnormality of the counterpart device more reliably.

以下、本発明の実施形態について、図面に沿って説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は本発明の第1の実施例を示すシステム構成図、図2は第1の実施例を示す通信データフレーム、図3は第1の実施例を示すデータの送受信タイムチャートである。
図1において、マスタ機器は、スレーブ局の運転データを生成する運転データ生成処理部1、スレーブ機器からの運転状態データをモニタするスレーブ機器運転状態モニタ部2、自身の監視データを生成する監視データ生成処理部3、スレーブ機器からの監視データを監視するスレーブ機器監視処理部4、スレーブ機器との通信を行う通信インターフェイス部5で構成されている。また、スレーブ機器は、マスタ機器からの運転データを処理する運転データ処理部6、自身の運転状態データを出力する運転状態データ出力部7、マスタ局からの監視データを監視するマスタ機器監視処理部8、自身の監視データを生成する監視データ生成処理部9、マスタ機器との通信を行う通信インターフェイス部10で構成されている。
図2において、送信データ内には、運転データに加えてマスタ機器の監視データを備えており、また、受信データには、運転状態データに加えてスレーブ機器の監視データを備えている。
図3においては、マスタ機器の制御周期、スレーブ機器の制御周期、ネットワークの通信周期、および監視データの関係を示し、監視データが制御周期で更新され、データ送受信が通信周期で行なわれている様子を示す。
FIG. 1 is a system configuration diagram showing a first embodiment of the present invention, FIG. 2 is a communication data frame showing the first embodiment, and FIG. 3 is a data transmission / reception time chart showing the first embodiment.
In FIG. 1, the master device includes an operation data generation processing unit 1 that generates operation data of the slave station, a slave device operation state monitor unit 2 that monitors operation state data from the slave device, and monitoring data that generates its own monitoring data. A generation processing unit 3, a slave device monitoring processing unit 4 that monitors monitoring data from the slave device, and a communication interface unit 5 that communicates with the slave device. The slave device includes an operation data processing unit 6 that processes operation data from the master device, an operation state data output unit 7 that outputs its own operation state data, and a master device monitoring processing unit that monitors monitoring data from the master station. 8. A monitoring data generation processing unit 9 that generates its own monitoring data, and a communication interface unit 10 that performs communication with the master device.
In FIG. 2, the transmission data includes monitoring data of the master device in addition to the operation data, and the reception data includes monitoring data of the slave device in addition to the operation state data.
FIG. 3 shows the relationship between the control cycle of the master device, the control cycle of the slave device, the communication cycle of the network, and the monitoring data. The monitoring data is updated at the control cycle and data transmission / reception is performed at the communication cycle. Indicates.

以下、図に基づいて動作を説明する。
図1において、マスタ機器では、制御周期毎に運転データ生成処理部1でスレーブ機器の運転データを生成する。これと平行して、監視データ生成処理部3にて制御周期毎に自身の監視データを更新する。通常、更新は制御周期毎に1ずつプラスする方法をとる。次に、通信インターフェイス5で、通信周期毎に、前記スレーブ機器の運転データと自身の監視データをスレーブ局に送信する。
一方、スレーブ機器では、運転データ処理部6によりマスタ機器からの運転データに基づいて処理動作を行う。同時に、運転状態データ出力部7でスレーブ機器の運転状態データを生成し、監視データ生成処理部9では制御周期毎に監視データを更新する。更新は、同様に制御周期毎に1ずつプラスする方法をとる。通信インターフェイス10では、通信周期毎に、自身の運転状態データと監視データをマスタ機器に送信する。
上記がデータのやりとりであるが、平行して、マスタ機器では、スレーブ機器からの運転状態データをスレーブ機器運転状態モニタ部2にて監視し、スレーブ機器からの監視データをスレーブ機器監視処理部4で監視する。スレーブ機器監視処理部は、監視データが前回から正常に更新されてなかった場合、スレーブ機器の異常と判断する。
一方、スレーブ機器では、マスタ機器監視処理部8にて、マスタ機器からの監視データを監視し、同様に監視データが正常に更新されてない場合マスタ装置の異常と判定する。
ここで、監視データの更新方法について補足する。本発明では、機器の制御周期にて監視データを更新している。機器の動作において、内部の機能をつかさどる制御ソフトウエアと、外部機器との通信をつかさどる通信ソフトウエアは、各々独立で動いている場合が一般的である。このため、通信ソフトウエアで監視データの更新を行った場合、機器の制御ソフトウエアが異常になった時にも監視データの更新が行われるので、機器の異常を検出できない。この点で、制御ソフトウエアで監視データを更新すると、機器の異常を確実に検出できる。
Hereinafter, the operation will be described with reference to the drawings.
In FIG. 1, in the master device, operation data of the slave device is generated by the operation data generation processing unit 1 for each control cycle. In parallel with this, the monitoring data generation processing unit 3 updates its own monitoring data for each control cycle. Usually, updating is performed by incrementing by one for each control cycle. Next, the communication interface 5 transmits the operation data of the slave device and its own monitoring data to the slave station every communication cycle.
On the other hand, in the slave device, the operation data processing unit 6 performs a processing operation based on the operation data from the master device. At the same time, the operation state data output unit 7 generates operation state data of the slave device, and the monitoring data generation processing unit 9 updates the monitoring data for each control cycle. Similarly, the update is performed by incrementing by one for each control cycle. The communication interface 10 transmits its own operation state data and monitoring data to the master device every communication cycle.
The above is the data exchange. In parallel, the master device monitors the operation state data from the slave device by the slave device operation state monitor unit 2, and the monitoring data from the slave device is the slave device monitoring processing unit 4. Monitor with. The slave device monitoring processing unit determines that the slave device is abnormal when the monitoring data has not been updated normally since the previous time.
On the other hand, in the slave device, the master device monitoring processing unit 8 monitors the monitoring data from the master device, and similarly determines that the master device is abnormal when the monitoring data is not normally updated.
Here, a supplementary description will be given of the monitoring data update method. In the present invention, the monitoring data is updated at the control cycle of the device. In the operation of the device, the control software that controls internal functions and the communication software that controls communication with external devices generally operate independently. For this reason, when the monitoring data is updated by the communication software, the monitoring data is updated even when the control software of the device becomes abnormal, so that the abnormality of the device cannot be detected. In this respect, when the monitoring data is updated by the control software, it is possible to reliably detect an abnormality in the device.

第1の実施例におけるシステム構成図System configuration diagram in the first embodiment 第1の実施例における通信データフレームCommunication data frame in the first embodiment 第1の実施例における送受信タイムチャートTransmission / reception time chart in the first embodiment 従来例におけるシステム構成図System configuration diagram in the conventional example 従来例における通信データフレームCommunication data frame in the conventional example

符号の説明Explanation of symbols

1 運転データ生成処理部
2 スレーブ機器運転状態モニタ部
3 監視データ生成処理部
4 スレーブ機器監視処理部
5 通信インターフェイス部
6 運転データ処理部
7 運転状態データ出力部
8 マスタ機器監視処理部
9 監視データ生成処理部
10 通信インターフェイス部
DESCRIPTION OF SYMBOLS 1 Operation data generation process part 2 Slave apparatus operation state monitor part 3 Monitoring data generation process part 4 Slave apparatus monitoring process part 5 Communication interface part 6 Operation data process part 7 Operation state data output part 8 Master apparatus monitoring process part 9 Monitoring data generation Processing unit 10 Communication interface unit

Claims (2)

マスタ機器とスレーブ機器が通信回線で接続された制御装置において、
マスタ機器は、マスタ機器の制御周期毎に変化する監視データを生成する監視データ生成処理部と、スレーブ機器からの監視データを監視するスレーブ機器監視処理部とを備え、
スレーブ機器は、スレーブ機器の制御周期毎に変化する監視データを生成する監視データ生成処理部と、マスタ機器からの監視データを監視するマスタ機器監視処理部とを備え、
通信周期毎に、前記監視データの更新を確認することで、相手機器の異常を検出するようにしたことを特徴とする異常監視方法。
In the control device where the master device and the slave device are connected via a communication line,
The master device includes a monitoring data generation processing unit that generates monitoring data that changes every control cycle of the master device, and a slave device monitoring processing unit that monitors monitoring data from the slave device,
The slave device includes a monitoring data generation processing unit that generates monitoring data that changes every control cycle of the slave device, and a master device monitoring processing unit that monitors monitoring data from the master device,
An abnormality monitoring method characterized in that an abnormality of a counterpart device is detected by confirming update of the monitoring data for each communication cycle.
請求項1記載の異常監視方法を用いた制御装置。   A control device using the abnormality monitoring method according to claim 1.
JP2005209436A 2005-07-20 2005-07-20 Abnormality monitoring method and controller using it Pending JP2007026241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005209436A JP2007026241A (en) 2005-07-20 2005-07-20 Abnormality monitoring method and controller using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005209436A JP2007026241A (en) 2005-07-20 2005-07-20 Abnormality monitoring method and controller using it

Publications (1)

Publication Number Publication Date
JP2007026241A true JP2007026241A (en) 2007-02-01

Family

ID=37786885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005209436A Pending JP2007026241A (en) 2005-07-20 2005-07-20 Abnormality monitoring method and controller using it

Country Status (1)

Country Link
JP (1) JP2007026241A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008627A (en) * 2009-06-26 2011-01-13 Kubota Corp Facility information management system
JP2013030037A (en) * 2011-07-29 2013-02-07 Rb Controls Co Control apparatus
WO2017130331A1 (en) * 2016-01-27 2017-08-03 三菱電機株式会社 Process monitoring apparatus, process monitoring method, and process monitoring program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011008627A (en) * 2009-06-26 2011-01-13 Kubota Corp Facility information management system
JP2013030037A (en) * 2011-07-29 2013-02-07 Rb Controls Co Control apparatus
WO2017130331A1 (en) * 2016-01-27 2017-08-03 三菱電機株式会社 Process monitoring apparatus, process monitoring method, and process monitoring program
JP6272600B2 (en) * 2016-01-27 2018-01-31 三菱電機株式会社 Process monitoring apparatus, process monitoring method, and process monitoring program

Similar Documents

Publication Publication Date Title
JP4226620B2 (en) Data transfer method and data transfer device
JP3896237B2 (en) Control system
CN102713773B (en) For the security module of automation equipment
JP5494255B2 (en) Safety control system
JP2007021685A (en) Robot system and robot control device
US9659415B2 (en) Apparatus for warning of occurrence of error of device
JP2007026241A (en) Abnormality monitoring method and controller using it
JP6328173B2 (en) Inverter control method
EP2741447B1 (en) Programmable logic controller communication system
JP5743391B2 (en) Control device and image forming apparatus
JP4541241B2 (en) Plant control system
JPWO2019087849A1 (en) COMMUNICATION SYSTEM, CONTROLLED DEVICE, AND COMMUNICATION SYSTEM CONTROL METHOD
WO2011074147A1 (en) Redundant control device
JP7035511B2 (en) Programmable controller and duplex system
KR101294308B1 (en) Facilities control system and operating method of the system
JP2010146363A (en) System switching system of duplex programmable controller
JP4755868B2 (en) Switching control system and control unit applied thereto
US10574514B2 (en) Duplex control device and duplex system
KR100525677B1 (en) Apparatus and method for duplication of communication control module
WO2014061148A1 (en) Slave station terminal
KR20150025759A (en) PLC control system based on sniffing
JP2010177781A (en) Alarm control method
JP2000244520A (en) Abnormality diagnostic method for duplex network
KR100606888B1 (en) Apparatus and Method to Duplicate Controlling Digital Tranceiver Board in Mobile Communication System
JP2005122592A (en) Distributed control device