program cnc

16
Latihan 1 O0001 N10 G54 N20 T0101 N25 G96 S1000 M4 M8 G99 F1 N30 G0 X150 Z150; N30 G1 Z0 N30 G1 X60 N30 G1 Z-2 N35 G1 X-0 N35 G1 X60 Z2 N40 G1 X50 N35 G1 Z-77 N40 G1 X60 N45 G1 Z0 N45 G1 X50 N55 G1 Z0 N50 G1 X45 N55 G1 Z-37 N60 G1 Z0 N65 G1 X40 N70 G1 Z-37 N75 G1 Z0 N80 G1 X30 N85 G1 Z-37 N90 G1 X60 N95 G1 Z0 N100 G0 X150 Z150 N100 M5 M9 N105 M30 Latihan 2 O0002 N5 G54 N10 T0101 N15 G96 S1000 M4 G99 F1 N20 G0 X150 Z150 N25 G1 X150 Z-2 N30 G1 X0 Z-2 N30 G0 X110 Z2 N35 G1 X105 Z2 N40 G1 X105 Z-65 N45 G1 X110 Z-65 N50 G0 X110 Z0 N55 G1 X100 Z0 N60 G1 X100 Z-65 N65 G1 X105 Z-65 N70 G0 X105 Z0 N75 G1 X95 Z0 N80 G1 X95 Z-65 N85 G1 X100 Z-65 N90 G0 X100 Z0 N95 G1 X90 Z0 N100 G1 X90 Z-65 N105 G1 X95 Z-65 N110 G0 X95 Z0 N115 G1 X85 Z0 N120 G1 X85 Z-65 N125 G1 X90 Z-65 N130 G0 X90 Z0N135 G1 X80 Z0 N140 G1 X80 Z-65 N145 G1 X85 Z-65 N150 G0 X85 Z0 N155 G1 X75 Z0 N160 G1 X75 Z-65 N165 G1 X80 Z-65 N170 G0 X80 Z0 N165 G1 X70 Z0 N170 G1 X70 Z-65 N175 G1 X110 Z-65 N180 G0 X110 Z0 N185 G1 X60 Z0 N190 G1 X60 Z-40 N195 G1 X65 Z-40 N200 G0 X65 Z0 N205 G1 X50 Z0 N210 G1 X50 Z-40 N215 G1 X55 Z-40 N220 G0 X55 Z0 N225 G1 X40 Z0 N230 G1 X40 Z-40 N235 G1 X75 Z-40 N240 G0 X75 Z0 N245 G1 X30 Z0 N250 G1 X30 Z-2 N210 G3 X40 Z-7 R5 N215 G1 X60 Z-7

Upload: amrhy-gold

Post on 23-Oct-2014

132 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Program CNC

Latihan 1

O0001

N10 G54

N20 T0101

N25 G96 S1000 M4 M8 G99 F1

N30 G0 X150 Z150;

N30 G1 Z0

N30 G1 X60

N30 G1 Z-2

N35 G1 X-0

N35 G1 X60 Z2

N40 G1 X50

N35 G1 Z-77

N40 G1 X60

N45 G1 Z0

N45 G1 X50

N55 G1 Z0

N50 G1 X45

N55 G1 Z-37

N60 G1 Z0

N65 G1 X40

N70 G1 Z-37

N75 G1 Z0

N80 G1 X30

N85 G1 Z-37

N90 G1 X60

N95 G1 Z0

N100 G0 X150 Z150

N100 M5 M9

N105 M30

Latihan 2

O0002

N5 G54

N10 T0101

N15 G96 S1000 M4 G99 F1

N20 G0 X150 Z150

N25 G1 X150 Z-2

N30 G1 X0 Z-2

N30 G0 X110 Z2

N35 G1 X105 Z2

N40 G1 X105 Z-65

N45 G1 X110 Z-65

N50 G0 X110 Z0

N55 G1 X100 Z0

N60 G1 X100 Z-65

N65 G1 X105 Z-65

N70 G0 X105 Z0

N75 G1 X95 Z0

N80 G1 X95 Z-65

N85 G1 X100 Z-65

N90 G0 X100 Z0

N95 G1 X90 Z0

N100 G1 X90 Z-65

N105 G1 X95 Z-65

N110 G0 X95 Z0

N115 G1 X85 Z0

N120 G1 X85 Z-65

N125 G1 X90 Z-65

N130 G0 X90 Z0N135 G1 X80 Z0

N140 G1 X80 Z-65

N145 G1 X85 Z-65

N150 G0 X85 Z0

N155 G1 X75 Z0

N160 G1 X75 Z-65

N165 G1 X80 Z-65

N170 G0 X80 Z0

N165 G1 X70 Z0

N170 G1 X70 Z-65

N175 G1 X110 Z-65

N180 G0 X110 Z0

N185 G1 X60 Z0

N190 G1 X60 Z-40

N195 G1 X65 Z-40

N200 G0 X65 Z0

N205 G1 X50 Z0

N210 G1 X50 Z-40

N215 G1 X55 Z-40

N220 G0 X55 Z0

N225 G1 X40 Z0

N230 G1 X40 Z-40

N235 G1 X75 Z-40

N240 G0 X75 Z0

N245 G1 X30 Z0

N250 G1 X30 Z-2

N210 G3 X40 Z-7 R5

N215 G1 X60 Z-7

N220 G1 X60 Z-40

N225 G3 X70 Z-45 R5

N230 G0 X100 Z-45

N235 G1 X100 Z-65

N240 G3 X110 Z-70 R5

N245 G0 X115 Z-70

N250 G0 X110 Z150

N240 M5 M9

N245 M30

Page 2: Program CNC

Latihan 3

O0003

N10 G54

N15 T0101

N20 G97 S1000 M4 G99 F5

N25 G1 X150 Z150;

N30 G1 X150 Z-2

N35 G1 X0 Z-2;

N40 G1 X0 Z0;

N45 G1 X104 Z0;

N50 G1 X104 Z-47;

N55 G1 X114 Z-47;

N60 G1 X114 Z0;

N65 G1 X94 Z0;

N70 G1 X94 Z-47;

N75 G1 X114 Z-47;

N80 G1 X114 Z0;

N85 G1 X86 Z0;

N90 G1 X86 Z-47;

N95 G1 X114 Z-47;

N100 G1 X114 Z0;

N125 G1 X70 Z0;

N130 G1 X70 Z-39;

N135 G2 X86 Z-47 R8;

N140 G1 X114 Z-47;

N145 G1 X114 Z0;

N150 G1 X60 Z0;

N155 G1 X60 Z-22;

N155 G1 X75 Z-22

N160 G1 X75 Z0

N165 G1 X46 Z0

N170 G1 X46 Z-22

N175 G1 X75 Z-22

N180 G1 X75 Z0

N160 G1 X30 Z0

N165 G1 X30 Z-14

N170 G2 X46 Z-22 R8

N175 G1 X75 Z-22

N180 G0 X150 Z150

N185 M5 M9

N190 M30

Page 3: Program CNC

Latihan 4

O0004

N15 G54

N20 T0101

N20 G97 S1000 M4 G99 F20

N25 G0 X150 Z150

N30 G0 X150 Z-2

N35 G1 X0 Z-2

N40 G1 X0 Z0

N45 G1 X93 Z0

N50 G1 X93 Z-87

N55 G1 X100 Z-87

N35 G0 X100 Z0

N40 G1 X85 Z0

N45 G1 X85 Z-83

N50 G2 X93 Z-87 R4

N45 G1 X94 Z-87

N45 G3 X100 Z-90 R3

N45 G1 X105 Z-90

N50 G0 X105 Z0

N55 G1 X75 Z0

N60 G1 X75 Z-42

N65 G1 X85 Z-42

N50 G0 X85 Z0

N55 G1 X65 Z0

N60 G1 X65 Z-42

N65 G1 X85 Z-42

N70 G0 X85 Z0

N75 G1 X45 Z0

N80 G1 X45 Z-32

N85 G2 X65 Z-42 R10

N90 G1 X65.5 Z-42

N95 G3 X85 Z-52 R10

N100 G1 X100 Z-52

N105 G0 X100 Z0

N110 G1 X40 Z0

N115 G1 X40 Z-17

N120 G1 X50 Z-17

N125 G0 X50 Z0

N130 G1 X35 Z0

N135 G1 X35 Z-17

N140 G1 X45 Z-17

N145 G0 X45 Z0

N150 G1 X25 Z0

N155 G1 X25 Z-12

N130 G2 X35 Z-17 R5

N135 G1 X35 Z-17

N140 G3 X45 Z-22 R5

N145 G1 X50 Z-22

N150 G0 X50 Z0

N155 G1 X20 Z0

N160 G1 X20 Z-2

N165 G3 X25 Z-4.5 R2.5

N55 G1 X40 Z-4.5

N60 G0 X150 Z150

N65 M5 M9

N70 M30

Page 4: Program CNC

Latihan 5

O0005

N15 G54

N20 T0101

N25 G97 S1000 M4 G99 F20

N30 G0 X150 Z150

N35 G0 X150 Z-2

N40 G1 X0 Z-2

N45 G1 X0 Z2

N50 G1 X95 Z2

N55 G1 X95 Z-82

N60 G1 X105 Z-82

N65 G0 X105 Z0

N70 G1 X85 Z2

N55 G1 X85 Z-82

N60 G1 X105 Z-82

N65 G0 X105 Z0

N70 G1 X75 Z2

N55 G1 X75 Z-82

N60 G1 X85 Z-82

N65 G3 X105 Z-92 R10

N70 G1 X110 Z-92

N75 G0 X110 Z0

N80 G1 X65 Z0

N85 G1 X65 Z-40

N90 G1 X75 Z-40

N95 G0 X75 Z0

N100 G1 X55 Z0

N105 G1 X55 Z-40

N110 G1 X75 Z-40

N115 G0 X75 Z0

N120 G1 X45 Z0

N125 G1 X45 Z-40

N130 G1 X75 Z-40

N135 G0 X75 Z0

N140 G1 X35 Z0

N145 G1 X35 Z-40

N150 G1 X70 Z-40

N155 G1 X75 Z-42.5

N135 G1 X80 Z-42.5

N140 G0 X80 Z0

N145 G1 X25 Z0

N150 G1 X25 Z-32

N85 G1 X35 Z-37

N75 G1 X45 Z-37

N80 G0 X45 Z0

N85 G1 X15 Z0

N90 G1 X15 Z-32

N95 G1 X45 Z-32

N100 G0 X45 Z0

N105 G1 X0 Z0

N110 G1 X0 Z-2

N115 G3 X15 Z-9.5 R7.5

N120 G1 X80 Z-9.5

N125 G1 X80 Z-46.25

N130 G1 X75 Z-46.25

N135 G2 X75 Z-78.25 R33

N80 G1 X105 Z-78.25

N85 G0 X150 Z150

N85 M5 M9

N90 M30

Page 5: Program CNC

Latihan 6

O0006

N10 G54

N15 T0101

N20 G97 S1000 M4 G99 F20;

N25 G0 X150 Z150;

N30 G0 X150 Z0;

N35 G1 Z-2;

N40 G1 X0 Z-2;

N45 G1 X130;

N50 G1 X130 Z-89;

N55 G0 X140 Z0;

N65 G1 X120 Z0;

N70 G1 X120 Z-89;

N80 G1 X140 Z-89;

N85 G0 X140 Z0;

N90 G1 X110 Z0;

N90 G1 X110 Z-89;

N95 G1 X140 Z-89;

N95 G0 X140 Z0;

N100 G1 X100 Z0;

N100 G1 X100 Z-89;

N105 G1 X140 Z-89;

N105 G0 X140 Z0;

N110 G1 X90 Z0;

N115 G1 X90 Z-89;

N120 G1 X140 Z-89;

N115 G0 X140 Z0;

N120 G1 X80 Z0;

N125 G1 X80 Z-85;

N120 G2 X88 Z-89 R4;

N125 G1 X130 Z-89;

N130 G3 X140 Z-94 R5;

N135 G0 X140 Z0;

N140 G1 X70 Z0;

N140 G1 X70 Z-67;

N145 G1 X90 Z-67;

N145 G0 X90 Z0;

N150 G1 X60 Z0;

N155 G1 X60 Z-67;

N155 G1 X90 Z-67;

N160 G0 X90 Z0;

N160 G1 X50 Z0;

N165 G1 X50 Z-64;

N165 G2 X56 Z-67 R3;

N170 G1 X62 Z-67;

N175 G1 X80 Z-76;

N175 G0 X90 Z0;

N180 G1 X40 Z0;

N185 G1 X40 Z-37;

N190 G1 X60 Z-37;

N195 G0 X60 Z0;

N200 G1 X30 Z0;

N205 G1 X30 Z-37;

N210 G1 X60 Z-37;

N215 G0 X60 Z0;

N185 G1 X20 Z0;

N190 G1 X20 Z-33;

N190 G2 X28 Z-37 R4;

N195 G1 X37 Z-37;

N200 G3 X50 Z-43.5 R6.5;

N200 G0 X60 Z-43.5;

N205 G0 X60 Z0;

N210 G0 X0 Z0;

N215 G1 X12 Z-2;

N205 G3 X20 Z-6 R4;

N210 G0 X60 Z60;

N215 M5 M9

N220 M30

Page 6: Program CNC

Latihan 7

O0007

N10 G54

N15 T0101

N20 G97 S1000 M4 G99 F20;

N25 G0 X150 Z150;

N30 G0 X150 Z0;

N35 G1 X100 Z-2;

N40 G1 X0 Z-2;

N45 G1 X90 Z-2;

N50 G1 X90 Z-127;

N55 G1 X100 Z-127;

N60 G0 X100 Z0;

N65 G0 X80 Z0;

N70 G1 X80 Z-127;

N75 G1 X100 Z-127;

N80 G0 X100 Z0;

N85 G1 X76 Z0;

N90 G1 X76 Z-127;

N95 G1 X100 Z-127;

N100 G0 X100 Z0;

N105 G1 X65 Z0;

N110 G1 X65 Z-121.5;

N115 G2 X76 Z-127 R5.5;

N120 G1 X95 Z-127;

N125 G3 X100 Z-129.5 R2.5;

N130 G0 X100 Z0;

N135 G1 X55 Z0;

N140 G1 X55 Z-67;

N140 G1 X70 Z-67;

N145 G1 X70 Z0;

N150 G1 X45 Z0;

N145 G1 X45 Z-67;

N150 G1 X70 Z-67;

N150 G1 X70 Z0;

N155 G1 X40 Z0;

N160 G1 X40 Z-67;

N155 G1 X52.5 Z-67;

N160 G1 X65 Z-90.51;

N160 G0 X65 Z-67;

N165 G1 X40 Z-67;

N165 G1 X65 Z-90.51;

N170 G0 X65 Z0;

N175 G1 X30 Z0;

N180 G1 X30 Z-32;

N185 G1 X40 Z-32;

N175 G0 X40 Z0;

N180 G1 X20 Z0;

N185 G1 X20 Z-30.5;

N180 G2 X23 Z-32 R1.5;

N185 G1 X31 Z-32;

N190 G1 X40 Z-36.5;

N190 G1 X40 Z0;

N195 G1 X0 Z0;

N200 G1 X13.2 Z0;

N205 G1 X13.2 Z-2;

N210 G3 X20 Z-5.5 R3.5;

N195 G0 X60 Z60

N200 M5 M9

N205 M30

Latihan 8

O0008

N10 G54

N15 T0101

N20 G97 S1000 M4 G99 F20;

N25 G0 X150 Z150;

N30 G1 X150 Z0

N35 G1 X60 Z0

N40 G1 X60 Z-2

N45 G1 X0 Z-2

N50 G0 X0 Z2

N55 G0 X50 Z2

N60 G1 X50 Z-47

N35 G1 X60 Z-47

N40 G0 X60 Z0

N45 G1 X40 Z0

N50 G1 X40 Z-47

N55 G1 X60 Z-47

N60 G1 X60 Z0

N65 G1 X30 Z0

N70 G1 X30 Z-17

N75 G1 X40 Z-41.999

N80 G1 X60 Z-41.999

N85 G0 X60 Z0

N90 G1 X20 Z0

N95 G1 X30 Z-11.999

N80 G1 X60 Z-11.999

N85 G0 X150 Z150

N90 M5 M9

N95 M30

Page 7: Program CNC

Latihan 9

O0009

N5 G54

N10 T0101

N10 G97 S1000 M4 M8 G99 F5

N15 G0 X150 Z150

N20 G0 X150 Z-2

N25 G0 X110 Z-2

N30 G1 X0 Z-2

N35 G1 X0 Z2

N40 G0 X110 Z2

N45 G1 X98 Z2

N50 G1 X98 Z-2

N55 G1 X100 Z-3

N60 G0 X150 Z-3

N65 G0 X150 Z150

N70 T0202

N75 G97 S1500 M4 M8 G99 F5

N80 G0 X150 Z150

N85 G0 X150 Z0

N90 G1 X0 Z0

N95 G1 X0 Z-19

N100 G1 X0 Z0

N105 G0 X0 Z150

N110 G0 X150 Z150

N115 T1111

N110 G97 S1000 M3 M8 G99 F5

N115 G0 X150 Z150

N120 G0 X0 Z150

N125 G0 X0 Z0

N130 G1 X0 Z-61

N115 G1 X0 Z150

N120 T0404

N125 G97 S1000 M4 M8 G99 F5

N130 G0 X30 Z50

N135 G1 X30 Z-46

N140 G1 X20 Z-46

N145 G0 X20 Z0

N150 G1 X40 Z0

N155 G1 X40 Z-46

N160 G1 X20 Z-46

N165 G0 X20 Z0

N170 G1 X48 Z0

N175 G1 X48 Z-46

N180 G1 X20 Z-46

N185 G0 X20 Z0

N125 G1 X56 Z0

N130 G1 X56 Z-26

N135 G1 X20 Z-26

N140 G0 X20 Z0

N145 G1 X64 Z0

N150 G1 X64 Z-26

N155 G1 X20 Z-26

N160 G0 X20 Z0

N165 G1 X72 Z0

N170 G1 X72 Z-26

N175 G1 X20 Z-26

N180 G0 X20 Z0

N185 G0 X20 Z150

N130 T1616

N135 G97 S1000 M4 M8 G99 F20

N140 G0 X0 Z100

N145 G0 X0 Z100

N150 G1 X0 Z-61

N155 G1 X0 Z-61

N160 G1 X0 Z100

N165 G0 X100 Z100

N135 M5 M9

N140 M30

Page 8: Program CNC

Latihan 10

O0011

N10 G54

N15 T0101

N20 G97 S1000 M4 G99 F20

N25 G0 X150 Z150;

N30 G0 X150 Z0;

N35 G0 Z-2;

N40 G0 X100 Z-2;

N45 G1 X0 Z-2;

N50 G1 X90 Z-2;

N55 G1 X90 Z-72;

N60 G1 X100 Z-72;

N65 G1 X100 Z0;

N70 G0 X80 Z0;

N75 G1 X80 Z-72;

N80 G1 X100 Z-72;

N85 G1 X100 Z0;

N90 G0 X70 Z0;

N95 G1 X70 Z-72;

N100 G1 X100 Z-72;

N105 G0 X100 Z0;

N110 G0 X60 Z0;

N115 G1 X60 Z-69;

N120 G2 X66 Z-72 R3;

N125 G1 X90 Z-72;

N130 G1 X100 Z-77;

N135 G0 X100 Z0;

N140 G0 X50 Z0;

N145 G1 X50 Z-49;

N150 G2 X56 Z-52 R3;

N155 G1 X60 Z-54;

N160 G0 X60 Z0;N165 G1 X40 Z0;

N170 G1 X40 Z-32;

N175 G1 X50 Z-32;

N180 G1 X50 Z0;

N185 G0 X30 Z0;

N190 G1 X30 Z-28;

N195 G2 X38 Z-32 R4;

N200 G1 X44 Z-32;

N205 G1 X50 Z-35;

N210 G0 X50 Z0;

N215 G0 X20 Z0;

N220 G0 Z-2;

N225 G3 X30 Z-7 R5;

N230 G0 X50;

N235 G0 Z50;

N240 M5 M9;

N245 M30;

Page 9: Program CNC

Latihan 11

O0011

N10 G54

N15 T0101

N20 G97 S1000 M4 G99 F20

N25 G0 X150 Z150;

N30 G0 X150 Z0;

N35 G0 Z-2;

N40 G0 X100 Z-2;

N45 G1 X0 Z-2;

N50 G1 X90 Z-2;

N55 G1 X90 Z-72;

N60 G1 X100 Z-72;

N65 G1 X100 Z0;

N70 G0 X80 Z0;

N75 G1 X80 Z-72;

N80 G1 X100 Z-72;

N85 G1 X100 Z0;

N90 G0 X70 Z0;

N95 G1 X70 Z-72;

N100 G1 X100 Z-72;

N105 G0 X100 Z0;

N110 G0 X60 Z0;

N115 G1 X60 Z-69;

N120 G2 X66 Z-72 R3;

N125 G1 X90 Z-72;

N130 G1 X100 Z-77;

N135 G0 X100 Z0;

N140 G0 X50 Z0;

N145 G1 X50 Z-49;

N150 G2 X56 Z-52 R3;

N155 G1 X60 Z-54;

N160 G0 X60 Z0;

N165 G1 X40 Z0;

N170 G1 X40 Z-32;

N175 G1 X50 Z-32;

N180 G1 X50 Z0;

N185 G0 X30 Z0;

N190 G1 X30 Z-28;

N195 G2 X38 Z-32 R4;

N200 G1 X44 Z-32;

N205 G1 X50 Z-35;

N210 G0 X50 Z0;

N215 G0 X20 Z0;

N220 G0 Z-2;

N225 G3 X30 Z-7 R5;

N230 G0 X50;

N235 G0 Z50;

N240 M5 M9;

N245 M30;

Page 10: Program CNC

Latihan 12

O0012

N10 G54

N15 T0101

N20 G97 S1000 M4 M8 G99 F20;

N25 G0 X150 Z150

N35 G0 X150 Z0;

N40 G0 X90 Z-2;

N60 G1 X0 Z-2;

N65 G1 X85 Z-2;

N70 G1 X85 Z-87;

N75 G1 X90 Z-87;

N80 G0 X90 Z0;

N85 G0 X80 Z0;

N90 G1 X80 Z-87;

N95 G2 X90 Z-92 R5

N115 G0 X90 Z0;

N120 G0 X70 Z0;

N125 G1 X70 Z-42;

N130 G1 X80 Z-42;

N135 G0 X80 Z0;

N140 G1 X60 Z0;

N145 G1 X60 Z-42;

N150 G1 X80 Z-42;

N150 G0 X80 Z0;

N155 G1 X52 Z0;

N160 G1 X52 Z-42;

N165 G1 X80 Z-42;

N170G0 X80 Z0;

N175 G1 X40 Z0;

N180 G1 X40 Z-36;

N185 G2 X52 Z-42 R6;N190 G1 X60 Z-42;

N195 G3 X80 Z-52 R10;

N200 G0 X100 Z-52;

N205 G0 X100 Z100;

N215 T0202

N220 G97 S1000 M4 M8 G99 F20;

N225 G0 X45 Z100;

N230 G0 X45 Z-2;

N235 G0 X45 Z-22;

N240 G0 X40 Z-22;

N245 G1 X35 Z-22;

N250 G1 X35 Z-32

N260 G1 X45 Z-32;

N265 G0 X45 Z-22;

N270 G1 X30 Z-22;

N275 G1 X30 Z-32;

N280 G1 X45 Z-32;

N285 G1 X45 Z-22;

N290 G1 X25 Z-22;

N295 G1 X25 Z-32;

N300 G1 X45 Z-32;

N305 G1 X45 Z-22;

N310 G1 X20 Z-22;

N315 G1 X20 Z-32;

N320 G1 X85 Z-32;

N325 G0 X85 Z-61;

N330 G1 X75 Z-61;

N335 G1 X75 Z-82;

N340 G1 X85 Z-82

N345 G1 X85 Z-61;

N350 G1 X70 Z-61;

N355 G1 X70 Z-82;

N360 G1 X85 Z-82;

N365 G1 X85 Z-61;

N370 G1 X65 Z-61;

N375 G1 X65 Z-82;

N380 G1 X85 Z-82;

N385 G0 X85 Z-61;

N390 G1 X60 Z-61;

N395 G1 X60 Z-82;

N400 G1 X100 Z-82;

N405 G0 X100 Z100;

N410 M5 M9

N415 M30;

Page 11: Program CNC

Latihan 13

O0013

N10 G54

N15 T0101

N20 G97 S1000 M4 M8 G99 F20

N25 G1 X150 Z150;

N35 G1 X150 Z0;

N40 G0 X32 Z0;

N45 G1 X32 Z-2;

N50 G1 X0 Z-2;

N60 G1 X28 Z-2;

N65 G1 X28 Z-27.5;

N70 G2 X31 Z-29 R1.5;

N75 G1 X31 Z0;

N80 G1 X22 Z0;

N85 G1 X22 Z-19;

N90 G3 X28 Z-22 R3;

N95 G0 X30 Z-22;

N100 G1 X30 Z0;

N105 G1 X17 Z0;

N110 G1 X17 Z-12;

N115 G1 X22 Z-19;

N120 G0 X30 Z-19;

N125 G0 X30 Z0;

N130 G0 X11 Z0;

N135 G1 X11 Z-2

N140 G1 X17 Z-5;

N145 G0 X50 Z-5

N150 G0 X50 Z100;

N155 T0202

N160 G97 S1000 M3 M8 G99 F20;

N170 G0 X50 Z0;

N180 G0 X0 Z0;

N200 G1 X0 Z-5;

N205 G1 X0 Z0;

N210 G1 X50 Z0;

N215 G1 X50 Z150;

N220 T1212

N225 G97 S1000 M3 M8 G99 F20

N230 G0 X0 Z50;

N235 G1 X0 Z-19;

N240 G1 X0 Z30;

N250 M5 M9

N255 M30

Page 12: Program CNC

Latihan 14

O0014

N10 G54

N15 T0101

N20 G97 S1000 M4 M8 G99 F20

N25 G0 X150 Z150;

N30 G0 X150 Z0;

N35 G1 X150 Z-2;

N40 G1 X0 Z-2;

N45 G1 X100 Z-2;

N50 G1 X100 Z-92;

N55 G1 X110 Z-92;

N60 G1 X110 Z0;

N65 G1 X90 Z0;

N70 G1 X90 Z-92;

N75 G1 X110 Z-92;

N80 G1 X110 Z0;

N85 G1 X80 Z0;

N90 G1 X80 Z-87;

N95 G2 X90 Z-92 R5;

N100 G3 X110 Z-102 R10;

N105 G0 X110 Z0;

N110 G0 X70 Z0;

N115 G1 X70 Z-42;

N120 G1 X80 Z-42;

N125 G1 X80 Z0;

N130 G1 X60 Z0;

N135 G1 X60 Z-42;

N140 G1 X80 Z-42;

N145 G1 X80 Z0;

N150 G1 X52 Z0;

N155 G1 X52 Z-42;

N160 G1 X80 Z-42;

N165 G1 X80 Z0;

N170 G1 X40 Z0;

N175 G1 X40 Z-36;

N180 G2 X52 Z-42 R6;

N190 G1 X60 Z-42;

N195 G3 X80 Z-52 R10;

N200 G0 X80 Z0;

N205 G1 X35 Z0;

N210 G1 X40 Z-32;

N215 G0 X45 Z-32;

N220 G0 X45 Z0;

N225 G0 X30 Z0;

N230 G1 X40 Z-32;

N235 G0 X45 Z-32;

N240 G0 X45 Z0;

N245 G1 X25 Z0;

N250 G1 X40 Z-32;

N255 G0 X45 Z-32;

N260 G0 X45 Z0;

N265 G0 X20 Z0;

N270 G1 X40 Z-32;

N275 G0 X100 Z100;

N280 T0202

N285 G97 S1000 M4 M8 G99 F20

N295 G0 X0 Z0;

N300 G0 X85 Z0;

N305 G0 X85 Z-58.5;

N310 G1 X75 Z-58.5;

N315 G1 X75 Z-79.5;

N320 G1 X85 Z-79.5;

N325 G0 X85 Z-58.5;

N330 G1 X70 Z-58.5;

N335 G1 X70 Z-79.5;

N340 G1 X85 Z-79.5;

N345 G0 X85 Z-58.5;

N350 G1 X65 Z-58.5;

N355 G1 X65 Z-79.5;

N360 G1 X85 Z-79.5;

N365 G0 X85 Z-58.5;

N370 G1 X60 Z-58.5;

N375 G1 X60 Z-79.5;

N380 G1 X85 Z-79.5;

N385 G1 X85 Z-58.5;

N390 G1 X55 Z-58.5;

N395 G1 X55 Z-79.5;

N400 G1 X85 Z-79.5;

N405 G1 X85 Z-58.5;

N410 G1 X50 Z-58.5;

N415 G1 X50 Z-79.5;

N420 G1 X110 Z-79.5

N425 G0 X100 Z100;

N430 M5 M9

N435 M30

Page 13: Program CNC

Latihan 15

O0015

N10 G54

N15 T0101

N20 G97 S1000 M4 M8 G99 F20

N25 X150 Z150

N30 G0 X150 Z0;

N35 G1 X60 Z-2;

N40 G1 X0 Z-2;

N45 G1 X55 Z-2;

N50 G1 X55 Z-47;

N55 G1 X60 Z-47;

N60 G1 X60 Z0;

N65 G0 X50 Z0;

N70 G1 X50 Z-47;

N75 G1 X60 Z-47;

N80 G1 X60 Z0;

N85 G0 X45 Z0;

N90 G1 X45 Z-47;

N95 G1 X56 Z-47

N95 G1 X60 Z-49

N100 G1 X60 Z0;

N105 G1 X40 Z0;

N110 G1 X40 Z-47;

N115 G1 X60 Z-47;

N120 G1 X60 Z0;

N130 G1 X35 Z0;

N135 G1 X35 Z-17;

N140 G1 X40 Z-17;

N145 G1 X40 Z0;

N150 G1 X30 Z0;

N155 G1 X30 Z-17;

N160 G1 X38 Z-17;

N165 G1 X40 Z-18;

N180 G0 X40 Z0;

N185 G1 X26 Z0;

N190 G1 X26 Z-2;

N195 G1 X30 Z-4;

N200 G0 X100 Z50

N205 T0202

N210 G0 X0 Z50;

N215 G0 X0 Z0;

N220 G1 X45 Z0;

N225 G0 X45 Z-45;

N230 G1 X35 Z-45;

N235 G1 X35 Z-47;

N240 G1 X45 Z-47;

N245 G0 X45 Z-45;

N250 G1 X30 Z-45;

N255 G1 X30 Z-47;

N260 G1 X45 Z-47;

N265 G1 X38 Z-45

N270 G1 X40 Z-44

N265 G0 X100 Z-47;

N270 G1 X50 Z50;

N275 T0303

N280 G97 S150 M4 M8 G99 F5;

N285 G0 X50 Z-15

N290 G1 X45 Z-15

N295 G76 P050060 Q50 R0.2

N300 G76 X36.77 Z-45 R0.0 P1226 Q500 F2.0

N305 G0 X45 Z100

N310 M5 M9

N315 M30

Page 14: Program CNC

Latihan 16

O0016

N10 G54

N15 T0101

N20 G97 S1000 M4 M8 G99 F20;

N25 X150 Z150;

N30 G0 X150 Z0;

N35 G0 X125 Z-2;

N40 G1 X0 Z-2;

N45 G1 X110 Z-2;

N50 G1 X110 Z-132;

N55 G1 X120 Z-132;

N60 G0 X120 Z0;

N65 G1 X100 Z0;

N70 G1 X100 Z-132;

N75 G1 X120 Z-132;

N80 G0 X120 Z0;

N85 G1 X90 Z0;

N90 G1 X90 Z-132;

N95 G1 X120 Z-132;

N100 G0 X120 Z0;

N105 G1 X80 Z0;

N110 G1 X80 Z-132

N115 G1 X120 Z-132;

N120 G1 X120 Z0;

N125 G1 X70 Z0;

N130 G1 X70 Z-32;

N135 G1 X80 Z-58;

N140 G1 X85 Z-58;

N145 G1 X85 Z0;

N150 G1 X60 Z0;

N155 G1 X60 Z-32;

N160 G1 X80 Z-58;

N165 G1 X85 Z-58;

N170 G1 X85 Z0;

N175 G1 X50 Z0;

N180 G1 X50 Z-32;

N185 G1 X80 Z-58;

N190 G1 X100 Z-58;

N195 G1 X85 Z-58;

N200 G1 X85 Z-92;

N205 G1 X80 Z-92;

N210 G2 X80 Z-132 R50;

N215 G1 X118 Z-132;

N220 G1 X120 Z-133;

N225 G0 X120 Z0

N230 G1 X48 Z0

N235 G1 X48 Z-2

N240 G1 X50 Z-3

N205 G1 X50 Z-3;

N210 G0 X50 Z100

N210 T0202

N215 G97 S1000 M4 M8 G99 F20

N220 G0 X50 Z0;

N225 G1 X55 Z0;

N230 X55 Z-24;

N235 X45 Z-24;

N250 G1 X45 Z-28;

N255 G1 X50 Z-28;

N260 G1 X60 Z-28;

N265 G1 X60 Z-24;

N270 G1 X40 Z-24;

N275 G1 X40 Z-28;

N280 G1 X60 Z-28;

N285 G1 X100 Z-28;

N290 G1 X100 Z150;

N295 T0303

N315 G97 S1000 M4 M8 G99 F20

N320 G0 X100 Z150

N305 G0 X100 Z0

N310 G0 X0 Z0

N315 G1 X0 Z-11.5

N320 G0 X0 Z150

N325 T0404

N330 G97 S1000 M3 M8 G99 F20

N335 G0 X0 Z150

N340 G1 X0 Z-41.6

N345 G1 X0 Z150

N295 M5 M9

N300 M30