JP2637409B2 - NC program machining time display device - Google Patents

NC program machining time display device

Info

Publication number
JP2637409B2
JP2637409B2 JP62018700A JP1870087A JP2637409B2 JP 2637409 B2 JP2637409 B2 JP 2637409B2 JP 62018700 A JP62018700 A JP 62018700A JP 1870087 A JP1870087 A JP 1870087A JP 2637409 B2 JP2637409 B2 JP 2637409B2
Authority
JP
Japan
Prior art keywords
unit
time
processing
program
marker
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
Application number
JP62018700A
Other languages
Japanese (ja)
Other versions
JPS63187308A (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.)
Amada Metrecs Co Ltd
Original Assignee
Amada Metrecs 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 Amada Metrecs Co Ltd filed Critical Amada Metrecs Co Ltd
Priority to JP62018700A priority Critical patent/JP2637409B2/en
Publication of JPS63187308A publication Critical patent/JPS63187308A/en
Application granted granted Critical
Publication of JP2637409B2 publication Critical patent/JP2637409B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明はNCプログラムの加工時間表示装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention] (Industrial application field) The present invention relates to an NC program machining time display device.

(従来の技術) 従来より、各種工作機械に使用されているNC装置で
は、NCプログラムを逐次翻訳しつつ解釈,処理するよう
になっており、特に加工時間の表示は行われていなかっ
た。
(Conventional technology) Conventionally, NC devices used in various machine tools have been configured to interpret and process NC programs while sequentially translating them, and the display of machining time has not been particularly performed.

(発明が解決しようとする問題点) しかしながら、上記の如く加工時間が表示されない従
来よりのNC装置では、特にNCプログラムが長い場合、い
つ加工終了するか否かが不明であり、監視回数を増やさ
なければならないという問題点がある。又、加工終了が
不明であるため、計画的な作業をするのが難かしい。
(Problems to be Solved by the Invention) However, in the conventional NC device in which the machining time is not displayed as described above, especially when the NC program is long, it is unknown when machining is to be completed, and the number of monitoring times is increased. There is a problem that must be. In addition, it is difficult to perform planned work because the end of processing is unknown.

もっとも、従来でも、加工時間を推定して、タイマに
よって減算することは可能である。しかし、推定時間は
正確でなく、かつ、NC装置に中断があったような場合に
は、残り加工時間は使いものにならなくなる。
However, even in the related art, it is possible to estimate the machining time and subtract it by the timer. However, if the estimated time is not accurate and the NC unit is interrupted, the remaining machining time becomes useless.

そこで、この発明は、NCプログラムの加工状態を時間
的に明確にすることができるNCプログラムの加工時間表
示装置を提供することを目的とする。
Therefore, an object of the present invention is to provide a machining time display device for an NC program which can temporally clarify the machining state of the NC program.

[発明の構成] (問題点を解決するための手段) 前述のごとき従来の問題に鑑みて、本発明は、入力部
から入力されたNCプログラムを解読し補間演算する解読
・補間演算処理部と、この解読・補間演算処理部で解読
・補間されたNCプログラムに時間データを適用し単位時
間に実行可能の区間毎に所定のマーカを挿入するマーカ
挿入処理部と、上記マーカ挿入処理部によってマーカを
挿入したNCプログラムを格納する処理済データ格納エリ
アと、前記マーカ挿入処理部で挿入されたマーカの総和
に前記単位時間を乗じて前記NCプログラムの総加工時間
を求める総加工時間算出部と、前記NCプログラムの実行
に基づいて工作機械の軸制御部に対しパルス分配を行う
と共に前記マーカを検出するパルス分配部と、前記総加
工時間算出部において算出した総加工時間から前記パル
ス分配部において検出したマーカ数に単位時間を乗じた
時間を減算して残り加工時間を求める減算処理部と、前
記総加工時間算出部で算出した総加工時間と前記減算処
理部で求めた残り加工時間とを表示する時間表示部と、
を備えてなるものである。
[Structure of the Invention] (Means for Solving the Problems) In view of the conventional problems as described above, the present invention provides a decoding / interpolation processing unit that decodes an NC program input from an input unit and performs an interpolation operation. A marker insertion processing unit that applies time data to the NC program decoded and interpolated by the decoding / interpolation operation processing unit and inserts a predetermined marker in each section executable in a unit time; A processed data storage area for storing the NC program with the inserted, a total processing time calculation unit for obtaining the total processing time of the NC program by multiplying the sum of the markers inserted by the marker insertion processing unit by the unit time, The pulse distribution unit that performs pulse distribution to the axis control unit of the machine tool based on the execution of the NC program and detects the marker, and the total processing time calculation unit calculates the pulse distribution unit. A subtraction processing section for subtracting a time obtained by multiplying the number of markers detected in the pulse distribution section by a unit time from the total processing time to obtain a remaining processing time; and a total processing time calculated by the total processing time calculation section and the subtraction processing. A time display section for displaying the remaining machining time obtained by the section,
It is provided with.

(実施例) 第1図はこの発明を実施することができるNC装置のブ
ロック図、第2図は時間表示処理のフローチャートであ
る。
(Embodiment) FIG. 1 is a block diagram of an NC device capable of implementing the present invention, and FIG. 2 is a flowchart of a time display process.

第1図に示すように、NC装置は、自動プログラミング
装置等と接続される外部入力部1及びキーボード等備え
たMDi入力部3を有して構成されている。これら入力部
1,3は、入力処理部5と接続されている。
As shown in FIG. 1, the NC device includes an external input unit 1 connected to an automatic programming device and the like, and an MDi input unit 3 provided with a keyboard and the like. These input sections
1, 3 are connected to the input processing unit 5.

入力処理部5は、入力されたNCプログラムを解読し、
補間演算する解読・補間演算処理部7と接続されてい
る。
The input processing unit 5 decodes the input NC program,
It is connected to a decoding / interpolation operation processing section 7 for performing an interpolation operation.

解読・補間演算処理部7はマーカ挿入処理部9と接続
されている。マーカ挿入処理部9は、前記解読・補間演
算処理部7で解読・補間されたNCプログラムに時間デー
タを適用し、単位時間に実行可能の区間を求め、区間毎
に所定のマーカを挿入するものである。
The decoding / interpolation operation processing unit 7 is connected to the marker insertion processing unit 9. The marker insertion processing section 9 applies time data to the NC program decoded and interpolated by the decoding / interpolation operation processing section 7, finds an executable section per unit time, and inserts a predetermined marker for each section. It is.

マーカ挿入部9は、以上の処理を終了したNCプログラ
ムを格納する処理済データ格納エリア11と接続されてい
る。処理済データ格納エリア11は総加工時間算出部13及
びパルス分配部15と接続されている。
The marker insertion unit 9 is connected to the processed data storage area 11 for storing the NC program that has completed the above processing. The processed data storage area 11 is connected to the total processing time calculation unit 13 and the pulse distribution unit 15.

総加工時間算出部13は、前記マーカ挿入処理部9で挿
入されたマーカの総和に前記単位時間を乗じた値とし
て、NCプログラムの総加工時間を求めるものである。
The total processing time calculation unit 13 calculates the total processing time of the NC program as a value obtained by multiplying the total of the markers inserted by the marker insertion processing unit 9 by the unit time.

総加工時間算出部13は、時間表示部17及び減算処理部
19と接続されている。減算処理部19は、前記パルス分配
部15とも接続されている。パルス分配部15は軸制御部21
と接続されている。
The total processing time calculation unit 13 includes a time display unit 17 and a subtraction processing unit.
Connected to 19. The subtraction processing section 19 is also connected to the pulse distribution section 15. The pulse distribution unit 15 is the axis control unit 21
Is connected to

前記減算処理部19は、前記パルス分配部15の順次のNC
プログラムの実行に基づく前記マーカの出現により、総
加工時間からマーカ数に単位時間を乗じた時間を減算
し、残り加工時間を求めるものである。
The subtraction processing unit 19 is a sequential NC of the pulse distribution unit 15.
With the appearance of the marker based on the execution of the program, the time obtained by multiplying the number of markers by the unit time is subtracted from the total processing time to obtain the remaining processing time.

前記時間表示部17は、前記総加工時間及び残り加工時
間を表示するものである。
The time display section 17 displays the total processing time and the remaining processing time.

以上の構成のNC装置において、時間表示の処理をまと
めて第2図に示した。
FIG. 2 shows the time display processing in the NC device having the above configuration.

ステップ201でNCプログラムを入力し、ステップ202で
解読演算し、ステップ203でマーカを挿入する。
In step 201, an NC program is input, in step 202, a decoding operation is performed, and in step 203, a marker is inserted.

ステップ204では、処理済データを格納し、総加工時
間T0を求め、これを表示部17で表示する。
In step 204, stores the processed data, determine the total working time T 0, and displays it on the display unit 17.

ステップ205でNCプログラムが実行開始されると、ス
テップ206でマーカが検出され、ステップ207で残り加工
時間Tが求められ、これがステップ208で表示部15に表
示される。
When the execution of the NC program is started in step 205, a marker is detected in step 206, the remaining machining time T is obtained in step 207, and this is displayed on the display unit 15 in step 208.

以上により、表示部17には、総加工時間T0と、残り加
工時間Tが加工状況に合わせて表示され、この監視によ
って計画的な作業の遂行が可能となる。
As described above, the total processing time T 0 and the remaining processing time T are displayed on the display unit 17 in accordance with the processing state, and this monitoring enables the planned work to be performed.

本例では実際加工に伴って検出されるマーカの減算に
より残り加工時間を求めるようにしたので、補助機能
(Mコード)の実行によりNC装置の処理が中断している
ような場合でも、これによって残り加工時間が狂うこと
がない。
In this example, the remaining processing time is obtained by subtracting the marker detected in association with the actual processing. Therefore, even if the processing of the NC device is interrupted due to the execution of the auxiliary function (M code), it is possible to obtain the remaining processing time. The remaining processing time does not go wrong.

以上示した実施例では、補助機能の作動時間を無視し
て示したが、補助機能の標準的な動作時間を考慮して、
補助機能実行前後に所定数のマーカを挿入するようにし
ても良い。
In the embodiment described above, the operation time of the auxiliary function is ignored, but in consideration of the standard operation time of the auxiliary function,
A predetermined number of markers may be inserted before and after the execution of the auxiliary function.

なお、この発明は上記実施例に限定されるものではな
く、適宜の設計的変更を行うことにより、他の態様でも
実施し得るものである。
It should be noted that the present invention is not limited to the above-described embodiment, but can be embodied in other modes by making appropriate design changes.

[発明の効果] 以上のごとき実施例の説明より理解されるように、要
するに本発明は、入力部から入力されたNCプログラムを
解読し補間演算する解読・補間演算処理部(7)と、こ
の解読・補間演算処理部(7)で解読・補間されたNCプ
ログラムに時間データを適用し単位時間に実行可能の区
間毎に所定のマーカを挿入するマーカ挿入処理部(9)
と、上記マーカ挿入処理部(9)によってマーカを挿入
したNCプログラムを格納する処理済データ格納エリア
(11)と、前記マーカ挿入処理部(9)で挿入されたマ
ーカの総和に前記単位時間を乗じて前記NCプログラムの
総加工時間を求める総加工時間算出部(13)と、前記NC
プログラムの実行に基づいて工作機械の軸制御部(21)
に対しパルス分配を行うと共に前記マーカを検出するパ
ルス分配部(15)と、前記総加工時間算出部(13)にお
いて算出した総加工時間から前記パルス分配部(15)に
おいて検出したマーカ数に単位時間を乗じた時間を減算
して残り加工時間を求める減算処理部(19)と、前記総
加工時間算出部(13)で算出した総加工時間と前記減算
処理部(19)で求めた残り加工時間とを表示する時間表
示部(17)と、を備えてなるものである。
[Effects of the Invention] As can be understood from the above description of the embodiment, in short, the present invention provides a decoding / interpolation operation processing unit (7) for decoding an NC program input from an input unit and performing an interpolation operation. A marker insertion processing unit (9) that applies time data to the NC program decoded and interpolated by the decoding / interpolation operation processing unit (7) and inserts a predetermined marker in each section executable in a unit time
And a processed data storage area (11) for storing an NC program into which a marker has been inserted by the marker insertion processing unit (9), and the unit time in the sum of the markers inserted by the marker insertion processing unit (9). A total machining time calculator (13) for multiplying the total machining time of the NC program,
Machine tool axis control unit based on program execution (21)
A pulse distributing unit (15) for performing pulse distribution and detecting the marker, and a unit of the number of markers detected in the pulse distributing unit (15) from the total processing time calculated in the total processing time calculating unit (13). A subtraction processing unit (19) for subtracting the time multiplied by the time to obtain a remaining processing time; a total processing time calculated by the total processing time calculation unit (13) and a remaining processing calculated by the subtraction processing unit (19) And a time display section (17) for displaying time.

すなわち、本発明においては、NCプログラムの実行に
先立って、マーカ挿入処理部9によってNCプログラムに
予め単位時間に実行可能の区間毎に所定のマーカを挿入
するものであり、総加工時間算出部13においては、上記
マーカの総和に単位時間を乗じてNCプログラムの総加工
時間を演算し、この総加工時間が時間表示部17に表示さ
れるものである。
That is, in the present invention, prior to the execution of the NC program, the marker insertion processing unit 9 inserts a predetermined marker into the NC program for each section that can be executed in a unit time in advance. In, the total processing time of the NC program is calculated by multiplying the sum of the markers by a unit time, and the total processing time is displayed on the time display section 17.

さらに、NCプログラムの実行時には、パルス分配部15
において前記マーカを検出すると、減算処理部19におい
て、マーカ数に単位時間を乗じた時間を総加工時間から
減算して残り加工時間を演算し、この残り加工時間を時
間表示部17に表示するものである。
Furthermore, when executing the NC program, the pulse distribution unit 15
When the marker is detected, the subtraction processing unit 19 calculates the remaining processing time by subtracting the time obtained by multiplying the number of markers by the unit time from the total processing time, and displays the remaining processing time on the time display unit 17. It is.

既に理解されるように、本発明においては、NCプログ
ラムにマーカを挿入して、その総和により総加工時間を
演算し、かつNCプログラムの実行時には、検出したマー
カ数に単位時間を乗じ、かつ総加工時間から減算して残
り加工時間を演算するものであるから、NC装置に中断が
ある場合であっても残り加工時間を正確に表示できるも
のである。
As already understood, in the present invention, markers are inserted into the NC program, the total machining time is calculated by the sum of the markers, and the number of detected markers is multiplied by the unit time when the NC program is executed. Since the remaining machining time is calculated by subtracting from the machining time, the remaining machining time can be accurately displayed even when the NC device is interrupted.

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

図面はいずれも実施例を示し、第1図はNC装置のブロッ
ク図、第2図は時間表示処理のフローチャートである。 9……マーカ挿入処理部 13……総加工時間算出部 17……時間表示部 19……減算処理部
1 is a block diagram of an NC device, and FIG. 2 is a flowchart of a time display process. 9 Marker insertion processing unit 13 Total processing time calculation unit 17 Time display unit 19 Subtraction processing unit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力部から入力されたNCプログラムを解読
し補間演算する解読・補間演算処理部(7)と、この解
読・補間演算処理部(7)で解読・補間されたNCプログ
ラムに時間データを適用し単位時間に実行可能の区間毎
に所定のマーカを挿入するマーカ挿入処理部(9)と、
上記マーカ挿入処理部(9)によってマーカを挿入した
NCプログラムを格納する処理済データ格納エリア(11)
と、前記マーカ挿入処理部(9)で挿入されたマーカの
総和に前記単位時間を乗じて前記NCプログラムの総加工
時間を求める総加工時間算出部(13)と、前記NCプログ
ラムの実行に基づいて工作機械の軸制御部(21)に対し
パルス分配を行うと共に前記マーカを検出するパルス分
配部(15)と、前記総加工時間算出部(13)において算
出した総加工時間から前記パルス分配部(15)において
検出したマーカ数に単位時間を乗じた時間を減算して残
り加工時間を求める減算処理部(19)と、前記総加工時
間算出部(13)で算出した総加工時間と前記減算処理部
(19)で求めた残り加工時間とを表示する時間表示部
(17)と、を備えてなることを特徴とするNCプログラム
の加工時間表示装置。
1. A decoding / interpolation processing section (7) for decoding and interpolating an NC program input from an input section, and an NC program decoded / interpolated by the decoding / interpolation processing section (7). A marker insertion processing unit (9) for applying data and inserting a predetermined marker for each section executable in a unit time;
The marker is inserted by the marker insertion processing unit (9).
Processed data storage area for storing NC programs (11)
A total machining time calculation unit (13) for multiplying the sum of the markers inserted by the marker insertion processing unit (9) by the unit time to obtain a total machining time of the NC program; A pulse distribution unit (15) for performing pulse distribution to the axis control unit (21) of the machine tool and detecting the marker, and the pulse distribution unit based on the total processing time calculated by the total processing time calculation unit (13). A subtraction processing unit (19) for subtracting a time obtained by multiplying the number of markers detected in (15) by a unit time to obtain a remaining processing time, and a total processing time calculated by the total processing time calculation unit (13) and the subtraction. And a time display unit (17) for displaying the remaining processing time obtained by the processing unit (19).
JP62018700A 1987-01-30 1987-01-30 NC program machining time display device Expired - Lifetime JP2637409B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62018700A JP2637409B2 (en) 1987-01-30 1987-01-30 NC program machining time display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62018700A JP2637409B2 (en) 1987-01-30 1987-01-30 NC program machining time display device

Publications (2)

Publication Number Publication Date
JPS63187308A JPS63187308A (en) 1988-08-02
JP2637409B2 true JP2637409B2 (en) 1997-08-06

Family

ID=11978908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62018700A Expired - Lifetime JP2637409B2 (en) 1987-01-30 1987-01-30 NC program machining time display device

Country Status (1)

Country Link
JP (1) JP2637409B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4891528B2 (en) * 2004-04-07 2012-03-07 オークマ株式会社 Machining time calculation device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5942248A (en) * 1982-09-03 1984-03-08 Mitsubishi Electric Corp Nc machining system
JPS6143304A (en) * 1984-08-07 1986-03-01 Fanuc Ltd Numerical controller
JPS61184609A (en) * 1985-02-12 1986-08-18 Fanuc Ltd Method for displaying situation of working progress
JPS61221905A (en) * 1985-03-28 1986-10-02 Okuma Mach Works Ltd Working monitor display system for numerical controller

Also Published As

Publication number Publication date
JPS63187308A (en) 1988-08-02

Similar Documents

Publication Publication Date Title
US4328550A (en) Programmer unit with composite calculation capability
US5514941A (en) Numerical control device for predicting a machining termination time
US4683543A (en) Time-based interpolation control of a robot
JP2637409B2 (en) NC program machining time display device
JP3024422B2 (en) Programmable controller and method of operating programmable controller
KR970005924B1 (en) Control method for spot welding robot
JP2021096561A (en) Control device, measurement system, and measurement method
JP2752514B2 (en) Program execution method of CNC device
JP2004318378A (en) Numerical control device
US4495561A (en) Numerical control method
JPS62173142A (en) Machining time estimator for electric discharge machining
JPH02151908A (en) Numerical controller with simulation function
US6795738B1 (en) Programmable controller
GB2378629A (en) Linear progress bar graph
JPH04305740A (en) Method for displaying processing status
JPS60214004A (en) Function instruction system of programmable controller
JPH06114678A (en) Tool locus display device of nc device
JPS6085852A (en) Device for compensating position of shear point of tool in numerical control machine tool
JPH077839U (en) Numerical control device
JPH04114207A (en) Work data preparing system for nc work machine
JPH01304504A (en) Display method for remaining working time
JPS5828272Y2 (en) Computer debugging device
JPH05224730A (en) Nc display device
KR100655299B1 (en) Display Method Error Checking and a Tool Revision
KR920007641B1 (en) Numerical control discharge devices