JPS6364108A - Numerical controller having malfunction checking function - Google Patents
Numerical controller having malfunction checking functionInfo
- Publication number
- JPS6364108A JPS6364108A JP20848786A JP20848786A JPS6364108A JP S6364108 A JPS6364108 A JP S6364108A JP 20848786 A JP20848786 A JP 20848786A JP 20848786 A JP20848786 A JP 20848786A JP S6364108 A JPS6364108 A JP S6364108A
- Authority
- JP
- Japan
- Prior art keywords
- temporary
- movement amount
- numerical control
- processing
- control device
- 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
Links
- 230000007257 malfunction Effects 0.000 title claims abstract description 15
- 238000003860 storage Methods 0.000 claims abstract description 15
- 238000009826 distribution Methods 0.000 claims description 5
- 238000004088 simulation Methods 0.000 claims description 5
- 238000003754 machining Methods 0.000 description 14
- 230000006870 function Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は誤動作チェック機能を有する数値制御装置に関
し、特に、仮移動量と実移動量の差が一定以上になった
ときにアラームとなるようにした誤動作チェック機能を
有する数値制御装置に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a numerical control device having a malfunction check function, and in particular, to a numerical control device that generates an alarm when the difference between a temporary movement amount and an actual movement amount exceeds a certain level. The present invention relates to a numerical control device having a malfunction check function.
数値制御工作機械において非常に高価なワークを加工す
るときは安価なワークを量産加工するのと異なり、数値
制御装置の誤動作を厳しくチ、y−7りする必要がある
。このため、従来は同一の数値制御装置を2台使用して
、互いにその移動量の差が一定以上になったときにアラ
ームとするようなシステムが採用されてきた。又、完全
に2台の数値制御装置を使用しないまでもその機能の一
部を二重にすることにより加工の信頼性を向上する装置
が使用されてきた。When machining very expensive workpieces using a numerically controlled machine tool, unlike mass production machining of inexpensive workpieces, it is necessary to strictly check the malfunction of the numerical control device. For this reason, a system has conventionally been adopted in which two identical numerical control devices are used and an alarm is generated when the difference in the amount of movement between the devices exceeds a certain value. Further, even if two numerical control devices are not completely used, devices have been used that improve the reliability of processing by duplicating some of their functions.
しかし、これらの2重システムではハードウェアが2倍
になり非常に高価となり、又、互いの信号を確認しなが
ら加工を行うために処理速度が遅くなるという問題点が
あった。However, these dual systems have the problem that the hardware is doubled, making them very expensive, and that the processing speed is slow because processing is performed while checking each other's signals.
本発明の目的は上記問題点を解決し、実加工の前に仮加
工を行い仮加工のデータをメモリに記憶し仮称動量と実
移動量の差が一定以上になったときにアラームとなるよ
うにした誤動作チェック機能を有する数値制御装置を提
供することにある。The purpose of the present invention is to solve the above problems, perform temporary machining before actual machining, store the data of the temporary machining in memory, and set an alarm when the difference between the nominal movement amount and the actual movement amount exceeds a certain level. An object of the present invention is to provide a numerical control device having a malfunction check function.
本発明では上記の問題点を解決するために、運転中の誤
動作を自動的にチェックする誤動作チェック機能を有す
る数値制御装置において、指令値を記憶する指令値記憶
手段と、
該指令値を読出し、実行する指令実行手段と、仮りの実
行時に一定時間毎に仮称動量を記憶する仮積動量記憶手
段と、
実加工時に実際の移動量と前記仮積動量記憶手段に記憶
された仮称動量とを比較する比較手段と、アラーム処理
手段とを有し、
仮称動量と実移動量の差が一定以上に成ったときにアラ
ーム処理手段でアラーム処理をするように構成したこと
を特徴とする誤動作チェック機能を有する数値制御装置
を、
採用した。In order to solve the above-mentioned problems, the present invention provides a numerical control device having a malfunction check function that automatically checks malfunctions during operation, and includes command value storage means for storing command values; A command execution means to be executed, a provisional movement amount storage means for storing a provisional amount of movement at fixed time intervals during temporary execution, and a comparison between the actual movement amount and the provisional amount of movement stored in the provisional amount of movement storage means during actual machining. and an alarm processing means, the malfunction check function is characterized in that the alarm processing means carries out alarm processing when the difference between the hypothetical movement amount and the actual movement amount exceeds a certain level. We adopted a numerical control device with
仮の実行時にはワークは加工しておらず、動作をf!認
し、確認された仮称動量が仮積動量記憶手段に記憶され
る。At the time of temporary execution, the workpiece was not processed, and the operation was performed using f! The confirmed tentative amount of motion is stored in the tentative amount of motion storage means.
実加工時ではこの確認された仮称動量と実移動量を常に
照合しながら加工を行い、その差が一定以上になったら
アラームとする。During actual machining, machining is performed while constantly comparing the confirmed nominal movement amount with the actual movement amount, and when the difference between them exceeds a certain level, an alarm is generated.
以下本発明の一実施例を図面に基ずいて説明する。 An embodiment of the present invention will be described below based on the drawings.
第1図に本発明の一実施例のブロック図を示す。FIG. 1 shows a block diagram of an embodiment of the present invention.
1は指令値記憶手段であり、数値制御装置の加ニブログ
ラムを記憶している。2は指令実行手段であり、加ニブ
ログラムを読出し、パルス分配する。Reference numeral 1 denotes a command value storage means, which stores the program of the numerical control device. Reference numeral 2 denotes a command execution means, which reads out the program and distributes pulses.
3は仮積動量記憶手段であり、最初に機械を移動させず
に仮想的にパルス分配を行わせて、その移動量を一定時
間毎に記憶する。この時間は10〜20ms e c程
度である。4は比較手段であり、実際の加工時に仮積v
1量記憶手段3の仮称動量と実際の実移動量を比較する
。そして、この差が一定値以内か否かチェックし、一定
値を越えたときはアラーム信号をアラーム処理手段に出
す。5はアラーム処理手段であり、加工停止、アラーム
表示等の処理を行う。Reference numeral 3 denotes a provisional accumulated motion amount storage means, which virtually performs pulse distribution without first moving the machine, and stores the amount of movement at fixed time intervals. This time is about 10 to 20 msec. 4 is a comparison means, and the provisional product v during actual machining
The tentative amount of movement stored in the first amount storage means 3 is compared with the actual amount of movement. Then, it is checked whether this difference is within a certain value, and if it exceeds the certain value, an alarm signal is sent to the alarm processing means. Reference numeral 5 denotes an alarm processing means, which performs processing such as stopping processing and displaying an alarm.
第2図に本発明を実施するためのハードウェアのブロッ
ク図を示す。図において、11はCPUであり、全体の
制御をおこなう。12はROMであり、数値制御装置の
制’+Bプログラムが記憶されている。13はRAMで
あり、揮発性のRA Mと不揮発性のRAMとからなる
。パラメータ等の電源オフ後も記憶すべきデータは不揮
発性のRAMに記憶される。14は入力装置であり、紙
テープリーダ等が使用される。15は加工用プログラム
がパンチされた紙テープである。16は表示装置であり
、CRT、液晶表示器等が使用される。17はキーボー
ドであり、各種のデータを入力すのに使用される。18
はプログラマブル・マシン・コントローラ(PMC)で
あり、データを受け、機械の制御を行う。19は機械操
作盤であり、オペレータが機械の操作を行うのに使用さ
れる。20はメモリインターフェイスであり、外部のメ
モリ装置とのインターフェイスである。21は外部メモ
リであり、フロッピィディスク、カセノトメモリ等が使
用される。22はサーボモータを制御するための制御回
路である。23はサーボアンプであり、制御回路22か
らの信号を受け、サーボモータを駆動する。24はサー
ボモータであり、その内部に速度帰還及び位置帰還用の
パルスコーダ等の機器を内蔵しており、図示されていな
い機械の可動部を駆動する。尚、図においては制御回路
22、サーボアンプ23及びサーボモータ24は1軸分
のみしか図示されていないが、通常は2〜S軸分の構成
となり、2軸分以降は省略しである。FIG. 2 shows a block diagram of hardware for implementing the present invention. In the figure, 11 is a CPU, which performs overall control. Reference numeral 12 denotes a ROM in which a control '+B program for the numerical control device is stored. 13 is a RAM, which consists of volatile RAM and nonvolatile RAM. Data that should be stored even after the power is turned off, such as parameters, is stored in nonvolatile RAM. 14 is an input device, and a paper tape reader or the like is used. 15 is a paper tape on which a processing program is punched. 16 is a display device, and a CRT, liquid crystal display, etc. are used. A keyboard 17 is used to input various data. 18
is a programmable machine controller (PMC) that receives data and controls the machine. Reference numeral 19 denotes a machine operation panel, which is used by an operator to operate the machine. 20 is a memory interface, which is an interface with an external memory device. Reference numeral 21 denotes an external memory, and a floppy disk, case note memory, etc. are used. 22 is a control circuit for controlling the servo motor. A servo amplifier 23 receives a signal from the control circuit 22 and drives the servo motor. Reference numeral 24 denotes a servo motor, which contains devices such as a pulse coder for velocity feedback and position feedback, and drives a movable part of the machine (not shown). In the figure, the control circuit 22, servo amplifier 23, and servo motor 24 are shown for only one axis, but normally they are configured for two to S axes, and the second and subsequent axes are omitted.
次にフローチャートにもとずいて本実施例の動作につい
て述べる。第3図に本実施例のフローチャート図を示す
。各ステップはSl、32等の記号で示す。Next, the operation of this embodiment will be described based on a flowchart. FIG. 3 shows a flowchart of this embodiment. Each step is designated by a symbol such as Sl, 32, etc.
祇テープにパンチされた加工テープ15はテープリーダ
14によって読込れて、加ニブログラムはRAM13に
記憶されているものとする。It is assumed that the processed tape 15 punched into the tape is read by the tape reader 14 and the processed program is stored in the RAM 13.
ステップ1(Sl)
最初は機械を動かさずに、仮に動作させ、パルス分配を
行う。即ち加工シュミレーションを行い、一定時間毎に
パルス分配を行い、これを機械の仮移動jlsMP (
t)として出力する。Step 1 (Sl) At first, the machine is not moved, but is temporarily operated to perform pulse distribution. That is, a processing simulation is performed, pulse distribution is performed at fixed time intervals, and this is used to temporarily move the machine jlsMP (
output as t).
ステップ2(32) この出力を外部メモリ21に順次記憶していく。Step 2 (32) This output is sequentially stored in the external memory 21.
尚、記憶の仕方は、実加工時に高速で読出すために、加
ニブログラムの分配ブロック毎にまとめる。Note that the data is stored in groups for each distributed block of the Kani program in order to be read out at high speed during actual processing.
ステップ3(33)
次にワークをセットして実際の加工を行う。このときに
、外部メモリ21から加ニブロック毎の仮移動量を読出
し、RAM13に記憶させる。そしてシュミレーション
のときと同一の一定時間毎に実際の機械移動量RMP
(t)を求める。Step 3 (33) Next, the workpiece is set and actual machining is performed. At this time, the temporary movement amount for each block is read from the external memory 21 and stored in the RAM 13. Then, the actual machine movement amount RMP is calculated at the same fixed time intervals as in the simulation.
Find (t).
ステップ4(S4)
この機械の実移動量RMP (t)とシュミレーション
のときの仮移動量SMP(t)との差の絶対値が一定値
以下であるかどうかを判断する。一定値以下のときは、
正常運転であり、加工を続行するため、ステップ3(S
3)へ戻る。この一定値はパラメータとしてRAM13
に記憶され、各条件に応じて変更されるようにする。一
定値以下でないときは、何等かの異常が発生したものと
してステップ5(35)へいく。Step 4 (S4) It is determined whether the absolute value of the difference between the actual movement amount RMP (t) of this machine and the temporary movement amount SMP (t) during simulation is less than or equal to a certain value. When it is below a certain value,
This is normal operation and to continue machining, step 3 (S
Return to 3). This constant value is stored in RAM13 as a parameter.
are stored and changed according to each condition. If it is not below a certain value, it is assumed that some abnormality has occurred and the process goes to step 5 (35).
ステップ5(S5)
異常が発生したものとして、パルス分配を停止し、又ア
ラームメソセージを表示装置16に表示する。Step 5 (S5) Assuming that an abnormality has occurred, pulse distribution is stopped and an alarm message is displayed on the display device 16.
以上の説明では機械を移動させずにシュミレーションで
仮移動量を求めたが、ワークをセットしないで、機械を
空運転したり、又は、工具を付けないで機械を運転する
ことにより、仮移動量をもとめることもできる。この場
合は仮移動量をもとめるのに長時間を必要とするが、確
認がより確実となる。In the above explanation, the temporary movement amount was calculated by simulation without moving the machine, but the temporary movement amount can be calculated by running the machine idly without setting a workpiece, or by operating the machine without a tool attached. You can also ask for In this case, it takes a long time to determine the temporary movement amount, but confirmation becomes more reliable.
更に、移動量以外の内部の状態の値、例えばオフセット
i、速度等も比較の対象とすることができる。Furthermore, internal state values other than the amount of movement, such as offset i, speed, etc., can also be compared.
このようにして、高価なワークをより信頼性の高い加工
状態で加工を行うことができる。In this way, expensive workpieces can be machined in more reliable machining conditions.
以上説明したように本発明では、仮移動量を一旦記憶し
、実際の加工時に仮移動量と実移動量を比較しながら加
工するように構成したから、より信頼性の高い加工を行
うことができる。As explained above, in the present invention, the provisional movement amount is temporarily stored and the processing is performed while comparing the provisional movement amount and the actual movement amount during actual machining, so that more reliable machining can be performed. can.
第1図は本発明の一実施例のブロック図、第2図は本発
明の一実施例のハードウェアの構成図、
第3図は本発明の一実施例のフローチャート図である。
1−・−・−指令値記憶手段
2−−−−−・指令実行手段
3−・・・−・仮移動量記憶手段
4・−・−・・−比較手段
5−・・−・アラーム処理手段
11・・・・・・・CPU
13・−・−RA M
21−・−・−外部メモリ
特許出願人 ファナック株式会社
代理人 弁理士 服部毅巖
第1図
第2図
第3図FIG. 1 is a block diagram of an embodiment of the invention, FIG. 2 is a hardware configuration diagram of an embodiment of the invention, and FIG. 3 is a flowchart of an embodiment of the invention. 1 --- Command value storage means 2 --- Command execution means 3 --- Temporary movement amount storage means 4 --- Comparison means 5 --- Alarm processing Means 11...CPU 13---RAM 21----External memory Patent applicant Fanuc Co., Ltd. agent Patent attorney Takeshi Hattori Figure 1 Figure 2 Figure 3
Claims (3)
ェック機能を有する数値制御装置において、指令値を記
憶する指令値記憶手段と、 該指令値を読出し、実行する指令実行手段と、仮りの実
行時に一定時間毎に仮移動量を記憶する仮移動量記憶手
段と、 実加工時に実際の移動量と前記仮移動量記憶手段に記憶
された仮移動量とを比較する比較手段と、アラーム処理
手段とを有し、 仮移動量と実移動量の差が一定以上に成ったときにアラ
ーム処理手段でアラーム処理をするように構成したこと
を特徴とする誤動作チェック機能を有する数値制御装置
。(1) In a numerical control device having a malfunction check function that automatically checks for malfunctions during operation, a command value storage means for storing command values, a command execution means for reading and executing the command values, and a temporary execution means. a temporary movement amount storage means for storing a temporary movement amount at regular intervals; a comparison means for comparing the actual movement amount with the temporary movement amount stored in the temporary movement amount storage means during actual processing; and an alarm processing means. 1. A numerical control device having a malfunction check function, characterized in that the alarm processing means performs alarm processing when the difference between the tentative movement amount and the actual movement amount exceeds a certain value.
配のみを行うシュミレーションであることを特徴とする
特許請求の範囲第1項記載の誤動作チェック機能を有す
る数値制御装置。(2) The numerical control device having a malfunction check function according to claim 1, wherein the temporary execution is a simulation in which only pulse distribution within the numerical control device is performed.
とする特許請求の範囲第1項記載の誤動作チェック機能
を有する数値制御装置。(3) A numerical control device having a malfunction check function according to claim 1, wherein the temporary execution is temporary cutting of a workpiece.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20848786A JPS6364108A (en) | 1986-09-04 | 1986-09-04 | Numerical controller having malfunction checking function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20848786A JPS6364108A (en) | 1986-09-04 | 1986-09-04 | Numerical controller having malfunction checking function |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6364108A true JPS6364108A (en) | 1988-03-22 |
Family
ID=16556977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP20848786A Pending JPS6364108A (en) | 1986-09-04 | 1986-09-04 | Numerical controller having malfunction checking function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6364108A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346457A (en) * | 2011-08-29 | 2012-02-08 | 重庆大学 | Method for calculating virtual processing time of material to be processed |
-
1986
- 1986-09-04 JP JP20848786A patent/JPS6364108A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102346457A (en) * | 2011-08-29 | 2012-02-08 | 重庆大学 | Method for calculating virtual processing time of material to be processed |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5822212A (en) | Machining load monitoring system | |
JP2742104B2 (en) | Feed rate control method for numerical controller | |
EP0027317B1 (en) | Sequence control system for numerically controlled machine tool | |
US4748554A (en) | Machine monitoring system using motion detection for synchronization | |
JPS62199338A (en) | Automatic prevention device for tool collision | |
US4714999A (en) | Numerical control method | |
EP0357778A1 (en) | Method of speed control for servomotor | |
US5298843A (en) | Method for restarting punch press machine and numerical controller | |
JP2014026430A (en) | Numerical control device having function to display differences in status at suspension and at restart of machining | |
JPS6364108A (en) | Numerical controller having malfunction checking function | |
US11156986B2 (en) | Machining program editing device | |
JPH02151909A (en) | Control device for industrial machine | |
JPH03178752A (en) | Method for monitoring and controlling tool load | |
JPS61260304A (en) | Numerical controller | |
JP2646353B2 (en) | Highly reliable numerical control method | |
JPH0751995A (en) | Machining load monitoring method | |
KR0136695B1 (en) | Combined numerical controller | |
JPS59166449A (en) | Method of controlling machine tool with many cutting tools | |
JPH04100123A (en) | Acceleration/deceleration time constant setting system for numerical controller | |
JPS61161519A (en) | Programmable controller | |
EP0418393A1 (en) | Input/output signal control system | |
JPH0885044A (en) | Working load monitoring system | |
JPH0325511A (en) | Teaching data generating system and working speed control system for numerical controller | |
KR830002110B1 (en) | Sequence control method of numerical machine tool | |
JPH02140810A (en) | Controller for industrial machine |