JPS6142006A - Numerical control method - Google Patents

Numerical control method

Info

Publication number
JPS6142006A
JPS6142006A JP16361284A JP16361284A JPS6142006A JP S6142006 A JPS6142006 A JP S6142006A JP 16361284 A JP16361284 A JP 16361284A JP 16361284 A JP16361284 A JP 16361284A JP S6142006 A JPS6142006 A JP S6142006A
Authority
JP
Japan
Prior art keywords
point
data
point group
points
area
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
Application number
JP16361284A
Other languages
Japanese (ja)
Inventor
Hajime Kishi
甫 岸
Maki Seki
関 真樹
Takashi Takegahara
竹ケ原 隆史
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP16361284A priority Critical patent/JPS6142006A/en
Publication of JPS6142006A publication Critical patent/JPS6142006A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical 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/4093Numerical 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/40931Numerical 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/40932Shape input
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36226Global selection of grid or circle of points by number, distance, angle
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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)

Abstract

PURPOSE:To shorten the programming time by positioning a tool to prescribed points successively on a basis of NC data generated with position coordinate values of individual points and inputting composite point groups, a border line, and data specifying the inside/outside of the border line merely to select automatically points existing in a desired area. CONSTITUTION:In case that positions of point groups Pij existing in an area AS surrounded with a border line BR are subjected to a prescribed processing, several point groups Qij are set virtually on the outside of the area AR, and composite point groups consisting of point groups on the inside and the outside of the area AR are defined and are inputted from a keyboard 104 and are stored in an RAM103. Data obtained by approximation with plural lines and arcs is inputted from the keyboard to specify the border line BR, and data indicating that a desired point group is on the inside or the outside of the border line BR is inputted, and the position coordinate value of the i-th point Ri or the composite point group is obtained and is stored in the RAM103. After it is checked whether the point Ri and all points are desired points or not, the position coordinate value of the selected point group, data which is inputted separately and specifies the positioning motion, and a cycle instruction data which defines a series of motions performed at each positioning end time are used to generate NC data, and this data is stored in the RAM103 to generate an NC tape 107.

Description

【発明の詳細な説明】 〈産業上の利用分計〉 本発明は数値制御方法に係や、特に領域内部あるいは外
部に存在する点群を簡単な方法で特定でき、しかも該領
域内部あるいは外部に存在する各点の位置座標値を用い
てNCデータを作成し、該NCデータに基づいて工具を
位置決めする数値制御方法に関する。
[Detailed Description of the Invention] <Industrial Applicability> The present invention relates to a numerical control method, and in particular, it is possible to specify a point group existing inside or outside a region by a simple method. The present invention relates to a numerical control method for creating NC data using position coordinate values of existing points and positioning a tool based on the NC data.

〈従来技術〉 各厘部品にはネジ穴、位置決め用ピン穴などの穴が一般
に被数個存在してお秒、これらの穴を数値制纒により加
工する場合には、その!!r標値を何らかの方法で定義
し、しかる後定義データを用いて各穴の位置座標値を求
め、該位W*標値を用いて工具を線式に位置決めする位
置決め用のNCデータを作成し、該NCデータに基づい
て工具を穴加工位置に位置決めしなければならない。
<Prior art> Each part generally has several holes such as screw holes and positioning pin holes, and when these holes are machined by numerical control, it is difficult to process them. ! Define the r target value in some way, then use the defined data to find the position coordinate value of each hole, and use the W* target value at that position to create positioning NC data for linearly positioning the tool. , the tool must be positioned at the hole machining position based on the NC data.

さて、部品(たとえばプリント基板、管板等)によって
は、該部品上に一定の規則で2次元的に配列された点群
を構成する各点の位置に所定の穴加工を施すことが要求
される場合がある。
Now, depending on the part (for example, a printed circuit board, a tube plate, etc.), it is required to perform predetermined hole processing at the position of each point that constitutes a two-dimensionally arranged point group on the part according to a certain rule. There may be cases where

第4図はかかる点群の例を示す説明図であり、第4図(
A)は水平方向にDhのピッチで7(JlのポイントH
1〜H?を配設し、かつ垂直方向にDvのピッチで7個
のポイントV、−V、を配設しくただしポイントH,と
V、を一致させる)、ポイントl(い−1,2、・・・
7)を通る垂直方向のM!1ILH,い−112、・・
・7)とポイントvい−1,2、・・・7)を通る水平
方向の直線LV、い=1.2、・・・)との交点(格子
点)より成る点群を示している。又、第4図(B)はH
方向にり、、のピッチで6個のポイントH2〜H1を配
設し、かっV方向にり、のピッチで4個のポイントV、
〜■4を配設しくなただし、ポイントHとポイント■、
を一致させる)、各ポイントH,を通るV方向の直線と
各ポイントV、を通るH方向の直線との交点よりなる点
群を示している。更に、第4図(C)は所定の半径を有
する円弧方向にD のピッチで5値のポイントB、(i
−1〜5)を配設し、かつV方向にDvのピッチで4個
のポイントV(1−1〜4)を配設し、各ポイントB1
を通ろV方向の直線と各ポイントV、を通る円弧方向の
円弧との20iIの交点より成る点群を示している。
FIG. 4 is an explanatory diagram showing an example of such a point group, and FIG.
A) is 7 (point H of Jl) with a pitch of Dh in the horizontal direction.
1~H? and arrange seven points V, -V in the vertical direction with a pitch of Dv, but make points H and V coincide), point l (i-1, 2, . . . ).
7) Vertical direction M! 1ILH,i-112,...
・It shows a point group consisting of the intersection points (lattice points) of 7) and the horizontal straight line LV, i = 1.2, ...) passing through point v i-1, 2, ...7) . Also, Figure 4 (B) shows H
In the direction, 6 points H2 to H1 are arranged at a pitch of , and in the direction of , 4 points V are arranged at a pitch of ,
~■4 has been changed, but point H and point ■,
), and shows a point group consisting of the intersection of a straight line in the V direction passing through each point H, and a straight line in the H direction passing through each point V. Furthermore, FIG. 4(C) shows five-value points B, (i
-1 to 5) are arranged, and four points V (1-1 to 4) are arranged at a pitch of Dv in the V direction, and each point B1
It shows a point group consisting of 20iI intersections between a straight line in the V direction passing through each point V and a circular arc in the circular arc direction passing through each point V.

第4図(A)に示す全点群は点群H3〜H7をG、=H
,,H,、Dh、 n (−6)    (A−11に
より表現し、又点群V、〜v7を Gk−V、、 Vfi、 D、、 n (−6)   
 (A−2)により表現すれば、 G、=G、、G、         (A−3)と表現
される。ただし、Dhは水平方向(H,とH。
The entire point group shown in Fig. 4 (A) is the point group H3 to H7, which is
,,H,,Dh, n (-6) (Represented by A-11, and the point group V, ~v7 as Gk-V,, Vfi, D,, n (-6)
(A-2), it is expressed as G,=G,,G, (A-3). However, Dh is in the horizontal direction (H, and H.

を結ぶ方向)のピッチ、D9は垂直方向(vlとV。D9 is the pitch in the vertical direction (direction connecting vl and V).

を結ぶ方向)のピッチ、nは水平、垂直方向へ前記ピッ
チでそれぞれ平行移動させろ回数であり、鮎により水平
方向に始点H,からピッチDhづつ6回平行移動して得
られた点群H1′い11=1〜7)が定義され、又同様
にGkにより垂直方向に始点V。
n is the number of parallel translations in the horizontal and vertical directions (direction connecting the 11=1 to 7) is defined, and similarly, the starting point V is defined in the vertical direction by Gk.

からピッチD、づつ6回平行移動して得られた点群V、
(i冨1〜7)が定義される。
Point group V obtained by translating 6 times by pitch D from
(i-values 1 to 7) are defined.

又、第4図(B)に示す全点群Gは同様にG、冨G、、
Gつ と表現される。ただし、GJ、 G、はそれぞれH方向
(H,とH6を結ぶ方向)、■方向(v、とv、、を結
ぶ方向)の点群H1〜H6、■、〜V、より成り、G、
=H,,H,,D、、n (=5)Gk=V、、 V、
、 Dv、 n (m4 )と表現される。
Also, the entire point group G shown in FIG. 4(B) is similarly G, the depth G,
It is expressed as G. However, GJ and G consist of point groups H1 to H6, ■, ~V, in the H direction (direction connecting H, and H6) and ■ direction (direction connecting v, and v, , respectively), and G,
=H,,H,,D,,n (=5)Gk=V,,V,
, Dv, n (m4).

更に、第4図(C)に示す全点群は同様にc、−c、、
 a。
Furthermore, all the points shown in FIG. 4(C) are similarly c, -c, .
a.

と表現されろ。ただしG、、Gkはそれぞれ円弧方向(
既知の円弧C8の時計方向)、■方向(V、とV、を結
ぶ方向)の点群B、〜B、、v、−v4ヨt+成り、 GJ−C,、CW、B、、Bsp  n  (x4)G
k−V、、V、、Dv、n  (=4 )と表現されろ
。尚、CWは時計方向(反時計方向はCCW)を示し、
G、により既知の円弧C8上のポイントB、とBs間を
4等分するポイントB、い=1.2.3.4.5)の集
まりより成る点群を示している。
be expressed as However, G, , Gk are each in the arc direction (
Clockwise direction of known arc C8), point group B in direction (direction connecting V and V), ~B,, v, -v4 Yot+, GJ-C,, CW, B,, Bsp n (x4)G
Express it as k-V,,V,,Dv,n (=4). In addition, CW indicates clockwise direction (CCW direction is counterclockwise),
G shows a point group consisting of a collection of points B, i=1.2.3.4.5) that equally divide the distance between points B and Bs on a known arc C8 into four.

〈発明が解決しようとしている問題点〉以上のように、
点群が所定の規則で2次元的に配列されている場合には
、これら点群を従来の方法により簡単に定義することが
でき、これら定義データを用いて該点群を構成する各点
の位置座標値を求め、これら位置座標値及び別途入力さ
れている点群への位置決め運動を特定するデータや位置
決め完了毎に行われる一連の運動を定義するサイクル命
令データを用いてNCデータを作成し、咳NCデータを
用いて工具を順次指令された穴加工位置に位置決めして
穴加工を行うことができろ。
<Problems that the invention is trying to solve> As mentioned above,
When a point cloud is arranged two-dimensionally according to a predetermined rule, these point clouds can be easily defined using conventional methods, and each point constituting the point cloud can be easily defined using these definition data. Calculate position coordinate values, and create NC data using these position coordinate values, data that specifies the positioning movement for the point group that has been input separately, and cycle command data that defines a series of movements to be performed each time positioning is completed. It should be possible to perform hole machining by sequentially positioning the tool at the commanded hole machining position using the NC data.

ところで、第5図に示すように所定の境界線BRで区切
られろ領域ARに属する点群のみ定義し、該点群を構成
する各点位置へ工具を移動させて所定の加工、たとえば
穴加工を行いたい場合がある。
By the way, as shown in FIG. 5, only a group of points belonging to an area AR separated by a predetermined boundary line BR is defined, and a tool is moved to the position of each point constituting the point group to perform a predetermined process, for example, drilling a hole. There are times when you want to do it.

しかし、従来の方法ではかかる領域内の点BYを1つの
点群として定義することばができなかった。
However, with the conventional method, it was not possible to define the points BY within such a region as one point group.

このため、従来は個々のポイントPIJの位置座標値を
それぞれ独立に定義するか、あるいは線点群PIJのう
ち同じ性格を持つ点同士、たとえば点P、〜P12、P
21’=P23、”31−23m # P41〜P4゜
、PSl〜P%?、P81〜P61”71〜72を別々
の点群として定義しなければならなかった。このため、
従来方法では領域内の点群を簡単に定義することができ
ず、プログラミングが面倒であった。
For this reason, in the past, the position coordinate values of each point PIJ were defined independently, or points with the same characteristics among the line point group PIJ, for example, points P, ~P12, P
21'=P23, "31-23m #P41~P4°, PSl~P%?, P81~P61" 71~72 had to be defined as separate point groups. For this reason,
With conventional methods, it is not possible to easily define a point group within a region, and programming is troublesome.

以上から、本発明の目的は領域内の点群を簡単に定義す
ることができ、しかも該定義データに基づいて該点群を
構成する各点の位置座標値を求めろことができ、更には
該位置座標値を用いてNCデータを作成し、該NCデー
タにより所定の数値制御を行う数値制御方法を提供する
ことである。
From the above, it is an object of the present invention to easily define a point group within a region, and to obtain the position coordinate values of each point constituting the point group based on the definition data. It is an object of the present invention to provide a numerical control method in which NC data is created using the position coordinate values and predetermined numerical control is performed using the NC data.

く問題点を解決するための手段〉 本発明の数値制御方法は、所望の点群を含む合成点群を
構成する各点の位置座標値を算出し得ろように所定の規
則に従って賦合成点鮮を特定するステップ、領域の境界
線を特定するステップ、前記合成点群を構成する各点の
位置座標値を求め、鎖点が領域の内側、外側のいずれに
存在するかを判別するステップ、内側及び外側のうち指
定された側に存在する所望点群の位置座標値を用いてN
Cデータを作成するステップを有し、該NCデータに基
づいて工具を順次所定の点に位置決めするように構成さ
れる。
Means for Solving Problems> The numerical control method of the present invention performs a composite point sharpening according to a predetermined rule so that the position coordinate values of each point constituting a composite point group including a desired point group can be calculated. a step of identifying the boundary line of the region; a step of determining the position coordinate values of each point constituting the composite point group and determining whether the chain point exists inside or outside the region; N using the position coordinate values of the desired point group existing on the specified side of the
The method includes a step of creating C data, and is configured to sequentially position the tool at a predetermined point based on the NC data.

く作用〉 領域の内側あるいは外側に存在する点群(tR域の内側
の点群とする)を定義したいとき、該領域内の点群と仮
想的に領域外に配置した点群とより成る合成点群が2次
元的に規則正しく配設されているならば、該合成点群は
従来と同様に1つの点群として定義することができろ。
When you want to define a point group that exists inside or outside a region (assuming a point group inside the tR region), you can create a composite consisting of a point group within the region and a point group virtually placed outside the region. If the point group is two-dimensionally arranged regularly, the composite point group can be defined as one point group as in the past.

従って、領域の内側あるいは外側のいずれか一方の側に
存在する点群を定義しなければならないとき、前記一方
の側の点群と合成した時1つの点群としてIt!lでき
るように他方の側に点群を想定し、該合成点δマを定義
する。
Therefore, when it is necessary to define a point group existing on either the inside or outside of a region, when combined with the point group on the one side, it becomes one point group It! Assume a point group on the other side so that it can be used, and define the composite point δma.

ついで、領域の境界線を複数の線分と円弧の組み合わせ
で特定する。
Next, the boundary line of the area is specified by a combination of a plurality of line segments and arcs.

しかる後、前記合成点群を構成する各点の位置座標値を
求め、鎖点が領域の内側、外側のいずれに存在するかを
判別し、所望の側に存在する点の位置座標値を記憶する
After that, the position coordinate values of each point constituting the composite point group are determined, it is determined whether the chain point exists inside or outside the area, and the position coordinate value of the point existing on the desired side is stored. do.

そして、全点の存在サイドが判別されれば、以後所望の
サイドに存在する点群の位置座標値と、別途入力されて
いる点群への位置決め運動を特定するデータや位置決め
完了毎に行われる一連の運動を定義するサイクル命令デ
ータとを用いてNCデータを作成する。そして、該NC
データを用いて工具を順次指令された点に位置決めして
所定の処理を実行する。
Once the side on which all points exist is determined, the position coordinate values of the point group existing on the desired side and the data specifying the positioning movement for the point group that has been input separately and the data that specify the positioning movement are performed every time positioning is completed. NC data is created using cycle command data that defines a series of movements. And the NC
Using the data, the tool is sequentially positioned at the commanded points and predetermined processing is executed.

〈実施例〉 第1図は本発明の概略説明図であ秒、第2図は本発明を
実施するNCデータ作成装置のブロック図、第3図は処
理の流れ図である。
<Embodiment> FIG. 1 is a schematic explanatory diagram of the present invention, FIG. 2 is a block diagram of an NC data creation device implementing the present invention, and FIG. 3 is a flowchart of processing.

第1図の境界sBRに囲まれた領域ARに存在する点群
(図中黒丸で示されている) p、、の位置に所定の加
工、たとえば穴加工を行わなければならないものとすれ
ば本発明においては以下のように線点群を定義する。
If a predetermined process, for example, a hole process, must be performed at the position of the point group p (indicated by a black circle in the figure) existing in the area AR surrounded by the boundary sBR in Fig. 1, then the In the invention, a group of line points is defined as follows.

領域ARの外側に仮想的にいくつかの点群(白丸で示さ
れている)Ql、を想定する。ただし、領域内の点群P
IJと領域外の点群Q、を合成して成る合成点群が1つ
の点群として定義できるように点群QIJを想定する。
Assume several virtual point groups (indicated by white circles) Ql outside the area AR. However, the point group P in the area
A point group QIJ is assumed so that a composite point group formed by combining IJ and a point group Q outside the area can be defined as one point group.

尚、第1図の例ではH方向の点群PS1〜PS?の各々
を通るV方向の直sLH。
In the example of FIG. 1, the point group PS1 to PS? in the H direction is used. sLH in the V direction passing through each of the lines.

〜LH6と、■方向の点群p、4〜P74を通るH方向
の直@LV、〜LV、の交点(格子点)より成る点群を
構成するように領域外の点群Q1が決定されろ。
The point group Q1 outside the area is determined to constitute a point group consisting of the intersection points (lattice points) of ~LH6, the point group p in the ■ direction, the direct @LV in the H direction passing through 4 to P74, and ~LV. reactor.

しかる後、該合成点群を従来方法と同一の手法で定義す
る(前述の(A−1)〜(A−3)により定義される)
。ついで、領域ARの境界IIBRを直線と円弧とで近
似して特定すれば、所望の点群は(1)合成点群を定義
するデータと、(2)領域の境界線を特定するデータと
、(3)領域の内側/外側を特定するデータとで一意的
1こ特定されろ。すなわち、合成点群を構成する各点の
位置座標値をillのデータから求め、(2)の境界線
データを用いて鎖点が(3)で特定された側に存在する
かどうかをチェックし、(3)で特定された側に存在す
る点を選別すれば所望の点群が得られることになる。
After that, the composite point group is defined using the same method as the conventional method (defined by (A-1) to (A-3) above).
. Then, by approximating and specifying the boundary IIBR of the area AR with a straight line and a circular arc, the desired point group will consist of (1) data that defines the composite point group, (2) data that specifies the boundary line of the area, and (3) Uniquely identify one area using the data that specifies the inside/outside of the area. That is, find the position coordinate values of each point that makes up the composite point group from the ill data, and use the boundary line data in (2) to check whether the chain point exists on the side specified in (3). , by selecting points existing on the side specified in (3), a desired point group can be obtained.

第2図において、101はプロセッサ、102はROM
、103はRAM、104はキーボード、105はワー
キングメモリ、106はNCCデック力装置、107は
NGテープである。
In FIG. 2, 101 is a processor, 102 is a ROM
, 103 is a RAM, 104 is a keyboard, 105 is a working memory, 106 is an NCC deck force device, and 107 is an NG tape.

次に、第3図の流れ図に従って、本発明にかかろ数値制
御方法を説明する。
Next, the numerical control method according to the present invention will be explained according to the flowchart of FIG.

lal  まず、領域内外の点群を合成して成る合成点
群を定義してキーボード104より入力し、RAM10
3に記憶する。
lal First, define a composite point cloud made by combining points inside and outside the area, input it from the keyboard 104, and store it in the RAM 10.
Store in 3.

(bl  ついで、境界線BR(第1図参照)を複数の
直線と円弧で近似し、これら直線、円弧を特定するデー
タをキーボードから入力して境界@BRを特定する。
(bl) Next, the boundary line BR (see FIG. 1) is approximated by a plurality of straight lines and circular arcs, and data specifying these straight lines and circular arcs is input from the keyboard to specify the boundary @BR.

(C)シかる後、所望の点群が属する領域が境界線BR
の内側であるか外側であるかを入力する。
(C) After scanning, the area to which the desired point group belongs is the boundary line BR.
Enter whether it is inside or outside.

尚、所望の点群が属する領域が境界線の内側であればワ
ーキングメモリ105に記憶される7ラグFは1″にな
り、外側であればフラグFt、” ONとなる。
Note that if the area to which the desired point group belongs is inside the boundary line, the 7lag F stored in the working memory 105 will be 1'', and if it is outside the area, the flag Ft,'' will be ON.

(di  ついで、プロセッサは1→lとする。(di Then, the processor changes from 1 to l.

te+  そして、合成点群のうちi番目の点R1の位
置座標値を求める。尚、合成点群P−1Q、、 (第1
図参照)にはサフィックス類(11,12,23、・・
21.2211.77の順)に、新たにR,、R,、R
,、・・・・・艮 と番号を付しているものとする。
te+ Then, the position coordinate values of the i-th point R1 in the composite point group are determined. In addition, the composite point group P-1Q,, (first
(see figure) includes suffixes (11, 12, 23, etc.)
21.2211.77), new R,, R,, R
They are numbered as ,,...艮.

tfl  点R1の位置座標値が求まれば、プロセッサ
101は線点が境界線BRの内側にあるか外側にあるか
をチェックする。
tfl Once the position coordinate values of the point R1 are determined, the processor 101 checks whether the line point is inside or outside the boundary line BR.

(gl  内側に存在していれば、プロセッサはフラグ
がn 1″であるかどうかをチェック1ろ。
(If it exists inside gl, the processor checks if the flag is n1''.

(hlF−”1’であれば、点R6は所望の側に存在し
ているものであり、プロセッサは該点R,の位置座標値
をRAM103に記憶する。
(If hlF-"1", the point R6 exists on the desired side, and the processor stores the position coordinate value of the point R in the RAM 103.

尚、ステップ(2)においてFx” ONであれば、点
R,は所望の鍔に存在していないから同もせず、直ちに
ステップ(1)のチェックを行う。
Note that if Fx'' is ON in step (2), the point R is not present at the desired tsuba, so the same process is not performed, and the check in step (1) is immediately performed.

(i+  一方、ステップ(flにおいて点R1が境界
線の外側に存在していれば、プロセッサはフラグFが1
″かどうかをチェックする。そして、F=″0″であれ
ば点艮、は所望の側に存在しているものであり、プロセ
ッサ線点R1の位置座標値をRAMI(1:Iに記憶す
る。
(i+ On the other hand, if the point R1 exists outside the boundary line in step (fl), the processor sets the flag F to 1.
”.If F=“0”, the dot exists on the desired side, and the position coordinate value of the processor line point R1 is stored in RAMI (1:I). .

尚、ステップ(1)においてF−’ 1”であれば、点
1は所望の側に存在していないから伺もせず、直ちにス
テップ(1)のチェックを行う。
Note that if F-'1'' is determined in step (1), point 1 is not located on the desired side, so the check in step (1) is immediately performed without even asking.

fjl  点R1が所望の点であるかどうかのチェック
が終了すれば、プロセッサは合成点群を構成する全点に
対してステップ(el〜(旬の判別処理が行われたかど
うかをチェックする。
fjl After checking whether the point R1 is a desired point, the processor checks whether step (el~) has been performed on all the points constituting the composite point group.

(鴎 全点に対する判別処理が終わっていなければ、プ
ロセッサは凰+1→1によりiを1歩進し、ステップl
al以降の処理を繰り返す。
(U) If the discrimination processing for all points is not completed, the processor advances i by 1 step by O + 1 → 1, and step l
Repeat the process after al.

(−一方、全点に対する判別処理が終了していれば、以
後前記処理により選別された点群の位置座標値と、別途
入力されている位置決め運動を特定するデータと、位置
決め完了毎に行われる一連の運動を定義するサイクル命
令データとを用いてNCデータを作成してRAM103
に記憶する。
(-On the other hand, if the discrimination process for all points has been completed, the position coordinate values of the point group selected by the above process, the data specifying the positioning movement that has been input separately, and the data that is performed every time positioning is completed) Create NC data using cycle command data that defines a series of movements and store it in the RAM 103.
to be memorized.

以上により、NCデータが作成されれば、該データをN
Cデータ出力装置106を介して出力し、NCテープ1
07を作成する。
Once the NC data is created as described above, the data can be
C data output device 106 and output to NC tape 1.
Create 07.

そして、該NCテープを図示しないNC装置に入力し、
該NC装置は入力されたNCデータに基づいて数値制御
処理を行い工具を領域内部または頻域外部の所定のポイ
ントに順次位置決めし、該ポイントで所定の加工たとえ
ば穴加工が行われろ。
Then, input the NC tape into an NC device (not shown),
The NC device performs numerical control processing based on input NC data, sequentially positions the tool at predetermined points inside the area or outside the frequency area, and predetermined machining, such as hole machining, is performed at the points.

〈発明の効果〉 以上説明したように、本発明によれば所望の点群を含む
合成点群の各点の位置座標値を算出し得るように所定の
規則に従って該合成点群を特定するステップ、頻域の境
界線を特定するステップ、前記合成点群を構成する各点
の位置座標値を求め、線点が領域の内側、外側のいずれ
に存在するかを判別するステップ、内側及び外側のうぢ
指定された側に存在する点群の位置座標値を用いてNC
データを作成するステップを有し、該NCデータに基づ
いて工具を順次所定の点に位W1決めするように構成し
たから、(1)合成点群、(2)境界線、(3)境界線
の内61/外側を特定するデータを入力するだけで自動
釣に所望の領域に存在する点を選別でき、従ってプログ
ラミング操作が短縮され、しかもプログラミング操作が
簡単になった。
<Effects of the Invention> As explained above, according to the present invention, the step of specifying the composite point group according to a predetermined rule so as to calculate the position coordinate value of each point in the composite point group including the desired point group. , a step of identifying the boundary line of the frequency region, a step of determining the position coordinate values of each point constituting the composite point group, and determining whether the line point exists inside or outside the region; NC using the position coordinate values of the point group existing on the specified side
Since the configuration includes a step of creating data and sequentially positions the tool at a predetermined point W1 based on the NC data, (1) composite point group, (2) boundary line, (3) boundary line Points existing in a desired area can be selected for automatic fishing by simply inputting data specifying the inside/outside of the area, thereby shortening the programming operation and making the programming operation easier.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の概略説明図、第2図は本発明を実施す
るNGデータ作成装冒のブロック図、第3図は本発明の
処理の流れ図、第4図は従来方法の説明図、第5図は従
来方法の欠点説明図である。 BR・・・境界線、AR・・・領域 P14・・・領域内部に存在する所望の点群Q11・・
・領域外部に存在する仮想点群特許出願人      
  ファナック株式会社代理人          弁
理士  1III千幹第1図 第2図
FIG. 1 is a schematic explanatory diagram of the present invention, FIG. 2 is a block diagram of the NG data creation equipment implementing the present invention, FIG. 3 is a flowchart of the processing of the present invention, and FIG. 4 is an explanatory diagram of the conventional method. FIG. 5 is a diagram illustrating the drawbacks of the conventional method. BR...boundary line, AR...area P14...desired point group Q11 existing inside the area...
・Virtual point cloud patent applicant existing outside the domain
Fanuc Co., Ltd. Agent Patent Attorney 1III Senkan Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 所望の点群を含む合成点群を構成する各点の位置座標値
を算出し得るように所定の規則に従って該合成点群を特
定するステップ、領域の境界線を特定するステップ、前
記合成点群を構成する各点の位置座標値を求め、該点が
領域の内側、外側のいずれに存在するかを判別するステ
ップ、内側及び外側のうち指定された側に存在する所望
点群の位置座標値を用いてNCデータを作成するステッ
プを有し、該NCデータに基づいて工具を順次所定の点
に位置決めすることを特徴とする数値制御方法。
a step of identifying the composite point group according to a predetermined rule so as to calculate the position coordinate values of each point constituting the composite point group including the desired point group; a step of identifying a boundary line of a region; a step of identifying the composite point group; a step of determining the position coordinate values of each point constituting the area and determining whether the point exists inside or outside the area; position coordinate values of the desired point group existing on the designated side of the inside or outside; 1. A numerical control method comprising the step of creating NC data using a method, and sequentially positioning a tool at a predetermined point based on the NC data.
JP16361284A 1984-08-03 1984-08-03 Numerical control method Pending JPS6142006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16361284A JPS6142006A (en) 1984-08-03 1984-08-03 Numerical control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16361284A JPS6142006A (en) 1984-08-03 1984-08-03 Numerical control method

Publications (1)

Publication Number Publication Date
JPS6142006A true JPS6142006A (en) 1986-02-28

Family

ID=15777232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16361284A Pending JPS6142006A (en) 1984-08-03 1984-08-03 Numerical control method

Country Status (1)

Country Link
JP (1) JPS6142006A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2646727A1 (en) * 1989-05-03 1990-11-09 Num Sa METHOD FOR AUTOMATICALLY DETERMINING THE TOOL PATH IN POCKET PLAN MACHINING
JPH0487709A (en) * 1990-07-31 1992-03-19 Okuma Mach Works Ltd Numerical control device
CN108931962A (en) * 2017-05-24 2018-12-04 发那科株式会社 Numerical control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2646727A1 (en) * 1989-05-03 1990-11-09 Num Sa METHOD FOR AUTOMATICALLY DETERMINING THE TOOL PATH IN POCKET PLAN MACHINING
JPH0487709A (en) * 1990-07-31 1992-03-19 Okuma Mach Works Ltd Numerical control device
CN108931962A (en) * 2017-05-24 2018-12-04 发那科株式会社 Numerical control device

Similar Documents

Publication Publication Date Title
KR880002421B1 (en) Numerical control system
DE69626154T2 (en) Interference monitoring method
DE69329572T2 (en) Imaging device
JP2853355B2 (en) 3D graphic data generator
JPH06290237A (en) Product drawing generating device
Carrie The layout of multi-product lines
KR900007161B1 (en) Region machining method
JPS6142006A (en) Numerical control method
JPH096424A (en) CAD / CAM device and processing simulation method
Keung et al. The solution of a multi-objective tool selection model using the GA approach
US4949271A (en) Curved surface creation method
JPH0460810A (en) Numerical control information generator
CN119919577A (en) Method and system for generating three-dimensional model of steel structure column
DE4000215C2 (en) Device for generating image sections using a test window in a graphics system
JP7333096B2 (en) Color information conversion program, color information conversion method, and color information conversion information processing apparatus
JPH03174604A (en) Producing device for numerical control information
US5151864A (en) Method of generating cutting passes of complex curved surface
JP3145724B2 (en) Graphic data converter
JPS62235606A (en) Nc data originating method for composite curved surface
Ernzer et al. Interactive design of a virtual factory using cellular manufacturing system
JPH0697417B2 (en) Display method of cutting part of material in automatic programming for NC
JP3115150B2 (en) Production planning equipment
JPH06314317A (en) Stereoscopic diagram drawing method for cad data
Zhou et al. THE STUDY ON AN AUTOMATIC LAYOUT METHOD FOR EQUIPMENT IN NUCLEAR POWER PLANT
CN121030853A (en) A digital collaborative design system for steel structure workshops in shipyards