JPS6379105A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPS6379105A JPS6379105A JP22438986A JP22438986A JPS6379105A JP S6379105 A JPS6379105 A JP S6379105A JP 22438986 A JP22438986 A JP 22438986A JP 22438986 A JP22438986 A JP 22438986A JP S6379105 A JPS6379105 A JP S6379105A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- height
- tool
- locus
- working
- 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
- 238000012805 post-processing Methods 0.000 claims abstract description 6
- 238000003754 machining Methods 0.000 claims description 19
- 238000012545 processing Methods 0.000 abstract description 18
- 238000007781 pre-processing Methods 0.000 abstract description 13
- 238000004519 manufacturing process Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000005553 drilling Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
この発明は数値制御装置、特に、主軸に平行に移動する
軸と互いに直角な2軸で移動テーブルを移動制御する工
作機械用の数値制御装置に関するものである。[Detailed Description of the Invention] [Industrial Field of Application] This invention relates to a numerical control device, particularly a numerical control device for a machine tool that controls the movement of a moving table in two axes, one that moves parallel to the main axis and one that is perpendicular to each other. It is related to.
[従来の技術]
第5図は一般的な従来の数値制御装置(以下、NCと称
す)を示す構成図であり、第5図において、(1)は機
械本体、(2)は加工テーブル、(3)は主軸ヘッド、
(4a)は加工テーブル(2)の摺動面、(4b)は主
軸ヘッドの摺動面、(5a)は加工テーブル(2)のナ
ツト(2a)に貫通螺合するボールネジ、(5b)は主
軸ヘッド(3)のナツト(3a)に貫通螺合するボール
ネジ、(6a)、 (6b)はボールネジ(5a)。[Prior Art] Fig. 5 is a block diagram showing a general conventional numerical control device (hereinafter referred to as NC). In Fig. 5, (1) is a machine body, (2) is a processing table, (3) is the spindle head,
(4a) is the sliding surface of the processing table (2), (4b) is the sliding surface of the spindle head, (5a) is a ball screw that is threaded through the nut (2a) of the processing table (2), and (5b) is the sliding surface of the processing table (2). Ball screws (6a) and (6b) are ball screws (5a) that are threaded through the nut (3a) of the spindle head (3).
(5b)の駆動用サーボモータ(7a)、 (7b)
は検出器である。(5b) drive servo motor (7a), (7b)
is the detector.
上記主軸ヘッド(3)には主軸モータが内蔵され、チャ
ック(8)につけた工具(9)を回転させ、加工テーブ
ル(2)に載せられたワーク(10)に対して、移動さ
せることにより加工を行う。The spindle head (3) has a built-in spindle motor, which rotates the tool (9) attached to the chuck (8) and processes the workpiece (10) placed on the processing table (2) by moving it. I do.
各軸の移動はNC(11)がサーボモータ(6a)、
(6b)を駆動することにより行われる。The movement of each axis is controlled by the NC (11) using a servo motor (6a),
(6b).
(12)はNC(11)と機械本体(1)に取付けられ
た過ユニットを接続するためのケーブルである。(12) is a cable for connecting the NC (11) and the over unit attached to the machine body (1).
第6図は上記NC(11)の概略構成を示す。FIG. 6 shows a schematic configuration of the NC (11).
第6図において、(13)はCPUであり系全体の制御
を行う、(14)はメモリーであり、系を制御する制御
プログラムの格納領域と加ニブログラムの格納領域にわ
かれている。(15)はオペレータに情報を伝えるため
のディスプレイ、(16)は系の制御のためのスイッチ
の配置された操作ボード、(17)は系にプログラムを
入力するためのテープリーグ等のデータ入力装置、(1
8)は機械本体と接点信号の入出力を行うインタフェー
ス、(19)はサーボ回路であり、検出器(7a)、
(7b)で検出した検出位置とCPU (13)より
出力する指令位置の差をアナログ電圧に変換してサーボ
アンプ(20)に与え、電力増幅してサーボモータ(6
a)、 (6b)を駆動して加工テーブル(2)を移
動させる。In FIG. 6, (13) is a CPU which controls the entire system, and (14) is a memory which is divided into a storage area for a control program that controls the system and a storage area for a program. (15) is a display for conveying information to the operator, (16) is an operation board with switches for controlling the system, and (17) is a data input device such as a tape league for inputting programs to the system. , (1
8) is an interface for inputting and outputting contact signals with the machine body, (19) is a servo circuit, and a detector (7a),
The difference between the detected position detected by (7b) and the command position output from the CPU (13) is converted into an analog voltage and applied to the servo amplifier (20), which amplifies the power and drives the servo motor (6).
a) and (6b) to move the processing table (2).
つぎに動作について説明する。加工テーブル(2)の位
置は1店を原点として、そこからの座標値で指令される
。加工テーブル(2)が移動すべき点は、1動作づつ命
令ブロックで順次与えられる。したがって、例えば、ド
リル穴をあけようとする場合、まず、工具のX、Y座標
およびZ方向の値をワークの図面および機械原点との関
係により求め、プログラムとしてNC(11)に与えな
ければならない。この座標値を拾うことが、加ニブログ
ラム作成作業の負荷の大きな部分をしめている。Next, the operation will be explained. The position of the processing table (2) is commanded using coordinate values from one shop as the origin. The points to which the processing table (2) should be moved are sequentially given one operation at a time in command blocks. Therefore, for example, when drilling a hole, the values of the tool's X, Y coordinates, and Z direction must first be determined from the drawing of the workpiece and the relationship with the machine origin, and then provided to the NC (11) as a program. . Picking up these coordinate values is a major part of the work load of creating a Canadian program.
[発明が解決しようとする問題点]
一般的加工においては、先ず、第7図(A)に示すよう
に、エンドミル、フェイスミル等の工具(9a)で加工
面を平らにするというような前加工を行い、つぎに第7
図(B)に示すように、ドリル等の工具(9a)でその
加工面に穴をあけるというように後加工が行われる。こ
の場合、工具(9a)、 (9b)の夫々について移
動軌跡を作らなければならないため、共通の座標値Zo
があっても、加工毎に前記共通の座標値Z。を図面上か
ら拾い直さなければならないといった問題点があった。[Problems to be Solved by the Invention] In general machining, first, as shown in FIG. processing, then the seventh
As shown in Figure (B), post-processing is performed by drilling holes in the processed surface using a tool (9a) such as a drill. In this case, since a movement trajectory must be created for each of tools (9a) and (9b), a common coordinate value Zo
Even if there is, the common coordinate value Z is used for each machining process. There was a problem in that it had to be picked up again from the drawing.
この発明は上記のような問題点を解消するためになされ
たもので、加ニブログラム作成の能率を向上させた数値
制御装置を得ることを目的とする。The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a numerical control device that improves the efficiency of creating a computer program.
[問題点を解決するための手段]
この発明に係る数値制御装置は前加工の工具軌跡を記憶
して該工具軌跡を参照することにより、後加工の切削開
始点等の一部の工具軌跡データを自動的に決定するロジ
ックを具備したものである。[Means for Solving the Problems] The numerical control device according to the present invention stores the tool trajectory of pre-processing and refers to the tool trajectory, thereby saving some tool trajectory data such as the cutting start point of post-processing. It is equipped with logic that automatically determines the
[作用]
この発明におけるロジックは、前加工の工具軌跡を記憶
、参照して、後加工の切削開始点等の一部の工具軌跡デ
ータを自動的に決定することにより、加ニブログラム作
成の能率が向上する。[Operation] The logic in this invention improves the efficiency of creating a cutting program by storing and referring to the tool trajectory of the pre-processing and automatically determining part of the tool trajectory data such as the cutting start point of the post-processing. improves.
[発明の実施例]
以下、この発明の一実施例を図について説明する。この
発明はソフトウェアに特徴があり、ノ九−ドウェアの基
本的構造は前記第5図乃至大7図の従来例と変わらない
。[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. This invention is characterized by software, and the basic structure of the software is the same as the conventional example shown in FIGS. 5 to 7.
第1図はメモリ(14)のエリアの構造を示すもので、
第1図において、(14a)は系をコントロールするた
めの制御プログラムが格納されているエリア、(14a
)はそれに付加した工具軌跡データ処理ののためのソフ
トウェアモジュール、(14c)は制御プログラム実行
のための中間データを記憶しておくワーキングエリア、
(14d)は工具軌跡データ処理のために付加したワー
キングエリア、(14e)は加ニブログラムを記憶する
ための記憶エリア、(14f)は前加工の工具軌跡の記
憶エリア、(14g)は工具番号毎にその工具径等の工
具データを記憶する記憶エリアである。Figure 1 shows the structure of the memory (14) area.
In FIG. 1, (14a) is an area where a control program for controlling the system is stored;
) is a software module added to it for processing tool path data, (14c) is a working area that stores intermediate data for executing the control program,
(14d) is a working area added for processing tool path data, (14e) is a storage area for storing the cutting program, (14f) is a storage area for the tool path of previous machining, and (14g) is for each tool number. This is a storage area for storing tool data such as the tool diameter.
第2図は、加ニブログラムを先頭から順に解析して、移
動データをサーボ側に出力する際に付加する処理を示す
フローチャートで、第2図において、ステップ2−1は
加ニブログラム1単位リード、ステップ2−2はフォー
マット変換ルーチン、ステップ2−3は軌跡セーブ、ス
テップ2−4は出力である。すなわち、加ニブログラム
の解析により求まる中間データである工具軌跡を、その
時の工具径と共に第1図に示すメモリー(14)の記憶
エリア(14f)に蓄える処理である。Fig. 2 is a flowchart showing the processing added when analyzing the Cannibal program in order from the beginning and outputting movement data to the servo side. 2-2 is a format conversion routine, step 2-3 is a trajectory save, and step 2-4 is an output. That is, this is a process in which the tool trajectory, which is intermediate data determined by analysis of the cutting program, is stored in the storage area (14f) of the memory (14) shown in FIG. 1, along with the tool diameter at that time.
第3図は第2図のフォーマット変換ルーチン(2−2)
に付加した処理であり、セーブされた前加工と現在処理
しているブロックの軌跡が干渉するか否かを判断しくス
テップ3−1)、干渉すると判断されたときは前加工の
加工平面Z。を現ワークの高さとして内部記憶をセット
しくステップ3−2) 、切込開始点Z 1加工深さ2
2等を計算する(ステップ3−3)。また、ステップ3
−1で干渉されないことが判断されたときは、加工平面
の高さZoが与えられているか判断しくステップ3−4
)、高さZoが与えられているときは前記ステップ3−
3に至り、高さZが与えられていないときはエラーリタ
ーン(ステップ3−5)するルーチンである。Figure 3 shows the format conversion routine (2-2) in Figure 2.
This is a process added to step 3-1) in which it is determined whether or not the saved pre-processing and the locus of the block currently being processed interfere. If it is determined that they interfere, the machining plane Z of the previous process is determined. Set the internal memory as the height of the current workpiece (step 3-2), cutting start point Z 1 machining depth 2
2nd grade is calculated (step 3-3). Also, step 3
-1 If it is determined that there is no interference, check whether the height Zo of the machining plane is given or not in step 3-4.
), and when the height Zo is given, the step 3-
3, and if the height Z is not given, the routine returns as an error (step 3-5).
第4図にその処理例を示す。(51)は前加工工具(9
a)の加工軌跡、(10a)は前加工される平面であり
、その平面(10a)に後加工工具(9b)でドリル穴
(22)があけられることを示している。ドリル穴(2
2)の−(X、Y)が加工軌跡(51)に工具径の幅を
オフセットした範囲に入るか否かは、2次方程式を解く
ことにより容易に判別可能である。FIG. 4 shows an example of the processing. (51) is the pre-processing tool (9
In the machining locus a), (10a) is a plane to be pre-machined, and it shows that a drill hole (22) is made in the plane (10a) with a post-machining tool (9b). Drill hole (2
Whether or not -(X, Y) in 2) falls within the range obtained by offsetting the width of the tool diameter from the machining locus (51) can be easily determined by solving a quadratic equation.
現加工位置が前加工軌跡工具幅を持たせたちのと干渉す
る場合、加工平面の高さく第7図におけるZ。)は前加
工の加工高さと同一であり、これを現加工の加工平面と
し、さらに、Zoにクリアランスを持たせた切削開始点
(第7図21早送りから切削送りに切換る点)を求める
ことができる。If the current machining position interferes with the previous machining path with a tool width, the height of the machining plane will be higher than Z in Fig. 7. ) is the same as the machining height of the previous machining, and this is the machining plane of the current machining, and furthermore, find the cutting start point (Figure 7, 21, point where rapid feed changes to cutting feed) with a clearance for Zo. Can be done.
また、穴深さのデータのみでドリルの到達すべき点(第
7図の22)を求めることができる。Further, the point to be reached by the drill (22 in FIG. 7) can be determined using only the hole depth data.
そのため、前加工がされている平面の加工では加工面の
高さのプログラムデータを省略することが可能である。Therefore, when machining a plane that has been previously machined, it is possible to omit program data for the height of the machined surface.
前加工のない箇所は加工面の高さをプログラムするよう
にし、プログラムミスにより前加工がないのに加工面の
高さの指定がない場合はアラームとすることができる。The height of the machined surface is programmed for areas where there is no pre-processing, and an alarm can be set if the height of the machined surface is not specified even though there is no pre-processing due to a programming error.
[発明の効果]
以上のように、この発明によれば2.1本の加ニブログ
ラムについて、前加工軌跡の記憶と解析により、後加工
のデータの一部である切削開始点を自動決定するような
ロジックを付加するように構成したので、加ニブログラ
ム作成の能率が向上するという効果がある。[Effects of the Invention] As described above, according to the present invention, the cutting start point, which is part of the post-processing data, can be automatically determined for 2.1 Canadian Nibragrams by storing and analyzing the pre-processing trajectory. Since it is configured to add logic, it has the effect of improving the efficiency of creating a program.
第1図はこの発明の一実施例による数値制御装置のメモ
リの割付けを示す図、第2図、第3図はその数値制御装
置を実施するために付加した処理を示すフローチャート
図、第4図はこの発明の処理内容と加工箇所の関係を示
す図、第5図は従来の数値制御装置を示す構成図、第6
図は数値制御装置の内部構成の概略を示すブロック図、
第7図A)及び(B)は従来の加工とプログラムの関係
を示す図である。
図において、(2)は移動テーブル、(3)は主軸ヘッ
ド、(5a)、 (5b)は軸、(9)。
(9a)、 (9b)は工具である。
なお、図中、同一符号は同−又は相当部分を示す。FIG. 1 is a diagram showing memory allocation of a numerical control device according to an embodiment of the present invention, FIGS. 2 and 3 are flowcharts showing processing added to implement the numerical control device, and FIG. 4 5 is a diagram showing the relationship between processing contents and processing locations of the present invention, FIG. 5 is a configuration diagram showing a conventional numerical control device, and FIG.
The figure is a block diagram showing the outline of the internal configuration of the numerical control device.
FIGS. 7A and 7B are diagrams showing the relationship between conventional machining and programs. In the figure, (2) is a moving table, (3) is a spindle head, (5a) and (5b) are shafts, and (9). (9a) and (9b) are tools. In addition, in the figures, the same reference numerals indicate the same or corresponding parts.
Claims (1)
ブルを移動制御する工作機械用の数値制御装置において
、前加工の工具軌跡を記憶して該工具軌跡を参照するこ
とにより、それ以後の後加工の切削開始点を自動的に決
定するロジックを具備したことを特徴とする数値制御装
置。In a numerical control device for a machine tool that controls the movement of a moving table using two axes, one that moves parallel to the main axis and the other that is perpendicular to each other, the tool trajectory of previous machining is memorized and the tool trajectory is referenced. A numerical control device characterized by having logic for automatically determining a cutting start point for post-processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22438986A JPS6379105A (en) | 1986-09-22 | 1986-09-22 | Numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22438986A JPS6379105A (en) | 1986-09-22 | 1986-09-22 | Numerical controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6379105A true JPS6379105A (en) | 1988-04-09 |
Family
ID=16812979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22438986A Pending JPS6379105A (en) | 1986-09-22 | 1986-09-22 | Numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6379105A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02252003A (en) * | 1989-03-24 | 1990-10-09 | Fanuc Ltd | Nc message forming system |
-
1986
- 1986-09-22 JP JP22438986A patent/JPS6379105A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02252003A (en) * | 1989-03-24 | 1990-10-09 | Fanuc Ltd | Nc message forming system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0104409B1 (en) | A method of establishing safe zones in a numerically controlled machine | |
KR101744962B1 (en) | System for processing wood member using multi-articulated robot | |
US11567470B2 (en) | Computer-aided optimization of numerically controlled machining of a workpiece | |
KR20060031356A (en) | Optimized machining controller for automatic machining device and automatic machining device with said controller | |
US9690284B2 (en) | Machine tool for chamfering and chamfering method | |
JPH11170117A (en) | Controlling method and device for moving spindle of machine tool | |
US6163735A (en) | Numerically controlled machine tool | |
US11577353B2 (en) | Machining program generation device and machining method | |
JPS6379105A (en) | Numerical controller | |
JPH08263115A (en) | Interference evading method for nc machine tool | |
JPH0716850B2 (en) | Axis switching device | |
JPH05177480A (en) | Controller of machining center equipped with automatic tool changer | |
WO2023012990A1 (en) | Numerical control device | |
US20230185272A1 (en) | Program analyzer and control system | |
US11402816B2 (en) | Numerical control device | |
JPS63196906A (en) | Programming device for lathe | |
KR100227183B1 (en) | Multiple piston processing machine | |
JP2008004124A (en) | Numerical control machining device | |
JP2005034961A (en) | Numerical control machining device | |
JPH11123637A (en) | Measuring method for tool size of nc system | |
KR200373049Y1 (en) | Oil providing device for automatic machining device controlled by optimized machining controller | |
JPH08150540A (en) | Interference preventing device for machine tool | |
KR0136695B1 (en) | Combined numerical controller | |
JPH0790445B2 (en) | Machine Tools | |
JPH056046Y2 (en) |