JPH0531161B2 - - Google Patents

Info

Publication number
JPH0531161B2
JPH0531161B2 JP61202984A JP20298486A JPH0531161B2 JP H0531161 B2 JPH0531161 B2 JP H0531161B2 JP 61202984 A JP61202984 A JP 61202984A JP 20298486 A JP20298486 A JP 20298486A JP H0531161 B2 JPH0531161 B2 JP H0531161B2
Authority
JP
Japan
Prior art keywords
corner
machining
machining conditions
part program
condition change
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.)
Expired - Lifetime
Application number
JP61202984A
Other languages
Japanese (ja)
Other versions
JPS6358507A (en
Inventor
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 JP61202984A priority Critical patent/JPS6358507A/en
Priority to DE3750873T priority patent/DE3750873T2/en
Priority to PCT/JP1987/000626 priority patent/WO1988001765A1/en
Priority to EP87905642A priority patent/EP0282599B1/en
Priority to US07/196,220 priority patent/US4870560A/en
Publication of JPS6358507A publication Critical patent/JPS6358507A/en
Publication of JPH0531161B2 publication Critical patent/JPH0531161B2/ja
Granted 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/00Programme-control systems
    • G05B19/02Programme-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 programme 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 programme 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 programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-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 programme 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 programme 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 programme, for the NC machine
    • G05B19/40937Numerical 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 programme 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 programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • 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/34Director, elements to supervisory
    • G05B2219/34098Slope fitting, fairing contour, curve fitting, transition
    • 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/35Nc in input of data, input till input file format
    • G05B2219/35244Select in corner different program according to inner, outer machining
    • 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/36215Insert automatically program sequence, for corner execution, avoid machining error
    • 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/43Speed, acceleration, deceleration control ADC
    • G05B2219/43129Speed as function of curvature, in curves, corners smaller than in straight line
    • 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/43Speed, acceleration, deceleration control ADC
    • G05B2219/43147Control power of tool as function of speed, velocity of movement
    • 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/45Nc applications
    • G05B2219/45165Laser machining
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50109Soft approach, engage, retract, escape, withdraw path for tool to workpiece
    • 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)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明はレーザ加工用のNCパートプログラム
作成方法に係り、特にコーナにおける加工精度を
向上できるNCパートプログラムの作成方法に関
する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a method for creating an NC part program for laser machining, and particularly to a method for creating an NC part program that can improve machining accuracy at corners.

<従来技術> APTやFAPTなどの自動プログラミング言語
を用いてNCデータを作成する自動プログラミン
グにおいては、 (a) 簡単な記号を用いて点、直線、円弧を定義す
ると共に(図形定義)、これら定義された点、
直線、円弧を用いて工具通路を定義して(運動
文定義)、自動プログラミング言語によるパー
トプログラムを作成し、 (b) しかる後、NCデータ出力テーブルを用いて
自動プログラミング言語によるパートプログラ
ムをNC装置が実行できる形式のNCデータ
(EIAコードあるいはISOコード)よりなるNC
データに変換する。尚、工具には通常の工具に
加えてワイヤ放電加工機におけるワイヤやレー
ザ加工機におけるレーザビーム等が含まれてい
るものとする。
<Prior art> In automatic programming that creates NC data using automatic programming languages such as APT and FAPT, (a) points, straight lines, and arcs are defined using simple symbols (shape definition); point,
Define the tool path using straight lines and circular arcs (motion statement definition) and create a part program using an automatic programming language. (b) Then, use the NC data output table to create a part program using the automatic programming language to the NC device. NC consisting of NC data (EIA code or ISO code) in a format that can be executed by
Convert to data. It is assumed that the tools include a wire in a wire electric discharge machine, a laser beam in a laser beam machine, etc. in addition to normal tools.

たとえば、第10図に示す直線と円弧から成る
形状に沿つて工具(レーザビーム)を移動させる
パートプログラムの作成においては、まず、工具
始点P1、切削開始点P2、直線S1,S2及び円弧C1
……を PART,REIDAI ……(1) MCHN,MILL,ABS ……(2) P1=x1,y1 P2=x2,y2 P3=x3,y3 S1=P2,P3 ……(3) C1=x4,y4,r1 ……(4) P5=x5,y5 S2=P5,C1,B ……(5) のごとく図形定義し、しかる後これら定義された
点、直線、円弧を用いて、 CUTTER,0.3 ……(6) S0800 ……(7) TLLFT ……(8) FROM,P1 ……(9) RPD,TO,S1,P2 ……(10) FCOD,500 ……(11) S1 C1 S2 …… FINI PEND と工具通路に沿つた運動文を自動プログラミング
言語で定義して、自動プログラミング装置に入力
すれば、あとは自動プログラミング装置がNCデ
ータ出力テーブルを参照しながら自動的にEIAコ
ードあるいはISOコードによる実行形式のNCデ
ータを作成して出力する。
For example, in creating a part program for moving a tool (laser beam) along a shape consisting of straight lines and circular arcs as shown in FIG . and arc C 1
… PART, REIDAI … (1) MCHN, MILL, ABS … (2) P 1 = x 1 , y 1 P 2 = x 2 , y 2 P 3 = x 3 , y 3 S 1 = P 2 , P 3 ... (3) C 1 = x 4 , y 4 , r 1 ... (4) P 5 = x 5 , y 5 S 2 = P 5 , C 1 , B ... (5) Then, using these defined points, straight lines, and arcs, CUTTER, 0.3 ……(6) S0800 ……(7) TLLFT ……(8) FROM, P 1 ……(9) RPD, TO , S 1 , P 2 ... (10) FCOD, 500 ... (11) S 1 C 1 S 2 ... FINI PEND and the motion statement along the tool path are defined in an automatic programming language and written to the automatic programming device. Once input, the automatic programming device automatically creates and outputs executable NC data in EIA code or ISO code while referring to the NC data output table.

但し、(1)はパートプログラムの開始を指示する
もので、「REIDAI」は見出しである。
However, (1) instructs the start of the part program, and "REIDAI" is the heading.

(2)はNC機の種類を示すもので、フライス加工
の場合にはMILLを、旋削加工の場合には
TURNを、ワイヤカツト放電加工機の場合には
CUTを、レーザ加工の場合にはRAZERを用い
る。「ABS」はアブソリユート指令を示す(イン
クリメンタル指令の場合にはINCRを用いる)。
(2) indicates the type of NC machine, MILL for milling, and MILL for turning.
TURN, in the case of a wire cut electrical discharge machine
Use CUT and RAZER for laser processing. "ABS" indicates an absolute command (INCR is used for incremental commands).

(3)はポイントP2,P3を通る直線を意味し、 (4)は中心(x4,y4)で半径r1の円弧を、 (5)はポイントP5を通り円弧C1に接する2つの
接線のうち下側の接線(直線)を意味する。ただ
し、上側の接線の場合にはアルフアベツトBに代
えてAを用いる。
(3) means a straight line passing through points P 2 and P 3 , (4) means a circular arc with radius r 1 at the center (x 4 , y 4 ), and (5) means a straight line passing through point P 5 to arc C 1. It means the lower tangent line (straight line) of two tangent lines that touch. However, in the case of the upper tangent line, the alpha alphabet A is used instead of B.

(6)はビーム径0.3mmを指令するビーム指令、 (7)はレーザ出力が800ワツト(W)であること
を示す指令、 (8)は進行方向左側に工具をオフセツトさせる指
令(ただし、進行方向右側に工具をオフセツトさ
せる場合にはTLRGT)、 (9)はスタート点がP1であることを示す座標系
設定指令、 (10)は直線S1を通過せずにポイントP2でカツタ
が該直線に接するように位置決めする指令、 (11)は送り速度が500mm/minであることを示す
速度指令である。
(6) is a beam command that commands a beam diameter of 0.3 mm, (7) is a command that indicates that the laser output is 800 watts (W), and (8) is a command that offsets the tool to the left in the direction of travel (however, TLRGT to offset the tool to the right in the direction), (9) is a coordinate system setting command indicating that the starting point is P 1 , and (10) is a command to set the cutter at point P 2 without passing through straight line S 1 . A command for positioning so as to be in contact with the straight line, (11) is a speed command indicating that the feed speed is 500 mm/min.

ところで、一般に工具通路にコーナが存在する
場合には機械の特性等からコーナ付近では工具送
り速度を一定に保つことができない。たとえば、
工具通路の第ブロツクbiと第(i+1)ブロツ
クbi+1が第11図に示すように直交していると工
具送り速度は第12図に示すようになり、コーナ
部を通過する時に加減速が必要になる。すなわ
ち、コーナ近傍でX軸送り速度VXが指令速度VC
から減速して零になつてからY軸の送り速度VY
が加速されて指令速度VCになる。
By the way, in general, when a corner exists in a tool path, the tool feed rate cannot be kept constant near the corner due to the characteristics of the machine. for example,
If the block b i and the (i+1)th block b i+1 of the tool path are perpendicular to each other as shown in FIG. You will need to slow down. In other words, near the corner, the X-axis feed speed V X becomes the command speed V C
After decelerating from and reaching zero, the Y-axis feed speed V Y
is accelerated to the commanded speed V C.

このコーナ部における送り速度の加減速が部品
加工精度に悪影響を及ぼし、特にレーザ加工のよ
うに高い加工速度が要求される場合送り速度の加
減速は加工精度に相当の影響を与える。
Acceleration or deceleration of the feed rate at this corner has a negative effect on the accuracy of parts machining, and especially when a high machining speed is required, such as in laser machining, the acceleration or deceleration of the feed rate has a considerable effect on the machining accuracy.

<発明が解決しようとしている問題点> 以上から、コーナ部での加工精度が低下しない
ようにNCパートプログラムを作成する必要があ
るが従来はかかる加工精度を考慮してNCパート
プログラムを作成することが行われていなかつ
た。
<Problems to be solved by the invention> From the above, it is necessary to create an NC part program so that the machining accuracy at the corner does not deteriorate, but conventionally, the NC part program has been created taking such machining accuracy into consideration. was not carried out.

以上から本発明の目的はコーナ部での加工精度
の低下を押さえることができるレーザ加工用の
NCパートプログラム作成方法を提供することで
ある。
From the above, the purpose of the present invention is to develop a laser processing method that can suppress the deterioration of processing accuracy at corners.
The object of the present invention is to provide a method for creating an NC part program.

本発明の別の目的は簡単な手法でコーナ部の加
工精度を維持できるレーザ加工用のNCパートプ
ログラム作成方法を提供することである。
Another object of the present invention is to provide a method for creating an NC part program for laser machining that can maintain machining accuracy at corners using a simple method.

本発明の更に別の目的はコーナ外側が部品の場
合に該コーナ部での加工条件をそれ迄の加工条件
と異ならせ、たとえばコーナから所定距離手前に
おいて送り速度とレーザ出力を低下させ、コーナ
通過後所定距離のポイントで加工条件を元に回復
させることによりコーナでの加工精度を向上でき
るNCパートプログラム作成方法を提供すること
である。
Still another object of the present invention is to make the machining conditions at the corner different from the previous machining conditions when the outside of the corner is a part, for example by reducing the feed rate and laser output a predetermined distance before the corner, and It is an object of the present invention to provide an NC part program creation method that can improve machining accuracy at corners by restoring machining conditions to their original values at a point a predetermined distance afterward.

<問題点を解決するための手段> 第1図は本発明の概略説明図である。<Means to solve the problem> FIG. 1 is a schematic explanatory diagram of the present invention.

RBはレーザビーム、biは第iブロツクのオフ
セツト通路、bi+1は第(i+1)ブロツクのオフ
セツト通路、CNはコーナ部、PTは部品、Pは
第iブロツクの終点、QP間及びPR間は加工条件
変更区間であり、それぞれ終点Pから距離l1,l2
の区間である。
RB is the laser beam, b i is the offset path of the i-th block, b i+1 is the offset path of the (i+1)th block, CN is the corner, PT is the part, P is the end point of the i-th block, between QP and PR The spaces between are the machining condition change sections, and the distances l 1 and l 2 from the end point P, respectively.
This is the interval.

尚、第1図A〜Dは全てコーナ外側が部品PT
となる場合であり、第1図A,Bは共にオフセツ
ト方向が進行方向右側で、かつコーナ部で時計方
向に曲がる場合であり、第1図C,Dは共にオフ
セツト方向が進行方向左側で、かつコーナ部で反
時計方向に曲がる場合である。
In addition, in Figure 1 A to D, the outside corner is the part PT.
Figures 1A and B are both cases in which the offset direction is on the right side in the direction of travel and the vehicle turns clockwise at a corner, and Figures 1C and D are both cases in which the offset direction is on the left side in the direction of travel. This is a case where the vehicle turns counterclockwise at a corner.

<作用> 予めコーナ部CNにおける加工条件変更区間
QP,PR(距離l1,l2)と該区間における加工条件
(レーザビームの送り速度とレーザ出力値)とを
設定しておき、該加工条件変更区間と加工条件を
考慮することなく運動定義文を作成する。
<Effect> Machining condition change section at corner CN in advance
By setting QP, PR (distance l 1 , l 2 ) and the machining conditions (laser beam feed rate and laser output value) in the corresponding section, the motion can be defined without considering the machining condition change section and the machining conditions. Create a sentence.

そして、NCパートプログラム作成に際して、
運動定義文に含まれる進行方向の右側あるいは左
側のいずれの方向にレーザビームRBをオフセツ
トするかを示すオフセツト方向とビーム通路bi
bi+1のコーナ部CNにおける曲がり方向とから該
コーナにおいてビーム通路の外側が部品PTかど
うかを判別し、コーナの外側が部品の場合には前
記加工条件変更区間QP,PRで前記設定されてい
る加工条件となるようにNCパートプログラムを
作成する。
And when creating the NC part program,
The offset direction and beam path b i indicating whether to offset the laser beam RB to the right or left side of the traveling direction included in the motion definition statement,
b Based on the bending direction at the corner CN of i+1, it is determined whether the outside of the beam path at the corner is a part PT, and if the outside of the corner is a part, the machining condition change sections QP and PR set as above are determined. Create an NC part program to meet the specified machining conditions.

すなわち、ポイントQ迄は所定の加工条件(運
動定義文で特定した加工条件)で移動させるNC
データを作成し、ポイントQからP迄は設定され
ている加工条件で移動させるNCデータを作成
し、ポイントPからポイントR迄は同様に設定さ
れている加工条件で移動させるNCデータを作成
する。
In other words, the NC is moved to point Q under the specified machining conditions (the machining conditions specified in the motion definition statement).
Create data, create NC data to move from point Q to P under set machining conditions, and create NC data to move from point P to point R under similarly set machining conditions.

<実施例> 第2図は本発明の1実施例である自動プログラ
ミング装置のブロツク図である。
<Embodiment> FIG. 2 is a block diagram of an automatic programming device which is an embodiment of the present invention.

101はローデイングプログラム等が記憶され
たROM、102は自動プログラミング処理を行
うプロセツサ、103はRAMである。
101 is a ROM in which loading programs and the like are stored, 102 is a processor that performs automatic programming processing, and 103 is a RAM.

RAM103はフロツピーより読み込まれたシ
ステムプログラムSTPRを記憶する記憶域103
aと、NCデータ出力テーブルNCDTを記憶する
記憶域103bと、機能コードとNCデータ出力
形式との対応関係FNTを記憶する記憶域103
cと、各種パラメータPRMを記憶する記憶域1
03dと、ワーキング領域103eを有してい
る。
RAM103 is a storage area 103 that stores the system program STPR read from the floppy disk.
a, a storage area 103b for storing the NC data output table NCDT, and a storage area 103 for storing the correspondence relationship FNT between function codes and NC data output formats.
Storage area 1 to store c and various parameters PRM
03d and a working area 103e.

記憶域103bに記憶されるNCデータ出力テ
ーブルNCDTは、各指令毎に第3図に示すよう
にNCデータ出力形式を特定するための複数の機
能コードF1〜F9を有している。尚、各機能コー
ドは4桁の16進数字により表現され、いくつかの
機能コードの集まりにより1つの実行形式のNC
データが特定される。
The NC data output table NCDT stored in the storage area 103b has a plurality of function codes F1 to F9 for specifying the NC data output format for each command as shown in FIG. Each function code is expressed as a 4-digit hexadecimal number, and a collection of several function codes can be used to create one executable NC.
Data is identified.

又、記憶域103cに記憶される各機能コード
とNCデータ出力形式との対応関係の一部が第4
図に示されている。さて、第3図のNCデータ出
力テーブルNCDTにおける座標系設定のNCデー
タ出力形式は 8502,0001,0101,0201,0004 であるから、第4図の機能コードと出力形式の対
応関係を参照すると、座標系設定の実行形式の
NCデータは G50XEOB ……(a) となる。又、位置決め/直線切削のNCデータ出
力形式は 8202,8002,0001,0101,0201,0141,0004 であるから第4図の機能コードと出力形式の対応
関係を参照すると、位置決め/直線切削の実行形
式のNCデータは G90(G91)G00(G01)XEOB
……(b) となる。更に、円弧切削のNCデータ出力形式は 8202,8012,0001,0101,0301,0401,0004 であるから第4図の機能コードと出力形式の対応
関係を参照すると、円弧切削の実行形式のNCデ
ータは G90(G91)G02(G02)XEOB
……(c) となる。
Also, part of the correspondence between each function code stored in the storage area 103c and the NC data output format is
As shown in the figure. Now, the NC data output format for the coordinate system settings in the NC data output table NCDT in Figure 3 is 8502, 0001, 0101, 0201, 0004, so if you refer to the correspondence between the function code and output format in Figure 4, Coordinate system setting execution format
The NC data is G50X x Y y Z z EOB...(a). Also, the NC data output format for positioning/linear cutting is 8202, 8002, 0001, 0101, 0201, 0141, 0004, so if you refer to the correspondence between function codes and output formats in Figure 4, you can see that positioning/linear cutting is executed. The NC data in the format is G90 (G91) G00 (G01) X x Y y X x F f EOB
...(b) becomes. Furthermore, since the NC data output format for circular cutting is 8202, 8012, 0001, 0101, 0301, 0401, 0004, referring to the correspondence between function codes and output formats in Figure 4, the NC data in the execution format for circular cutting is G90 (G91) G02 (G02) X x Y y I i J j EOB
...(c) becomes.

第2図に戻つて、104は作成されたNCデー
タを記憶するNCデータ記憶メモリ、105はキ
ーボード、106はデイスプレイ装置(CRT)、
107はデイスクコントローラ、FLはフロツピ
ーデイスクである。
Returning to FIG. 2, 104 is an NC data storage memory for storing created NC data, 105 is a keyboard, 106 is a display device (CRT),
107 is a disk controller, and FL is a floppy disk.

第5図は本発明の処理の流れ図、第6図は加工
条件変更が必要なコーナ半径説明図、第7図は加
工条件変更が必要な交差角度説明図、第8図はコ
ーナ内側に部品がある場合の説明図であり、以下
第1図乃至第8図を参照して本発明の処理を説明
する。
Fig. 5 is a flowchart of the process of the present invention, Fig. 6 is an explanatory diagram of the corner radius that requires changing the machining conditions, Fig. 7 is an explanatory diagram of the intersection angle that requires changing the machining conditions, and Fig. 8 is a diagram showing the parts inside the corner. This is an explanatory diagram of a certain case, and the processing of the present invention will be described below with reference to FIGS. 1 to 8.

尚、予めフロツピーデイスクFLからレーザ加
工用NCパートプログラムを作成するためのシス
テムプログラムSTPR、NCデータ出力テーブル
NCDT、機能コード/NCデータ出力形式の対応
関係FNT、パラメータPRMがRAM103の各
記憶域103a〜103dに記憶されているもの
とする。又、パラメータPRMにはコーナ部での
加工条件変更区間QP,PR(第1図参照)や該区
間における加工条件を特定するデータや、加工条
件を変更するかどうかの判定基準となる角度AS
半径RSが含まれているものとする。
In addition, the system program STPR and NC data output table for creating the NC part program for laser processing from the floppy disk FL are provided in advance.
It is assumed that NCDT, function code/NC data output format correspondence relationship FNT, and parameter PRM are stored in each storage area 103a to 103d of RAM 103. In addition, the parameter PRM includes the machining condition change sections QP and PR at the corner (see Figure 1), data that specifies the machining conditions in this section, and the angle A S that is the criterion for determining whether to change the machining conditions. ,
Assume that radius R S is included.

ただし、第iブロツクと第(i+1)ブロツク
が直線の場合(第1図参照)加工条件変更区間
QP,PRは第iブロツク終点Pからの距離l1,l2
で特定され、加工条件はレーザビームの送り速度
V1,V2とレーザ出力値E1,E2で特定される。
又、第(i+1)ブロツクが円弧の場合には(第
6図参照)加工条件変更区間QP1,P2Rは第iブ
ロツク終点(円弧始点)P1からの距離l1と第(i
+1)ブロツクの終点(円弧終点)からの距離l2
で特定される。
However, if the i-th block and the (i+1)-th block are straight lines (see Figure 1), the machining condition change section
QP and PR are the distances l 1 and l 2 from the end point P of the i-th block
The processing conditions are determined by the laser beam feed rate.
It is specified by V 1 , V 2 and laser output values E 1 , E 2 .
Furthermore, when the (i+1)th block is a circular arc (see Fig. 6), the machining condition change sections QP 1 , P 2 R are the distance l 1 from the i-th block end point (arc starting point) P 1 and the (i-th
+1) Distance from the end point of the block (end point of the arc) l 2
It is specified by

(1) まず、図形定義文と、加工条件変更区間や該
区間における加工条件を考慮しない運動定義文
をそれぞれ作成して入力すれば、プロセツサ1
02は1→iとする。
(1) First, if you create and input a figure definition statement and a motion definition statement that does not take into account machining condition change sections or machining conditions in these sections, the processor 1
02 is 1→i.

(2) ついで、第iブロツクの終点を図形定義文と
運動定義文とから演算する。
(2) Next, the end point of the i-th block is calculated from the figure definition statement and the motion definition statement.

(3) 第iブロツクの終点が求まれば該終点がレー
ザビームの通路終点かどうかをチエツクする。
(3) When the end point of the i-th block is found, it is checked whether the end point is the end point of the laser beam path.

(4) 通路終点であれば該終点座標値を用いて第i
ブロツクのNCデータを作成してNCパートプ
ログラムの作成処理を終了する。
(4) If it is the end point of the passage, use the coordinate value of the end point to
Create the block NC data and complete the NC part program creation process.

(5) 一方、ステツプ(3)において通路終点でなけれ
ば第iブロツクの終点におけるコーナの外側が
部品かどうかをチエツクする。
(5) On the other hand, if it is not the end of the path in step (3), it is checked whether the outside of the corner at the end of the i-th block is a part.

尚、レーザビームのオフセツト方向が進行方
向右側で、かつ終点コーナ部で時計方向に曲が
る場合(第1図A,B参照)及びオフセツト方
向が進行方向左側で、かつ終点コーナ部で反時
計方向に曲がる場合(第1図C,D参照)はコ
ーナ内側が部品となる。
In addition, when the offset direction of the laser beam is on the right side in the direction of travel and turns clockwise at the end point corner (see Fig. 1 A and B), and when the offset direction is on the left side in the direction of travel and turns counterclockwise at the end point corner. In the case of bending (see Figure 1 C and D), the inside of the corner becomes the part.

(6) コーナ外側が部品でなければ、換言すればコ
ーナ内側が部品であればコーナ部に逃げ通路を
挿入するかどうかの判断処理を行い、該判断結
果に基づいてNCデータを作成する処理を実行
する。
(6) If the outside of the corner is not a component, in other words, if the inside of the corner is a component, a process is performed to determine whether or not to insert an escape passage into the corner, and a process to create NC data based on the determination result. Execute.

第8図A〜Dはコーナ部に挿入される逃げ通
路EPの例であり、第iブロツクと第(i+1)
ブロツクのオフセツト通路bi,bi+1の交点をPE
交点PEから各オフセツト通路の延長方向で距
離lのポイントをQ,Rとすれば、線分PE
→Q,Rに接する円弧→線分RPEとなる。すな
わち、逃げ通路はコーナ部で加工速度が変化し
ないような通路である。
FIGS. 8A to 8D are examples of escape passages EP inserted into corner parts, and the i-th block and the (i+1)-th block
The intersection of offset paths b i and b i+1 of the block is P E ,
If the points at a distance l from the intersection P E in the extending direction of each offset passage are Q and R, then the line segment P E Q
→ Arc tangent to Q and R → line segment RP E. In other words, the escape passage is a passage in which the machining speed does not change at the corner.

(7) 一方、コーナ外側が部品であれば第(i+
1)ブロツクが円弧かどうかをチエツクする。
尚、コーナ円弧の半径が所定値以上となればコ
ーナでのレーザビームの速度変化は加工精度に
影響しない程度となるから、本発明ではコーナ
円弧半径R(第6図参照)が予め設定してある
半径RSより大きい場合にはコーナ外側が部品
であつても加工条件を変更しないようにしてい
る。
(7) On the other hand, if the outside corner is a part, the (i+
1) Check whether the block is an arc.
In addition, if the radius of the corner arc exceeds a predetermined value, the speed change of the laser beam at the corner will not affect the machining accuracy, so in the present invention, the corner arc radius R (see Fig. 6) is set in advance. If the radius is larger than a certain radius R S , the machining conditions are not changed even if the outside of the corner is a part.

(8) 従つて、第(7)ステツプにおいて円弧であれば
コーナ半径Rを計算し、円弧でなければ第(13)
ステツプへ飛ぶ。
(8) Therefore, in step (7), if it is an arc, calculate the corner radius R, and if it is not an arc, calculate the corner radius R in step (13).
Fly to the steps.

(9) さて、円弧であり、かつコーナ円弧半径Rが
求まれば、R<RSかどうかを判別する。
(9) Now, if it is a circular arc and the corner arc radius R is found, it is determined whether R< RS .

(10) R≧RSであれば加工条件変更を行うことな
く第iブロツク(直線ブロツク)、第(i+1)
ブロツク(円弧ブロツク)のNCデータを作成
する。
(10) If R≧ RS , the i-th block (straight line block) and the (i+1)th block are processed without changing the machining conditions.
Create NC data for the block (arc block).

(11) しかし、R<RSであればパラメータ記憶域
103dに設定してあるl1,l2で特定される加
工条件変更区間QP1,P1P2,P2R(第6図参照)
で前記設定されている加工条件となるように
NCデータを作成する。
(11) However, if R< RS , the machining condition change sections QP 1 , P 1 P 2 , P 2 R specified by l 1 and l 2 set in the parameter storage area 103d (see Fig. 6) )
so that the machining conditions set above are met.
Create NC data.

すなわち、ポイントQ迄は所定の加工条件
(運動定義文で特定した加工条件)で移動させ
るNCデータを作成し、ポイントQからポイン
トP1迄はl1と共に設定されている加工条件で移
動させるNCデータを作成し、ポイントP1から
ポイントP2迄はQP1間と同一の加工条件で移動
させるNCデータを作成し、ポイントP2からポ
イントR迄はl2と共に設定されている加工条件
で移動させるNCデータを作成する。尚、レー
ザ出力値はSコードで設定する。
In other words, create NC data that moves to point Q under predetermined machining conditions (the machining conditions specified in the motion definition statement), and from point Q to point P1 , create NC data that moves under the machining conditions set with l1 . Create data, and create NC data to move from point P 1 to point P 2 with the same machining conditions as between QP 1 , and move from point P 2 to point R with the machining conditions set with l 2 . Create NC data to Note that the laser output value is set using the S code.

(12) そして、ステツプ(10),(11)の処理終了後i+
2→iによりiを歩進して以後ステツプ(2)以降
の処理を繰り返す。
(12) Then, after completing steps (10) and (11), i+
Increment i by 2→i and repeat the process from step (2) onwards.

(13) 一方、第(7)ステツプにおける判別の結果、第
(i+1)ブロツクが直線であれば、第iブロ
ツクと第(i+1)ブロツクの交差角度A(第
7図参照)を計算する。
(13) On the other hand, if the result of the determination in step (7) is that the (i+1)th block is a straight line, the intersection angle A (see FIG. 7) between the i-th block and the (i+1)th block is calculated.

(14) ついで、角度Aと予め設定してある角度AS
との大小判別を行う。
(14) Next, angle A and the preset angle A S
Distinguish the size of the

さて、コーナ角度Aが鈍角であり、しかも相
当大きいとコーナ部での速度の変化は加工精度
に影響しない程度となるから、本発明ではコー
ナ角度Aが予め設定してある角度ASより大き
い場合にはコーナ外側が部品であつても加工条
件を変更しないようにしている。
Now, if the corner angle A is an obtuse angle and is quite large, the change in speed at the corner will not affect the machining accuracy, so in the present invention, if the corner angle A is larger than the preset angle A S The machining conditions are not changed even if the outside of the corner is a part.

(15) 従つて、A>ASであれば加工条件を変更す
ることなく第iブロツクのNCデータを作成す
る。
(15) Therefore, if A>A S , the NC data of the i-th block is created without changing the machining conditions.

(16) しかし、A>ASであればパラメータ記憶域
に設定してあるl1,l2で特定される加工条件変
更区間QP,PR(第1図参照)で前記設定され
ている加工条件となるようにNCデータを作成
する。
(16) However, if A > A S , the machining conditions set in the machining condition change sections QP and PR (see Figure 1) specified by l 1 and l 2 set in the parameter storage area Create NC data so that

すなわち、ポイントQ迄は所定の加工条件
(運動定義文で特定した加工条件)で移動させ
るNCデータを作成し、ポイントQからポイン
トP迄はl1と共に設定されている加工条件で移
動させるNCデータを作成し、ポイントPから
ポイントR迄はl2と共に設定されている加工条
件で移動させるNCデータを作成する。
In other words, create NC data to move to point Q under predetermined machining conditions (the machining conditions specified in the motion definition statement), and create NC data to move from point Q to point P under the machining conditions set with l1 . Create NC data to move from point P to point R using the machining conditions set with l2 .

(17) そして、ステツプ(6)、(15)、(16)の処理終了
後i+2→iによりiを歩進して以後ステツプ
(2)以降の処理を繰り返す。
(17) Then, after completing steps (6), (15), and (16), increment i by i+2→i, and perform subsequent steps.
(2) Repeat the following process.

尚、コーナ部では加工速度(レーザビーム送
り速度)とレーザ出力値がそれ迄の加工速度や
レーザ出力値より小さくなるように設定され
る。
Note that at the corner portion, the machining speed (laser beam feed rate) and laser output value are set to be smaller than the machining speed and laser output value up to that point.

又、以上では各ブロツクにそれぞれ1つの加工
条件変更区間を設けた場合であるが、第9図に示
すように1つのブロツクにl1,l2,l3で示す複数
の加工条件変更区間を設け、それぞれに加工速度
およびレーザ出力値が漸減、漸増するように設定
しておくように構成することもできる。
Furthermore, in the above example, each block has one machining condition change section , but as shown in FIG . It is also possible to provide a configuration in which the processing speed and the laser output value are set to gradually decrease or increase, respectively.

<発明の効果> 以上本発明によれば、コーナ部における加工条
件変更区間と加工条件を設定しておき、コーナ外
側が部品の場合に該コーナ部での加工条件を前記
設定してある加工条件とし、該加工条件のもとで
加工するように構成したから、たとえばコーナか
ら所定距離手前において送り速度とレーザ出力を
変化させ、コーナ通過後所定距離のポイントで加
工条件を元に回復させるようにでき、簡単な手法
でコーナ部での加工精度の低下を押さえることが
できるNCパートプログラムを作成することがで
きる。
<Effects of the Invention> According to the present invention, the machining condition change section and machining conditions at a corner are set, and when the outside of the corner is a part, the machining conditions at the corner are changed to the machining conditions set above. Since the machine is configured to machine under these machining conditions, for example, the feed rate and laser output can be changed at a predetermined distance before the corner, and the machining conditions can be restored to the original machining conditions at a predetermined distance after passing the corner. It is possible to create an NC part program that can prevent a decrease in machining accuracy at corners using a simple method.

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

第1図は本発明の概略説明図、第2図は本発明
を実施する自動プログラミング装置のブロツク
図、第3図はNCデータ出力テーブル説明図、第
4図は機能コードとNCデータ出力形式の対応関
係図、第5図は本発明の処理の流れ図、第6図は
加工条件変更が必要なコーナ半径説明図、第7図
は加工条件変更が必要な交差角度説明図、第8図
はコーナ内側に部品がある場合の説明図、第9図
はコーナに複数の加工条件変更区間を挿入する場
合の説明図、第10図は従来の自動プログラミン
グ方法説明図、第11図及び第12図は従来方法
の欠点説明図である。 RB……レーザビーム、bi……第iブロツクの
オフセツト通路、bi+1……第(i+1)ブロツク
のオフセツト通路、PT……部品、P……第iブ
ロツクの終点、QP間及びPR間……加工条件変更
区間。
Fig. 1 is a schematic explanatory diagram of the present invention, Fig. 2 is a block diagram of an automatic programming device implementing the present invention, Fig. 3 is an explanatory diagram of an NC data output table, and Fig. 4 is a diagram of function codes and NC data output formats. Correspondence diagram, Fig. 5 is a flowchart of the process of the present invention, Fig. 6 is an explanatory diagram of corner radius that requires changing machining conditions, Fig. 7 is an explanatory diagram of intersection angle that requires changing machining conditions, and Fig. 8 is a diagram of corner radii that requires changing machining conditions. An explanatory diagram when there are parts inside, Fig. 9 is an explanatory diagram when inserting multiple machining condition change sections in a corner, Fig. 10 is an explanatory diagram of the conventional automatic programming method, and Figs. 11 and 12 are FIG. 3 is a diagram illustrating the drawbacks of the conventional method. RB...Laser beam, b i ...Offset path of the i-th block, b i+1 ...Offset path of the (i+1)th block, PT...Part, P...End point of the i-th block, between QP and PR Interval: Machining condition change interval.

Claims (1)

【特許請求の範囲】 1 図形を定義する図形定義文とレーザビームの
通路を定義する運動定義文とを入力し、これら定
義文をNCデータ出力テーブルを用いてNC装置
が実行可能なレーザ加工用のNCパートプログラ
ムに変換して出力する方法において、 予めコーナ部における加工条件変更区間と該区
間における加工条件とを設定しておき、 該加工条件変更区間と加工条件を考慮すること
なく運動定義文を作成し、 運動定義文に含まれる進行方向の右側あるいは
左側のいずれの方向にビームをオフセツトするか
を示すオフセツト方向とビーム通路のコーナ部に
おける曲がり方向とから該コーナにおいてビーム
通路の外側が部品かどうかを判別し、 コーナの外側が部品の場合には前記加工条件変
更区間で前記設定されている加工条件となるよう
にNCパートプログラムを作成することを特徴と
するレーザ加工用のNCパートプログラム作成方
法。 2 前記加工条件は前記加工条件変更区間で送り
速度とレーザ出力値をそれ迄より低下させるもの
であることを特徴とする特許請求の範囲第1項記
載のレーザ加工用のNCパートプログラム作成方
法。 3 コーナ部に複数の加工条件変更区間と加工条
件を設定することを特徴とする特許請求の範囲第
2項記載のレーザ加工用のNCパートプログラム
作成方法。 4 予めコーナ部の角度ASを設定しておき、ビ
ーム通路のコーナ部における角度Aを求め、 角度Aと設定角度ASの大小を判別し、 A<ASの場合であつてコーナ外側が部品の場
合に前記加工条件変更区間で設定された加工条件
となるようにNCパートプログラムを作成するこ
とを特徴とする特許請求の範囲第1項記載のレー
ザ加工用のNCパートプログラム作成方法。 5 予めコーナ円弧の半径RSを設定しておき、
ビーム通路のコーナに円弧が存在する場合該円弧
半径Rと前記設定してある円弧半径RSとの大小
を判別し、 R<RSであつてコーナ外側が部品の場合に前
記加工条件変更区間で前記設定されている加工条
件となるようにNCパートプログラムを作成する
ことを特徴とする特許請求の範囲第1項記載のレ
ーザ加工用のNCパートプログラム作成方法。
[Claims] 1. A figure definition statement that defines a figure and a motion definition statement that defines a path of a laser beam are input, and these definition statements are used for laser processing that can be executed by an NC device using an NC data output table. In the method of converting and outputting to an NC part program, the machining condition change section at the corner and the machining conditions in that section are set in advance, and the motion definition statement is created without considering the machining condition change section and machining conditions. From the offset direction that indicates whether to offset the beam to the right or left side of the direction of movement contained in the motion definition statement and the bending direction at the corner of the beam path, it is determined that the outside of the beam path at the corner is the part. an NC part program for laser processing, characterized in that the NC part program is created so that the set machining conditions are applied in the machining condition change section if the outside of the corner is a part; How to make. 2. The method of creating an NC part program for laser machining according to claim 1, wherein the machining conditions are such that the feed rate and laser output value are lowered in the machining condition change section than before. 3. The method for creating an NC part program for laser machining according to claim 2, characterized in that a plurality of machining condition change sections and machining conditions are set in the corner portion. 4 Set the angle A S of the corner part in advance, find the angle A at the corner part of the beam path, determine the magnitude of the angle A and the set angle A S , and find if A<A S and the outside of the corner is 2. The method for creating an NC part program for laser processing according to claim 1, wherein in the case of a part, the NC part program is created so that the machining conditions set in the machining condition change section are met. 5 Set the corner arc radius R S in advance,
If there is an arc at the corner of the beam path, determine the size of the arc radius R and the previously set arc radius R S , and if R < R S and the outside of the corner is a part, change the machining condition change section. 2. The method for creating an NC part program for laser machining according to claim 1, wherein the NC part program is created to meet the set machining conditions.
JP61202984A 1986-08-29 1986-08-29 Nc part programming for laser beam machining Granted JPS6358507A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP61202984A JPS6358507A (en) 1986-08-29 1986-08-29 Nc part programming for laser beam machining
DE3750873T DE3750873T2 (en) 1986-08-29 1987-08-26 METHOD FOR PRODUCING A SUB-PROGRAM FOR LASER MACHINE TOOLS.
PCT/JP1987/000626 WO1988001765A1 (en) 1986-08-29 1987-08-26 Method of preparing nc pert program for laser machining
EP87905642A EP0282599B1 (en) 1986-08-29 1987-08-26 Method of preparing nc part program for laser machining
US07/196,220 US4870560A (en) 1986-08-29 1987-08-26 Method of creating NC part program for laser machining

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61202984A JPS6358507A (en) 1986-08-29 1986-08-29 Nc part programming for laser beam machining

Publications (2)

Publication Number Publication Date
JPS6358507A JPS6358507A (en) 1988-03-14
JPH0531161B2 true JPH0531161B2 (en) 1993-05-11

Family

ID=16466405

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61202984A Granted JPS6358507A (en) 1986-08-29 1986-08-29 Nc part programming for laser beam machining

Country Status (1)

Country Link
JP (1) JPS6358507A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2825247B2 (en) * 1988-12-29 1998-11-18 松下電器産業株式会社 Numerical controller for laser beam machine

Also Published As

Publication number Publication date
JPS6358507A (en) 1988-03-14

Similar Documents

Publication Publication Date Title
JP2514191B2 (en) Method for creating NC part program for laser machining
US4890234A (en) NC data modification method
US4870560A (en) Method of creating NC part program for laser machining
US4939635A (en) Automatic programming system
US20170003672A1 (en) Numerical controller performing 3-dimensional interference check corresponding to feedrate change
JP2019082851A (en) Numerical control device, cnc machine tool, numerical control method, and program for numerical control
EP0137047A1 (en) Method of determining three-dimensional tool path
JPH0531161B2 (en)
JPH0677206B2 (en) Method for creating NC part program for laser machining
JPH07210225A (en) Numerical controller
WO2004040385A1 (en) Numerical control device
US5347461A (en) Tool travel path creating method
JPH077293B2 (en) Method for creating NC part program for laser machining
JPH0446705B2 (en)
EP0357791B1 (en) Nc statement preparation system
JPS6359604A (en) Method for changing working route in numerical controller
JPH01300306A (en) Automatic programming method
JP2565509B2 (en) Automatic programming method
JP2752746B2 (en) Numerical control information creation device
JPS63187307A (en) Nc part program generating method for laser beam machining
JPH05324035A (en) Cutting path generating method
JPH0683431A (en) Speed control method for nc controller
JPH0241504A (en) Executing method for part program
JPH04331037A (en) Numerical control system
JP2871991B2 (en) Processing path generator