cnc milling program

CNC Milling Program

In this post, i will tell you the example program of CNC milling which will help you in writing the programming of CNC milling and it will also help in understanding the CNC milling program.

Milling Example Program

PROGRAM

ย 

DETAILS

%101 G71

โ‡’

Dimensions specified in MM
N05 G90 G17

โ‡’

{G90 โ€“ Absolute dimensions, G17 โ€“ Plane selection X Y and tool axis Z}
N10 G30 X0 Y0 Z-10

โ‡’

Lower Left Lorner (LLC) Define
N20 G31 X100 Y100 Z0

โ‡’

Upper Right Corner (URC) Define
N30 G99 T1 L0 R5

โ‡’

Tool define {T1 โ€“ tool number, L0 โ€“ offset number, R5 โ€“ tool radius}
N40 M06 T1

โ‡’

Tool change
N50 M03 S2000

โ‡’

Spindle on clockwise
N60 G00 X-15 Y50 Z50

โ‡’

Home position
N70 G01 Z-1 F50

โ‡’

{ Z-1 Depth of cut, F50 โ€“ Feed}
N80 G01 X5 Y50 F100

โ‡’

Program running
N90 G01 X5 Y95

โ‡’

Program running
N100 G01 X95 Y95

โ‡’

Program running
N110 G01 X95 Y5

โ‡’

Program running
N120 G01 X5 Y5

โ‡’

Program running
N130 G01 X5 Y50

โ‡’

Program running
N140 G01 X5 Y45

โ‡’

Program running
N150 G01 X-15 Y50

โ‡’

Tool out from the workpiece
N160 G00 Z50

โ‡’

Tool go to home position
N170 M05

โ‡’

Spindle STOP
N180 M30

โ‡’

Program END

 

Please follow and like us:

About Author

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top