JP3211285B2 - Production equipment - Google Patents

Production equipment

Info

Publication number
JP3211285B2
JP3211285B2 JP28262091A JP28262091A JP3211285B2 JP 3211285 B2 JP3211285 B2 JP 3211285B2 JP 28262091 A JP28262091 A JP 28262091A JP 28262091 A JP28262091 A JP 28262091A JP 3211285 B2 JP3211285 B2 JP 3211285B2
Authority
JP
Japan
Prior art keywords
data
volatile memory
control data
control
machine
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 - Fee Related
Application number
JP28262091A
Other languages
Japanese (ja)
Other versions
JPH05119802A (en
Inventor
浩一 矢吹
恵二 花田
誠 河井
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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP28262091A priority Critical patent/JP3211285B2/en
Publication of JPH05119802A publication Critical patent/JPH05119802A/en
Application granted granted Critical
Publication of JP3211285B2 publication Critical patent/JP3211285B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Control By Computers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、生産設備における所定
の処理をするために必要な各種データを不揮発性メモ
リ、例えばEEPROMと揮発性メモリ、例えばSRA
Mに分割して備えておく設備に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a nonvolatile memory, for example, an EEPROM and a volatile memory, for example, an SRA.
The present invention relates to equipment that is divided into M and provided.

【0002】[0002]

【従来の技術】設備において、所定の処理をするために
必要な各種データを揮発性のメモリであるRAM上に記
憶させておくことが一般的である。RAMは、バックア
ップ電源を用いることでデータの記憶保持が行え、ま
た、適時データの変更が可能である等の利点を持ってい
る。
2. Description of the Related Art In equipment, it is general that various kinds of data necessary for performing predetermined processing are stored in a RAM, which is a volatile memory. The RAM has an advantage that data can be stored and held by using a backup power supply, and that data can be changed in a timely manner.

【0003】[0003]

【発明が解決しようとする課題】ところが、上記RAM
を用いて記憶保持する方法では、外部要因によってバッ
クアップ電源が断たれると、各種データが消失、あるい
は不確定なデータとなる。その結果、設備の機械可動部
の異常動作等を招くという問題点がある。
However, the above RAM
When the backup power is cut off due to an external factor, various data are lost or become uncertain data. As a result, there is a problem that an abnormal operation of the mechanical movable part of the equipment is caused.

【0004】本発明は上記問題点を解決するためになさ
れたものであって、RAM上のデータ異常を不揮発性メ
モリ上のデータを基に発見し、RAM上のデータを正し
く書き直し、設備が正常動作することを保障できるよう
にすることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem. The present invention finds an abnormality in data in a RAM based on data in a non-volatile memory, rewrites data in the RAM correctly, and corrects equipment. The purpose is to be able to guarantee operation.

【0005】[0005]

【課題を解決するための手段】本発明の生産設備は、
動で対象物を加工、組立て、または検査する生産設備の
機械可動部と、前記機械可動部を動作させる時の移動量
を含む制御データを保持する揮発性メモリと、制御プロ
グラムに従い前記揮発性メモリに保持されている制御デ
ータに基づいて前記生産設備の機械可動部の動作を制御
する機械制御部と、前記機械可動部の可動限界点を示す
設備データを保持する不揮発性メモリと、前記揮発性メ
モリに保持されている制御データの異常を前記不揮発性
メモリに保持されている設備データを基に発見し、前記
制御データを正常なデータに書換える検出処理手段と、
を備えたものである。
According to the present invention, there is provided a production facility for automatically processing, assembling, or inspecting an object, a machine movable portion of the production facility, and a moving amount for operating the machine movable portion.
Retaining control data including a volatile memory, and the machine control unit for controlling the operation of the machine moving part of the production equipment based on the control data held in the volatile memory in accordance with the control program, said machine movable part A non-volatile memory that holds equipment data indicating a movable limit point of the non-volatile memory ;
Discovered based on equipment data held in memory,
Detection processing means for rewriting control data to normal data;
It is provided with.

【0006】[0006]

【作用】本発明によれば、揮発性メモリに保持した生産
設備の機械可動部を動作させるための移動量を含む制御
データにおいて、生産設備の動作中における電磁波、ノ
イズ等の影響により破損、データ化け等の異常が発生し
ても、その異常を不揮発性メモリに保持されている設備
データを基に発見し、制御データを正常なデータに書換
えることができ、生産設備の機械可動部が可動限界点を
越えて暴走して機械可動部その他が破損するトラブルを
防止することができる
According to the present invention, production held in a volatile memory
Control including the amount of movement for operating the mechanical moving parts of the equipment
The data show that electromagnetic waves during production equipment operation,
Damage, data corruption, etc.
Even if the abnormality is held in non-volatile memory
Discover based on data and rewrite control data to normal data
The movable parts of the production equipment
Trouble running over and causing damage to the moving parts and other parts of the machine
Can be prevented .

【0007】[0007]

【実施例】以下、本発明の一実施例を図面に基づき詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0008】図1は本発明の不揮発性メモリを用いた制
御方式の一実施例を示すブロック図であり、1は機械制
御部、2は機械可動部、3は不揮発性メモリで構成され
る記憶手段、4は揮発性メモリで構成される記憶手段、
5は異常検出手段、6は転送手段である。図2は機械可
動部2と機械可動部2が持つ可動限界点7,8を示す設
備データの例であり、図3は記憶手段(不揮発性メモ
リ)3内部のテーブル構造の一例であり、図4は記憶手
段(揮発性メモリ)4内部のテーブル構造の一例であ
る。
FIG. 1 is a block diagram showing an embodiment of a control system using a nonvolatile memory according to the present invention, wherein 1 is a machine control section, 2 is a machine movable section, and 3 is a storage constituted by a nonvolatile memory. Means 4, storage means comprising a volatile memory,
5 is an abnormality detecting means, and 6 is a transfer means. FIG. 2 is an example of equipment data showing the mechanical movable part 2 and the movable limit points 7 and 8 of the mechanical movable part 2, and FIG. 4 is an example of a table structure inside the storage means (volatile memory) 4.

【0009】図1において、機械制御部1はマイクロプ
ロセッサからなり、図示しないメモリに書き込まれてい
る制御プログラムに従い記憶手段(揮発性メモリ)4に
保持されている制御データに基づき機械可動部2を制御
する。また、記憶手段(揮発性メモリ)4に保持されて
いる制御データの異常を記憶手段(不揮発性メモリ)3
のデータを基に発見し、記憶手段(揮発性メモリ)4の
データを正しく書き直す異常検出処理手段が設けられて
いる。
In FIG. 1, a machine control unit 1 comprises a microprocessor, and controls a machine movable unit 2 based on control data stored in a storage unit (volatile memory) 4 in accordance with a control program written in a memory (not shown). Control. Further, the abnormality of the control data held in the storage means (volatile memory) 4 is stored in the storage means (non-volatile memory) 3.
Abnormality detection processing means for finding based on this data and rewriting the data in the storage means (volatile memory) 4 correctly.

【0010】記憶手段(不揮発性メモリ)3は、例えば
EEPROMから構成され、図2に示す機械可動部2が
持つ可動限界点7,8を示す設備データを図3に例とし
て示すテーブル構造で保持している。また、記憶手段
(揮発性メモリ)4は、例えばSRAMから構成され、
図4に例として示すテーブル構造で制御データを保持し
ている。
The storage means (non-volatile memory) 3 is composed of, for example, an EEPROM, and holds equipment data indicating the movable limit points 7 and 8 of the mechanical movable section 2 shown in FIG. 2 in a table structure shown as an example in FIG. are doing. The storage means (volatile memory) 4 is composed of, for example, an SRAM,
The control data is held in a table structure shown as an example in FIG.

【0011】次に、図5に示すフローチャートに基づい
てデータ異常検出処理工程を説明する。工程100にお
いて記憶手段(不揮発性メモリ)3に保持されている設
備データを読出し、工程110で記憶手段(揮発性メモ
リ)4に保持されている制御データを読出し、工程12
0で制御データが可動限界点7,8の範囲内にあるか、
設備データを基に調べ異常を判断する。正常であれば、
工程130にて記憶手段(揮発性メモリ)4に保持され
ている次の制御データを読出し、記憶手段(不揮発性メ
モリ)3に保持されている設備データを基に異常を判断
する。この異常検出を記憶手段(揮発性メモリ)4に保
持されている全ての制御データについて実施する。制御
データの異常が検出された場合、工程160で記憶手段
(揮発性メモリ)4に保持されている全ての制御データ
を正しく書き直す。制御データの書き直しは、外部記憶
装置(FD)などにセーブした同一の制御データを基に
行う。または、データの異常をオペレータに警告し、制
御データの再入力をさせ、制御データを正しく書き直
す。異常検出処理工程は、一定時間毎、または、生産品
種選択時に実施する。
Next, the data abnormality detecting process will be described with reference to the flowchart shown in FIG. In step 100, the facility data stored in the storage means (non-volatile memory) 3 is read, and in step 110, the control data stored in the storage means (volatile memory) 4 is read, and in step 12
0 indicates whether the control data is within the range of the movable limit points 7 and 8,
Investigate and determine abnormalities based on equipment data. If normal,
In step 130, the next control data stored in the storage means (volatile memory) 4 is read, and an abnormality is determined based on the equipment data stored in the storage means (non-volatile memory) 3. This abnormality detection is performed for all control data stored in the storage means (volatile memory) 4. If an abnormality in the control data is detected, all the control data stored in the storage means (volatile memory) 4 is correctly rewritten in step 160. Rewriting of control data is performed based on the same control data saved in an external storage device (FD) or the like. Alternatively, the operator is warned of an abnormality in the data, the control data is re-input, and the control data is rewritten correctly. The abnormality detection process is performed at regular intervals or when a product type is selected.

【0012】[0012]

【発明の効果】以上のように本発明よれば、従来、揮
発性メモリはバックアップ電源を用いることでデータの
記憶保持が行え、かつ、適時データの変更が可能という
利点を持つが、外部要因によってバックアップ電源が断
たれると各種データが消失、あるいは不確定なデータと
なり、設備の異常動作を招く問題点を持つことに対し、
揮発性メモリに保持されているデータの異常を不揮発性
メモリに保持されているデータを基に発見し、揮発性メ
モリ上のデータを正しく書き直し、設備が正常動作する
ことを保障することができる。
As described above , according to the present invention, the volatile memory has the advantage that the data can be stored and held by using the backup power supply and the data can be changed in a timely manner. If the backup power is cut off, various data will be lost or become indefinite data, causing a problem that causes abnormal operation of the equipment,
An abnormality in the data held in the volatile memory can be found based on the data held in the nonvolatile memory, and the data in the volatile memory can be correctly rewritten to ensure that the equipment operates normally.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例を示すブロック図FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】機械可動部とその可動限界点を示す図FIG. 2 is a view showing a mechanical movable portion and its movable limit point.

【図3】不揮発性メモリから構成される記憶手段内部の
テーブル構造例を示す図
FIG. 3 is a diagram showing an example of a table structure inside a storage unit composed of a nonvolatile memory;

【図4】揮発性メモリから構成される記憶手段内部のテ
ーブル構造例を示す図
FIG. 4 is a diagram showing an example of a table structure inside a storage unit composed of a volatile memory;

【図5】揮発性メモリ上のデータ異常検出処理工程を示
すフローチャート
FIG. 5 is a flowchart showing a data abnormality detection process on a volatile memory.

【符号の説明】[Explanation of symbols]

1 機械制御部 2 機械可動部 3 記憶手段(不揮発性メモリ) 4 記憶手段(揮発性メモリ) 5 異常検出処理手段 6 転送手段 DESCRIPTION OF SYMBOLS 1 Machine control part 2 Machine movable part 3 Storage means (nonvolatile memory) 4 Storage means (volatile memory) 5 Abnormality detection processing means 6 Transfer means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−26492(JP,A) 特開 昭63−167947(JP,A) 特開 平2−96201(JP,A) (58)調査した分野(Int.Cl.7,DB名) G05B 9/02 G05B 15/02 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-3-26492 (JP, A) JP-A-63-167947 (JP, A) JP-A-2-96201 (JP, A) (58) Field (Int.Cl. 7 , DB name) G05B 9/02 G05B 15/02

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 自動で対象物を加工、組立て、または検
査する生産設備の機械可動部と、前記機械可動部を動作させる時の移動量を含む制御デー
タを保持する揮発性メモリと、 制御プログラムに従い前記揮発性メモリに保持されてい
る制御データに基づいて前記生産設備の機械可動部の動
作を制御する機械制御部と、 前記機械可動部の可動限界点を示す設備データを保持す
不揮発性メモリと、 前記揮発性メモリに保持されている制御データの異常を
前記不揮発性メモリに保持されている設備データを基に
発見し、前記制御データを正常なデータに書換える検出
処理手段と、を備えた生産設備。
1. A control system including a machine movable part of a production facility for automatically processing, assembling, or inspecting an object, and a movement amount when operating the machine movable part.
A volatile memory for holding data, and a machine control unit for controlling the operation of the machine moving part of the production equipment based on the control data held in the volatile memory in accordance with the control program, the movable limit of the machine movable part Retain equipment data indicating points
A non-volatile memory, and an abnormality of control data held in the volatile memory.
Based on the equipment data stored in the nonvolatile memory
Detection to detect and rewrite the control data to normal data
Production equipment comprising: processing means .
【請求項2】 検出処理手段は、揮発性メモリに保持さ
れている制御データが機械可動部の可動限界点の範囲内
になければ、異常と判断し、制御データを正常なデータ
に書換える請求項1に記載の生産設備。
2. The detection processing means is stored in a volatile memory.
Control data is within the range of the movable
If not, it is judged as abnormal and the control data is
The production facility according to claim 1, wherein the production facility is rewritten .
【請求項3】 生産品種選択時に、検査処理手段による
異常検出および異常が生じた場合の制御データの書換え
を行う請求項1または請求項2に記載の生産設備。
3. When the production type is selected, the inspection processing means
Error detection and rewriting of control data when an error occurs
Production facility according to claim 1 or claim 2 performs.
【請求項4】 異常検出時にオペレータに異常を警告す
る請求項1ないし請求項3のいずれか1項に記載の生産
設備。
4. The production facility according to claim 1, wherein an alarm is issued to an operator when an abnormality is detected.
JP28262091A 1991-10-29 1991-10-29 Production equipment Expired - Fee Related JP3211285B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28262091A JP3211285B2 (en) 1991-10-29 1991-10-29 Production equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28262091A JP3211285B2 (en) 1991-10-29 1991-10-29 Production equipment

Publications (2)

Publication Number Publication Date
JPH05119802A JPH05119802A (en) 1993-05-18
JP3211285B2 true JP3211285B2 (en) 2001-09-25

Family

ID=17654895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28262091A Expired - Fee Related JP3211285B2 (en) 1991-10-29 1991-10-29 Production equipment

Country Status (1)

Country Link
JP (1) JP3211285B2 (en)

Also Published As

Publication number Publication date
JPH05119802A (en) 1993-05-18

Similar Documents

Publication Publication Date Title
US7243260B2 (en) Programmable controller unit and method of automatically restoring memory
KR830006726A (en) Numerical Control Method and Device
JPH0355147A (en) Indicating method for operating history of machine tool with nc device
JP3211285B2 (en) Production equipment
JP4950214B2 (en) Method for detecting a power outage in a data storage device and method for restoring a data storage device
EP0070184B1 (en) A method of testing memory
JPH0784894A (en) Method for writing nonvolatile memory
JPS59148954A (en) Patrolling system of control storage
EP0915403A1 (en) Numerical control unit
JPS5991508A (en) Detection for abnormality of copying machine
WO1999003041A1 (en) Memory control method
JP3314719B2 (en) Flash EEPROM and its test method
JP2009099026A (en) Garbled parameter detection method of digital system and inverter device provided with the detecting method, and controller for machine tool and robot
JPS63288305A (en) Working program storage system
JPS6346461B2 (en)
JPH0644145A (en) Memory error saving system
EP1255200A1 (en) Method of protecting data stored in a memory of welding controller
JP2635777B2 (en) Programmable controller
JPS63285656A (en) Method for detecting memory abnormality
JPH07244613A (en) Dual-memory control method
JPS60222944A (en) Memory parity error processing system
JPH0665941U (en) Program operating device
JP2001273197A (en) Flash memory rewriting method
JPH06274422A (en) Backup method for memory data
JPH0256655A (en) Detecting system for error of memory

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees