JPH11143784A - Display for programmable controller - Google Patents
Display for programmable controllerInfo
- Publication number
- JPH11143784A JPH11143784A JP9310459A JP31045997A JPH11143784A JP H11143784 A JPH11143784 A JP H11143784A JP 9310459 A JP9310459 A JP 9310459A JP 31045997 A JP31045997 A JP 31045997A JP H11143784 A JPH11143784 A JP H11143784A
- Authority
- JP
- Japan
- Prior art keywords
- plc
- data
- memory
- programmable controller
- backup
- 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.)
- Withdrawn
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
(57)【要約】
【課題】 プログラマブルコントローラのメモリ内容
が、工場内の電磁的ノイズ等により破壊されたとき、こ
の破壊を見出だして、修復する。
【解決手段】 プログラマブルコントローラ2のメモリ
に記録されたPLCデータと同一のPLCバックアップ
データを表示装置1内のプログラマブルコントローラバ
ックアップ用メモリ15(16)に格納しておき、電源
ON時等に、プログラマブルコントローラ2側のPLC
データとPLCバックアップデータとを比較照合して、
不一致となったときは、不一致となった部分のPLCバ
ックアップデータを、プログラマブルコントローラ2に
転送して修復する。
(57) [Summary] When a memory content of a programmable controller is destroyed by electromagnetic noise or the like in a factory, the failure is found and repaired. SOLUTION: The same PLC backup data as the PLC data recorded in the memory of a programmable controller 2 is stored in a programmable controller backup memory 15 (16) in a display device 1, and the programmable controller backup memory 15 (16) is used when the power is turned on. 2-side PLC
Compare the data with the PLC backup data,
If they do not match, the PLC backup data of the mismatched portion is transferred to the programmable controller 2 and repaired.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、プログラマブル
コントローラ(以下、PLCという)のモニタを行なう
表示装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display device for monitoring a programmable controller (hereinafter, PLC).
【0002】[0002]
【従来の技術】近年、工場等に使われるPLCは、多く
の重要な情報、例えば、故障履歴、出荷台数等を、その
内部メモリに貯え、また、生産工程の多様化によりPL
Cのメモリに格納されるシステム制御プログラムのデー
タもますます複雑になってきている。2. Description of the Related Art In recent years, PLCs used in factories and the like store a lot of important information, such as failure history and the number of shipments, in their internal memories.
The data of the system control program stored in the C memory is also becoming more and more complicated.
【0003】一方、工場内の環境は、サーボモータ、イ
ンバータ、高圧電力装置など多種多様な装置がPLCに
接続され、その為、放射ノイズ、電源の瞬時停電、電磁
界などにより、PLC内のメモリ内容の破壊が発生しや
すくなっている。On the other hand, in a factory environment, a variety of devices such as a servomotor, an inverter, and a high-voltage power device are connected to a PLC. Destruction of content is more likely to occur.
【0004】PLC内のメモリ内容が破壊された場合、
PLCには上記のような重要な多くの複雑なデータが保
存されており、その修復作業には、多くのリスクと労力
を費やさなければならない。また、修復作業を実行する
には、PLC本体へのプログラム転送・送信用のパソコ
ン等のツールの接続が必要であるが、PLC本体は、一
般に制御盤の奥に設置されているので、その接続は簡単
ではない。When the memory contents in the PLC are destroyed,
The PLC stores a lot of such complex data that is important, and the repair work requires a lot of risk and labor. Also, in order to execute the repair work, it is necessary to connect a tool such as a personal computer for transferring / transmitting the program to / from the PLC main body. However, since the PLC main body is generally installed at the back of the control panel, the connection is required. Is not easy.
【0005】また、従来は、PLC内のメモリ内容の破
壊をチェックするために、PLC内でメモリのサム値を
計算し、このサム値が基準のサム値と一致したときは、
「破壊なし」、一致しないときは、「破壊あり」と判定
する、「サム値照合」が行なわれ、メモリ内容破壊があ
ったと判定した場合は、PLCシステムの運転を中止
し、復旧作業に入ることが行なわれている。Conventionally, in order to check for destruction of memory contents in a PLC, a sum value of a memory is calculated in a PLC, and when this sum value matches a reference sum value,
"No destruction"; if they do not match, it is determined that there is "destruction". "Sum value verification" is performed. Things are going on.
【0006】[0006]
【発明が解決しようとする課題】しかし、上述した従来
の「サム値照合」では、メモリ破壊が認識できない場合
がある。すなわち、破壊されたメモリのサム値が基準の
サム値と等しくなるような破壊の状況であると、メモリ
破壊と認識できなくなり、この場合、破壊されたデータ
でシステムが運転され、生産品のみならず、周辺システ
ムも破壊させるという、重大な障害が発生することがあ
った。However, in the above-mentioned conventional "sum value collation", memory corruption may not be recognized. In other words, if the destruction situation is such that the sum value of the destructed memory becomes equal to the reference sum value, it cannot be recognized as a memory destruction.In this case, the system is operated with the destructed data, In some cases, a serious problem of destroying peripheral systems occurred.
【0007】また、メモリ破壊が発見できた場合も、制
御盤の奥のPLC本体へツールを接続して行なう修復作
業は容易でなく、多くのリスクと労力を費やして、慎重
に進めなければならない。[0007] Further, even if memory corruption is found, the repair work performed by connecting a tool to the PLC body at the back of the control panel is not easy, and it requires a great deal of risk and labor to proceed carefully. .
【0008】この発明は、上述の問題に鑑みなされたも
ので、PLCのメモリ内容の重要な部分を、メモリ破壊
が起こりにくいPLC用の表示装置側にバックアップし
ておいて、破壊されたPLCのメモリ内容を速やかに修
正できるプログラマブルコントローラ用表示装置を提供
するものである。SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and an important part of the memory content of a PLC is backed up on a display device for a PLC, which is unlikely to cause memory destruction. An object of the present invention is to provide a display device for a programmable controller that can quickly correct the contents of a memory.
【0009】[0009]
【課題を解決するための手段】上述の目的を達成するた
めに、この発明の請求項1の発明は、プログラマブルコ
ントローラのメモリに記録された、PLCデータと同一
のPLCバックアップデータを格納するプログラマブル
コントローラバックアップ用メモリと、上記PLCバッ
クアップデータとPLCデータとを比較照合し、PLC
バックアップデータとPLCデータとが不一致となった
とき、不一致となった部分のPLCバックアップデータ
を、プログラマブルコントローラに転送して上記PLC
データの不一致となった部分を書き換えて修復する比較
演算コントローラとを具備することを特徴とする。According to a first aspect of the present invention, there is provided a programmable controller for storing the same PLC backup data as the PLC data recorded in a memory of the programmable controller. The backup memory is compared with the PLC backup data and the PLC data, and the PLC
When the backup data and the PLC data do not match, the PLC backup data of the mismatched portion is transferred to the programmable controller and
A comparison operation controller for rewriting and restoring a portion where data has become inconsistent.
【0010】請求項2の発明は、請求項1の発明におい
て、上記比較演算コントローラの比較照合動作が、電源
ON時あるいは一定の時間間隔毎等、任意のタイミング
で始まるように、比較照合動作開始時間を設定できるこ
とを特徴とする。According to a second aspect of the present invention, in the first aspect of the present invention, the comparison and collation operation of the comparison operation controller is started at an arbitrary timing such as when the power is turned on or at regular time intervals. The time can be set.
【0011】請求項3の発明は、請求項1の発明におい
て、上記比較演算コントローラの比較照合によるPLC
バックアップデータとPLCデータとの不一致状況を、
表示画面に表示することを特徴とする。The invention according to claim 3 is the PLC according to claim 1, wherein the PLC is obtained by comparison and collation by the comparison operation controller.
The mismatch between the backup data and the PLC data
It is displayed on a display screen.
【0012】請求項4の発明は、請求項1の発明におい
て、上記プログラマブルコントローラのメモリに記録さ
れたPLCデータを、任意に設定して吸い上げ、上記プ
ログラマブルコントローラバックアップ用メモリに格納
することを特徴とする。According to a fourth aspect of the present invention, in the first aspect of the present invention, the PLC data recorded in the memory of the programmable controller is arbitrarily set, downloaded, and stored in the programmable controller backup memory. I do.
【0013】請求項5の発明は、請求項1の発明におい
て、上記比較演算コントローラの比較照合の結果、PL
CバックアップデータとPLCデータとが不一致となっ
たとき、プログラマブルコントローラのメモリの修復箇
所、不一致データ、比較照合日時を、ログデータとして
メモリに書き込むことを特徴とする。According to a fifth aspect of the present invention, in the first aspect of the present invention, as a result of the comparison and collation by the comparison operation controller, the PL
When the C backup data and the PLC data do not match, the repaired portion of the memory of the programmable controller, the mismatch data, and the comparison / collation date and time are written to the memory as log data.
【0014】表示装置にバックアップされたPLCバッ
クアップデータは、有害なノイズや電磁界を受けにく
く、正常な状態に維持されるから、PLCデータをPL
Cバックアップデータと比較することにより、PLCデ
ータの破壊が確実に検知でき、PLCバックアップデー
タを使ってPLCデータを修復できる。Since the PLC backup data backed up in the display device is hardly affected by harmful noises and electromagnetic fields and is maintained in a normal state, the PLC data is stored in a PLC.
By comparing with the C backup data, the destruction of the PLC data can be reliably detected, and the PLC data can be restored using the PLC backup data.
【0015】なお、この発明におけるPLCデータと
は、PLCのメモリに記録されているユーザプログラム
等、PLCの運転中に値が変化しないで一定値を保つデ
ータの中、ユーザが設定するアドレス領域のデータをい
う。The PLC data according to the present invention is defined as data stored in a memory of the PLC, such as a user program, which keeps a constant value during operation of the PLC without changing the value. Refers to data.
【0016】また、この発明におけるプログラマブルコ
ントローラバックアップ用メモリには、表示装置に外付
けしたプログラマブルコントローラバックアップ用メモ
リも含まれる。The programmable controller backup memory according to the present invention also includes a programmable controller backup memory external to the display device.
【0017】[0017]
【発明の実施の形態】この発明の実施の形態を、以下、
図面を参照して説明する。Embodiments of the present invention will be described below.
This will be described with reference to the drawings.
【0018】図1は、この発明の一実施の形態を示すブ
ロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【0019】図1において、表示装置1は、数十m離れ
て配置されたPLC2とケーブル3で接続されている。
上記表示装置1とPLC2には、それぞれのケーブル3
との接続点に通信インターフェイス4、5が設けられ、
これらの通信インターフェイス4、5により通信用デー
タに変換され、ケーブル3経由でデータが相互に送受信
されるようになっている。In FIG. 1, a display device 1 is connected to a PLC 2 arranged at a distance of several tens of meters by a cable 3.
The display device 1 and the PLC 2 have respective cables 3
Communication interfaces 4 and 5 are provided at the connection point with
The data is converted into communication data by the communication interfaces 4 and 5, and the data is mutually transmitted and received via the cable 3.
【0020】上記表示装置1には、メモリ6、画像処理
コントローラ7、表示画面8、比較演算コントローラ9
およびワークメモリ10が設けられ、上記メモリ6に
は、表示装置1の動作制御用システムプログラム領域1
1、PLCバックアップ用システムプログラム領域1
2、画像データ領域13、ログデータ領域14、およ
び、後述するPLCのメモリに記録されているPLCデ
ータと同一のPLCバックアップデータを格納しておく
PLCバックアップ用メモリ領域15が割り当てられて
いる。なお、PLCバックアップデータが多量で、上記
PLCバックアップ用領域15では格納しきれない場合
は、外部メモリを付加して拡張用PLCバックアップ用
メモリ16として用いる。The display device 1 includes a memory 6, an image processing controller 7, a display screen 8, and a comparison operation controller 9.
And a work memory 10. The memory 6 includes an operation control system program area 1 of the display device 1.
1. PLC backup system program area 1
2, an image data area 13, a log data area 14, and a PLC backup memory area 15 for storing the same PLC backup data as the PLC data recorded in the memory of the PLC described later. If the PLC backup data is large and cannot be stored in the PLC backup area 15, an external memory is added and used as the extended PLC backup memory 16.
【0021】上記PLC2には、そのROMにシステム
プログラム21が、RAM等の書き換え可能なメモリ
に、ユーザプログラム領域22、カウンタ、タイマー等
のデータメモリ領域23およびI/Oステータス領域2
4が割り当てられている。そして、上記ユーザプログラ
ム領域22とデータメモリ領域23のデータが瞬時停電
等で消滅するのを防ぐために、バックアップ用電源25
が備えられている。更に、PLC2には、上記システム
プログラム21とユーザプログラム22とに制御、指示
され、CPUバス26経由で得られる入出力ユニット
(図示省略)からのデータや上記表示装置1からのデー
タ等を演算処理する演算装置27、この演算装置27の
演算結果を受けて制御信号を上記CPUバス26に、デ
ータをデ−タバス28にそれぞれ分配するバスコントロ
ーラ29が備えられている。In the PLC 2, a system program 21 is stored in a ROM, and a user program area 22, a data memory area 23 such as a counter and a timer, and an I / O status area 2 are stored in a rewritable memory such as a RAM.
4 has been assigned. In order to prevent the data in the user program area 22 and the data memory area 23 from being lost due to an instantaneous power failure or the like, a backup power supply 25
Is provided. Further, the PLC 2 is controlled and instructed by the system program 21 and the user program 22 to perform arithmetic processing on data from an input / output unit (not shown) obtained via the CPU bus 26, data from the display device 1, and the like. And a bus controller 29 that distributes control signals to the CPU bus 26 and data to the data bus 28 in response to the operation result of the operation device 27.
【0022】図2は、表示装置1の上記比較演算コント
ローラ9の機能詳細を示すブロック図で、比較演算コン
トローラ9は、照合タイミング設定機能91と、データ
照合機能92と、ログデータ記録機能93と、メモリ内
容破壊箇所表示機能94と、PLC向けデータ転送機能
95と、PLCデータ吸い上げ機能96と、バックアッ
プメモリ範囲設定機能97との諸機能を有する。FIG. 2 is a block diagram showing details of the function of the comparison operation controller 9 of the display device 1. The comparison operation controller 9 includes a comparison timing setting function 91, a data comparison function 92, and a log data recording function 93. , A memory content destruction point display function 94, a PLC data transfer function 95, a PLC data siphoning function 96, and a backup memory range setting function 97.
【0023】上記照合タイミング設定機能91は、比較
演算コントローラの比較照合動作、すなわち、上記PL
Cバックアップ用メモリ15(あるいは、これに加え
て、拡張用PLCバックアップ用メモリ16)に格納さ
れたPLCバックアップデータと、PLC2のメモリ中
のPLCデータとを順次吸い上げて、ワークメモリ10
を使って比較照合し、PLCバックアップデータとPL
Cデータとが不一致となったとき、不一致となった部分
のPLCバックアップデータをPLC2のメモリに転送
する一連の動作を、どのようなタイミングで開始するか
を作業者が決めて設定する機能であって、通常は、この
タイミングとしては、電源投入時、あるいは、一定の時
間間隔毎等を選択することが好ましい。The comparison timing setting function 91 is used for comparing and comparing operations of the comparison operation controller, that is, for the PL.
The PLC backup data stored in the C backup memory 15 (or, in addition, the extension PLC backup memory 16) and the PLC data in the memory of the PLC 2 are sequentially downloaded and the work memory 10 is read.
Compare and match using PLC backup data and PL
When the C data does not match, the operator determines and sets a timing to start a series of operations for transferring the mismatched portion of the PLC backup data to the memory of the PLC 2. Normally, it is preferable to select this timing at the time of turning on the power or at regular time intervals.
【0024】上記データ照合機能92は、PLCバック
アップ用メモリ15に格納されたPLCバックアップデ
ータとPLC2のメモリ中のPLCデータとを、順次、
比較照合して、一致・不一致を調べる機能である。ここ
で、PLCデータとは、PLC2のメモリ中に記録され
たデータの中、PLCの運転中に値が変化しないユーザ
プログラム等のデータで、後に説明するバックアップメ
モリ範囲設定機能97により設定されたメモリ範囲に記
録されているデータである。また、PLCバックアップ
データとは、上記のPLCデータをPLCバックアップ
用メモリ15にコピーして格納したものである。従っ
て、メモリ内容の破壊がない限り、PLCデータとPL
Cバックアップデータとは一致していて、PLCデータ
がノイズ等で破壊されたとき、不一致となるものであ
る。The data collating function 92 sequentially compares the PLC backup data stored in the PLC backup memory 15 with the PLC data in the PLC 2 memory.
This function is to compare and match to check for a match / mismatch. Here, the PLC data is data of a user program or the like whose value does not change during operation of the PLC among data recorded in the memory of the PLC 2 and is a memory set by a backup memory range setting function 97 described later. This is the data recorded in the range. The PLC backup data is obtained by copying the above-mentioned PLC data into the PLC backup memory 15 and storing it. Therefore, the PLC data and the PL
The C backup data coincides with each other, and does not match when the PLC data is destroyed by noise or the like.
【0025】上記ログデータ記録機能93は、データ照
合機能92によってPLCデータとPLCバックアップ
データとの不一致が見つかったとき、プログラマブルコ
ントローラのメモリの修復箇所、不一致データ、比較照
合日時を、ログデータとしてログデータメモリ14に書
き込む機能である。When the data collation function 92 finds a mismatch between the PLC data and the PLC backup data, the log data recording function 93 records the repaired portion of the programmable controller memory, the mismatch data, and the comparison / collation date and time as log data. This is a function for writing to the data memory 14.
【0026】上記メモリ内容破壊箇所表示機能94は、
データ照合機能92によってPLCデータとPLCバッ
クアップデータとの不一致が見つかったとき、その不一
致状況を、表示画面8に表示する機能である。The memory content destruction point display function 94 is
When a mismatch between the PLC data and the PLC backup data is found by the data collation function 92, the mismatch status is displayed on the display screen 8.
【0027】上記PLC向けデータ転送機能95は、デ
ータ照合機能92によってPLCデータとPLCバック
アップデータとの不一致が見つかったとき、不一致とな
った部分のPLCバックアップデータを、PLCデータ
のメモリの不一致となった部分の書き換え用に、PLC
に転送する機能で、この転送によりPLCデータは元ど
おりに修復される。When the PLC data transfer function 95 finds a mismatch between the PLC data and the PLC backup data by the data collating function 92, the PLC backup data of the mismatched portion is converted to a PLC data memory mismatch. PLC for rewriting
The PLC data is restored to its original state by this transfer.
【0028】上記PLCデータ吸い上げ機能96は、デ
ータ照合機能92がデータを比較照合するために、ある
いは、PLCバックアップ用メモリ15にデータをバッ
クアップするために、PLC2のメモリからPLCデー
タをコピーしてくる機能である。The PLC data siphoning function 96 copies PLC data from the memory of the PLC 2 so that the data collating function 92 compares and collates the data or backs up the data in the PLC backup memory 15. Function.
【0029】上記バックアップメモリ範囲設定機能97
は、PLC2のメモリに記録された、プログラム等の使
用中一定値を保つPLCデータを、作業者が任意に設定
できる機能である。このバックアップメモリ範囲設定機
能97により、PLCデータ吸い上げ機能96の吸い上
げ範囲が決められる。通常、バックアップメモリ範囲に
は、ユーザプログラム22、このユーザプログラム22
に関連した基礎的データ、その他、恒久的保存を必要と
する重要なデータを含める。The backup memory range setting function 97
Is a function that allows an operator to arbitrarily set PLC data recorded in the memory of the PLC 2 and keeping a constant value during use such as a program. With the backup memory range setting function 97, the copying range of the PLC data copying function 96 is determined. Usually, the user program 22, the user program 22
Includes basic data related to and other important data that needs permanent storage.
【0030】以上のように構成されてなるこの発明のプ
ログラマブルコントローラ用表示装置の動作を、図3の
フローチャートを参照して、以下に説明する。The operation of the display device for a programmable controller according to the present invention configured as described above will be described below with reference to the flowchart of FIG.
【0031】PLCバックアップ用メモリ15と拡張用
PLCバックアップ用メモリ16には、予めバックアッ
プメモリ範囲設定機能97により設定されたアドレス範
囲のPLC2のPLCデータがバックアップされてい
る。そして、照合タイミング設定機能91により設定さ
れたPLCシステムの電源投入時と設定した一定の時間
間隔毎に、PLCバックアップ用システムプログラムが
作動し、比較演算コントローラ9が、図3のフローチャ
ートに従って、PLCデータとバックアップされたPL
Cバックアップデータと比較して、PLCデータの破壊
の有無をチェックし、破壊が見つかった場合には、これ
を修復する。In the PLC backup memory 15 and the extension PLC backup memory 16, the PLC data of the PLC 2 in the address range set in advance by the backup memory range setting function 97 is backed up. The PLC backup system program is activated at the time of turning on the power of the PLC system set by the collation timing setting function 91 and at a set time interval, and the comparison operation controller 9 operates according to the flowchart of FIG. And backed up PL
The presence or absence of destruction of the PLC data is checked in comparison with the C backup data, and if destruction is found, this is restored.
【0032】すなわち、電源投入時と所定の時間を経過
した時に、PLCデータとPLCバックアップデータと
の照合をスタートする(ステップ301)。PLC2の
ユーザプログラム領域22等のメモリにアクセスして、
その最初のアドレス領域のデータを表示装置1のワーク
メモリ10に吸い上げる(ステップ302)、そして、
この吸い上げたPLCデータと対応するPLCバックア
ップデータとを、データ照合機能92により、照合比較
する(ステップ303)。この時どのアドレスのデータ
を照合比較しているかは、図4に示すように、表示画面
8に表示され、照合比較される両データが一致すれば、
PLC2のメモリの次のアドレスにアクセスし(ステッ
プ304)、そのアドレスがバックアップした最終のア
ドレスを越えたかどうかチェックし(ステップ30
5)、越えていない場合は、ステップ303に戻って、
次のアドレス領域について、PLCデータとPLCバッ
クアップデータとを比較する。順次比較が進み、PLC
バックアップデータの照合が全部終了すると、ステップ
305のチェックで、最終のアドレスを越えたと判断さ
れ、照合動作を終了する(ステップ306)。That is, when the power is turned on and a predetermined time has elapsed, comparison between the PLC data and the PLC backup data is started (step 301). By accessing a memory such as the user program area 22 of the PLC 2,
The data in the first address area is downloaded to the work memory 10 of the display device 1 (step 302), and
The collected PLC data and the corresponding PLC backup data are collated and compared by the data collating function 92 (step 303). At this time, which address data is compared and compared is displayed on the display screen 8 as shown in FIG.
The next address of the memory of the PLC 2 is accessed (step 304), and it is checked whether the address exceeds the last address backed up (step 30).
5) If not, return to step 303 and
For the next address area, the PLC data is compared with the PLC backup data. The comparison proceeds sequentially and the PLC
When all the collation of the backup data is completed, it is determined in step 305 that the final address has been exceeded, and the collation operation is terminated (step 306).
【0033】ステップ303の照合比較の際、もし、そ
のアドレス領域のPLCデータが破壊していることによ
り、不一致となると、メモリ内容破壊箇所表示機能94
により、図4の矢印の先に示した画面のように、表示画
面8に不一致箇所と不一致状況を表示し(ステップ30
7)、そのアドレス領域のPLCバックアップデータ
を、PLC向けデータ転送機能95により、PLC2の
対応するアドレスに転送して、これを修復する(ステッ
プ308)。そして、更に、この不一致情報(アドレ
ス、データ内容)と検出日時を、ログデータ記録機能9
3により、ログデータ領域14に記録する(ステップ3
09)。その後、ステップ304に移って、照合を継続
する。At the time of comparison and comparison in step 303, if the PLC data in the address area is destroyed and the data does not match, the memory content destruction location display function 94
As a result, as shown in the screen indicated by the arrow in FIG. 4, the mismatched part and the mismatched state are displayed on the display screen 8 (step 30).
7) The PLC backup data in the address area is transferred to the corresponding address of the PLC 2 by the PLC data transfer function 95, and is restored (step 308). Further, the inconsistency information (address, data content) and the detection date and time are further recorded in the log data recording function 9.
3 in the log data area 14 (step 3
09). Then, the process proceeds to step 304 to continue the collation.
【0034】このようにして、電源投入時と、その後所
定の時間を経過した時毎に、PLCデータの破壊の有無
を検査し、破壊があった場合には、これをPLCバック
アップデータを基に修復する。この照合・修復動作によ
り,その後の運転を正常に実行できる。更に、破壊状況
のログデータを保存して、後にこれを調べることができ
るようになっている。In this manner, the presence or absence of the destruction of the PLC data is inspected at the time of power-on and every time after a predetermined time has elapsed, and if there is a destruction, the PLC data is determined based on the PLC backup data. to repair. By this collation / repair operation, the subsequent operation can be executed normally. Further, the log data of the destruction status can be saved and checked later.
【0035】表示装置1は、PLC2と離れて配置され
ているから、工場内のサーボモータ、インバータ、高圧
電力装置等から発生する放射ノイズ、電磁界を受けるこ
とが少なく、上記のような照合比較、修復が有効なので
あるが、表示装置1を、PLC2の制御盤の表面に設置
した場合でも、表示装置1は、ノイズ等の発生源と直接
ケーブルが接続されておらず、距離も離れているため、
ノイズ等の影響が弱く、表示装置1のメモリ破壊は、ほ
とんど起こらないから、PLC2と離れた配置の場合同
様、この発明は、PLC2のメモリ破壊に対して、有効
な作用効果をもたらす。Since the display device 1 is arranged at a distance from the PLC 2, the display device 1 is less susceptible to radiation noise and electromagnetic fields generated from servo motors, inverters, high-voltage power devices, and the like in the factory. Although the restoration is effective, even when the display device 1 is installed on the surface of the control panel of the PLC 2, the display device 1 is not directly connected to a source such as noise and the distance is long. For,
Since the influence of noise and the like is weak and memory destruction of the display device 1 hardly occurs, the present invention brings about an effective operation effect on the memory destruction of the PLC 2 as in the case of the arrangement remote from the PLC 2.
【0036】[0036]
【発明の効果】以上の説明から理解されるように、この
発明によれば、プログラマブルコントローラのメモリに
記録された、PLCの運転中に値が変化しないユーザプ
ログラム等のPLCデータと同一のPLCバックアップ
データを格納するプログラマブルコントローラバックア
ップ用メモリと、上記PLCバックアップデータとPL
Cデータとを比較照合し、PLCバックアップデータと
PLCデータとが不一致となったとき、不一致となった
部分のPLCバックアップデータを、上記PLCデータ
の不一致となった部分の書き換え用に、プログラマブル
コントローラに転送して修復する比較演算コントローラ
とを表示装置側に具備したから、プログラマブルコント
ローラのメモリ内容が、PLCに侵入した電磁的ノイズ
等により破壊されたとき、この破壊を見出だして、修復
することができ、これによって、PLCの致命的誤動作
を未然に防ぐことができる。As can be understood from the above description, according to the present invention, the same PLC backup as the PLC data such as the user program recorded in the memory of the programmable controller and whose value does not change during the operation of the PLC. Programmable controller backup memory for storing data, PLC backup data and PL
The PLC data is compared with the C data, and when the PLC backup data and the PLC data do not match, the PLC backup data of the mismatched portion is sent to the programmable controller for rewriting the mismatched portion of the PLC data. Since the display device is provided with the comparison operation controller for transferring and repairing, when the memory content of the programmable controller is destroyed by electromagnetic noise or the like that has entered the PLC, it is possible to find out this repair and repair it. Thus, a fatal malfunction of the PLC can be prevented.
【0037】比較演算コントローラの比較照合動作が、
電源ON時あるいは一定の時間間隔毎等、任意のタイミ
ングで始まるように、比較照合動作開始時間を設定でき
るようにすれば、メモリ内容破壊を見逃すことがほとん
どなくなる。The comparison operation of the comparison operation controller is as follows.
If the comparison and collation operation start time can be set so as to start at an arbitrary timing such as when the power is turned on or at regular time intervals, it is almost impossible to overlook the destruction of the memory contents.
【0038】また、比較演算コントローラの比較照合に
よるPLCバックアップデータとPLCデータとの不一
致状況を、表示画面に表示すれば、作業者が異常を容易
に把握でき、状況により、手作業による修復、部品交換
等を行なうのにも役立つ。Further, if the mismatch status between the PLC backup data and the PLC data due to the comparison and collation by the comparison operation controller is displayed on the display screen, the operator can easily grasp the abnormality, and depending on the situation, manually repair the parts, It is also useful for exchanging.
【0039】上記プログラマブルコントローラのメモリ
に記録されている、PLCの運転中に値が変化しないユ
ーザプログラム等の中、バックアップ対象とするPLC
データを、任意に設定して吸い上げ、上記プログラマブ
ルコントローラバックアップ用メモリに格納するように
すれば、例えば、生産工程の変更等のためにPLCのユ
ーザプログラムが変更された場合に、これに対応して、
吸い上げるべきPLCデータを必要最低限の範囲に設定
することにより、チェック時間を最小にしながら充分な
比較照合ができ、生産工程の変更等に柔軟に対応でき
る。In a user program or the like whose value does not change during operation of the PLC, which is recorded in the memory of the programmable controller, the PLC to be backed up
If data is arbitrarily set, downloaded, and stored in the programmable controller backup memory, for example, when a user program of the PLC is changed due to a change in the production process, etc. ,
By setting the PLC data to be downloaded to the minimum required range, sufficient comparison and collation can be performed while minimizing the check time, and it is possible to flexibly cope with a change in the production process.
【0040】更に、PLCバックアップデータとPLC
データとが不一致となったとき、プログラマブルコント
ローラのメモリの修復箇所、不一致データ、比較照合日
時を、ログデータとしてメモリに書き込んで保存すれ
ば、PLCデータの破壊発生頻度、発生時間帯等、破壊
発生状況の把握に有効で、システム環境の影響がどのよ
うにPLCデータの破壊をもたらしたか等の調査も容易
になる。Further, the PLC backup data and the PLC
If the data does not match, write the repaired portion of the programmable controller memory, the mismatched data, and the comparison / collation date and time to the memory as log data, and save the data. This is effective for grasping the situation, and makes it easy to investigate how the influence of the system environment has caused the destruction of the PLC data.
【図1】この発明の一実施の形態を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】図1における比較演算コントローラの機能ブロ
ック図。FIG. 2 is a functional block diagram of a comparison operation controller in FIG. 1;
【図3】図1における表示装置がPLCのメモリをチェ
ックする過程を説明するフローチャート。FIG. 3 is a flowchart illustrating a process in which a display device in FIG. 1 checks a memory of a PLC.
【図4】図1における表示装置がPLCのメモリをチェ
ックするときの表示画面例を示す説明図。FIG. 4 is an explanatory diagram showing an example of a display screen when the display device in FIG. 1 checks a memory of a PLC.
1 表示装置 2 PLC 8 表示画面 9 比較演算コントローラ 12 PLCバックアップ用システムプログラム領域 14 ログデータ領域 15 PLCバックアップ用メモリ領域 16 拡張用PLCバックアップ用メモリ 22 ユーザプログラム領域 23 データメモリ領域 24 I/Oステータス領域 Reference Signs List 1 display device 2 PLC 8 display screen 9 comparison operation controller 12 PLC backup system program area 14 log data area 15 PLC backup memory area 16 expansion PLC backup memory 22 user program area 23 data memory area 24 I / O status area
Claims (5)
記録された、PLCデータと同一のPLCバックアップ
データを格納するプログラマブルコントローラバックア
ップ用メモリと、 上記PLCバックアップデータとPLCデータとを比較
照合し、PLCバックアップデータとPLCデータとが
不一致となったとき、不一致となった部分のPLCバッ
クアップデータを、プログラマブルコントローラに転送
して上記PLCデータの不一致となった部分を書き換え
て修復する比較演算コントローラとを具備することを特
徴とするプログラマブルコントローラ用表示装置。1. A programmable controller backup memory, which stores the same PLC backup data as the PLC data recorded in a memory of the programmable controller, compares the PLC backup data with the PLC data, and compares the PLC backup data with the PLC data. A comparison operation controller for transferring the PLC backup data of the mismatched portion to the programmable controller when the data does not match, and rewriting and restoring the mismatched portion of the PLC data. Display device for a programmable controller.
作が、電源ON時あるいは一定の時間間隔毎等、任意の
タイミングで始まるように、比較照合動作開始時間を設
定できることを特徴とする請求項1に記載のプログラマ
ブルコントローラ用表示装置。2. The comparison / comparison operation start time can be set so that the comparison / comparison operation of the comparison operation controller starts at an arbitrary timing, such as when the power is turned on or at regular time intervals. The display device for a programmable controller according to the above.
よるPLCバックアップデータとPLCデータとの不一
致状況を、表示画面に表示することを特徴とする請求項
1に記載のプログラマブルコントローラ用表示装置。3. The display device for a programmable controller according to claim 1, wherein a state of mismatch between the PLC backup data and the PLC data due to the comparison and collation of the comparison operation controller is displayed on a display screen.
リに記録された、PLCデータを、任意に設定して吸い
上げ、上記プログラマブルコントローラバックアップ用
メモリに格納することを特徴とする請求項1に記載のプ
ログラマブルコントローラ用表示装置。4. The programmable controller display according to claim 1, wherein the PLC data recorded in the memory of the programmable controller is arbitrarily set, downloaded, and stored in the programmable controller backup memory. apparatus.
結果、PLCバックアップデータとPLCデータとが不
一致となったとき、プログラマブルコントローラのメモ
リの修復箇所、不一致データ、比較照合日時を、ログデ
ータとしてメモリに書き込むことを特徴とする請求項1
に記載のプログラマブルコントローラ用表示装置。5. When the PLC backup data and the PLC data do not match as a result of the comparison and collation by the comparison operation controller, the repaired portion of the programmable controller memory, the mismatch data, and the comparison and collation date and time are stored in the memory as log data. 2. The writing method according to claim 1, wherein
3. The display device for a programmable controller according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9310459A JPH11143784A (en) | 1997-11-12 | 1997-11-12 | Display for programmable controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9310459A JPH11143784A (en) | 1997-11-12 | 1997-11-12 | Display for programmable controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11143784A true JPH11143784A (en) | 1999-05-28 |
Family
ID=18005514
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9310459A Withdrawn JPH11143784A (en) | 1997-11-12 | 1997-11-12 | Display for programmable controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11143784A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100340983C (en) * | 2005-07-18 | 2007-10-03 | 杭州华三通信技术有限公司 | Method and device for on-line upgrading of programmable logic device |
| DE10360957B4 (en) * | 2002-12-27 | 2007-10-11 | Omron Corp. | Programmable control unit and method for automatic memory recovery |
| JP2010250731A (en) * | 2009-04-20 | 2010-11-04 | Mitsubishi Electric Corp | Positioning control system and positioning control device |
| CN102737102A (en) * | 2011-04-01 | 2012-10-17 | Ls产电株式会社 | Plc data log module and method for storing data in the same |
| EP2871546A3 (en) * | 2013-10-17 | 2015-08-26 | MB connect line GmbH Fernwartungssysteme | Backup system for PLC systems |
-
1997
- 1997-11-12 JP JP9310459A patent/JPH11143784A/en not_active Withdrawn
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE10360957B4 (en) * | 2002-12-27 | 2007-10-11 | Omron Corp. | Programmable control unit and method for automatic memory recovery |
| CN100340983C (en) * | 2005-07-18 | 2007-10-03 | 杭州华三通信技术有限公司 | Method and device for on-line upgrading of programmable logic device |
| JP2010250731A (en) * | 2009-04-20 | 2010-11-04 | Mitsubishi Electric Corp | Positioning control system and positioning control device |
| CN102737102A (en) * | 2011-04-01 | 2012-10-17 | Ls产电株式会社 | Plc data log module and method for storing data in the same |
| KR101279710B1 (en) * | 2011-04-01 | 2013-06-27 | 엘에스산전 주식회사 | Plc data log module and method for storing data in the same |
| US9037780B2 (en) | 2011-04-01 | 2015-05-19 | Lsis Co., Ltd. | PLC data log module with external storage for storing PLC log data and method for storing PLC log data in the same |
| CN102737102B (en) * | 2011-04-01 | 2016-08-03 | Ls产电株式会社 | Plc data log pattern and the method storing data wherein |
| EP2871546A3 (en) * | 2013-10-17 | 2015-08-26 | MB connect line GmbH Fernwartungssysteme | Backup system for PLC systems |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7050859B1 (en) | Systems and methods to port controller state and context in an open operating system | |
| JP4345860B2 (en) | Vehicle memory management device | |
| DE19929796B4 (en) | Apparatus and method for rewriting data from a volatile memory to a nonvolatile memory | |
| US7243260B2 (en) | Programmable controller unit and method of automatically restoring memory | |
| JPH11514124A (en) | How to load an operating system | |
| JPH11143784A (en) | Display for programmable controller | |
| JPH09330106A (en) | Control system with backup function | |
| WO2007088605A1 (en) | Component information restoring method, component information managing method and electronic apparatus | |
| JP3296043B2 (en) | Vehicle electronic control unit | |
| JP2598384Y2 (en) | Data processing device | |
| EP3540533B1 (en) | Controller and data storage method | |
| JP3357777B2 (en) | Program control system | |
| JPH0620127A (en) | Construction machinery control system | |
| JPH10228395A (en) | Abnormal diagnosis device for control controller | |
| JPH0728707A (en) | Nonvolatile memory data protection method | |
| JP2001075842A (en) | Method for analyzing abnormality cause | |
| JPS62284440A (en) | Software resource maintenance system for terminal equipment | |
| JP3231864B2 (en) | Task degeneration management device | |
| JPS5991508A (en) | Copier error detection method | |
| JPH05324366A (en) | Automatic stop restoring system | |
| JPS59178552A (en) | Self diagnosis controlling system | |
| JPH08220198A (en) | Battery backup memory unit and backup function testing method | |
| JPH0256037A (en) | Database page corruption detection method | |
| CN118427011A (en) | Data maintenance method, electronic device and computer readable medium | |
| JPH04125753A (en) | On-lined diagnostic system for memory |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050201 |