JPS6142005A - Method for determining positioning path - Google Patents
Method for determining positioning pathInfo
- Publication number
- JPS6142005A JPS6142005A JP16361184A JP16361184A JPS6142005A JP S6142005 A JPS6142005 A JP S6142005A JP 16361184 A JP16361184 A JP 16361184A JP 16361184 A JP16361184 A JP 16361184A JP S6142005 A JPS6142005 A JP S6142005A
- Authority
- JP
- Japan
- Prior art keywords
- tool
- positioning
- path
- obstacle
- positioning path
- 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
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Program-control systems
- G05B19/02—Program-control systems electric
- G05B19/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
- G05B19/4093—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part program, for the NC machine
- G05B19/40931—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part program, for the NC machine concerning programming of geometry
- G05B19/40932—Shape input
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35316—Interference checking between tool, machine, part, chuck, machining range
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
- Safety Devices In Control Systems (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分計〉
本発明は位置決め通路決定方法に係り、特に対象物の障
害部分や治工具等の位置決めに際して障害となる障害物
の形状と位置を特定してお(ことによゆ、位置決め開始
点と終了点とから障害物に干渉しない位置決め通路を自
動的に決定する位置決め通路決定方法に関する。[Detailed Description of the Invention] <Industrial Application> The present invention relates to a method for determining a positioning path, and in particular, it is a method for identifying the shape and position of obstacles that become an obstacle when positioning an obstructing part of an object, a jig, etc. Particularly, the present invention relates to a positioning path determining method for automatically determining a positioning path that does not interfere with obstacles from a positioning start point and a positioning end point.
〈従来技術〉
1つの加工終了後に次の加工を行うには、工具を加工終
了点から線法の加工開始点へ位置決めする必要がある。<Prior Art> In order to perform the next machining after completing one machining, it is necessary to position the tool from the machining end point to the machining start point in the line method.
ところで、一般に、加工終了点である位置決め開始点と
次の加工開始点である位置決め終了点が与えられると、
自動的に位置決め通路(たとえば2点を結ぶ直線通j1
)が決定されろ。By the way, generally, when a positioning start point which is the machining end point and a positioning end point which is the next machining start point are given,
Automatically positioning passage (for example, straight line connecting two points j1)
) shall be determined.
しかし、上記位置決め通路に沿って工具を移動させると
工具が障害物と衝突し、該工具の折れ損、その他の不具
合をを生じる場合がある。尚、障害物としては、たとえ
ばワーク(対象物)を機械に固定する治工具や対象物そ
のものがある。However, when the tool is moved along the positioning path, the tool collides with an obstacle, which may cause breakage of the tool or other problems. Note that the obstacles include, for example, jigs and tools for fixing a workpiece (object) to a machine, and the object itself.
第8図はかかる状況を説明する説明図であり、対象物W
Kに工具TLで穴明は加工を行う場合である。対象物の
第2面SF2に穴HL:を開けた後、対象物の第2面S
F2に穴HL2を開けろものとすれば、工具TLを第1
穴HLIから第2穴HL2に位置決めしなくてはならな
いが、位置決め通路を第1、第2の穴を結ぶ直線通路で
あるとすると、該位置決め通路(第1図点線参照)に沿
って工具を移動させると、途中に突起物PRが存在する
ため、工具TLは突起物PRに衝突(干渉)してしまう
。このため、位置決め通路は該突起物PRと干渉しない
ように新たに決定する必要がある。そして、干渉しない
通路は、たとえば工具TLを+2軸方向(以後逃げ方向
という)に所定の逃げポイントP1迄逃がし、しかる後
逃げポイントP!を含むX−Y平面に平行な平面上を該
逃げポイントから第2の穴HL2の真上ポイントP ′
迄移動させ、最後に−Z軸方向に工具を移動させろ通路
となる。FIG. 8 is an explanatory diagram for explaining such a situation, in which the object W
This is a case where drilling is performed on K using tool TL. After making a hole HL: on the second surface SF2 of the object, the second surface S of the object
If hole HL2 is to be drilled in F2, tool TL should be
The tool must be positioned from the hole HLI to the second hole HL2, but if the positioning path is a straight path connecting the first and second holes, the tool must be moved along the positioning path (see dotted line in Figure 1). When the tool TL is moved, since there is a protrusion PR on the way, the tool TL collides with (interferences with) the protrusion PR. Therefore, it is necessary to newly determine the positioning path so as not to interfere with the protrusion PR. The non-interfering path allows the tool TL to escape in the +2 axis direction (hereinafter referred to as escape direction) to a predetermined escape point P1, and then escape point P! from the escape point to the point P' directly above the second hole HL2 on a plane parallel to the XY plane including
Finally, move the tool in the -Z axis direction to form a passage.
〈発明が解決しようとしている問題点〉さて、穴明は加
工を考えると従来は、各穴を加工するに必要な加工工程
、使用工具、穴寸法等を入力すると共に、穴位置を入力
し、更に1つの穴から次の穴への位置決め時に工具が障
害物と干渉しないように位置決め通路を特定し、自動プ
ログラミング装置はこれらのデータから自動的に穴あけ
用のNCプログラムデータを作成し、NC装置は該NC
プログラムデータを用いて数値制御処理を行い指令通り
の穴明は加工を実行する。<Problems to be solved by the invention> Now, when considering hole drilling, conventionally, the machining process, tools used, hole dimensions, etc. required for each hole are inputted, and the hole position is inputted. Furthermore, the positioning path is specified so that the tool does not interfere with obstacles when positioning from one hole to the next, and the automatic programming device automatically creates NC program data for drilling from this data, and the NC device is the corresponding NC
Numerical control processing is performed using program data to drill holes and process according to instructions.
しかし、従来の方法ではプログラムミスにより工具が障
害物に干渉する場合があり、しかも治工具、突起物など
の障害物をその都度考慮しながら位置決め通路を特定し
なくてはならないためプログラミングが煩わしくなる欠
点があった。However, with conventional methods, the tool may interfere with obstacles due to programming errors, and programming becomes cumbersome as the positioning path must be specified while taking into account obstacles such as jigs and protrusions each time. There were drawbacks.
く問題点を解決するための手段〉
本発明の位置決め通路決定方法は、予め工具の位置決め
に障害となる障害物の形状とその位置を特定すると共に
、位置決め開始点と位置決め終了点となる第1及び第2
のポイントを特定し、該第1及び第2のポイントの位置
データを用いて所定の規則に従って位置決め通路を求め
、該位置決め通路に沿って工具を移動させるとき、該工
具が障害物に干渉するかどうかをチェックし、干渉する
場合には干渉しない位置決め通路を新たに決定するよう
に構成される。Means for Solving the Problems> The positioning path determining method of the present invention specifies in advance the shape and position of an obstacle that impedes tool positioning, and also identifies the first position which becomes the positioning start point and the positioning end point. and second
A positioning path is determined according to a predetermined rule using the position data of the first and second points, and when the tool is moved along the positioning path, does the tool interfere with an obstacle? If there is interference, a new positioning path that does not interfere is determined.
く作用〉
予め、工具の位置決めに障害となる障害物の形状と位置
を特定する。尚、障害物は対象物を含み、該対象物とそ
の他の障害物(たとえば治工具等)を零を含むいくつか
の直方体と円柱に分割し、各直方体の形状とその位置、
並びに各円柱の形状とその位置とを特定して障害物の形
状と位置を特定する。Effect> In advance, identify the shape and position of obstacles that may impede tool positioning. Note that the obstacles include the target object, and the target object and other obstacles (for example, jigs and tools, etc.) are divided into several rectangular parallelepipeds and cylinders including zero, and the shape and position of each rectangular parallelepiped,
In addition, the shape and position of each cylinder are specified to identify the shape and position of the obstacle.
又、位置決め開始点及び位置決め終了点となる第1及び
第2のポイントを特定する。そして、該第1及び第2の
ポイントの位置データを用いて所定の規則に従って位置
決め通路を求める。Also, first and second points that are the positioning start point and positioning end point are specified. Then, using the position data of the first and second points, a positioning path is determined according to a predetermined rule.
ついで、該決定された位置決め通路に沿って工具を移動
させると該工具が障害物に干渉するかどうかをチェック
する。すなわち、上記喧置決め通路に沿って工具を移動
させるとき、前記全直方体及び全円柱の各部材に対して
工具が干渉するかどうかをチェックする。Next, it is checked whether or not the tool interferes with an obstacle when the tool is moved along the determined positioning path. That is, when the tool is moved along the placement path, it is checked whether the tool interferes with each of the rectangular parallelepiped and cylinder members.
そして、工具が干渉する部材が存在する場合には、工具
逃げ方向に現工具位習より最も離れた面を有する干渉部
材を求め、線面から所定量離れた逃げポイント迄の逃げ
通路を障害物に干渉しない位置決め通路の1部分とする
。すなわち、該逃げポイント迄工具を逃がした後工具を
第2のポイントへ位置決めする。If there is a member that interferes with the tool, find the interfering member that has the plane that is farthest from the current tool position in the tool escape direction, and block the escape path to the escape point that is a predetermined distance from the line surface. This is a part of the positioning path that does not interfere with the That is, after the tool is released to the escape point, the tool is positioned to the second point.
〈実施例〉
第1図、第2図は本発明の詳細な説明する説明図であり
、第1図は対象物の構造図、第2図は障害物の定義方法
説明図である。第1図(A)に示す斜視図において11
は穴明は加工が施される対象物、12〜15は該対象物
を機械に固定する治工具である。対象物11は第1図(
A)の斜視図あるいは第1図(C)の底面図から明らか
なようにZ軸方向に2段になっており、各段部11−1
.11−2に第1図CB)に示す穴11a1い冨1.2
、・ ・ ・)と穴11b、(i=1.2、・ ・・
・)が形成される。尚、以下において、位置決め開始点
及び位置決め終了点となる第1、第2のポイントが特定
されている時の位置決め通路はZ軸方向の同時l軸移動
とX−Y平面におけろ同時2軸移動の組み合わせにより
決定されるものとする。すなわち、第3図(A)に示す
ように、位置決め開始点P、のZ軸座標錬Zmが位置決
め終了点PのZ軸座標値Zsより小さければ+Z方向へ
まず工具を同時1軸制御で移動させ、Z軸現在位置Za
が(Ze+e)となったときZ軸方向の移動を停止しく
Cはクリアランス量である)、ついでX1Yの同時2軸
制御で工具を位置決め終了点P、よりCだけ高い位置P
、Iに位置決めする。又、第3図(B)に示すように、
Zs≧Zeの場合には、まづ工具をX、Yの同時2軸制
御で位置決め終了点P、の真上位置P、/に位置決めし
、ついで−Z軸方向へ工具を同時1軸制御で移動させて
Za=(Zg+e)の位置P、tに位置決めする。<Example> FIGS. 1 and 2 are explanatory diagrams explaining the present invention in detail, FIG. 1 is a structural diagram of an object, and FIG. 2 is an explanatory diagram of a method of defining an obstacle. 11 in the perspective view shown in FIG.
The holes are the objects to be processed, and 12 to 15 are jigs and tools for fixing the objects to the machine. The object 11 is shown in Figure 1 (
As is clear from the perspective view of A) or the bottom view of FIG.
.. In 11-2, the hole 11a1 shown in Figure 1 CB) has a depth of 1.2.
,...) and hole 11b, (i=1.2,...
・) is formed. In addition, in the following, the positioning path when the first and second points serving as the positioning start point and positioning end point are specified is simultaneous l-axis movement in the Z-axis direction and simultaneous two-axis movement in the X-Y plane. It shall be determined by the combination of movements. That is, as shown in Fig. 3 (A), if the Z-axis coordinate value Zm of the positioning start point P is smaller than the Z-axis coordinate value Zs of the positioning end point P, the tool is first moved in the +Z direction by simultaneous one-axis control. Z-axis current position Za
When becomes (Ze + e), the movement in the Z-axis direction is stopped (C is the clearance amount), and then the tool is positioned by simultaneous two-axis control of X1Y and the end point P is higher than the position P by C.
, I. Also, as shown in Figure 3 (B),
If Zs≧Ze, first position the tool at the position P, / just above the positioning end point P by simultaneous 2-axis control in X and Y, and then move the tool in the −Z-axis direction by simultaneous 1-axis control. It is moved and positioned at the position P, t where Za=(Zg+e).
さて、第1図(B)に戻って、段部11−2上に穴11
1)□を加工後に、段部11−1上に穴11a1を加工
するものとすれば、前記第3図に関連して説明した位置
決め通路決定法により求まる位置決め通路に沿って工具
を移動させると、該工具は治工具12に衝突してしまう
。又、段部11−2上に穴1 l b、を加工後に、段
部11−2上に穴11b、を加工するものとすれば、同
様に前記位置決め通路決定方法により求まる位置決め通
路に沿って工具を移動させると工具は対象物の段部11
−1に衝突してしまう。Now, returning to FIG. 1(B), there is a hole 11 on the step 11-2.
1) If the hole 11a1 is to be machined on the stepped portion 11-1 after machining □, if the tool is moved along the positioning path determined by the positioning path determination method explained in relation to FIG. , the tool collides with the tool 12. Moreover, if the hole 11b is machined on the step part 11-2 after the hole 11b is formed on the step part 11-2, the hole 11b is formed on the step part 11-2, and then the hole 11b is formed on the step part 11-2. When the tool is moved, the tool moves to the stepped part 11 of the object.
It collides with -1.
このため、本発明においては予め、第2図に示すように
障害物を構成する対象物11の所定の部分と治工具とを
それぞれいくつかの直方体と円柱とに分割し、各直方体
と円柱の形状、位置とをそれぞれ特定して、登録してい
る。すなわち、対象物については、障害となる部分を直
方体101a〜101cと円柱101dとに分割し、各
直方体並びに円柱の形状と位置を特定して対象物の障害
部分の形状と位置を特定する。又、治工具については直
方体102a〜102dに分割し、各直方体の形状と位
置を特定する。尚、直方体と円柱の形状及び位置は第4
図を参照すると以下のように特定される。ただし、円柱
及び直方体はZ軸に対して傾いていないものとする。さ
て、直方体は第4図(A)に示すように、該直方体を+
Z方向からみた形状(長方形)の隣接する2辺の長さX
とy、と、該2辺をそれぞれX′、Y′軸とするとき
、X−Y座標系(機減腐標系)とx’ =y’座標系間
の各軸距離x1、y、及び回転角度6゛1と、Z軸に垂
直な直方体の面のZ方向位置2.とで特定される。Therefore, in the present invention, as shown in FIG. 2, a predetermined portion of the object 11 and the tool constituting the obstacle are divided into several rectangular parallelepipeds and cylinders, respectively, and each rectangular parallelepiped and cylinder are separated. The shape and position are each identified and registered. That is, for the object, the obstructing portion is divided into rectangular parallelepipeds 101a to 101c and cylinder 101d, and the shape and position of each rectangular parallelepiped and cylinder are specified to identify the shape and position of the obstructing portion of the object. Furthermore, the jigs and tools are divided into rectangular parallelepipeds 102a to 102d, and the shape and position of each rectangular parallelepiped is specified. In addition, the shape and position of the rectangular parallelepiped and cylinder are as follows.
Referring to the figure, it is identified as follows. However, it is assumed that the cylinder and the rectangular parallelepiped are not inclined with respect to the Z axis. Now, as shown in Figure 4 (A), the rectangular parallelepiped is +
Length of two adjacent sides of the shape (rectangle) viewed from the Z direction
and y, and when these two sides are the X' and Y' axes, respectively, the axis distances between the X-Y coordinate system (machine corrosion reference system) and the x' = y' coordinate system are x1, y, and The rotation angle is 6.1 and the Z direction position of the plane of the rectangular parallelepiped perpendicular to the Z axis is 2. It is specified by
又、円柱は第4図(B)に示すように、該円柱の断面で
ある円の中心位置(xc SY c )と円弧半径rと
Z軸に垂直な円柱の面のZ方向位置zcとで特定されろ
。In addition, as shown in Fig. 4 (B), the cylinder has a center position (xc SY c ) of the circle that is the cross section of the cylinder, an arc radius r, and a Z-direction position zc of the cylinder surface perpendicular to the Z-axis. Be identified.
そして、前記位置決め通路決定方法に準じて位置決め通
路が決定されれば、該位置決め通路が予め登録されてい
る各直方体及び円柱と干渉するがをチェックする。When the positioning path is determined according to the positioning path determination method, it is checked whether the positioning path interferes with each of the pre-registered rectangular parallelepipeds and cylinders.
位置決め通路がどの直方体及び円柱とも干渉しなければ
該位置決め通路を実際の位置決め通路とする。If the positioning passage does not interfere with any rectangular parallelepiped or cylinder, the positioning passage is taken as the actual positioning passage.
一方、位置決め通路が1以上の直方体または円柱と干渉
する場合には、干渉部材のうちで一トZ方向に1番高い
面を有する干渉部材(直方体、円柱)を検出する。たと
えば、第5図に示すようにPl、Pアをそれぞれ位置決
め開始点、位置決め終了点とすれば前記位置決め決定基
準によれば位置決め通路は点線矢印のようになる。しか
し、この位置決め通路は直方体202.204と干渉す
る。そこで+Z方向に1番高い面を有する直方体(干渉
部材)の線面のZ軸方向位置z4を求める。On the other hand, when the positioning path interferes with one or more rectangular parallelepipeds or cylinders, the interference member (rectangular parallelepiped, cylinder) having the highest surface in the Z direction is detected among the interference members. For example, as shown in FIG. 5, if Pl and Pa are the positioning start point and positioning end point, respectively, the positioning path will be as indicated by the dotted line arrow according to the positioning determination criteria. However, this positioning passage interferes with the rectangular parallelepipeds 202 and 204. Therefore, the Z-axis direction position z4 of the linear plane of the rectangular parallelepiped (interference member) having the highest plane in the +Z direction is determined.
ついで、工具の現在位置Zaが(Z4+C)に一致する
迄工具を+Z方向に同時1軸制御で上昇させ、しかる後
、X、Yの同時2軸で工具を位置決め終了点P!の真上
位置p 、 /迄移動させ、最後に工具を−Z方向にZ
aw (x +al となる迄移動する位置決め通路
を求める。Next, the tool is raised in the +Z direction under simultaneous 1-axis control until the current position Za of the tool matches (Z4+C), and then the tool is positioned at the end point P! using simultaneous 2-axis X and Y axes! Move the tool to the position directly above p, /, and finally move the tool in the -Z direction.
Find a positioning path that moves until aw (x +al).
第6図は本発明を実現する自動プログラミング装置のブ
四ツク図、第7図は処理の流れ図である。FIG. 6 is a block diagram of an automatic programming apparatus that implements the present invention, and FIG. 7 is a process flowchart.
第6図において、301はプロセッサ、302はROM
、303はRAM、304はキーボードなどのデータ入
力装置、305はグラフィックディスプレイ装置、30
6はワーキングメモリ、307はNCプログラムデータ
出力装置、308はNCテープである。In FIG. 6, 301 is a processor, 302 is a ROM
, 303 is a RAM, 304 is a data input device such as a keyboard, 305 is a graphic display device, 30
6 is a working memory, 307 is an NC program data output device, and 308 is an NC tape.
+al 予め障害物となる治工具及び対象物をいくつ
かの直方体と円柱に分解し、各部材(直方体及び円柱)
の形状とそれらの位置をデータ入力装置304から入力
してRAM303に登録しておく。+al Disassemble the jigs and objects that will be obstacles into several rectangular parallelepipeds and cylinders in advance, and separate each member (rectangular parallelepiped and cylinder)
The shapes and their positions are input from the data input device 304 and registered in the RAM 303.
(bl ついで、穴加工に必要なデータ及び穴位置を
入力する。尚、穴加工に必要なデータは、穴加工工程、
使用工具、大寸法等がある。(bl Next, enter the data necessary for hole machining and the hole position.The data necessary for hole machining is the hole machining process,
There are tools used, large dimensions, etc.
(bl−1すなわち、ネジ穴を加工するものとすれば、
まず穴加工工程を選択入力する。尚、ネジ穴はセンタモ
ミ、ドリリング、皿座グリ、タップ立ての順序で行うも
のであり、従って最初はセンタモミが選択される。(bl-1, that is, if the screw hole is to be machined,
First, select and input the hole machining process. Incidentally, screw holes are made in the order of center fir, drilling, countersinking, and tapping, and therefore center fir is selected at first.
lbl −2ついで、ステップIb)−iで選択した穴
加工工程に用いる工具を工具番号で入力する。lbl-2 Next, the tool used for the hole machining process selected in step Ib)-i is input by tool number.
(bl−3工具選択後、該工具により加工される穴の深
さなどの寸法を入力する。(BL-3 After selecting the tool, input the dimensions such as the depth of the hole to be machined by the tool.
(bl−4Lかる後、1つの穴につき、全穴加工工程が
特定されたかを判別し、特定されなければステップTo
l−1以降の処理を繰り返し、全穴加工工程が特定され
ていれば、穴位置を入力する。尚、同一形状で同−深さ
の穴が複数存在すれば各穴の位置も全部入力する。(After completing BL-4L, it is determined whether all hole machining processes have been specified for each hole, and if not specified, step To
Repeat the process from 1-1 onwards, and if all the hole machining processes have been identified, the hole positions are input. Note that if there are multiple holes with the same shape and the same depth, the positions of each hole are also input.
let ついで、別の形状あるいは寸法の穴があるか
どうかをチェックし、あれば該穴に対してステップ(b
l−1以降の処理を行い、なければ穴データの入力は終
了する。let Next, check whether there is a hole of another shape or size, and if so, perform step (b) on the hole.
The processing after l-1 is performed, and if there is no processing, the input of hole data ends.
以後、プロセッサ301は入力された穴データを用いて
穴加工用のN01gグラムデータの作成処理を実行する
。すなわち、
(di プロセッサは先ず入力されたデータの中から
センタモミに使用するセンタドリルを検索する。Thereafter, the processor 301 uses the input hole data to create N01ggram data for hole machining. That is, (di) The processor first searches the input data for the center drill to be used for the center fir.
let センタドリルがあれば、該センタドリルを選
択する工具交換命令と、該センタドリルにより加工され
る各穴の位置へセンタドリルを位置決めする位置決めデ
ータと、センタモミ加工サイクルを特定するNCデータ
を作成する。尚、位置決めデータの作成処理は障害物と
干渉しない位置決め通路を求め、該位置決め通路に沿っ
て、センタドリルが移動するように作成することで行わ
れる。If there is a center drill, create a tool change command to select the center drill, positioning data to position the center drill to the position of each hole to be machined by the center drill, and NC data to specify the center milling cycle. . The positioning data creation process is performed by finding a positioning path that does not interfere with obstacles, and creating a positioning path so that the center drill moves along the positioning path.
すなわち、
(el −1プロセッサは現在位置と次の穴加工位置の
Z軸方向座標値Za、z、の大小を判別する。That is, (el-1 processor determines the magnitude of the Z-axis direction coordinate values Za, z of the current position and the next hole machining position.
(el −2Z a < z、であれば位置決め通路は
+Z方向へZ a w (z、+ c )となる迄同時
1軸制御で移動する第1通路と、Za= (z、+e)
のポイントからX、Yの同時2軸制御で穴加工位置へ移
動する第2!1#Iとなる。(el -2Z If a < z, then the positioning path consists of a first path that moves in the +Z direction under simultaneous one-axis control until Z a w (z, + c ), and a first path that moves in the +Z direction until Z a w (z, + c ), and Za = (z, +e).
This is the 2nd!1#I, which moves from the point to the hole machining position by simultaneous two-axis control of X and Y.
(el −3一方、Za≧2.であれば、X、Yの同時
2軸制御でセンタドリルを穴加工位置の真上位置に移動
させろ第1通路と、センタドリルを−Z軸方向にZa=
+(z、+c)となる迄移動する第2通路となる。(el -3 On the other hand, if Za≧2., move the center drill to the position directly above the hole drilling position by simultaneous two-axis control of X and Y. =
This becomes the second path that moves until it reaches +(z, +c).
(el −4位置決め通路が求まれば、該位置決め通路
に沿って工具を移動させろとセンタドリルがステップf
alで既にRAM303に登録しである各部材(直方体
、円柱)に干渉するかどうかをチェックする。(el-4 If the positioning path is found, the center drill will move the tool along the positioning path in step f).
It is checked whether or not each member (rectangular parallelepiped, cylinder) that has already been registered in the RAM 303 will be interfered with.
(al−5いずれの部材とも干渉しなければステップ(
el−2または(el−3で決定された位置決め通路に
沿って工具を移動させるNCデータを作成する。(Al-5 If there is no interference with any member, step (
Create NC data to move the tool along the positioning path determined in el-2 or (el-3.
(al−6一方、干渉する場合には、干渉部材のZ軸方
向面位置を特定する位置データz、(i=1.2・・・
)を比較して、最大の2値を求める(2とする)。(al-6 On the other hand, in the case of interference, position data z, (i=1.2...
) and find the maximum two values (set to 2).
(al−7これにより、センタドリルが障害物と干渉し
ない位置決め通路は+Z方向にZa−(Z+c)となる
迄工^を移動する第1通路と、該工具をX、Yの同時z
軸で穴加工位置の真上位置に移動する第2通路と、該真
上位置からZa−(z+cl となる迄工具を−Z軸方
向へ移動する第3通路となる。従って、該位置決め通路
に沿って工具を移動させるようにNCデータを作成する
。以後同様に該センタドリルを用いる金穴についてセン
タモミ加工サイクル及び位置決めをデータを作成する。(al-7 As a result, the positioning path in which the center drill does not interfere with obstacles is the first path in which the tool is moved in the +Z direction until Za-(Z+c) is reached, and the positioning path in which the center drill is moved in the X and Y directions simultaneously.
There is a second passage in which the shaft moves the tool to a position directly above the hole drilling position, and a third passage in which the tool is moved in the -Z axis direction from the position directly above until Za-(z+cl).Therefore, in the positioning passage NC data is created so that the tool is moved along the same line.Thereafter, data is created for the center milling cycle and positioning for a gold hole using the center drill.
(fl ついで、別のセンタドリルにより加工されろ
穴があるかどうかをチェックし、あればステップ(el
−1〜tel−7と同様な処理を行う。(fl Next, check whether there is a through hole machined with another center drill, and if there is, step (el)
-1 to tel-7 are performed.
tgl 別のセンタドリルによ抄加工されろ穴がなく
なれば、以後ドリル、皿座グリ工具、タップ工具につい
てセンタドリルと同様な処理を行ってNCデータを作成
し、RAM303に記憶する。tgl When the hole is removed by another center drill, the drill, countersunk tool, and tap tool are processed in the same manner as the center drill to create NC data and stored in the RAM 303.
〈発明の効果〉
以上説明したように、本発明によれば予め工具の位置決
めに障害となる障害物の形状とその位置を特定すると共
に、位置決めの開始点と終了点となる第1及び第2のポ
イントを特定し、該第1及び第2のポイントの位置デー
タを用いて所定の規則に従って位置決め通路を求め、該
位置決め通路に沿って工具を移動させるとき、該工具が
障害物に干渉するかどうかをチェックし、干渉する場合
には干渉しない位置決め通路を新たに決定するように構
成したから、工具は障害物に決して衝突することがなり
、シかも障害物をいちいち考慮して位置決め通路を特定
しなくても障害物の形状とその位置を特定するだけで自
動的に障害物に干渉しない位置決め通路が決定され、プ
ログラミング操作が簡単となった。又、障害物をいくつ
かの直方体と円柱とに分割すると共に、各部材(直方体
、円柱)の形状、位置を特定して障害物の形状と位置を
特定するように構成したから障害物の特定処理も簡単に
行うことができた。<Effects of the Invention> As described above, according to the present invention, the shape and position of an obstacle that becomes an obstacle to tool positioning are specified in advance, and the first and second points, which are the starting and ending points of positioning, are identified in advance. A positioning path is determined according to a predetermined rule using the position data of the first and second points, and when the tool is moved along the positioning path, does the tool interfere with an obstacle? If there is interference, the tool is configured to determine a new positioning path that does not interfere, so the tool will never collide with an obstacle, and the tool will take into account each obstacle to determine the positioning path. By simply specifying the shape and position of the obstacle, a positioning path that does not interfere with the obstacle is automatically determined, simplifying programming operations. In addition, the obstacle is divided into several rectangular parallelepipeds and cylinders, and the shape and position of each member (rectangular parallelepiped and cylinder) are specified to identify the shape and position of the obstacle. The process was also easy.
尚、以上の説明では位置決め通路をZ軸方向の同時1軸
制御とX、Yの同時z軸側−とで構成する場合について
説明したが本発明はこれに限るものではなく、同時3軸
移動を含めるようにしてもよい。又、本発明を穴明は加
工に適用した場合について説明したが本発明はこれに限
るものではない。更に、障害物を直方体、円柱に分解し
た場合について説明したが本発明はこれに限るものでは
なく、中空状の円柱、直方体その他の形を含めるように
構成することもできる・In the above explanation, a case has been described in which the positioning path is configured with simultaneous one-axis control in the Z-axis direction and simultaneous control on the Z-axis side of may also be included. Further, although the present invention has been described in the case where it is applied to drilling, the present invention is not limited to this. Furthermore, although the case where the obstacle is decomposed into rectangular parallelepipeds and cylinders has been described, the present invention is not limited to this, and may be configured to include hollow cylinders, rectangular parallelepipeds, and other shapes.
第1図、第2図は本発明の概略説明図であり、第1図は
対象物の構造図、第2図は障害物の定義方法説明図、第
3図は障害物を考慮しない位置決め通路決定基準説明図
、第4図は直方体及び円柱特定方法説明図、第5図は本
発明による位置決め通路決定方法説明図、第6図は本発
明を適用できる自@NCデータ作成装置のブロック図、
第7図は本発明の詳細な説明する流れ図、第8図は従来
の欠点説明図である。
11・・・対象物、11−1.11−2・・・段部12
〜15.、、治工具、11a1.11b。
・・・穴、101a〜101c・・・直方体、101d
・・・円柱
特許出願人 ファナック株式会社代理人
弁理士 齋藤千幹第2図
第5図
軍6T:IJFigures 1 and 2 are schematic explanatory diagrams of the present invention, where Figure 1 is a structural diagram of the object, Figure 2 is an explanatory diagram of how to define obstacles, and Figure 3 is a positioning path without considering obstacles. FIG. 4 is an explanatory diagram of a rectangular parallelepiped and cylinder identification method; FIG. 5 is an explanatory diagram of a positioning path determination method according to the present invention; FIG. 6 is a block diagram of an NC data creation device to which the present invention can be applied;
FIG. 7 is a flowchart explaining the present invention in detail, and FIG. 8 is a diagram explaining the drawbacks of the conventional method. 11...Object, 11-1.11-2...Step part 12
~15. ,,Jig, 11a1.11b. ... Hole, 101a to 101c... Rectangular parallelepiped, 101d
... Cylindrical patent applicant Fanuc Co., Ltd. agent Patent attorney Chiki Saito Figure 2 Figure 5 Army 6T: IJ
Claims (4)
決めし、しかる後該工具をして対象物に所定の加工を実
行させる数値制御の位置決め通路決定方法において、予
め工具の位置決めに障害となる障害物の形状とその位置
を特定すると共に、前記第1及び第2のポイントを特定
し、該第1及び第2のポイントの位置データを用いて所
定の規則に従って位置決め通路を求め、該位置決め通路
に沿って工具を移動させるとき、該工具が障害物に干渉
するかどうかをチェックし、干渉する場合には干渉しな
い位置決め通路を新たに決定することを特徴とする位置
決め通路決定方法。(1) In a numerically controlled positioning path determination method in which a tool is positioned from a first point to a second point and then the tool is used to perform a predetermined machining on a target object, obstacles are detected in advance in the positioning of the tool. specifying the shape and position of the obstacle, specifying the first and second points, determining a positioning path according to a predetermined rule using the position data of the first and second points, and determining the positioning A method for determining a positioning path, characterized in that when moving a tool along a path, it is checked whether the tool interferes with an obstacle, and if the tool interferes with an obstacle, a new positioning path that does not interfere is determined.
を零を含むいくつかの直方体と円柱に分割し、各直方体
の形状とそれらの位置、並びに各円柱の形状とそれらの
位置とを特定して対象物の障害部分の形状と位置を特定
することを特徴とする特許請求の範囲第(1)項記載の
位置決め通路決定方法。(2) The obstacle includes an object, and the obstacle part of the object is divided into several rectangular parallelepipeds and cylinders including zero, and the shape of each rectangular parallelepiped and their position, and the shape of each cylinder and their position. The method for determining a positioning path according to claim 1, wherein the shape and position of the obstructing part of the object are determined by specifying the following.
と円柱に分割し、各直方体、円柱の形状とそれらの位置
を特定して障害物の形状と位置を特定することを特徴と
する特許請求の範囲第(2)項記載の位置決め通路決定
方法。(3) The feature is that the obstacle other than the target object is divided into several rectangular parallelepipeds and cylinders including zero, and the shape and position of each rectangular parallelepiped and cylinder are specified to identify the shape and position of the obstacle. A method for determining a positioning path according to claim (2).
る位置決め通路に沿って工具を移動させるとき、前記全
直方体及び全円柱の各部材に対して工具が干渉するかど
うかをチェックし、干渉する部材が存在する場合には、
工具逃げ方向に現工具位置より最も離れた面を有する干
渉部材を求め、該面から所定量離れた逃げポイント迄の
逃げ通路を前記障害物に干渉しない位置決め通路の1部
分とすることを特徴とする特許請求の範囲第(3)項記
載の位置決め通路決定方法。(4) When moving the tool along the positioning path determined by the position data of the first and second points, check whether the tool interferes with each member of the entire rectangular parallelepiped and the entire cylinder, and interfere. If there are parts,
The method is characterized in that an interference member having a surface farthest from the current tool position in the tool escape direction is determined, and an escape path from the surface to an escape point that is a predetermined distance away is set as a part of the positioning path that does not interfere with the obstacle. A method for determining a positioning path according to claim (3).
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16361184A JPS6142005A (en) | 1984-08-03 | 1984-08-03 | Method for determining positioning path |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16361184A JPS6142005A (en) | 1984-08-03 | 1984-08-03 | Method for determining positioning path |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6142005A true JPS6142005A (en) | 1986-02-28 |
Family
ID=15777214
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16361184A Pending JPS6142005A (en) | 1984-08-03 | 1984-08-03 | Method for determining positioning path |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6142005A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62239206A (en) * | 1986-04-10 | 1987-10-20 | Hitachi Seiki Co Ltd | Machining start point setter in automatic machining device |
| JPS6341910A (en) * | 1986-08-07 | 1988-02-23 | Fanuc Ltd | Robot controller |
| JPS63273910A (en) * | 1987-05-01 | 1988-11-11 | Fanuc Ltd | Production of nc data for rough working |
| JPH02287707A (en) * | 1989-04-28 | 1990-11-27 | Nissan Motor Co Ltd | Generating method for operation program of automatic machine |
| JPH02287706A (en) * | 1989-04-28 | 1990-11-27 | Nissan Motor Co Ltd | Generating method for operation program of automatic machine |
-
1984
- 1984-08-03 JP JP16361184A patent/JPS6142005A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62239206A (en) * | 1986-04-10 | 1987-10-20 | Hitachi Seiki Co Ltd | Machining start point setter in automatic machining device |
| JPS6341910A (en) * | 1986-08-07 | 1988-02-23 | Fanuc Ltd | Robot controller |
| JPS63273910A (en) * | 1987-05-01 | 1988-11-11 | Fanuc Ltd | Production of nc data for rough working |
| JPH02287707A (en) * | 1989-04-28 | 1990-11-27 | Nissan Motor Co Ltd | Generating method for operation program of automatic machine |
| JPH02287706A (en) * | 1989-04-28 | 1990-11-27 | Nissan Motor Co Ltd | Generating method for operation program of automatic machine |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5150305A (en) | Numerical control system providing graphic machining simulation | |
| JPS6257852A (en) | Automatic programming device | |
| US4878172A (en) | Four-axis lathe NC program creation method | |
| JPH028855B2 (en) | ||
| WO2000012258A1 (en) | Method and apparatus for optimizing nc programs in nc machining | |
| EP0122943A1 (en) | Method of controlling chasing lathe | |
| JPH03177903A (en) | Method and device for production of nc working data | |
| EP0145934A2 (en) | Tool display method and device for machining apparatus equipped with numerical control unit | |
| JPS6142005A (en) | Method for determining positioning path | |
| EP0364600B1 (en) | Round screw machining method | |
| JPH0720920A (en) | Tool path data creation method | |
| JPH022661B2 (en) | ||
| JPS6222107A (en) | Nc data preparing method | |
| JPS6235910A (en) | Tool interference checking method | |
| EP0160705A1 (en) | Machining method for machine tools | |
| US6529795B1 (en) | Numerical control for machine-tools, robots or the like | |
| EP0123696A1 (en) | Method of preparing nc part program | |
| JPS60201857A (en) | Multiple machining control of machine tool | |
| EP0139762A1 (en) | Method of specifying shape of blank | |
| JPS6270910A (en) | Method for specifying interfering object | |
| JP2520127B2 (en) | Highly efficient tool selection method | |
| JPS63196906A (en) | Programming device for lathe | |
| JP3264054B2 (en) | NC statement creation method | |
| JP2903524B2 (en) | Free curved surface processing method | |
| JPH0251705A (en) | Interactive numerical controller |