You are on page 1of 12
Advanced Manutactring Proc ae Note : 1. G00 and GO1 Is a modal code, So It remains active until cancelled by the code of same group. Therefore It Is not necessary to write GOO from block number: N140 and N 170, Still it Is written for students in this example, Even if G01 is written in above blocks, It Is not Incorrect: In N170, as Y co-ordinate remains unchanged so no need to write ¥ 30, (Word address format) 3 —— Program 2 : Write a program to drill the two holes as shown in the Fig 2.10, The plate thickness /s 10 mm. Use incremental mode of programming. ‘Assume : The cutting tool diameter Is 10 mm, Reference plane Is at the top surface of the plate, 2. 3. ‘The X and Y co-ordinates of various tool positions are shown in Table 2.4. Note : For incremental mode spindle is manually positioned to the tool change position. In this case it is (10, ~10, 5) S ri 2 (0,0,0) ial i L . Fig. 2.10 : Workpiece Drawing Table 2.8 X and ¥ Co-ordinates of various Tool Positions | Position Xand ¥ Position XandY No. covordinates | No. co-ordinates 1 3 somo) 2 50, 00 Description Program ms See N100_G28 U00 VOO WOO EOB Mii0 G91 621 G94 G40 eo | reference position. Incremental mode, input in mm, feed in. mm/min, tool diameter compensation cancel. ‘Advanced Manutacturing Processes Table 2.9 : X and ¥ Position No. art Program Program | 07220 N00 628 UOO VoO WOO EOB N110_G90.G21 G94_EOB 1N120 M06 TO1 EOB —FFool change, too! at too! position num | mm diameter in the tool magazine, ‘spindle start clockwise direction, spit Rapid travel of cutter to 5 mm (referer position) above the workpiece surface, N130 M03 S900 EOB N140 G00 25 MOB EOB on. Rapid travel of cutter to position A (1 §N150 GOO X10 Y20 EOB N160 GO’ Z-2.5 F50 EOB Take required depth of cut of 2.5 mm, given feed, so G01. Cutter travel to position number B (70, |i70 x70Y20E0B N180 Z-5 EOB Take a depth of cut of another 2.5 mi NN190_ X10 EOB Cutter travel to position number A (1¢ N200 GOO Z5 EOB Rapid travel of cutter 5 mm above the surface, 210 G28 UO0 VOO WoO ECB _| Rapid return to machine reference pe Spindle stop. | Coolant off. N.240 M30 EOB a Program end and tape rewind. eo 8 + Write a part program to machine the 5 mm slot pe kpiece as shown in the Fig. 2.16 (a). Use a 5 mm diameter end mi fepth Is 8 mm and the slot depth is 2 mm. The Z reference is workpiece surface. a * The tool path is shown in Fig. 2.16 (b), * The X and Yico-ordinates of various tool positions are shown in Tat Table 2.10 (@) Final Component Drawing “ Fig. 2.16 2 and Y Co-ordinates of Various Tool Positior (b) Too! Path | Position X and Y Position Xandy | No. Co-ordinates No. Co-ordinates i iis /Szis 4 75, 17.5 Ba 75, 32.5 _ 5 15, 17.5 3. 82.5, 25 6 7.5, 25 Program : Program Description 20 Program number. 628 UO VO WO EOB- Return to machine reference position. 0 G90 G21 G94 EOB Absolute mode, input in mm, feed in mm/min, 0 M06 TO3 ECB Tool change, end mill of 5 mm diameter at tool position number 3 in the tool magazine. 30 M03 S800 EOB G00 Z0 M08 EOB G00 X15 Y-32.5 EOB G01 Z-9 F55 EOB X75 0B G02 X82.5 Y25 RS F55 EOB Spindle start clockwise direction, spindle speed. Rapid travel of cutter to 7 mm above the workpiece surface, coolant on. Rapid travel of cutter to position 1 (15,~32.5). Take required depth of cut of 2mm with the given feed, so G01. (7mm + 2mm = 9mm) Cutter travel to position number 2 (75,-32.5), Cutter travel to position number 3 (82.5, 25). The inside radius of the slot is 5 mm. Advanced Manutacturing Processes N190 G02 X75 17.5 RS F55 EOB _N200 G01 X15 F55 EOB N210 G02 X7.5 25 RS FSS EOB | Cutter travel to position number 6 (7.5, 25). N2S0 G02 X15 ¥-32.5 RSFS5 | Cutter travel to position number 1 (15,-32.5). N260 G00 Z0 EOB Rapid travel of cutter 7 mm above the i workpiece surface. N270_G28 UO VOO WOO EOB _| Rapid return to machine reference position. N280 MOS E0B Spindle stop. N290_M09 EOB Coolant off. 300 M30 EOB Program end and tape rewind. _ 2.19 PART PROGRAM FOR MACHINING ALON ‘© A straight line is horizontal, vertical or inclined at an angle in any di In order to machine along @ straight line, linear interpolation (GOL used. = While machining along a straight line, the tool is first taken to the: depth outside the workpiece and then GO1 code is used. * G01 is a modal code and feed should be specified with G01. The two axes (X and Y) are horizontal axes similar to the number third axis is the Z-axis which is perpendicular to the two axes. Tht spindle axis and Is vertical. The tool movement away from the positive Z-axis and the tool movement towards the workpiece is negative Z-axis. * Generally the surface of the workpiece is taken as zero, al positive Z and below it is negative Z. 2.19.1 Procedure To Write A Part Program| The part program varies from controller to controller. Also written for the same controller by different programmer may dif But in general the following procedure can be followed to program. ‘Study the given component carefully. Assume suitable data if it is not mentioned in the question, Decide the path to be followed by the cutter. Mark the tool path on a separate dimensionless drawi Fig. 2.17 (b). : (v) Number the various points along the path. (vi) Number the starting and end position of the tool outside and slightly away from the component. (vii) Write the co-ordinates of all the points in a separate avarced Manvicturing Processes fart Program Program I = Program number. 09222 cos urn to machine reference: 100 G28 U00 Voo WoO EOB_| Rett [v.10 G90 G21 G94 E08 ‘Absolute mode, input in mm Too! change, too! at tool the tool magazine, 1V.120 M06 TO1 EOB spindle start clockwise dit Rapid travel of cutter to position Rapid travel of cutter to Smm & | workpiece surface, coolant on. [160 G03 2-3 F90 E08 Take required depth of cut with N 130 M03 S800 EOB N 140 G00 X-10 Y-10 EOB_ Jw 150 Goo 25 mo8 EOB N 170 G01 X-3 Y-3 EOB Cutter travel to position number |v 180 Go1 Y53 EOB Cutter travel to position number 190 GO1 X73 EOB Cutter travel to position number N200 GO1Y17EOB Cutter travel to position number N210 G01 X43 EOB Cutter travel to position number N220 GOLY-3EOB __| Cutter travel to position number |y.230 Goi X-10£08 __| Cutter travel to position number | n240 G00 25 E08 | Rapid travel of cutter Smm al | surface. N 250 G28 UOO VOO WOO EOB _| Rapid return to machine refere! N 260 MOS EOB |1N270_Mo9 EOB | Coolant off | a N 280 M30 EOB | Program end and tape rewind. Note: ’ 1. Gor isa medal code. So it remains active until eanelle ry to write GO1 from bl 3 ‘Students in this example. ok number a 4 i Even if G01 is written in above blocks, it is not incorrect. In N180, as X co-ordinate rer : a mains unch (Word address format) cranes oot

You might also like