JP2004062613A - Instrument for measuring machining time of nc machine tool - Google Patents

Instrument for measuring machining time of nc machine tool Download PDF

Info

Publication number
JP2004062613A
JP2004062613A JP2002221401A JP2002221401A JP2004062613A JP 2004062613 A JP2004062613 A JP 2004062613A JP 2002221401 A JP2002221401 A JP 2002221401A JP 2002221401 A JP2002221401 A JP 2002221401A JP 2004062613 A JP2004062613 A JP 2004062613A
Authority
JP
Japan
Prior art keywords
code
time
measurement
program
measuring
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
Application number
JP2002221401A
Other languages
Japanese (ja)
Inventor
Takeshi Okazaki
岡崎 武史
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2002221401A priority Critical patent/JP2004062613A/en
Publication of JP2004062613A publication Critical patent/JP2004062613A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Numerical Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a machining time measuring instrument of an NC machine tool capable of accurately grasping and analyzing a machining time between optional sections in an NC program by minimizing a change in the NC program. <P>SOLUTION: This machining time measuring instrument 1 of the NC machine tool is provided with a measuring means 11 for using prescribed symbols and numerical characters described in the NC program to perform a measuring start and a measuring end and measuring the execution time and the number of executing times of each NC code, a storage means 12 for storing the NC code execution time and the number of executing times measured by the measuring means in each NC code, a displaying means 9 for displaying the NC code execution time and the number of executing times, and an external data storage device 13 for storing measurement data stored by the storing means 12 in a text format through an inputting-outputting means 10. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明はNC工作機械の加工時間計測装置に関するものである。
【0002】
【従来の技術】
図4は従来のNC工作機械の加工時間計測方式を説明するためのブロック図である。図において、1は工作機械の数値制御装置、2はCPU、3はNCプログラム解析部、4はカレンダクロック部、5はNCプログラム記憶部、6はパラメータ記憶部、7はプログラム運転時間記憶部、8は切削送り時間記憶部、9はデータ表示部(表示手段)、10はデータ入出力部(入出力手段)である。
このよううな従来の数値制御装置1において、NCプログラム記憶部5に格納されているNCプログラムを運転開始すると、カレンダクロック部4のデータをプログラム運転時間記憶部7に格納し、プログラム運転を停止するとカレンダクロック部4からのデータ格納を終了することでプログラム運転時間が計測される。また、切削送り時間は、プログラム運転中にNCプログラム解析部3で切削送り動作が解析された時に、カレンダクロック部4のデータを切削送り時間記憶部8に格納し、切削送り動作が完了したらデータ格納を終了することで計測される。
以上によりプログラム運転時間と切削送り時間の計測を行い、プログラム運転記憶部7と切削送り時間記憶部8のデータをデータ表示部9に出力して計測時間を表示している。
【0003】
【発明が解決しようとする課題】
従来技術では、NCプログラムを実行した場合にプログラム運転時間と全切削送り時間を計測することができるが、NCプログラム中の任意区間の加工時間やNCコード毎の実行時間や実行回数については計測されていない。
また、マクロプログラムなどを利用してNCコード毎に実行回数や実行時間の計測を行うことも可能であるが、NCプログラムの変更に手間がかかり、NCコード全てについて計測することは困難である。
以上のことから、NCプログラム内の任意区間の加工時間を正確に把握し分析することが出来ないため、効果的な加工時間短縮を実現することが難しいという問題がある。
本発明は、上記課題を解決するためになされたものであって、NCプログラムの変更を最小限にとどめ、NCプログラム内の任意区間の加工時間を正確に把握し、分析することができるNC工作機械の加工時間計測装置を提供することを目的とする。
【0004】
【課題を解決するための手段】
上記の目的を達成するため、請求項1記載のNC工作機械の加工時間計測装置の発明は、NC工作機械の加工時間計測装置において、NCプログラムに記述された所定の記号と数字を用いて測定開始と測定終了を行い、各NCコードの実行時間と実行回数を測定する測定手段と、該測定手段により測定されたNCコード実行時間と実行回数をNCコードごとに記憶する記憶手段と、前記測定されたNCコード実行時間と実行回数を表示する表示手段と、を設けたことを特徴とする。
請求項2記載の発明は、請求項1記載のNC工作機械の加工時間計測装置において、前記記憶手段により格納された計測データを入出力手段を介してテキスト形式で記憶される外部データ記憶装置を設けたことを特徴とする。
このような構成により、NCプログラムを実行した場合、NCプログラム解析部3により計測開始NCコードであると判断されるとNCは計測モードに入り、計測終了NCコードが指令されるまで指令されたNCコードについて計測を行う。
そして、計測モード中は、指令されるNCコードをカウンタ制御部11により判別し、NCコードごとに計測を行う。MコードであればMコード計測手段によりMコードについての実行時間と実行回数を計測する。Gコードや移動指令であれば、Gコード計測手段によりGコードについての早送り時間または切削送り時間の計測などを行う。計測が完了後、計測データ格納手段によりメモリに計測データを格納し、データ表示部9に表示する。
以上のように、NCプログラムの任意の区間についてNCコードごとの実行時間を計測し、表示することによりどのような処理に時間を要しているのかを知ることができ、加工時間短縮のための対策を検討することができる。
【0005】
【発明の実施の形態】
本発明の実施例を図に基づいて説明する。
図1は本発明の工作機械用数値制御装置を説明するためのブロック図である。なお、本発明の構成要素が従来と同じものについてはその説明を省略し、異なるものについて説明する。
図において、11はカウンタ制御部、12はNCコード別カウンタ記憶部、13は外部データ記憶装置である。
本発明の特徴は以下のとおりである。すなわち、NCプログラムに記述された所定の記号と数字を用いて測定開始と測定終了を行い、各NCコードの実行時間と実行回数を測定する測定手段であるカウンタ制御部11と、該測定手段により測定されたNCコード実行時間と実行回数をNCコードごとに記憶する記憶手段であるNCコード別カウンタ記憶部12と、前記測定されたNCコード実行時間と実行回数を表示する表示手段であるデータ表示部9と、を設けた点である。
また、該記憶手段により格納された計測データを入出力手段であるデータ入出力10を介してテキスト形式で記憶される外部データ記憶装置13を設けるようにしている。
以下、本装置の構成を詳述する。本発明ではNCプログラムの任意区間でNCコードごとの実行時間、実行回数を測定するために、計測開始/終了用NCコードを設ける。計測開始/終了用NCコードは、NCシステムで使用している以外の任意のコードが使えるようにパラメータ6へ設定する。
数値制御装置1にてNCプログラム記憶部5に格納されているNCプログラムを運転し、NCプログラム解析部3がパラメータ記憶部6に設定された計測開始NCコードを解析すると、NCコード別実行時間、実行回数計測を開始する。
計測開始後、NCプログラム解析部3は指令されたNCコードに対応する計測開始/終了フラグをカウンタ制御部11へ通知する。カウンタ制御部11は、計測開始フラグを受けると指令されたNCコードに対応するNCコード別カウンタ記憶部12に対して実行回数カウントアップとカレンダクロックからのデータに基づき時間計測を行い、計測終了フラグを受けた場合は時間計測を停止する。
NCコード別カウンタ記憶部12のデータはデータ表示部9にNCコードごとに表示され、NCプログラム運転中に経過を見ることができる。
NCプログラム解析部3が計測終了コードを解析すると、カウンタ制御部11へ計測終了を通知してNCコードごとの実行時間、実行回数計測を終了する。
計測終了後、NCコード別カウンタ記憶部12に格納されている計測データは、データ入出力部10より外部データ記憶装置13へテキスト形式で出力することができる。
【0006】
図2は、NCプログラム解析部とカウンタ制御部で行われるNCコード別実行時間/回数計測処理のフローチャートである。
最初、スタートすると、既に計測中であるか調べ(A1)、計測中(A1でYES)であればA4へ飛び、計測中でなければ(A1でNOならば)、次にNCプログラム中のブロックでパラメータに設定された計測開始コードが指令されているか問い、いない場合(A2でNO)は、計測対象のNCコードが指令されていても、計測処理を行わずに計測終了して(A23、A24)、エンドへ行く。パラメータに設定された計測開始コードが指令された場合(A2でYES)は、計測モードとなり計測中フラグを立てるなどの計測開始処理を行う(A3)。計測モード中(A1でYES)に指令されたNCコードがMコードであった場合(A4でYES)、Mコード実行時間計測処理を開始して(A5)、Mコードを実行する(A6)。
このとき指令されたMコードが主軸停止用Mコードの場合(A7でYES)は、主軸稼動時間計測処理を停止し(A8)、主軸停止用Mコードでない場合(A7でNO)は、主軸回転用Mコードであるか調べ、主軸回転用Mコードの場合(A9でYES)は、主軸回転数指令Sコードについて主軸稼動時間計測処理開始させ(A10)、主軸回転用Mコードでない場合(A9でNO)はA11へ進む。
A11でMコード処理が終了するまで待ち(A11でNO)、終了した場合(A11でYES)、Mコード実行時間、主軸稼動時間計測処理を終了し(A12)、NCコード別カウンタ記憶部に計測データを加算する(A13)とともにMコード指令回数をカウントアップして(A14)、Mコードの計測処理を終了する。
計測モード中A1に指令されたNCコードがMコードでなかった場合(A4でNO)、移動指令であるか問い、移動指令でなければ(A15でNO)エンドへ行き、移動指令であれば(A15でYES)、早送り移動または切削送り移動指令である。そこで早送り移動指令であった場合(A16でYES)、早送り移動時間計測処理を開始し(A17)、移動指令を実行し(A19)、切削送り移動指令であった場合(A16でNO)、切削送り移動時間計測処理を開始し(A18)、移動指令を実行する(A19)。
移動完了後(A20でYES)に、移動時間計測処理を終了して(A21)、移動指令時に有効であったNCコードのNCコード別カウンタ記憶部に計測データを加算する(A22)。計測不要なNCコードについては計測処理を行わずにエンドへ行き、次ブロックの処理へ移る。
計測モード中に計測終了コードが指令された場合(A23)は、計測モードフラグを落とすなどの計測終了処理を行う(A24)。
このように、本発明によれば、NCプログラムを実行しながら計測を行い、その時間と実行回数を表示させるようにしている。
【0007】
図3は、本発明によりデータ表示部9(図1)に表示されることのできる各NCコード(Gコード、Mコード)の実行時間/回数を示す表である。
表T1には、G00(早送り)、G01、G02、G03(切削送り)について表示し、表T2に、G00、G01、G02、G03以外の実行されたGコードと早送り、切削送りごとの実行時間表示を行う。
表T3のMコード別実行時間には、実行されたMコード、実行回数、稼働時間を表示する。
表T4の主軸稼動時間には、実行されたSコード、実行回数、稼働時間を表示する。
図3では、表T1にG00が1234.789秒の実行時間、表T4にS3000が20回指令され、30分22.35秒の稼働時間を示している。
図3の表示結果から、オペレータは計測したプログラムについて各NCコードごとの実行時間が把握できる。
例えば、早送りで動作すべきGコードについて間違って切削送りで指令していた箇所があった場合、表T2に切削送り時間が表示され、これによりプログラム修正の手がかりとなる。
したがって、本発明は、NC工作機械の加工時間計測装置において、NCプログラムに記述された所定の記号と数字を用いて測定開始と測定終了を行い、各NCコードの実行時間と実行回数を測定する測定手段11と、該測定手段11により測定されたNCコード実行時間と実行回数をNCコードごとに記憶する記憶手段12と、前記測定されたNCコード実行時間と実行回数を表示する表示手段9と、を設け、また、前記記憶手段12により記憶された計測データを入出力手段10を介して外部データ記憶装置13に出力する構成にしたので、計測のために特殊な装置を必要とせず、計測したい区間の前後に計測区間用NCコードを挿入し、プログラムを実行するだけでNCプログラム内の任意区間の加工時間を正確に把握し、分析することが可能なNC工作機械の加工時間計測装置を提供することができる。
さらに、このようにして得られた計測結果をデータ入出力部10から外部データ記憶装置13(図1)へ出力可能であることから、パソコンなどで計測結果を分析することができるようになり、NCコード毎の動作時間がわかり、加工時間短縮の方策を検討すること等が出来る。また、時間短縮対策前後のデータを比較することができ、プログラム変更内容の妥当性を検討することもできるようになる。
そして、切削シミュレーションソフトに各NCコードの実行時間を設定することで加工時間のシミュレーション精度を向上させることができる。
【0008】
【発明の効果】
以上、述べたように本発明によれば、NC工作機械の加工時間計測装置において、NCプログラムに記述された所定の記号と数字を用いて測定開始と測定終了を行い、各NCコードの実行時間と実行回数を測定する測定手段と、該測定手段により測定されたNCコード実行時間と実行回数をNCコードごとに記憶する記憶手段と、前記測定されたNCコード実行時間と実行回数を表示する表示手段と、を設け、また、前記記憶手段により記憶された計測データを入出力手段を介して外部データ記憶装置に出力する構成にしたため、計測のために特殊な装置を必要とせず、計測したい区間の前後に計測区間用NCコードを挿入し、プログラムを実行するだけでNCプログラム内の任意区間の加工時間を正確に把握し、分析することが可能なNC工作機械の加工時間計測装置を提供することができる。
さらに、計測結果をデータ入出力部から外部データ記憶装置へ出力して、パソコンなどで計測結果を分析することによりNCコード毎の動作時間がわかり、加工時間短縮の方策を検討すること等が出来る。また、時間短縮対策前後のデータを比較することができ、プログラム変更内容の妥当性を検討できる。
また、切削シミュレーションソフトに各NCコードの実行時間を設定することで加工時間のシミュレーション精度を向上させることができる。
【図面の簡単な説明】
【図1】本発明の一実施例を示す数値制御装置のブロック図である。
【図2】NCコード実行時間の測定方法を示すフローチャートである。
【図3】データ表示部に表示される各NCコード(Gコード、Mコード)の実行時間/回数を示す表である。
【図4】従来の一実施例を示す数値制御装置のブロック図である。
【符号の説明】
1:数値制御装置
2:CPU
3:NCプログラム解析部
4:カレンダクロック部
5:NCプログラム記憶部
6:パラメータ記憶部
7:プログラム運転時間記憶部
8:切削送り時間記憶部
9:データ表示部(表示手段)
10:データ入出力部(入出力手段)
11:カウンタ制御部(測定手段)
12:NCコード別カウンタ記憶部(記憶手段)
13:外部データ記憶装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a machining time measuring device for an NC machine tool.
[0002]
[Prior art]
FIG. 4 is a block diagram for explaining a conventional machining time measuring method for an NC machine tool. In the figure, 1 is a numerical control device of a machine tool, 2 is a CPU, 3 is an NC program analysis unit, 4 is a calendar clock unit, 5 is an NC program storage unit, 6 is a parameter storage unit, 7 is a program operation time storage unit, 8 is a cutting feed time storage unit, 9 is a data display unit (display unit), and 10 is a data input / output unit (input / output unit).
In such a conventional numerical controller 1, when the NC program stored in the NC program storage unit 5 starts operating, the data of the calendar clock unit 4 is stored in the program operation time storage unit 7 and the program operation is stopped. By ending the data storage from the calendar clock unit 4, the program operation time is measured. The cutting feed time is stored in the cutting clock time storage unit 8 when the cutting program operation is analyzed by the NC program analysis unit 3 during the program operation. It is measured by ending the storage.
As described above, the program operation time and the cutting feed time are measured, and the data of the program operation storage unit 7 and the cutting feed time storage unit 8 are output to the data display unit 9 to display the measured time.
[0003]
[Problems to be solved by the invention]
In the related art, when the NC program is executed, the program operation time and the total cutting feed time can be measured. However, the machining time of an arbitrary section in the NC program, the execution time and the number of executions for each NC code are measured. Not.
Although the number of executions and the execution time can be measured for each NC code using a macro program or the like, it is difficult to change the NC program, and it is difficult to measure all the NC codes.
From the above, there is a problem in that it is difficult to accurately grasp and analyze the machining time of an arbitrary section in the NC program, so that it is difficult to effectively reduce the machining time.
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an NC machine capable of minimizing a change in an NC program and accurately grasping and analyzing a machining time of an arbitrary section in the NC program. An object of the present invention is to provide a machine processing time measuring device.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, the invention of a machining time measuring device for an NC machine tool according to claim 1 is a method for measuring machining time of an NC machine tool, using a predetermined symbol and a number described in an NC program. Measuring means for starting and ending the measurement and measuring the execution time and the number of executions of each NC code, storage means for storing the execution time and the number of executions of the NC code measured by the measuring means for each NC code; Display means for displaying the executed NC code execution time and the number of executions.
According to a second aspect of the present invention, in the machining time measuring apparatus for an NC machine tool according to the first aspect, an external data storage device that stores the measurement data stored by the storage unit in a text format via an input / output unit. It is characterized by having been provided.
With this configuration, when the NC program is executed, if the NC program analysis unit 3 determines that the NC code is the measurement start NC code, the NC enters the measurement mode and the NC that is instructed until the measurement end NC code is instructed. Measure code.
Then, during the measurement mode, the NC code to be commanded is determined by the counter control unit 11, and measurement is performed for each NC code. If it is an M code, the execution time and the number of executions of the M code are measured by the M code measuring means. If the command is a G code or a movement command, the G code measuring means measures a fast feed time or a cutting feed time for the G code. After the measurement is completed, the measurement data is stored in the memory by the measurement data storage means and displayed on the data display unit 9.
As described above, the execution time for each NC code in an arbitrary section of the NC program is measured and displayed, so that it is possible to know what processing is taking a long time, and to reduce the processing time. Measures can be considered.
[0005]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram for explaining a numerical control device for a machine tool according to the present invention. The description of the same components as those of the related art will be omitted, and different components will be described.
In the figure, 11 is a counter control unit, 12 is an NC code-specific counter storage unit, and 13 is an external data storage device.
The features of the present invention are as follows. That is, the counter control unit 11 is a measuring unit that starts and ends measurement using predetermined symbols and numbers described in the NC program, and measures the execution time and the number of executions of each NC code. An NC code-specific counter storage unit 12 as storage means for storing the measured NC code execution time and execution count for each NC code, and a data display as display means for displaying the measured NC code execution time and execution count. And a part 9.
Further, an external data storage device 13 is provided for storing the measurement data stored in the storage means in a text format via a data input / output 10 serving as an input / output means.
Hereinafter, the configuration of the present apparatus will be described in detail. In the present invention, a measurement start / end NC code is provided to measure the execution time and the number of executions for each NC code in an arbitrary section of the NC program. The measurement start / end NC code is set in the parameter 6 so that an arbitrary code other than that used in the NC system can be used.
When the numerical control device 1 runs the NC program stored in the NC program storage unit 5 and the NC program analysis unit 3 analyzes the measurement start NC code set in the parameter storage unit 6, the execution time for each NC code is calculated. Start the execution count measurement.
After the start of the measurement, the NC program analysis unit 3 notifies the counter control unit 11 of a measurement start / end flag corresponding to the commanded NC code. Upon receiving the measurement start flag, the counter control unit 11 counts up the number of executions for the NC code-specific counter storage unit 12 corresponding to the commanded NC code and performs time measurement based on the data from the calendar clock. When receiving the time, the time measurement is stopped.
The data in the NC code-specific counter storage unit 12 is displayed on the data display unit 9 for each NC code, and the progress can be seen during the operation of the NC program.
When the NC program analysis unit 3 analyzes the measurement end code, it notifies the counter control unit 11 of the end of the measurement and ends the execution time and execution count measurement for each NC code.
After the measurement is completed, the measurement data stored in the NC code-specific counter storage unit 12 can be output from the data input / output unit 10 to the external data storage device 13 in a text format.
[0006]
FIG. 2 is a flowchart of the execution time / count measurement process for each NC code performed by the NC program analysis unit and the counter control unit.
First, when starting, it is checked whether measurement is already being performed (A1). If measurement is being performed (YES in A1), the process jumps to A4. If measurement is not being performed (if NO in A1), then a block in the NC program is executed. If it is not asked whether the measurement start code set in the parameter has been instructed (NO in A2), even if the NC code to be measured is instructed, the measurement ends without performing the measurement process (A23, A24), go to the end. When the measurement start code set in the parameter is instructed (YES in A2), the measurement mode is set, and a measurement start process such as setting a flag during measurement is performed (A3). If the NC code instructed during the measurement mode (YES in A1) is an M code (YES in A4), an M code execution time measurement process is started (A5) and the M code is executed (A6).
At this time, if the instructed M code is the spindle stop M code (YES in A7), the spindle operation time measurement process is stopped (A8). If the M code is not the spindle stop M code (NO in A7), the spindle rotation is stopped. It is checked whether it is the M code for spindle rotation. In the case of the M code for spindle rotation (YES in A9), the spindle operation time measurement process is started for the spindle speed command S code (A10), and if it is not the M code for spindle rotation (A9 (NO) advances to A11.
It waits until the M code processing is completed in A11 (NO in A11), and when it is completed (YES in A11), terminates the M code execution time and spindle operation time measurement processing (A12) and measures the NC code-specific counter storage unit. The data is added (A13), and at the same time, the number of M-code commands is counted up (A14), and the M-code measurement process ends.
If the NC code instructed to A1 during the measurement mode is not the M code (NO in A4), it is asked whether it is a movement command. If it is not a movement command (NO in A15), go to the end. A15: YES), a fast-forward movement or cutting-feed movement command. Therefore, if it is a fast-forward movement command (YES in A16), a fast-forward movement time measurement process is started (A17), the movement command is executed (A19), and if it is a cutting-feed movement command (NO in A16), cutting is performed. A feed movement time measurement process is started (A18), and a movement command is executed (A19).
After the movement is completed (YES in A20), the movement time measurement processing is terminated (A21), and the measured data is added to the NC code-specific counter storage unit of the NC code that was valid at the time of the movement command (A22). For the NC code that does not need to be measured, the process goes to the end without performing the measurement process and proceeds to the process of the next block.
When a measurement end code is instructed during the measurement mode (A23), measurement end processing such as turning off a measurement mode flag is performed (A24).
As described above, according to the present invention, the measurement is performed while the NC program is executed, and the time and the number of executions are displayed.
[0007]
FIG. 3 is a table showing the execution time / number of each NC code (G code, M code) that can be displayed on the data display unit 9 (FIG. 1) according to the present invention.
Table T1 shows G00 (fast-forward), G01, G02, and G03 (cutting feed). Table T2 shows executed G-codes other than G00, G01, G02, and G03 and the execution time for each fast-forward and cutting feed. Display.
In the execution time for each M code in the table T3, the executed M code, the number of executions, and the operation time are displayed.
In the spindle operation time of Table T4, the executed S code, the number of executions, and the operation time are displayed.
In FIG. 3, G00 indicates the execution time of 1234.789 seconds in the table T1, and S3000 indicates 20 times of execution in the table T4, and indicates the operation time of 30 minutes 22.35 seconds.
From the display result of FIG. 3, the operator can grasp the execution time of each measured NC program for each NC code.
For example, if there is a location where a G code that should operate in rapid traverse is erroneously instructed by the cutting traverse, the cutting traverse time is displayed in the table T2, thereby providing a clue for program correction.
Therefore, according to the present invention, in a machining time measuring device for an NC machine tool, measurement start and measurement end are performed using predetermined symbols and numerals described in an NC program, and the execution time and execution count of each NC code are measured. Measuring means 11, storage means 12 for storing the NC code execution time and the number of executions measured by the measuring means 11 for each NC code, and display means 9 for displaying the measured NC code execution time and the execution number. , And the configuration is such that the measurement data stored by the storage means 12 is output to the external data storage device 13 via the input / output means 10, so that a special device is not required for the measurement. Just insert the NC code for the measurement section before and after the section you want to execute and execute the program to accurately grasp and analyze the machining time of any section in the NC program. It is possible to provide a processing time measuring device capable NC machine tool.
Further, since the measurement result obtained in this way can be output from the data input / output unit 10 to the external data storage device 13 (FIG. 1), the measurement result can be analyzed by a personal computer or the like. The operation time for each NC code can be known, and measures for shortening the processing time can be studied. In addition, the data before and after the time reduction measure can be compared, and the validity of the program change can be examined.
By setting the execution time of each NC code in the cutting simulation software, the simulation accuracy of the processing time can be improved.
[0008]
【The invention's effect】
As described above, according to the present invention, in the machining time measuring device of the NC machine tool, the measurement start and the measurement end are performed using predetermined symbols and numerals described in the NC program, and the execution time of each NC code is executed. Measuring means for measuring the number of executions and the number of executions, storage means for storing the NC code execution time and the number of executions measured by the measurement means for each NC code, and display for displaying the measured execution time and the number of executions of the NC code And means for outputting the measurement data stored by the storage means to an external data storage device via the input / output means, so that a section to be measured does not require a special device for measurement. NC that can accurately grasp and analyze the machining time of any section in the NC program just by inserting the NC code for the measurement section before and after It is possible to provide a processing time measuring device work machine.
Furthermore, by outputting the measurement results from the data input / output unit to an external data storage device and analyzing the measurement results with a personal computer or the like, the operation time for each NC code can be determined, and measures to reduce the processing time can be examined. . In addition, the data before and after the time reduction measure can be compared, and the validity of the program change content can be examined.
Further, by setting the execution time of each NC code in the cutting simulation software, the simulation accuracy of the processing time can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram of a numerical control device showing one embodiment of the present invention.
FIG. 2 is a flowchart illustrating a method of measuring an NC code execution time.
FIG. 3 is a table showing execution times / times of each NC code (G code, M code) displayed on a data display unit.
FIG. 4 is a block diagram of a numerical control device showing one embodiment of the related art.
[Explanation of symbols]
1: Numerical control unit 2: CPU
3: NC program analysis unit 4: Calendar clock unit 5: NC program storage unit 6: Parameter storage unit 7: Program operation time storage unit 8: Cutting feed time storage unit 9: Data display unit (display means)
10: Data input / output unit (input / output means)
11: counter control unit (measurement means)
12: Counter storage unit for NC code (storage means)
13: External data storage device

Claims (2)

NC工作機械の加工時間計測装置において、NCプログラムに記述された所定の記号と数字を用いて測定開始と測定終了を行い、各NCコードの実行時間と実行回数を測定する測定手段と、該測定手段により測定されたNCコード実行時間と実行回数をNCコードごとに記憶する記憶手段と、前記測定されたNCコード実行時間と実行回数を表示する表示手段と、を設けたことを特徴とするNC工作機械の加工時間計測装置。In a machining time measuring device for an NC machine tool, measuring means for starting and ending measurement using predetermined symbols and numerals described in an NC program, and measuring the execution time and the number of executions of each NC code; NC means for storing the NC code execution time and the number of executions measured by the means for each NC code, and display means for displaying the measured NC code execution time and the execution number. Machine tool processing time measuring device. 前記記憶手段により格納された計測データを入出力手段を介してテキスト形式で記憶される外部データ記憶装置を設けたことを特徴とする請求項1記載のNC工作機械の加工時間計測装置。2. The machining time measuring device for an NC machine tool according to claim 1, further comprising an external data storage device for storing the measurement data stored in said storage means in a text format via an input / output means.
JP2002221401A 2002-07-30 2002-07-30 Instrument for measuring machining time of nc machine tool Pending JP2004062613A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002221401A JP2004062613A (en) 2002-07-30 2002-07-30 Instrument for measuring machining time of nc machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002221401A JP2004062613A (en) 2002-07-30 2002-07-30 Instrument for measuring machining time of nc machine tool

Publications (1)

Publication Number Publication Date
JP2004062613A true JP2004062613A (en) 2004-02-26

Family

ID=31941722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002221401A Pending JP2004062613A (en) 2002-07-30 2002-07-30 Instrument for measuring machining time of nc machine tool

Country Status (1)

Country Link
JP (1) JP2004062613A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021648A (en) * 2012-07-17 2014-02-03 Hitachi Ltd Working support device and working support system
WO2015159365A1 (en) * 2014-04-15 2015-10-22 富士機械製造株式会社 Nc machine tool0
US20180113433A1 (en) 2016-10-20 2018-04-26 Fanuc Corporation Numerical controller
WO2020155251A1 (en) * 2019-01-29 2020-08-06 重庆大学 Inherent energy efficiency element function acquisition system for computer numerical control machine tool, and acquisition method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021648A (en) * 2012-07-17 2014-02-03 Hitachi Ltd Working support device and working support system
US9547301B2 (en) 2012-07-17 2017-01-17 Mitsubishi Hitachi Power Systems, Ltd. Machining support apparatus and machining support system
WO2015159365A1 (en) * 2014-04-15 2015-10-22 富士機械製造株式会社 Nc machine tool0
JPWO2015159365A1 (en) * 2014-04-15 2017-04-13 富士機械製造株式会社 NC machine tool
US10268179B2 (en) 2014-04-15 2019-04-23 Fuji Corporation NC machine tool
US20180113433A1 (en) 2016-10-20 2018-04-26 Fanuc Corporation Numerical controller
JP2018067210A (en) * 2016-10-20 2018-04-26 ファナック株式会社 Numerical control
US10474127B2 (en) 2016-10-20 2019-11-12 Fanuc Corporation Numerical controller
WO2020155251A1 (en) * 2019-01-29 2020-08-06 重庆大学 Inherent energy efficiency element function acquisition system for computer numerical control machine tool, and acquisition method

Similar Documents

Publication Publication Date Title
JP3225757B2 (en) Programmable controller
JP2003256009A (en) Optimum data conversion method for nc program and numerical control machine tool with optimum data conversion means
JP6010094B2 (en) Numerical control device having parameter setting support function related to cycle time
US11137740B2 (en) Numerical controller and method for determining look-ahead variable
JP2004062613A (en) Instrument for measuring machining time of nc machine tool
JPH10328976A (en) Machine tool operating information recording method, nc device with machine tool operating information recording function, and recording medium with machine tool operating information recording program recorded therein
JP2004318378A (en) Numerical control device
US10241501B2 (en) Numerical controller having automatic trace function of related signal in association with NC program operation
CN107132818A (en) The numerical control device of lathe
JPH05189403A (en) Virtual time measuring method for simulation
JP2010176309A (en) Machine tool, and method for presenting operating time of the same
JPH0863216A (en) Machining time measuring system
JP6770017B2 (en) Observation equipment, observation methods and observation programs
JPH02220145A (en) Program tracing system
US20040176871A1 (en) Processing program creation apparatus
JP2005193312A (en) Tool cycle time management device for machine tool having automatic tool changer
EP3633471B1 (en) Program development support device, program development support system, program development support method, and program development support program
JP2839514B2 (en) Numerical controller with parallel processing function
KR920007641B1 (en) Numerical control discharge devices
EP0436039A1 (en) System for resuming program for automatic operation
JPH08137530A (en) Numerical controller
JPS6063610A (en) Numerical controller with graphic display device capable of drawing clamping device
CN111045394A (en) Numerical controller
JPH05197408A (en) Numerical controller
JPH0773819B2 (en) NC device