JPH03224006A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPH03224006A JPH03224006A JP2020251A JP2025190A JPH03224006A JP H03224006 A JPH03224006 A JP H03224006A JP 2020251 A JP2020251 A JP 2020251A JP 2025190 A JP2025190 A JP 2025190A JP H03224006 A JPH03224006 A JP H03224006A
- Authority
- JP
- Japan
- Prior art keywords
- machining program
- working program
- program
- decoding processing
- editing
- 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
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、ロボットの数値制御装置に関するものである
。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a numerical control device for a robot.
従来の技術
第4図は従来のこの種の数値制御装置の概略が示されて
いる。従来は加工プログラム編集手段1により編集され
た加工プログラムは、そのまニブログラム記憶手段2に
記憶され、次いでプログラム解読処理手段3によるプロ
グラムの解読を実行した後、移動座標計算手段4により
移動座標を計算し、次いで補間演算部で補間演算を行な
った後、サーボ制御部6を制御していた。BACKGROUND ART FIG. 4 schematically shows a conventional numerical control device of this type. Conventionally, the machining program edited by the machining program editing means 1 is stored as it is in the Niprogram storage means 2, and after the program is decoded by the program decoding processing means 3, the movement coordinates are calculated by the movement coordinate calculation means 4. Then, after performing interpolation calculation in the interpolation calculation section, the servo control section 6 is controlled.
発明が解決しようとする課題
しかしながら、従来のこのような数値制御装置では、加
工プログラム記憶手段1の加工プログラムを解析する上
で、プログラム解読処理手段3に多くの時間を取られて
高速に解析処理を実行できないため、移動指令を出力し
終わるまでに次の移動指令を計算できない場合があり、
その場合にはワークの切削面が不連続となる問題があっ
た。Problem to be Solved by the Invention However, in such a conventional numerical control device, when analyzing the machining program in the machining program storage means 1, the program decoding processing means 3 takes a lot of time, and the analysis processing cannot be performed at high speed. , it may not be possible to calculate the next movement command before the movement command has been output.
In that case, there is a problem that the cut surface of the workpiece becomes discontinuous.
本発明は、このような従来の問題を解決するものであり
、加工プログラムの解析処理を高速に行なうことのでき
る優れた数値制御装置を提供することを目的とする。The present invention is intended to solve such conventional problems, and aims to provide an excellent numerical control device that can perform analysis processing of machining programs at high speed.
課題を解決するための手段
本発明は、前記目的を達成するために、加工プログラム
編集手段により加工プログラムを編集した後、直ちに解
読処理手段を実行し、その後に加工プログラム記憶手段
に加工プログラムと解読処理した情報とを記憶するよう
にしたものである。Means for Solving the Problems In order to achieve the above object, the present invention executes the decoding processing means immediately after editing the machining program by the machining program editing means, and then stores the machining program and decoding in the machining program storage means. The processed information is stored.
作用
したがって、本発明の数値制御装置によれば、加工ブロ
クラムの実行時に加工プログラム解読処理の時間だけ処
理が高速になり、指令出力が途切れることが従来よりも
減少するので、複雑なワークの加工を高速に実行するこ
とができる。Therefore, according to the numerical control device of the present invention, the processing speed is increased by the time taken to decode the machining program when executing the machining block, and the interruption of command output is reduced compared to the conventional method, making it possible to machine complex workpieces. Can be executed quickly.
実施例
第1図は本発明の一実施例における数値制御装置の概略
構成を示している。第1図において、11は加工プロク
ラム編集手段、12は第1プログラム解読処理手段、1
3は加工プログラム記憶手段、14は第2プログラム解
読処理手段、15は移動座標計算手段、16は補間演算
部、17はサーボ制御部である。Embodiment FIG. 1 shows a schematic configuration of a numerical control device in an embodiment of the present invention. In FIG. 1, 11 is a processing program editing means, 12 is a first program decoding processing means, 1
3 is a machining program storage means, 14 is a second program decoding processing means, 15 is a movement coordinate calculation means, 16 is an interpolation calculation section, and 17 is a servo control section.
次に、前記実施例の動作について説明する。まず、加工
プログラム編集手段11により加工プログラムを編集す
る。次に第1プログラム解読処理手段12によりGコー
ドおよびX、Y、I、J。Next, the operation of the above embodiment will be explained. First, the machining program editing means 11 edits the machining program. Next, the first program decoding processing means 12 reads the G code and X, Y, I, J.
Xコードを解読する。次に加工プログラムおよび解読さ
れたGコード、XSY、I、J、に:I−ドの情報を加
工プログラム記憶手段13に記憶し、他の解析されてい
ないコードが存在するかどうかのフラグを記憶する。Decipher the X code. Next, the machining program and the decoded G code, XSY, I, J, and I-code information are stored in the machining program storage means 13, and a flag indicating whether or not other unanalyzed codes exist is stored. do.
加工プログラムの実行時には、加工プログラム記憶手段
13から加工プログラムを読み込み、第2プログラム解
読処理手段14で解析していないコードが存在すればそ
の解析を行ない、次の移動座標計算手段15で目標座標
の計算を行ない、そして補間演算部16で補間演算を行
なった後、サーボ制御部17にパルスを分配してサーボ
モータを制御する。When executing a machining program, the machining program is read from the machining program storage means 13, and if there is a code that has not been analyzed by the second program decoding processing means 14, it is analyzed, and the next movement coordinate calculation means 15 calculates the target coordinates. After the calculation is performed and the interpolation calculation is performed in the interpolation calculation unit 16, pulses are distributed to the servo control unit 17 to control the servo motor.
第2図は加工プログラム記憶手段13におけるプログラ
ム記憶領域を示している。領域131は第1加工プログ
ラム解読処理手段12で解読したGコード解読フラグを
記憶するとともに、まだ解読していないコードの有無を
記憶する。領域132はXコードを機械座標に変換した
Xコードデータを記憶する。領域133はYコードを機
械座標に変換したXコードデータを記憶する。領域13
4は2コードを機械座標に変換したZコードデータを記
憶する。領域135は!コードを機械座標に変換しIコ
ードデータを記憶する。領域136はJコードを機械座
標に変換したJコードデータを記憶する。領域137は
にコードを機械座標に変換したにコードデータを記憶す
る。領域138は加工プログラムを記憶する。FIG. 2 shows a program storage area in the machining program storage means 13. The area 131 stores the G code decoding flag decoded by the first machining program decoding processing means 12, and also stores the presence or absence of a code that has not been decoded yet. Area 132 stores X code data obtained by converting the X code into mechanical coordinates. Area 133 stores X code data obtained by converting the Y code into mechanical coordinates. Area 13
4 stores Z code data obtained by converting the 2 code into machine coordinates. Area 135 is! Converts the code to machine coordinates and stores I code data. Area 136 stores J code data obtained by converting the J code into machine coordinates. Area 137 stores code data obtained by converting the code into machine coordinates. Area 138 stores a machining program.
第3図は加工プログラムの一例を示している。FIG. 3 shows an example of a machining program.
命令111は、第1プログラム解読処理手段12により
プログラム記憶領域131のGコード解読フラグにG9
0とGOIおよびXSXコードデータがあることおよび
他にコードがないことを記憶する。命令112は、Xコ
ードとYコードとを機械座標に変換してそのデータをプ
ログラム領域132および133に記憶する。命令11
3は、第1ブロクラム解読処理手段12では解読されず
、第2プログラム解読処理手段14で解読されるもので
、移動座標計算手段15におけるXコードデータおよび
Xコードデータの値をそのまま使用する。なお、この命
令113の実行時には命令111は第2プログラム解読
処理手段14では実行されない。The instruction 111 causes the first program decoding processing means 12 to set the G code decoding flag in the program storage area 131 to G9.
0, GOI, and XSX code data, and that there are no other codes. Instructions 112 convert the X and Y codes to machine coordinates and store the data in program areas 132 and 133. Instruction 11
3 is not decoded by the first block diagram decoding processing means 12, but is decoded by the second program decoding processing means 14, and the values of the X code data and the X code data in the movement coordinate calculation means 15 are used as they are. Note that when this instruction 113 is executed, the instruction 111 is not executed by the second program decoding processing means 14.
発明の効果
以上のように、本発明の数値制御装置によれば、加工プ
ログラム編集手段により加工プログラムを編集した後、
直ちに解読処理手段を実行し、その後に加工プログラム
記憶手段に加工プログラムと解読処理した情報とを記憶
するようにしたので、加工プログラムの実行時に加工プ
ログラム解読処理の時間だけ処理が高速になり、指令出
力が途切れることが従来よりも減少し、複雑なワークの
加工を円滑かつ高速に行なうことができる。Effects of the Invention As described above, according to the numerical control device of the present invention, after editing a machining program by the machining program editing means,
Since the decoding processing means is immediately executed and the machining program and decoding processed information are then stored in the machining program storage means, the processing speed is increased by the time taken to decode the machining program when the machining program is executed, and the command There are fewer output interruptions than before, and complex workpieces can be machined smoothly and at high speed.
第1図は本発明の一実施例を示す数値制御装置の概略ブ
ロック図、第2図は同数値制御装置における加工プログ
ラム記憶手段のプログラム記憶領域を示す図、第3図は
同数値制御装置における加工プログラムの一例を示す図
、第4図は従来例における数値制御装置の概略ブロック
図である。
11・・・加工プログラム編集手段、12・・・第1プ
ログラム解読処理手段、13・・・加工プログラム記憶
手段、14・・・第2プログラム解読処理手段、15・
・・移動座標計算手段、16・・・補間演算部、17・
・・サーボ制御部。FIG. 1 is a schematic block diagram of a numerical control device showing an embodiment of the present invention, FIG. 2 is a diagram showing a program storage area of a machining program storage means in the same numerical control device, and FIG. 3 is a diagram showing a program storage area of a machining program storage means in the same numerical control device. FIG. 4, which is a diagram showing an example of a machining program, is a schematic block diagram of a conventional numerical control device. 11... Machining program editing means, 12... First program decoding processing means, 13... Machining program storage means, 14... Second program decoding processing means, 15.
...Movement coordinate calculation means, 16...Interpolation calculation section, 17.
...Servo control section.
Claims (1)
段により編集された加工プログラムを解読するプログラ
ム解読処理手段と、前記加工プログラムおよびと解読さ
れた情報を記憶する加工プログラム記憶手段と、前記加
工プログラムに従って目標座標を計算する移動座標計算
手段と、前記目的座標間の補間を行なう補間演算部と、
前記補間演算部の出力に従ってサーボモータを制御する
サーボ制御部とを備えた数値制御装置。machining program editing means; program decoding processing means for decoding the machining program edited by the machining program editing means; machining program storage means for storing the machining program and decoded information; a moving coordinate calculation unit that calculates the target coordinates; an interpolation calculation unit that performs interpolation between the target coordinates;
and a servo control section that controls a servo motor according to the output of the interpolation calculation section.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020251A JPH03224006A (en) | 1990-01-30 | 1990-01-30 | Numerical controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020251A JPH03224006A (en) | 1990-01-30 | 1990-01-30 | Numerical controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03224006A true JPH03224006A (en) | 1991-10-03 |
Family
ID=12021980
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020251A Pending JPH03224006A (en) | 1990-01-30 | 1990-01-30 | Numerical controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03224006A (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5972727A (en) * | 1982-10-19 | 1984-04-24 | Matsushita Electric Ind Co Ltd | Positioning table |
| JPS59129636A (en) * | 1983-01-10 | 1984-07-26 | Hitachi Ltd | Stage control device with 6 degrees of freedom |
| JPS62180291A (en) * | 1986-02-05 | 1987-08-07 | キヤノン株式会社 | Stage for adjustment |
| JPH01242989A (en) * | 1988-03-24 | 1989-09-27 | Kazuya Hirose | Longitudinal and lateral moving and swiveling mechanism for table |
-
1990
- 1990-01-30 JP JP2020251A patent/JPH03224006A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5972727A (en) * | 1982-10-19 | 1984-04-24 | Matsushita Electric Ind Co Ltd | Positioning table |
| JPS59129636A (en) * | 1983-01-10 | 1984-07-26 | Hitachi Ltd | Stage control device with 6 degrees of freedom |
| JPS62180291A (en) * | 1986-02-05 | 1987-08-07 | キヤノン株式会社 | Stage for adjustment |
| JPH01242989A (en) * | 1988-03-24 | 1989-09-27 | Kazuya Hirose | Longitudinal and lateral moving and swiveling mechanism for table |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7155303B2 (en) | Numeric control method and numeric control system | |
| JPS62267804A (en) | Nc data changing method | |
| JP3563077B2 (en) | Numerical control command creation device and method | |
| JPWO1998019823A1 (en) | Numerical control command creation device and method | |
| JP2849168B2 (en) | Numerical control information creation device | |
| JPH03224006A (en) | Numerical controller | |
| JP2753364B2 (en) | Numerical control information creation device | |
| JP2021114329A (en) | Numerical control device | |
| JPH06100929B2 (en) | NC data creation method for machining uncut parts in NC data creation device | |
| JPS61256407A (en) | Numerical controller | |
| JP2001166807A (en) | Machining command method of numerical controller | |
| JPH0421203B2 (en) | ||
| JP2966672B2 (en) | How to create NC data for corners | |
| JPS6255708A (en) | Numerical controller | |
| JPH08150540A (en) | Interference preventing device for machine tool | |
| JPS59211105A (en) | Producing method of part program | |
| JP3233620B2 (en) | NC data creation apparatus and method | |
| JPH07253810A (en) | Numerical control processing unit | |
| JPS6232503A (en) | numerical control device | |
| JPH05204421A (en) | Method for processing nc program | |
| JPS60222904A (en) | Control method of coordinate system conversion of numerically controlled lathe | |
| JPH07171691A (en) | Laser beam machining method | |
| KR0175555B1 (en) | Cutting control method of workpiece | |
| JPS63113607A (en) | Setting method for machining condition | |
| JPH0259256A (en) | How to display tool movement in NC machine tools |