JP2020071695A - 数値制御装置 - Google Patents
数値制御装置 Download PDFInfo
- Publication number
- JP2020071695A JP2020071695A JP2018205701A JP2018205701A JP2020071695A JP 2020071695 A JP2020071695 A JP 2020071695A JP 2018205701 A JP2018205701 A JP 2018205701A JP 2018205701 A JP2018205701 A JP 2018205701A JP 2020071695 A JP2020071695 A JP 2020071695A
- Authority
- JP
- Japan
- Prior art keywords
- prefetch
- block number
- unit
- program
- blocks
- 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.)
- Granted
Links
- 230000001133 acceleration Effects 0.000 claims abstract description 14
- 238000004364 calculation method Methods 0.000 claims abstract description 12
- 238000003754 machining Methods 0.000 claims description 32
- 238000003860 storage Methods 0.000 claims description 14
- 238000004088 simulation Methods 0.000 claims description 10
- 230000005856 abnormality Effects 0.000 abstract description 11
- 238000005520 cutting process Methods 0.000 abstract description 6
- 230000001502 supplementing effect Effects 0.000 abstract description 2
- 230000000087 stabilizing effect Effects 0.000 abstract 1
- 238000012545 processing Methods 0.000 description 22
- 239000013589 supplement Substances 0.000 description 21
- 230000008859 change Effects 0.000 description 11
- 238000000034 method Methods 0.000 description 10
- 230000007423 decrease Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 230000007812 deficiency Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000036962 time dependent Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 230000001687 destabilization Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005242 forging Methods 0.000 description 1
- 238000000227 grinding Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000000265 homogenisation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005498 polishing Methods 0.000 description 1
- 230000002250 progressing effect Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000000153 supplemental effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/4155—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/414—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
- G05B19/4142—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by the use of a microprocessor
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/416—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by control of velocity, acceleration or deceleration
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/34—Director, elements to supervisory
- G05B2219/34013—Servocontroller
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35293—Execute program and check block of data, on interrupt display block
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35386—Look ahead processing of plural block data from buffer
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/42—Servomotor, servo controller kind till VSS
- G05B2219/42173—Acceleration deceleration
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/43—Speed, acceleration, deceleration control ADC
- G05B2219/43009—Acceleration deceleration for each block of data, segment
Abstract
Description
これらのことから、近年では、加工プログラムにおいてブロック数が増加している。
〔1 発明の概要〕
先読みブロック数は、先読みされるブロックの位置や、プログラム実行部によって実行されるブロックの位置が加工プログラムの終わりとなった際に、0となる。しかし通常、先読みブロック数は、0に向かって一様に減少していくわけではなく、加工経路の曲率の変化や軸構成によってブロック毎の処理時間が変化することで、先読みブロック数の減少率は変化する。
図1は、本発明の第1実施形態に係る数値制御装置100と、当該数値制御装置100によって制御される工作機械200とを含む制御システム10の構成を示す。
例えば、数値制御装置100は、各加工プログラムの識別子と、各加工プログラムで設定される「必要先読みブロック数」との対応関係を設定するテーブルを記憶し、必要先読みブロック数設定部114は、実行予定の加工プログラムに対応する「必要先読みブロック数」をこのテーブルから読み取って、設定してもよい。
「No.2」、例えば図9に示すインペラ80の2枚目の翼の加工が始まると同時に、工作機械200の動作速度を低下させながら、プログラム先読み部112によって加工プログラムの先読みがされることにより、先読みブロック数は右肩上がりで上昇する。先読みブロック数が必要先読みブロック数に達した後は、工作機械は通常の動作速度で動作するので、先読みブロック数は減少するもの、枯渇することは無い。
「No.3」、例えば図9に示すインペラ80の3枚目の翼の加工が始まると同時に、再度工作機械200の動作速度を低下させながら、プログラム先読み部112によって加工プログラムの先読みがされることにより、先読みブロック数は再度右肩上がりで上昇する。以下、この先読みブロック数の増減は、加工が終了するまで繰り返される。
「No.2」、例えば図9に示すインペラ80の2枚目の翼の加工が始まると同時に、加工プログラムの実行を停止させた状態で、プログラム先読み部112によって加工プログラムの先読みがされることにより、先読みブロック数は垂直に上昇する。先読みブロック数が必要先読みブロック数に達した後は、工作機械は通常の動作速度で動作するので、先読みブロック数は減少するもの、枯渇することは無い。
「No.3」、例えば図9に示すインペラ80の3枚目の翼の加工が始まると同時に、加工プログラムの実行を停止させた状態で、プログラム先読み部112によって加工プログラムの先読みがされることにより、先読みブロック数は垂直に上昇する。以下、この先読みブロック数の増減は、加工が終了するまで繰り返される。
以下、図7を参照することにより、本発明の第1実施形態に係る数値制御装置100の動作を説明する。
本発明の実施形態に係る数値制御装置100は、実行中の加工プログラムのブロックの番号である第1シーケンス番号と、当該実行と同時に、先読みされるブロックの番号である第2シーケンス番号との差分である先読みブロック数を算出する先読みブロック数算出部113と、加工プログラムの実行に必要な先読みブロック数である必要先読みブロック数を設定する必要先読みブロック数設定部114と、先読みブロック数と必要先読みブロック数とを比較し、先読みブロック数が必要先読みブロック数に達しない場合には、先読みブロック数が必要先読みブロック数に達するまで、加工プログラムの実行を制限する動作制限部116とを備える。
〔5.1 変形例1〕
上記の実施形態では、動作制限部116は、先読みブロック数と必要先読みブロック数とを比較することで、速度制御の異常が発生する可能性の高いブロックを検知し、当該ブロックにおいて先読みブロック数を補充するが、これには限られない。例えば、先読みブロック数の減少率が規定値を超えた時点で、先読みブロック数を補充してもよい。
また、上記の実施形態においては、加工プログラム内に予め先読みブロック補充コードが挿入されているとしたが、これには限定されない。例えば、数値制御装置100は、1回目のシミュレーションを実行した際に、先読みブロック数が規定値を下回る「枯渇ブロック」の位置を検知し、この枯渇ブロックに、自動的に先読みブロック補充コードを挿入する「補充コード追加部」を備えてもよい。(なお、本明細書では、「先読みブロック補充コード」の中でも、補充コード追加部によって挿入される「先読みブロック補充コード」を、「第3コード」とも呼称する。)
100 数値制御装置
111 プログラム実行部
112 プログラム先読み部
113 先読みブロック数算出部
114 必要先読みブロック数設定部
115 補充コード検知部
116 動作制限部
200 工作機械
Claims (8)
- 複数のブロックから構成され、軸の加減速を制御するための加工プログラムを実行することにより、前記軸を有する工作機械を制御する数値制御装置であって、
前記加工プログラムを実行するプログラム実行部と、
前記加工プログラムの実行と並列して、前記加工プログラムを先読みするプログラム先読み部と、
前記プログラム実行部によって実行中のブロックの番号である第1シーケンス番号と、当該実行と同時に、前記プログラム先読み部によって先読みされるブロックの番号である第2シーケンス番号との差分である先読みブロック数を算出する先読みブロック数算出部と、
前記加工プログラムの実行に必要な先読みブロック数である必要先読みブロック数を設定する必要先読みブロック数設定部と、
前記先読みブロック数算出部によって算出された前記先読みブロック数と前記必要先読みブロック数とを比較し、前記先読みブロック数が前記必要先読みブロック数に達しない場合には、前記先読みブロック数が前記必要先読みブロック数に達するまで、前記プログラム実行部による前記加工プログラムの実行を制限する動作制限部とを備える、数値制御装置。 - 前記プログラム先読み部によって先読みされるブロックを蓄積すると共に、蓄積されたブロックが前記プログラム実行部によって消費される記憶部を更に備え、
前記必要先読みブロック数設定部は、前記記憶部の最大容量に基づいて前記必要先読みブロック数を設定する、請求項1に記載の数値制御装置。 - 前記必要先読みブロック数を記憶する記憶部を更に備え、
前記必要先読みブロック数設定部は、前記記憶部に記憶された前記必要先読みブロック数を用いて、前記必要先読みブロック数を設定する、請求項1に記載の数値制御装置。 - 前記必要先読みブロック数設定部は、前記加工プログラム内で所定の第1コードと共に記載される変数に基づいて、前記必要先読みブロック数を設定する、請求項1に記載の数値制御装置。
- 前記加工プログラムが同一の加工に対応する第2コードの繰り返しを含み、
前記プログラム実行部によって前記第2コードが前回に実行された際に消費された先読みブロック数である消費ブロック数を記憶する記憶部を更に備え、
前記必要先読みブロック数設定部は、前記プログラム実行部によって前記コードが次回以降実行される際に、前記コードの実行前の先読みブロック数に前記消費ブロック数を加算した値を、前記必要先読みブロック数として設定する、請求項1に記載の数値制御装置。 - 前記動作制限部は、前記プログラム実行部に対して、前記加工プログラムの実行の停止を指示する、請求項1〜5のいずれか1項に記載の数値制御装置。
- 前記動作制限部は、前記加工プログラム内で指定される前記工作機械の動作速度を低下させる、請求項1〜5のいずれか1項に記載の数値制御装置。
- 前記加工プログラムのシミュレーション時に、前記先読みブロック数算出部によって算出された前記先読みブロック数が所定値を下回った時点における前記加工プログラム内のブロックを検知し、当該ブロックに所定の第3コードを挿入する補充コード追加部を更に備え、
前記動作制限部は、前記第3コードを検知すると、前記先読みブロック数と前記必要先読みブロック数とを比較する、請求項1〜7のいずれか1項に記載の数値制御装置。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018205701A JP6838029B2 (ja) | 2018-10-31 | 2018-10-31 | 数値制御装置 |
US16/660,710 US11281187B2 (en) | 2018-10-31 | 2019-10-22 | Numerical controller |
DE102019007384.3A DE102019007384A1 (de) | 2018-10-31 | 2019-10-23 | Numerische Steuerung |
CN201911035660.2A CN111123841B (zh) | 2018-10-31 | 2019-10-29 | 数值控制装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018205701A JP6838029B2 (ja) | 2018-10-31 | 2018-10-31 | 数値制御装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020071695A true JP2020071695A (ja) | 2020-05-07 |
JP6838029B2 JP6838029B2 (ja) | 2021-03-03 |
Family
ID=70326616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018205701A Active JP6838029B2 (ja) | 2018-10-31 | 2018-10-31 | 数値制御装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US11281187B2 (ja) |
JP (1) | JP6838029B2 (ja) |
CN (1) | CN111123841B (ja) |
DE (1) | DE102019007384A1 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023012939A1 (ja) * | 2021-08-04 | 2023-02-09 | ファナック株式会社 | 数値制御システム |
WO2023032164A1 (ja) * | 2021-09-03 | 2023-03-09 | ファナック株式会社 | 数値制御システム |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114296404A (zh) * | 2021-12-18 | 2022-04-08 | 成都乐创自动化技术股份有限公司 | 一种计算五轴点胶机加工轨迹速度的方法 |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61256407A (ja) * | 1985-05-09 | 1986-11-14 | Mitsubishi Electric Corp | 数値制御装置 |
JPH05143145A (ja) * | 1991-11-20 | 1993-06-11 | Makino Milling Mach Co Ltd | 数値制御における送り速度制御方法 |
JPH07191728A (ja) * | 1991-08-30 | 1995-07-28 | Makino Milling Mach Co Ltd | 数値制御における送り速度制御方法および装置 |
JPH10254517A (ja) * | 1997-03-06 | 1998-09-25 | Yaskawa Electric Corp | 数値制御装置の異常検出方法 |
JP2001034320A (ja) * | 1999-07-26 | 2001-02-09 | Mitsubishi Electric Corp | 数値制御装置 |
JP2007094936A (ja) * | 2005-09-30 | 2007-04-12 | Fanuc Ltd | 数値制御装置 |
JP2007164509A (ja) * | 2005-12-14 | 2007-06-28 | Fanuc Ltd | 数値制御装置 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3440996B2 (ja) * | 1999-09-14 | 2003-08-25 | 株式会社安川電機 | 数値制御装置 |
US7120753B2 (en) * | 2004-04-20 | 2006-10-10 | International Business Machines Corporation | System and method for dynamically adjusting read ahead values based upon memory usage |
CN100445944C (zh) * | 2004-12-21 | 2008-12-24 | 三菱电机株式会社 | 控制电路以及控制方法 |
JP2008040542A (ja) * | 2006-08-01 | 2008-02-21 | Fanuc Ltd | 数値制御装置 |
JP4271248B2 (ja) * | 2007-05-24 | 2009-06-03 | ファナック株式会社 | 先読み停止機能を有する数値制御装置 |
JP5958188B2 (ja) * | 2012-08-30 | 2016-07-27 | ブラザー工業株式会社 | 数値制御装置 |
JP5715217B2 (ja) * | 2013-10-18 | 2015-05-07 | ファナック株式会社 | プログラムの先読み機能を備えた数値制御装置 |
JP6444938B2 (ja) * | 2016-05-12 | 2018-12-26 | ファナック株式会社 | 条件指定による加工プログラム先読み開始機能を備えた数値制御装置 |
JP6407919B2 (ja) * | 2016-06-15 | 2018-10-17 | ファナック株式会社 | 数値制御装置および変数判定方法 |
JP6378284B2 (ja) * | 2016-10-21 | 2018-08-22 | ファナック株式会社 | 数値制御装置、及び数値制御装置の制御方法 |
-
2018
- 2018-10-31 JP JP2018205701A patent/JP6838029B2/ja active Active
-
2019
- 2019-10-22 US US16/660,710 patent/US11281187B2/en active Active
- 2019-10-23 DE DE102019007384.3A patent/DE102019007384A1/de active Pending
- 2019-10-29 CN CN201911035660.2A patent/CN111123841B/zh active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61256407A (ja) * | 1985-05-09 | 1986-11-14 | Mitsubishi Electric Corp | 数値制御装置 |
JPH07191728A (ja) * | 1991-08-30 | 1995-07-28 | Makino Milling Mach Co Ltd | 数値制御における送り速度制御方法および装置 |
JPH05143145A (ja) * | 1991-11-20 | 1993-06-11 | Makino Milling Mach Co Ltd | 数値制御における送り速度制御方法 |
JPH10254517A (ja) * | 1997-03-06 | 1998-09-25 | Yaskawa Electric Corp | 数値制御装置の異常検出方法 |
JP2001034320A (ja) * | 1999-07-26 | 2001-02-09 | Mitsubishi Electric Corp | 数値制御装置 |
JP2007094936A (ja) * | 2005-09-30 | 2007-04-12 | Fanuc Ltd | 数値制御装置 |
JP2007164509A (ja) * | 2005-12-14 | 2007-06-28 | Fanuc Ltd | 数値制御装置 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023012939A1 (ja) * | 2021-08-04 | 2023-02-09 | ファナック株式会社 | 数値制御システム |
WO2023032164A1 (ja) * | 2021-09-03 | 2023-03-09 | ファナック株式会社 | 数値制御システム |
Also Published As
Publication number | Publication date |
---|---|
JP6838029B2 (ja) | 2021-03-03 |
DE102019007384A1 (de) | 2020-04-30 |
US20200133240A1 (en) | 2020-04-30 |
CN111123841A (zh) | 2020-05-08 |
US11281187B2 (en) | 2022-03-22 |
CN111123841B (zh) | 2023-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101303585B (zh) | 控制装置 | |
JP6838029B2 (ja) | 数値制御装置 | |
JP5355356B2 (ja) | 部品プログラムの作成のための方法 | |
CN111123845B (zh) | 数值控制装置 | |
JP6823034B2 (ja) | 数値制御装置 | |
US20200401107A1 (en) | Numerical controller | |
JP2020071726A (ja) | 数値制御装置 | |
CN111123844B (zh) | 数值控制系统 | |
JP6885914B2 (ja) | 数値制御装置 | |
JP2006506719A (ja) | 工作機械及び工作機械を操作する方法 | |
CN110647109A (zh) | 数值控制装置 | |
WO2023012939A1 (ja) | 数値制御システム | |
WO2023032164A1 (ja) | 数値制御システム | |
WO2024003972A1 (ja) | プログラム最適化装置及び記憶媒体 | |
WO2024003990A1 (ja) | プログラム最適化装置及び記憶媒体 | |
US11112774B2 (en) | Numerical controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200323 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20200714 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20200813 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201225 |
|
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: 20210112 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210210 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6838029 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |