P. 1
G Code Program

G Code Program

5.0

|Views: 454|Likes:
Published by Venkatesh Bantwal
Laser G-Codes Explanation
Laser G-Codes Explanation

More info:

Categories:Topics
Published by: Venkatesh Bantwal on Sep 04, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/02/2015

pdf

text

original

16.

Composition of program
16-1Composition of programs
70 30

Quattro

φ5

φ20

30

30

40 100

M102(SPC1.0) Processing condition file "SPC1.0" is called. G92 X0 Y1250 The program coordinate system is set. G93 X20 Y80 The Retract is moved. M100 Laser mode is ON. E001 Cutting condition "E001" is called. G112 X30 Y30 I5 The hole of φ5 is processed to the position of X30 and Y30. E002 Cutting condition "E002" is called. G112 X70 Y30 I20 Q5 The hole of φ20 is processed to the position of X70 and Y30. E003 Cutting condition "E003" is called. G00 G41 X35 Y0 This command is for positioning. It moves the table and laser head to the designated X, Y axis location at the current traverse speed. M103 The processing start. G01 X30 Y0 G01 X0 G01 Y60 G01 X100 G01 Y0 Straight line of G01 X70 interpolation G01 Y15 G01 X30 G01 Y0 M104

The processing is finished. Cancellation of G00 G40 tool diameter correction Cancellation of M101 laser mode AMADA SCHOOL

G50 Retract return <67>

15

60

the cutting condition material format is inputted. This co-ordinate system brings the laser processing head to the specified “X and Y code” position with the format of above mentioned as instruction. ( ) Inside this parenthesis. Example 2: When you start after it positions it by hand power G92 X__ Y__ . ② Coordinate system setting (G92) It is necessary to provide the reference point of the coordinate system before the coordinates are specified by an absolute co-orientate instruction. If the program coordinate system is set once. This coordinate system is called a program coordinate system. Example 1: At the Origin Point start G92 X__ Y__ . The value is given in the program is usually for the movement of processing head axis using co-ordinate system Format G92 X__ Y__ .Quattro 16-2 Explanation of G code and M code ① M102: Cutting material specification The cutting condition file is selected according to the processing material. the following absolute instruction values become the positions in the program coordinate system. X and Y coordinates for Origin point position input. AMADA SCHOOL <68> .    Format M102( ). Part size input.

It is a laser mode until M101's being instructed. and Z code") is moved through the program.    Remarks The Origin point offset setting is effective only in an absolute instruction. ④Processing mode (M100. ) AMADA SCHOOL <69> . E001-E004 is used in cutting usually (default). M101: Closes the mechanical shutter and disables laser operations. ⑤Cutting condition instruction (E code) Cutting condition (E001-E010) is selected from the processing condition file selected with M102 code. Y. and Z code" according to the above-mentioned instruction. ([Etching] is not set in the condition of aluminum. Y. Format E. The program Origin Point moves to the position specified by "X.Quattro ③ Origin point Offset setting (G93) It is possible to instruct by using “G93" when the origin point of the program coordinate system ("X.M101) M100: Opens the mechanical shutter and enables laser operations. When the processing/cutting shape that there is a reference point in the material is programmed. "Local coordinate system". Format G93 X__Y__ (Z__ ). E010 is a condition for [Etching]. The coordinate system that moved according to this instruction is input. it is suitable.

Z" becomes a distance from the Origin point of the absolute coordinate system program. and it becomes a distance from a current position when incremental instructing.Y. only “R” should be offset from “A” as a passage of Tool (Laser beam) center as shown in the figure Thus.Y.Quattro ⑥ Rapid Traverse (G00) – Positioning Format G00 X__Y__ (Z ). Cutter compensation route “B” Tool tip radius “R ” Product form “ A ” AMADA SCHOOL <70> .G42) G40 . Each axis does the fast-forwarding positioning when instructing in the “X.Laser beam compensation-cancel G41 . ⑦ Cutter compensation (G40.Laser beam compensation-right When the “A” shape product is cut with the tool of radius “R". The value of “X.Laser beam compensation-left G42 .Z" coordinates value following “G00".G41. it is called as “Cutter tool compensation" to move the position of the tool to obtain a prescribed size of the product.

⑨ Straight line motion (G01) Format G01 X Y .M104) M103 .Start cutting mode M104 . straight line cutting process to the designated position is done from the current position. G01 X200 Y100.     When G01 with X and Y coordinate value is inputted.Quattro ⑧ Laser beam machining (M103. For the incremental co-ordinate system. AMADA SCHOOL <71> . the movement becomes distance from previous position. “X and Y” as for the input method For the absolute co-ordinate system.Cutting mode cancel The laser beam is emit with M103. the movement becomes distance from origin point to programmed co-ordinates pint. Example: G00 X0 Y0. and the laser beam stops by M104 code.

G02 (or G03) X Y R. As for “G02” clockwise rotation.G03) G02 Circular arc interpolation clockwise CW G03 Circular arc interpolation Counter Clock Wise CCW    Format G02 (or G03) X Y I J. With “G02” “G03”. as for “G03” it is counterclockwise direction. being absolute or incremental R value is the input of size of the circular arc I and J value are the inputting starting position from the center of the arc value Y G03 G02 X End position X and Y R Center I Starting position J AMADA SCHOOL <72> . End position X and Y is the end position of the circular arc.Quattro ⑩ Circular arc interpolation (G02. cutting processing of circular arc form is ordered.

Arc slot processing G115 X Y I J Q K R H M A.Quattro ⑪ Standard hole code (G111-G116) G111 G112 G113 G114 G115 G116 Square/Rectangle Round/Obround Single D/Double D Polygon Arc slot (Round ends) Arc slot (Flat ends) As for the processing program of the round hole and the square hole etc. Single-hit: individual hole inputting method Form register rapid fire: The method of registering hole form and continuing just hole position and appointing  Form register pattern: The method of registering hole form and placing in pattern and doing position appointment Format Angular long angular processing G111 X Y I J Q K R C H M A. SD . AMADA SCHOOL <73> . Standard hole code can be executed by 3 types as given below. Regular polygon processing G114 X Y I J Q K R C H M A. using code (subprogram which is prepared). it is possible to draw up simply. Sector processing G116 X Y I J Q K R H M A. WD processing G113 X Y I J Q K H M A. Circular long circular processing G112 X Y I J Q K H M A.

X-center of hole to cut Y.. H.... a square hole is cut... Lean angle R.. Width: If omitted.. AMADA SCHOOL <74> .. then no piercing is done.. X. M. If omitted.... Length: J. Approach length : Specify length. no joint is allowed for.. If omitted. Wire / micro joint: Specify joint length. M00 .. Corner Chamfer: Must be less than one half of the “J” value.. the approach will not cut K.. C...Shutter close/head up/stop program A0 Piercing override: If A0.. Y-center of hole to cut I.Quattro G111 Square/Rectangle (with Square/Radius/Chamfered corners) Single hit method: G111 X__ Y__ I__ J__ Q__ K__ R__ C__ H__ M__ A__. Q. Corner radius: Must be less than one half of the “J” value.

<. <. you can use the same code of standard hole macro in which hole shape was registered to execute the hole position command (X. you can use the same code of standard hole macro in which hole shape was registered to execute the hole position command (X. if you do not execute hole position command (X. it will be affective till the program END command. Pattern datum point normal line it controls.Y). ← Processing pattern call In the standard hole macro. as long as another hole shape is registered. If a hole shape is registered once.Register of hole form  In the standard hole macro.    0 ordering I of fixed BHC (bolt hall circle) form hole form. After the block in which hole shape.Y). it will be affective till the program END command.  G111 X Y. After the block in which hole shape. you can register hole shape. If a hole shape is registered once.Position appointment  G111 X Y. if you do not execute hole position command (X. X: Pattern reference point X Y: Pattern reference point Y I I: Radius J X,Y J: Starting angle (0°when omitting it) K: Number Y X AMADA SCHOOL <75> .Quattro Form register rapid fire: example (G111 angular long angle) Format When it shoots in rapid succession processes the square hole  G111 I J Q K R H M A . you can register hole shape. Form register pattern Format When you process the corner hole by BHC (bolt hall circle) pattern G111 I J Q K R H M A .Y).Y). ← Registration of hole shape G126 X Y I J K . as long as another hole shape is registered. when G126 X Y I J K .

P. of the material. The pitch between each product : in consideration of width. . Y datum point Material J Product J Y X Y I I X Remarks . and K by the positive number or 0. ) X. ) AMADA SCHOOL <76> . ) (Specify it by the same figure as U. Macro memory U V U: Macro storage beginning V: Macro storage end (Specify it by the figure of 1-59. the width of the outside frame.Please instruct in X and Y absolute co-ordinate system.Quattro ⑫ Multiple Part setup (G98) G98 X Y I J P K X: Reference point X (lower left corner of product under the arranged left) Y: Reference point Y (lower left corner of product under the arranged left) I: X pitch J: Y pitch P: X number (The number of standard positions is not included.Please instruct in I. ) K: Y number (The number of standard positions is not included. and the size etc. J.

Example: G75 W_ Q3 P3 1 8 9 2 7 10 3 6 11 4 5 12 AMADA SCHOOL <77> . G76 W Q (P ) (Part processing instruction in Y direction). and it instructs in the position that begins on Q. Q4 Q1 Q2 G 75W_Q 1 G 75W_Q 2 G 75W_Q 3 G 75W_Q 4 G 76W_Q 1 G 76W_Q 2 G 76W_Q 3 G 76W_Q 4 Large number setting button of taking machine side Trial processing: Mandatory only Q1 processing Remaining processing: From Q which is appointed other than Q1 all process all processing: From Q which is appointed all processing Processing being Reopening position completed Reopening position P is not ordered usually. W: Macro number (Specify it by the same figure as U and V). it is something which orders start position when it reopens.G76) G75 W Q (P ) (Part processing instruction in X direction). Many instruct in the direction of Part processing with G75 and G76. Large number after discontinuing taking.Quattro ⑬ Type of Multiple macro recall (G75. Q: Starting position P: Restart position Q3 It instructs in the number (75 or 76) in which the macro is stored by U and V with W.

Quattro Program example For four rows in horizontal direction and three rows in the vertical direction M102(SPC1.Y1250. M100. ( G75 W1 Q2 ) M101. M101. G50.) M100. E002 : : M104 : G00 G40: V1. G92 X0 Y1250. 20 20 70 20 20 70 110 AMADA SCHOOL <78> . G92 X0 Y1250. M102(SPC1. (G76W1Q3) M101. E002 : : M104 : G00 G40: V1 G76 W1 Q1. G98 X20 Y20 I110 J70 P3 K2. M102(SPC1. U1. G98 X20 Y20 I0 J50 P0 K2 .0). G50. M100. G98 X20 Y20 I70 J0 P5 K0. G75 W1 Q3. : : V1. (G92 x1250. 70 20 20 110 Only horizontally for one row Only G75 can be used.0). Only 1 and 2 can be used about Q. G92 X0 Y1250. U1.0). G75 W1 Q1. U1. Only to the vertical direction for one row Only G76 can be used. G50. Only 1 and 3 can be used about Q.

and Z axis are returned to the Retract position. The Retract of the program coordinate system is set. pulse condition. Function Positioning in fast-forwarding positioning and corner part Straight line cutting Circular arc processing of clockwise Anti-clockwise circular arc processing A state as it is maintained at the specified time. when axis moves Turns on the laser beam at the specified power. Laser beam path compensation to LEFT of path Laser beam path compensation to LEFT of path X. The reference point of the work offset (origin shift) (new Retract) is set. and driving is ended.Quattro 16-3 G code list G code G00* G01* G02* G03* G04 G09 G24 G31 G32 G33 G40* Name Rapid traverse Straight line motion Circular arc Clockwise CW Circular arc Counter clockwise CCW Dwell Exact stop Piercing mode Assistance gas selection Z axis tracking sensor ON Z axis tracking sensor OFF Laser beam path compensation cancel Laser beam Compensation – Left Laser beam Compensation – Right Home return Multiple macro recall Multiple macro recall Absolute programming Incremental programming Coordinate system setting Origin point offset Multiple part setup It instructs in the coordinate value by the distance from the Retract. It instructs in the coordinate value by the distance from the previous position. Selection of assistance gas kind and pressure Turn on the optional Z-axis tracking sensor Turn off the optional Z-axis tracking sensor. G41* G42* G50 G75 G76 G90* G91* G92* G93* G98 AMADA SCHOOL <79> . The correction of tool (laser optical axis) diameter is released. and time. Y.

The macro shape is arranged in LAA. The * it has not been attached. X. Until this is modified with the G cord/code of the same group. The macro shape is arranged in GRID. AMADA SCHOOL <80> . Remarks . polygonal hole Macro that processes arc slot Macro that processes Arc slot (flat ends) hole HS roller end face detection measurement HS roller end face detection calibration G126 G128 G129 G130 G136 G137 G139 G150 The macro shape is arranged in BHC. The macro shape is arranged in GRID. and Z axis are returned to the Retract position. or is cancelled the function is effective. the “G code” only 1 blocks which are ordered is effective. Y. The macro shape is arranged in ARC.Quattro G code G111 G112 G113 G114 G115 G116 G121 G122 Name Square/Rectangle processing Round/Obround processing Single D/Double D processing Polygon processing Arc slot processing Arc slot (flat ends) processing HS-edge detectionmeasurement HS-edge detection calibration BHC (bolt hall circle) LAA ARC (arc) Automatic Retract return X-GRID (X-grid) Y-GRID (Y-grid) Active cutting Scaling and coordinates rotation Function Macro that processes Square/Rectangle hole Macro that processes Round/Obround hole Macro that processes single D double D Macro that processes positive.* It was attached. the “G code” the modal is the cord/code.

The shuttle pallet is exchanged. Program return function joins to the function “of M02”. It ends laser mode. The shutter is closed. It becomes a state where laser processing is possible. When the program ends. In addition. M01 Optional stop M02 M30 M33 M96 Program end Program end Loading Subprogram call M97 Subprogram end to main program M100 Laser mode Laser mode cancellation Cutting material appointment Shutter opening and head drop Shutter closing and head rise Shuttle exchange pallet It enters into laser mode. End of subprogram. opens the shutter. End of the program is ordered. invalidity can be selected “the optional stop” button.Quattro 16-4 M code list M code M00 Name Programmed stop Function Program pause function. you re-start. The data of the optional material is called from the processed conditional file. Program pause function. it returns simultaneously. the head is risen. If “the start” button is pushed. you re-start. it returns to the forefront of the program automatically. Calibration start M101 M102 M103 M104 M707 M722 Calibration ON AMADA SCHOOL <81> . Pallet load/ Work piece load Subprogram is called. It becomes a state where laser processing is impossible. The head it falls. With functional validity. If “the start” button is pushed.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->