PROGRAMMING MACHINE NC/CNC (BASIC) BASIC COMPETENCE : WRITING PROGRAMME MACHINE NC/CNC
LEARNING OUTCOMES After the student get the material are able to : Knowing code programming CNC to Lathe machine Understand format write each code programming CNC lath Write codes programming to piece of paper programme CNC correctly and suitable standard
CODE PROGRAMMING Code programming CNC Code progromming is contens of letter and number Letter code is used G, M, S, F, H, I, J, T, N, K, D, X,Y, Z, Number code is used 0 until 9
FUNCTION G00 Instruction code CNC lathe is: G00: moving position moving position is cutting move without shape Programming format G00 is : N …. / G00 / X ….. / Z …
EXAMPLE FUNCTION OF G00
SHEET PROGRAM G00 N G (M) X (I) Z (K) F (L) (K) (T) 00 - 500 01 -400 01 -400 02 M30
FUNCTION G01 G01: move interpolation linier with using Used to move the line in the axis , or cutting make axle certain (move interpolation). Programming format : N … / G01 / X± … / Z± … / F …
EXAMPLE CUTTING STRAIGHT Depth of cuuting 0,2 mm End position of chisel the same with start programme
EXAMPLE PROGRAMMING WITH FUNCTION G01 CNC programs with function G01 N G (M) X (I) Z (K) F (L) (K) (T) 00 -500 01 -1320 50 02 200 03 -600 04 300 05 500 06 1320 07 M30
EXAMPLE CUTTING OF INTERPOLATION LINIER
INTERPOLASI CIRCLE G02 AND G03 G02: Interpolasi circle dircetly to the clock Input format :N … / G02/ X± … / Z± … / F … G03: Interpolasi circle against the clock Input format : : N … / G03/ X± … / Z± … / F …
INTERPOLASI CIRCLE G02 AND G03 Example: G02 (clockwise) G03 (Counter clockwise)
SICLUS CUTTING THREAD: G78 Used to shive the thread path but make it longer with spindle machine. The order to : N … / G78 / X ± … / Z± … / K … / H … Siclus the movement is:
SICLUS OF CUTTING THREAD: G78 Siclus 1 rapid move Siclus 2 threading Siclus 3 rapid move Siclus 4 rapid move
SICLUS OF CUTTING THREAD: G78
EXAMPLE OF SICLUS THREAD CUTTING G78 EXAMPLES : N … / G78 / X 1780 / Z -2700 / K150 / H25
SICLUS FITTER LONGER: G84 Siclus long fitter: G84 1. G84 is a order to fitter with chisel thing create siclus, contain is: Siclus 1 : prepare cutting tool Siclus 2 : fitting longer Siclus 3 : fitting side Siclus 4 : back to start point 2. Order format : N … / G84 / X ± … / Z± … / F … / H …
SICLUS OF LONG FITTER: G84
EXAMPLE OF LONG FITTER: G84
WRITING AND DECIDE ZERO POINT : G92 G92 is order to writing and decide zero point machine to programming price absolute. Format P rogramming: N … / G92 / X ± … / Z± … To programming G92, price X is show diameters. example :
WRITING AND DECIDED ZERO POINT : G92 Example : G92
FUNCTION M Function M Code M called help order Code order letter M is code order to complete and help code G Code M called help order Code G called first order
Some code M and its meaning is which is a lot of used by KODE M Some code M and its meaning is which is a lot of used by M00 - Turn of rotation main axis Repairing mistake program. To continue the program depress knob “START” M03 Rotation main axis clockwise M05 Stop rotation of main axis M06 Cutter Change and compensation enumeration chisel M17 Return to especial program M30 Program finish M99 Radian Center parameter for the circle 90 degree
REFERENCES Tim Fakultas Teknik Universitas Negeri Yogyakarta (2004) Modul Memprogram Mesin CNC (dasar), Yogyakarta:Bagian Proyek Pengembangan Kurikulum Windarto (2008) Teknik Pemesinan Jilid 2, Memahami Mesin CNC Dasar, Jakarta:Direktorat Pembina Sekolah Kejuruan.