JPH0222708A - How to run NC device and NC machining program - Google Patents
How to run NC device and NC machining programInfo
- Publication number
- JPH0222708A JPH0222708A JP17196088A JP17196088A JPH0222708A JP H0222708 A JPH0222708 A JP H0222708A JP 17196088 A JP17196088 A JP 17196088A JP 17196088 A JP17196088 A JP 17196088A JP H0222708 A JPH0222708 A JP H0222708A
- Authority
- JP
- Japan
- Prior art keywords
- machining program
- reverse
- data
- execution
- section
- 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
Landscapes
- Numerical Control (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】 [産業上の利用分野コ 本発明はNC装置に関する。[Detailed description of the invention] [Industrial application fields] The present invention relates to an NC device.
[従来の技術]
NC装置におけるNC加工プログラムは、実行ブロック
における必要なコマンド(例えば軸の指令であればX1
00)をフリーフォーマットで書くことになっており、
順方向の移動しかない。[Prior Art] An NC machining program in an NC device includes necessary commands (for example, X1 for axis commands) in an execution block.
00) is to be written in free format,
There is only forward movement.
[発明か解決しようとする課題]
上述した従来のNC装置は、例えば第3図に示すような
形状を加工するために、点P、、P2゜・・・、P4と
刃物を移動させる途中の点P3で円弧形状のミスに気が
つき、プログラムを修正し、再チエツクしようとした時
、刃物を点P3から点P2へ直接移動させることができ
ないため、刃物を径路Aを通って点P5へ逃した後、径
路Bを通って点P、に戻しプログラムを修正しなければ
ならず、修正に時間がかかるという欠点がある。[Problems to be Solved by the Invention] The conventional NC device described above is capable of processing points P, , P2°, ..., P4 in the middle of moving the cutter in order to process the shape shown in FIG. 3, for example. When I noticed a mistake in the arc shape at point P3, corrected the program, and tried to check again, I was unable to move the cutter directly from point P3 to point P2, so the cutter missed path A to point P5. Thereafter, the program must be corrected by returning to point P via path B, which has the drawback of taking time.
[課題を解決するための手段]
本発明のNC加工プログラムの実行方法は、NC加工プ
ログラムの実行中、外部からの逆行指令により、NC加
工プログラムを逆方向に実行する。[Means for Solving the Problems] In the method for executing an NC machining program of the present invention, the NC machining program is executed in the reverse direction in response to a reverse command from the outside while the NC machining program is being executed.
また、本発明のNC装置は、逆行用データ格納部と、N
C加工プログラムの実行中、N C加工プログラムを逆
行させるのに必要な逆行用データをNC加工プログラム
の解析結果から抽出し逆行用データ格納部に格納する逆
行用データ作成部と、外部から逆行指令を人力すると、
逆行用データ格納部から逆行用データを読出し、この逆
行用データとNC7JI]ニブログラムにより移動デー
タを作成し、NC実行部に出力する逆行用データ解析部
とを有する。Further, the NC device of the present invention includes a backward data storage section and an N
During the execution of the C machining program, there is a reversing data creation unit that extracts the reversing data necessary to reverse the NC machining program from the analysis results of the NC machining program and storing it in the reversing data storage unit, and a reversing command from the outside. When done manually,
It has a retrograde data analysis section that reads the retrograde data from the retrograde data storage section, creates movement data using the retrograde data and the NC7JI program, and outputs it to the NC execution section.
[作 用]
先に述べたようにNC加工プログラムは、第3図に示す
ように、フリーフォーマットで各ブロックに必要な情報
のみしか古く必要がないため順方向で実行するには途中
からでも解析が可能であるか、逆方向に実行するために
は前ブロックだけでは順方向での移動と同等の情報を得
ることができないため、第2図に示すような逆行はでき
ない。[Function] As mentioned earlier, the NC machining program is in a free format, as shown in Figure 3, and only the information necessary for each block is required to be old, so it is possible to analyze it even from the middle in order to execute it in the forward direction. However, in order to execute in the reverse direction, it is not possible to obtain the same information as in the forward direction by just looking at the previous block, so the reverse movement as shown in FIG. 2 is not possible.
例えば第3図におけるNC加工プログラムの実行中第3
図のPlの点で停止し、逆行するために加工プログラム
の前ブロック■により逆行用データを作成した時には■
はZ軸のみの指令しかないためにX軸の位置が不定とな
る。For example, during the execution of the NC machining program in Fig.
When stopping at point Pl in the figure and creating reverse data using the previous block of the machining program, ■
Because there is only a command for the Z axis, the position of the X axis is unstable.
そこで、本発明は、順方向実行時にあらかじめ逆行用デ
ータを作成する逆行用データ作成部を準備し、作成され
た逆行用データを逆行用データ格納部に格納し、逆行指
令時には、そのデータとあらかじめ指令されたNC加工
プログラムにより移動データを作成するものである。Therefore, the present invention prepares a backward data creation section that creates backward data in advance during forward execution, stores the created backward data in the backward data storage section, and when issuing a backward command, uses that data in advance. Movement data is created using a commanded NC machining program.
[実施例]
次に、本発明の実施例について図面を参照して説明する
。[Example] Next, an example of the present invention will be described with reference to the drawings.
第1図は本発明のNC装置の一実施例のブロック図、第
2図は刃物の移動と修正前後のNC加工プログラムの例
を示す図である。FIG. 1 is a block diagram of an embodiment of the NC device of the present invention, and FIG. 2 is a diagram showing an example of an NC machining program before and after the movement and correction of a cutter.
このNC装置は入出力信号処理部1とNCC上ニブログ
ラム解析2と逆行用データ作成部3と逆行用データ格納
部4と逆行用データ解析部5とNC実行部6と位置決め
出力部7とNC加工プログラム8とで構成されている。This NC device includes an input/output signal processing section 1, an NCC nibgram analysis section 2, a reverse data creation section 3, a reverse data storage section 4, a reverse data analysis section 5, an NC execution section 6, a positioning output section 7, and an NC processing section. It consists of program 8.
逆行用データ作成部3はNC加工プログラムの実行中、
NC加工プログラムを逆行させるのに必要な逆行用デー
タをNCC上ニブログラム解析2のNC加工プログラム
8の解析結果から抽出し逆行用データ格納部4に格納す
る。ここで、逆行用データとは、工具の位置データ(円
弧補間であれば中心位置のデータ)、工具の種類、モー
ダル情報等である。逆行用データ解析部5は、人出力信
号処理部1を介して外部から逆行指令を人力すると、逆
行用データ格納部4から逆行用データを読出し、NC加
工プログラム8を入力して、逆行用データとNC加工プ
ログラム8とから移動データを作成しNC実行部6に出
力する。NC実行部6は外部から逆行指令を人力すると
NCC上ニブログラム解析2に代わって逆行用データ解
析部5の出力にもとづいてNC動作を実行し、位置指令
を位置決め出力部7を経てサーボアンプへ出力する。During the execution of the NC machining program, the reverse data creation unit 3
Reverse data necessary for reversing the NC machining program is extracted from the analysis result of the NC machining program 8 of the NCC on-nibragram analysis 2 and stored in the reverse data storage section 4. Here, the backward movement data includes tool position data (center position data in the case of circular interpolation), tool type, modal information, and the like. When a reverse command is input from the outside via the human output signal processing unit 1, the reverse data analysis unit 5 reads the reverse data from the reverse data storage unit 4, inputs the NC machining program 8, and processes the reverse data. Movement data is created from the and NC machining program 8 and output to the NC execution section 6. When the NC execution unit 6 receives a reverse command from the outside, it executes the NC operation based on the output of the reverse data analysis unit 5 instead of the NCC on-nitrogram analysis 2, and outputs the position command to the servo amplifier via the positioning output unit 7. do.
したがって5第2図に示すような点p、、p、。Therefore, 5 points p, , p, as shown in FIG.
Pl、P、と刃物を移動させるNC加工プログラムにお
いて、Plの点においてプログラムのミスを発見した場
合、点P+ 、P2 、Plの位置データ等が逆行用デ
ータ格納部4に格納されているので、点p2.p3間に
ついて円弧補間を行なフて径路C−+Dとプログラムを
逆行させ、Plの位置まで逆行させた後、NC加工プロ
グラム■を■′に修正した後、再度順方向に修正NC加
工プログラムを実行することにより、目標径路Eを得る
ことができる。In an NC machining program that moves the cutter from Pl to P, if a program error is discovered at point Pl, the position data of points P+, P2, Pl, etc. are stored in the backward data storage section 4, so Point p2. After performing circular interpolation between p3 and retracing the program to the path C-+D to the position of Pl, modify the NC machining program ■ to ■', and then rerun the modified NC machining program in the forward direction. By executing this, the target route E can be obtained.
[発明の効果]
以上説明したように本発明は、NC加工プログラムを任
意の時点から逆行させることにより、NC加工プログラ
ムの確認、修正を短時間に行なえるという効果がある。[Effects of the Invention] As explained above, the present invention has the advantage that the NC machining program can be checked and corrected in a short time by reversing the NC machining program from an arbitrary point in time.
第1図は本発明のNC装置の一実施例のブロック図、第
2図は第1図のNC装置による刃物の移動およびそのN
C加工プログラムの例を示す図、第3図は従来のNC装
置による刃物の移動およびそのNC加工プログラムの例
を示す図である。
1・・・人出力信号処理部、
2・・・NC加工プログラム解析部、
3・・・逆行用データ作成部、
4・・・逆行用データ格納部、
5・・・逆行用データ解析部、
6・・・NC実行部、
7・・・位置決め出力部、
8・・・NC加工プログラム。FIG. 1 is a block diagram of an embodiment of the NC device of the present invention, and FIG. 2 shows the movement of the cutter by the NC device of FIG.
FIG. 3 is a diagram illustrating an example of the movement of a cutter by a conventional NC device and an example of the NC machining program. 1... Human output signal processing unit, 2... NC machining program analysis unit, 3... Reverse data creation unit, 4... Reverse data storage unit, 5... Reverse data analysis unit, 6...NC execution section, 7...positioning output section, 8...NC machining program.
Claims (1)
外部からの逆行指令により、NC加工プログラムを逆方
向に実行する、NC加工プログラムの実行方法。 2、NC装置において、逆行用データ格納部と、NC加
工プログラムの実行中、NC加工プログラムを逆行させ
るのに必要な逆行用データをNC加工プログラムの解析
結果から抽出し逆行用データ格納部に格納する逆行用デ
ータ作成部と、外部から逆行指令を入力すると、逆行用
データ格納部から逆行用データを読出し、逆行用データ
とNC加工プログラムから移動データを作成し実行部に
出力する逆行用データ解析部とを有することを特徴とす
るNC装置。[Claims] 1. In the NC device, during execution of the NC machining program,
A method for executing an NC machining program in which the NC machining program is executed in the reverse direction based on a reverse command from an external source. 2. In the NC device, extract data necessary for reversing the NC machining program from the analysis results of the NC machining program and store it in the reversing data storage unit and during the execution of the NC machining program. and a reverse data analysis unit that reads reverse data from the reverse data storage unit when a reverse command is input from the outside, creates movement data from the reverse data and the NC machining program, and outputs it to the execution unit. An NC device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17196088A JPH0222708A (en) | 1988-07-12 | 1988-07-12 | How to run NC device and NC machining program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17196088A JPH0222708A (en) | 1988-07-12 | 1988-07-12 | How to run NC device and NC machining program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0222708A true JPH0222708A (en) | 1990-01-25 |
Family
ID=15932958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17196088A Pending JPH0222708A (en) | 1988-07-12 | 1988-07-12 | How to run NC device and NC machining program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0222708A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1997049016A1 (en) * | 1996-06-20 | 1997-12-24 | Fanuc Ltd | Robot controller having function of moving robot backward |
| US7214440B2 (en) | 2003-03-28 | 2007-05-08 | Honda Motor Co., Ltd. | Metallic separator for fuel cell and production method for the same |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5043386A (en) * | 1973-08-23 | 1975-04-19 | ||
| JPS6115001A (en) * | 1984-06-22 | 1986-01-23 | ウエスチングハウス エレクトリック コ−ポレ−ション | Steam generator |
-
1988
- 1988-07-12 JP JP17196088A patent/JPH0222708A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5043386A (en) * | 1973-08-23 | 1975-04-19 | ||
| JPS6115001A (en) * | 1984-06-22 | 1986-01-23 | ウエスチングハウス エレクトリック コ−ポレ−ション | Steam generator |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1997049016A1 (en) * | 1996-06-20 | 1997-12-24 | Fanuc Ltd | Robot controller having function of moving robot backward |
| US6285921B1 (en) | 1996-06-20 | 2001-09-04 | Fanuc, Ltd. | Robot control apparatus with function for robot backward operation |
| US7214440B2 (en) | 2003-03-28 | 2007-05-08 | Honda Motor Co., Ltd. | Metallic separator for fuel cell and production method for the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4507738A (en) | Numerical control method | |
| JP3537229B2 (en) | Robot control method | |
| US5386499A (en) | Controller and process for effecting a shorter path trajectory in robot movement | |
| KR920002346B1 (en) | Robot controller | |
| JPH0222708A (en) | How to run NC device and NC machining program | |
| JPH056213A (en) | Industrial robot control method and apparatus | |
| CN119136953A (en) | Robot control device, numerical control system and numerical control method | |
| US10671053B2 (en) | Numerical controller and machine tool system | |
| JPS61256407A (en) | Numerical controller | |
| JPH08106320A (en) | Automatic machine and automatic machine control method | |
| KR19990018437A (en) | Multi robot control system and program | |
| JPH1083213A (en) | Method for generating machining data | |
| JP2001014014A (en) | Numerical control method and apparatus | |
| JPS6277610A (en) | Robot controller equipped with step-back function | |
| JPS6232503A (en) | Numerical controller | |
| JPH0511831A (en) | Machining program analysis method in NC controller | |
| JP2002091526A (en) | Numerical controller | |
| JPH07113851B2 (en) | Numerical control machine tool | |
| KR970005617B1 (en) | Method for arching the moving path of end-effector in the robot system | |
| JPS6260006A (en) | Interference checking method for robot control program | |
| JPS62103710A (en) | Robot controller | |
| EP1431849A2 (en) | Numerical control apparatus | |
| JPH0264713A (en) | automatic work equipment | |
| JPH106263A (en) | Instructing method and device for robot | |
| JP2002215210A (en) | How to update the program current position |