JP4484074B2 - プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 - Google Patents
プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 Download PDFInfo
- Publication number
- JP4484074B2 JP4484074B2 JP2005311614A JP2005311614A JP4484074B2 JP 4484074 B2 JP4484074 B2 JP 4484074B2 JP 2005311614 A JP2005311614 A JP 2005311614A JP 2005311614 A JP2005311614 A JP 2005311614A JP 4484074 B2 JP4484074 B2 JP 4484074B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- user program
- abnormality
- data
- 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.)
- Expired - Lifetime
Links
- 230000015654 memory Effects 0.000 title claims description 339
- 238000000034 method Methods 0.000 title claims description 62
- 238000011084 recovery Methods 0.000 title claims description 43
- 230000005856 abnormality Effects 0.000 claims description 100
- 238000012545 processing Methods 0.000 claims description 45
- 230000008569 process Effects 0.000 claims description 37
- 238000001514 detection method Methods 0.000 claims description 34
- 230000006870 function Effects 0.000 claims description 32
- 125000004122 cyclic group Chemical group 0.000 claims description 18
- 230000008439 repair process Effects 0.000 claims description 17
- 230000002159 abnormal effect Effects 0.000 claims description 16
- 230000002093 peripheral effect Effects 0.000 claims description 6
- 230000006378 damage Effects 0.000 description 13
- GDTBXPJZTBHREO-UHFFFAOYSA-N bromine Chemical compound BrBr GDTBXPJZTBHREO-UHFFFAOYSA-N 0.000 description 6
- 238000004891 communication Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 101000661807 Homo sapiens Suppressor of tumorigenicity 14 protein Proteins 0.000 description 2
- JJWKPURADFRFRB-UHFFFAOYSA-N carbonyl sulfide Chemical compound O=C=S JJWKPURADFRFRB-UHFFFAOYSA-N 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 101000760620 Homo sapiens Cell adhesion molecule 1 Proteins 0.000 description 1
- 101000911772 Homo sapiens Hsc70-interacting protein Proteins 0.000 description 1
- 101001139126 Homo sapiens Krueppel-like factor 6 Proteins 0.000 description 1
- 101000710013 Homo sapiens Reversion-inducing cysteine-rich protein with Kazal motifs Proteins 0.000 description 1
- 101000661816 Homo sapiens Suppression of tumorigenicity 18 protein Proteins 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000005672 electromagnetic field Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Programmable Controllers (AREA)
- Testing And Monitoring For Control Systems (AREA)
Description
前記演算処理時に読み出されるユーザプログラムが格納されるユーザプログラムメモリと、
前記ユーザプログラムメモリに格納されたユーザプログラムと同一内容のデータが格納されたバックアップメモリと、
サイクリック実行中に前記ユーザプログラムメモリに格納されたユーザプログラムのメモリ異常を検出するメモリ異常検出機能と、
前記メモリ異常検出機能がメモリ異常を検出した際に、検出したメモリ異常箇所のデータを前記バックアップメモリの該当箇所のデータで修復する修復機能とを備え、
データ修復後もサイクリック実行を継続するようにしたものであり、
前記サイクリックによる演算処理は、ASICが前記ユーザプログラムメモリに格納されたユーザプログラムを構成するオブジェクトコードを順次読み出して実行するものであり、
かつ、前記メモリ異常検出機能は、
1サイクル毎で複数ブロックに分割された前記バックアップメモリと前記ユーザプログラムメモリの内容をブロック単位で比較し、比較した結果が不一致の場合はメモリ異常と判定する第1の検出機能と、前記演算処理の実行時に前記ASICが読み出した前記オブジェクトコードが予め定められたオブジェクトコードと異なる場合にメモリ異常と判定する第2の検出機能とからなり、
前記修復機能は、
前記第1の検出機能によりメモリ異常を検出した場合は、前記バックアップメモリの該当箇所のデータで修復するものであり、
前記第2の検出機能によりメモリ異常を検出した場合は、メモリ異常と判定した際に、前記ASICが異常を検知したオブジェクトコードが格納されたアドレス情報に基づいて、前記バックアップメモリと前記ユーザプログラムメモリの内容を比較して不一致箇所を検出することにより、メモリ異常を発生している箇所を特定し、前記バックアップメモリの該当箇所のデータで修復するようにした。
11 システムメモリ
12 MPU
13 ワークメモリ(WRAM)
14 ユーザメモリ(RAM)
15 バックアップメモリ(BROM)
16 IOメモリ
17 ASIC
18 I/Oバス
Claims (2)
- 共通処理,演算処理,I/Oリフレッシュ処理および周辺サービス処理をサイクリックに実行するプログラマブルコントローラ用ユニットであって、
前記演算処理時に読み出されるユーザプログラムが格納されるユーザプログラムメモリと、
前記ユーザプログラムメモリに格納されたユーザプログラムと同一内容のデータが格納されたバックアップメモリと、
サイクリック実行中に前記ユーザプログラムメモリに格納されたユーザプログラムのメモリ異常を検出するメモリ異常検出機能と、
前記メモリ異常検出機能がメモリ異常を検出した際に、検出したメモリ異常箇所のデータを前記バックアップメモリの該当箇所のデータで修復する修復機能とを備え、
データ修復後もサイクリック実行を継続するようにしたものであり、
前記サイクリックによる演算処理は、ASICが前記ユーザプログラムメモリに格納されたユーザプログラムを構成するオブジェクトコードを順次読み出して実行するものであり、
かつ、前記メモリ異常検出機能は、
1サイクル毎で複数ブロックに分割された前記バックアップメモリと前記ユーザプログラムメモリの内容をブロック単位で比較し、比較した結果が不一致の場合はメモリ異常と判定する第1の検出機能と、前記演算処理の実行時に前記ASICが読み出した前記オブジェクトコードが予め定められたオブジェクトコードと異なる場合にメモリ異常と判定する第2の検出機能とからなり、
前記修復機能は、
前記第1の検出機能によりメモリ異常を検出した場合は、前記バックアップメモリの該当箇所のデータで修復するものであり、
前記第2の検出機能によりメモリ異常を検出した場合は、メモリ異常と判定した際に、前記ASICが異常を検知したオブジェクトコードが格納されたアドレス情報に基づいて、前記バックアップメモリと前記ユーザプログラムメモリの内容を比較して不一致箇所を検出することにより、メモリ異常を発生している箇所を特定し、前記バックアップメモリの該当箇所のデータで修復するものである、
ことを特徴とするプログラマブルコントローラ用ユニット。 - 共通処理,演算処理,I/Oリフレッシュ処理および周辺サービス処理をサイクリックに実行するプログラマブルコントローラ用ユニットにおけるメモリ自動復旧方法であって、
前記プログラマブルコントローラ用ユニットには、前記演算処理時に読み出されるユーザプログラムが格納されるユーザプログラムメモリと、前記ユーザプログラムメモリに格納されたユーザプログラムと同一内容のデータが格納されたバックアップメモリとを備え、
サイクリック実行中に前記ユーザプログラムメモリに格納されたユーザプログラムのメモリ異常を検出するメモリ異常検出処理を行い、
前記異常検出処理を実行した結果、メモリ異常を検出した場合には、検出したメモリ異常箇所の不正データに対応するデータを前記バックアップメモリから読み出すとともに、前記ユーザプログラムメモリに書き込むことにより不正データを修復する修復処理を行い、
不正データ修復後もサイクリック実行を継続するものであり、
前記サイクリックによる演算処理は、ASICが前記ユーザプログラムメモリに格納されたユーザプログラムを構成するオブジェクトコードを順次読み出して実行し、
かつ、前記メモリ異常検出処理は、
1サイクル毎で複数ブロックに分割された前記バックアップメモリと前記ユーザプログラムメモリの内容を比較し、比較した結果が不一致の場合は、メモリ異常と判定する第1検出処理と、前記演算処理の実行時に前記ASICが読み出した前記オブジェクトコードが予め定められたオブジェクトコードと異なる場合にメモリ異常と判定する第2の検出処理を有し、
前記修復処理は、
前記第1の検出処理によりメモリ異常を検出した場合は、前記バックアップメモリの該当箇所のデータで修復し、
前記第2の検出処理によりメモリ異常を検出した場合は、メモリ異常と判定した際に、前記ASICが異常を検知したオブジェクトコードが格納されたアドレス情報に基づいて、前記バックアップメモリと前記ユーザプログラムメモリの内容を比較して不一致箇所を検出することにより、メモリ異常を発生している箇所を特定し、前記バックアップメモリの該当箇所のデータで修復するものであることを特徴とするメモリ自動復旧方法。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005311614A JP4484074B2 (ja) | 2002-12-27 | 2005-10-26 | プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002382444 | 2002-12-27 | ||
JP2005311614A JP4484074B2 (ja) | 2002-12-27 | 2005-10-26 | プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003421589A Division JP3961478B2 (ja) | 2002-12-27 | 2003-12-18 | プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006059382A JP2006059382A (ja) | 2006-03-02 |
JP4484074B2 true JP4484074B2 (ja) | 2010-06-16 |
Family
ID=36106743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005311614A Expired - Lifetime JP4484074B2 (ja) | 2002-12-27 | 2005-10-26 | プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4484074B2 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013134508A (ja) * | 2011-12-23 | 2013-07-08 | Toshiba Corp | プログラマブル制御装置、方法、及びプログラム |
CN103970119B (zh) * | 2013-02-06 | 2016-12-28 | 施耐德电器工业公司 | 可编程逻辑控制器的错误处理方法 |
US10809687B2 (en) | 2014-09-30 | 2020-10-20 | Emerson Process Management Lllp. | Field device with self-recovery |
JP7447755B2 (ja) | 2020-09-30 | 2024-03-12 | 株式会社明電舎 | メモリエラー検出・訂正システム、メモリエラー検出・訂正方法 |
-
2005
- 2005-10-26 JP JP2005311614A patent/JP4484074B2/ja not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2006059382A (ja) | 2006-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3961478B2 (ja) | プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 | |
US8280579B2 (en) | Memory management apparatus | |
EP0173515B1 (en) | Error recovery system in a data processor having a control storage | |
US6715106B1 (en) | Bios corruption detection system and method | |
JP4484074B2 (ja) | プログラマブルコントローラ用ユニット及びメモリ自動復旧方法 | |
JP2000221238A (ja) | 回路基板自己試験のための試験システム | |
CN107657153B (zh) | 一种芯片内flash区的代码保护方法及装置 | |
JP2005208958A (ja) | マイコンにおけるプログラムエリアのデータ保全方法 | |
JP4708088B2 (ja) | 障害復旧方法およびマイクロコンピュータ | |
JP2009223714A (ja) | 演算回路及び演算回路の異常解析方法 | |
JP4135413B2 (ja) | メモリチェックシステムおよびメモリチェック方法、信号処理装置および信号処理装置のメモリチェック方法、ならびに、メモリチェックプログラム | |
JP2007304972A (ja) | マイクロプロセッサシステム | |
US20100083073A1 (en) | Data processing apparatus, memory controlling circuit, and memory controlling method | |
JP6907976B2 (ja) | コントローラ及びデータ保存方法 | |
CN110297455B (zh) | 可编程逻辑控制器及其自检和恢复方法 | |
CN116185461B (zh) | 固件升级方法及系统 | |
TW201604781A (zh) | 寫入基本輸入輸出系統程式碼的電路與寫入方法 | |
JP2001014027A (ja) | プロセス制御コントローラの故障解析支援システム | |
JPH1055316A (ja) | 制御装置 | |
CN100388230C (zh) | 相机程序的检测与更新方法 | |
JP4562695B2 (ja) | ディジタル保護制御装置 | |
EP0655686B1 (en) | Retry control method and device for control processor | |
JP2002251385A (ja) | マイクロコンピュータ | |
JP2000194605A (ja) | フラッシュメモリのリフレッシュ装置、そのリフレッシュ方法及びフラッシュメモリ | |
JPH03211619A (ja) | データ処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061215 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090820 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091013 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100303 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4484074 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100316 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130402 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130402 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140402 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
EXPY | Cancellation because of completion of term |