You are on page 1of 63

CNC turning adalah bermula dengan penghasilan mesin larik.

Menggunakan mesin larik untuk kerja-kerja melarik,menggerek, mengerudi, membuat benang skru dan sebagainya.

NC

Numerical Control 1950 - 1975

CNC FFS CAD CAD / CAM CIM

Computer Numerical Control with integrated computer 1970 FLEXIBLE MANUFACTURING SYSTEM 1990

Computer Aided Design / Drawing 1958

Computer Aided Design and Computer Aided Manufacturing 1975 Computer integrated manufacturing with planning, design and manufacturing 1989

dan kos bagi program ini adalah murah.menambah kawalan sesuatu perkakas secara ekonomi.Program ini mula dibangunkan pada awal tahun 1970 selepas program DNC yang sangat popular sebelum program ini. .menyediakan analisis diogrisis.mengawal pembuatan. Keperluan system kawalan ini ialah memudahkan penyuntingan aturcara.

.

.

Mesin CNC vs Konvensional PLPG ± JPTK ± FKIP ± UNS .

X PLPG ± JPTK ± FKIP ± UNS .Bahagian-bahagian Mesin CNC Lathe Controller Chuck /Cekam Lampu Motor Utama Eretan memanjang Paksi.Z Rumah Alat/ Tool turret Eretan melintang /paksi.

MAKINO (JAPAN) NAKAMURA TOME SC-150M (JAPAN) .

HAAS HSI-RP: 2 Pallet Horizontal Machining Center .

CNC MAZAK (JAPAN) .

.

PEMBUANGAN TATAL @ PENYEJUK .

(PAPAN KAWALAN) .

BAHAGIAN CONTROL PANEL G) EMERGENCY STOP A) POWER OFF B) POWER ON C) CYCLE START F) PANEL HAND WHEEL E) FEED RATE CONTROL D) FEED HOLD .

.

ENDMILL KARBIDA CENTER DRILL .

.

.

GAMBARAJAH MATA ALAT JENIS ¶CARBIDA· .

CNC PROGRAMMING .

. Part programming is the procedure by which the sequence of processing steps and other related data.Part program is a set of instructions which instructs the machine tool about the processing steps to be performed for the manufacture of a component. to be performed on the CNC machine is planned and documented.

The sequence number is used to identify the block. The sequence number is preceded by word N and is written as N001. etc. . N005.N-Word (Sequence Number) : The first word in every block is the sequence number.

G00 rapid motion G01 line interpolation motion G02 CW interpolation motion G03 CCW interpolation motion G04 Dwell G09 exact stop G10 set offset G17 XY plane G18 ZX plane G19 YZ plane G20 select inches G21 select metric G28 return to reference point G29 return from reference point G81 drill cycle G82 counter bore cycle G83 deep hole drilling cycle G90 absolute position G91 INCREAMENTAL position G99 rapid to retract plane .

WIN .MENGGUNAKAN PERKAKASAN EXSL .

.

.

N10 G97 G96 S2000 T0101 M3.1. N80 G01 X40 Z-30. N70 G02 X30 Z-20 R5. N40 G71 P50 Q110 U0. N120 G70 P50 Q110 T0202 F0. N30 G71 U0.1 W0. N110 G01 X50 Z-70. N130 G28 U0 W0. N100 G03 X50 Z-45 R5.ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ :0300. M05.3 R2. N60 G01 X20 Z-15. . N90 G01 X40 Z-40. M30. N55 G01 Z0.1. N20 G00 X52 Z2.1 F0. N50 G01 X20.

Turning Center Coordinate System ƒZ is the length of the ƒX is the part. center or front. not . the tool. ƒusually the back. ƒThe programmer chooses the ƒlocation of the origin on the part. diameter of the part. ƒWe will always use the back. ƒThe partially shaded circle ƒrepresents the origin. ƒProgram to move ƒthe work. ƒcenter since it simplifies machine ƒset-up. ƒcenter.

C. and E. We can move: incrementally distance from previous point. or absolutely new distance from the origin . B.ƒ ƒ ƒ Suppose we want to move from the origin through points A. D.

Absolute Programming Incremental Absolute Point ƒE Z 0 X 0 Z 0 1 3 3 5 6 X 0 1 1 2 2 6 Origin C A B D A B C D E 1 1 2 0 0 1 2 0 1 4 .Incremental vs.

memasang pendingin (coolant). Alatan mesin yang berbeza boleh menggunakan kod yang sama untuk melaksanakan fungsi yang berbeza. dan sebagainya.Sistem kod M mengawal keseluruhan mesin. walaupun mesin yang mengunakan pengawal CNC yang sama.bermula. Contoh arahan menggunakan kod M:  Arahan membuka pelincir  Arahan pergerakan pusingan ikut jam atau lawan jam bagi alat pemotong . menyebabkan ia berhenti.

M00 M01 M02 M03 M04 M05 M06 M08 M09 M10 M11 M30 program stop optional program stop program end spindle on clockwise spindle on counter clockwise spindle stop tool change coolant on coolant off clamps on clamps off end of program. reset to start .

contohnya :  Pergerakan yang cepat  Satu siri pergerakan suapan  Mengawal pergerakan suapan dalam garis lurus atau lengkungan .G-code adalah nama yang digunakan bagi bahasa pengaturcaraan yang mengawal mesin dan memberitahu peralatan mesin jenis kerja yang perlu dilakukan.

Common Fanuc G Codes Code G00 G01 G02 G03 G20 G21 G28 Description Rentasan deras (titik ke titik) Suapan dalam gerakan lelurus Penentu dalaman membulat bagi lengkok ikut jam Penentu dalaman membulat bagi lengkok lawan jam Pemprograman dalam inci Pemprograman dalam inci Kembali kepada kedudukan asal .

.

.

.

.

.

.

.

.

.

clockwise rotation M05 deactivate spindle M08 activate coolant M09 deactivate coolant M48 activate feedrate override dial M49 cancel feedrate override dial M41 select lower spindle speed range M42 select higher spindle speed range .ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ ƒ M00 programmed stop M01 optional stop M02 program end M30 program end with resetting M03 activate spindle in clockwise rotation M04 activate spindel in counter .

.

X a b c d e f g 0 40 40 80 80 110 110 Z 0 0 -40 -40 -90 -90 -140 .

N N10 N20 N30 N40 N50 N60

G G00 G01 G01 G01 G01 G01

X 50 50 75 100 100 101

Z 1 -25 -25 -75 -100 -100

N

G

X

Z

N
N10 N20 N30 N40 N50 N60 N70 N80 N90

G
G00 G01 G01 G01 G01 G01 G01 G01 G01

X
25

Z
1

25 -12.5 37.5 -25 50 50 75 75 100 100 101 -25 -50 -62.5 -75 -87.5 -100 -100

N100 G01

N N10 N20 N30 N40 N50 N60 N70 N80 N90 G X Z I K R .

5 I K R N10 G00 N20 G01 N30 G02 N40 G01 N50 G02 N60 G01 25 0 25 0 N70 G03 100 0 -12.5 N80 G01 100 -100 N90 G01 101 -100 .N G X 25 25 50 50 75 75 Z 1 -25 37.5 -50 62.5 -75 87.

you must follow a series of steps to be successful: .Planning and Programming To program a CNC machine tool to create a part.

Examine the part drawing throughly and get a rough idea of how you want to proceed. .1.

. Figure out how to hold the raw material so you can perform as much machining as possible in one setup.2.

.3.Decide what cutters are necessary to perform the various operations.

4. one cutter at a time. .Write down the exact sequence of operations necessary to machine the part.

5. Convert your sequence of operations into a program and simulate the program if possible .

the second two for the offset number. ‡ The tool code (T) is four digits ± the first two for the tool number. (exp: T0101 / T0202) ‡ All alpha characters must be in uppercase .ƒ ƒ ƒ Most machines only allow one M code per block. They are usually the same.

Install a part and go to step 5. Set the cutter offsets. 4. Install all cutters in the proper holders.1. Install the fixture or chuck on the machine and establish the WCS (Work Coordinate System) 3. Carefully watch the operations. Simulate the program on the machine. Initiate the single step cycle with your hand on the E-stop button at all times. 6. 5. press the feed hold button to take notes for any corrections. . 8. 7. 2. Slow rapid traverse down as low as possible.

ƒ ƒ Lakarkan gambarajah projek anda menggunakan software CAD atau kaedah insani. . Ukuran maksima untuk projek  Panjang tidak lebih 100 mm  Diameter tidak lebih 30mm ƒ Buat program secara insani menggunakan G code dan M code berdasarkan rekabentuk yang dilakarkan.

.

N20 G00 X40 Z1. N212 M05. N207 G02 X25 Z-47 R2.(BISHOP) N10 G97 S2000 M03 T0101. N208 G01 X25 Z-50. N202 G01 X15 Z-37. N50 G01 X0 Z0. N209 G01 X25 Z-55. N206 G03 X23 Z-45 R2. N190 G01 X9 Z-18 body N200 G01 X13 Z-36 N201 G01 X15 Z-36. N150 G03 X10 Z-7. N40 G71 P50 Q209 U0.5.5 W0. N211 G28 U0 W0. N213 M30. N180 G01 X9 Z-15. N160 G01 X9 Z-9.:0029. N170 G03 X10 Z-11 R2. N210 G70 P50 Q 209 T0101 F0.5 F1. intro N30 G71 U1 R2. N203 G02 X17 Z-38 R1.5. N60 G03 X2 Z-1 R2.5 R8. N205 G01 X21 Z-43. N204 G03 X21 Z-40 R2. Length : 100mm Diameter: 25mm closing .5.