Search

CNC Programming Examples - CNC Milling Machine

CNC Mill Example Program G01 G02 G03 G90 G91


* Best ebooks for CNC programming: 
CNC Programming Basics 
G-Code and M-Code 
CNC programming 
G-Code Reference 
CNC Machine Tutorial 

A cnc mill program for cnc machinists programmers, who have started to learning basic cnc programming techniques.
Contents


CNC Mill Example Program




CNC Program

        N40 G90 G00 X0 Y0
        N50 G01 X-10 Y-20 R8         (P1)
        N60 G01 X-50 R10             (P2)
        N70 Y10                      (P3)
        N80 X-19.97 Y25.01           (P4)
        N90 G03 X7.97 Y38.99 R18     (P5)
        N100 G01 X30 Y50             (P6) 
        N110 G91 X10.1 Y-10.1        (P7)
        N120 G90 G02 X59.9 Y20.1 R14 (P8)
        N130 G01 X70 Y10             (P9)
        N140 Y-20 R10                (P10)
        N150 X50                     (P11)
        N160 G03 X30 R10             (P12)
        N170 G01 X10 R8              (P13)
        N180 X0 Y0

G M S T Codes Explanation

Code Description
G00 Rapid traverse
G01 Linear interpolation
G02 Circular interpolation CW
G03 Circular interpolation CCW
G90 Absolute command
G91 Increment command

-------------------------------------------------------------------

CNC Mill Programming Example

CNC mill program example for cnc machinists.


CNC Mill Programming Example

CNC Program

            G0 X-60 Y0
            G1 X-70                  (P1)
            G2 X-25.02 Y25.97 R30    (P2)
            G1 X2.46 Y10.13          (P3)
            G3 X8.5 Y10.92 R5        (P4)
            G1 X18.79 Y21.21         (P5)
            G2 X25.13 Y-26.05 I21.21 J-21.21 (P6)
            G1 X-5 Y-8.66            (P7)
            G3 X-12.14 Y-11.13 R5    (P8)
            G2 X-70 Y0 R30           (P1)
            G1 X-60

G M S T Codes Explanation

Code Description
G00 Rapid traverse
G01 Linear interpolation
G02 Circular interpolation CW
G03 Circular interpolation CCW




I Will Make A Manufacturable 3d Model And A Cnc Program For It 
I Will Do Cnc Program For Molding, Laser Cutting Fusion 360 Cam 
I Will Cnc Programming On Mastercam 
I Will Make G Code Or Cnc Program For Your Design 
I Will Create CNC Programs For You

G02 G03 Example CNC Mill

G02 G03 Circular interpolation CNC mill example program.

G02 G03 Example CNC Mill

CNC Part Program

                G0 X30 Y-30             (P1)
                G1 Y22.67               (P2)
                G3 X24.07 Y26.18 R4     (P3)
                G2 X-18.27 Y23.46 R50   (P4)
                G3 X-23.46 Y18.27 R4    (P5)
                G2 X-23.46 Y-18.27 R50  (P6)
                G3 X-18.27 Y-23.46 R4   (P7)
                G2 X24.07 Y-26.18 R50   (P8)
                G3 X30 Y-24.67 R4       (P9)
                G1 X33

G M S T Codes Explanation

Code Description
G0 Rapid traverse
G1 Linear interpolation
G2 Circular interpolation CW
G3 Circular interpolation CCW
M30 End of program (Reset)

--------------------------------------------------------------------------------------------


Multiple Arc CNC Mill Program G2 G3 I J

CNC milling machine program which combines/joins multiple arcs.

Multiple Arc CNC Mill Program G2 G3 I J

CNC Part Program

                    N10 M6 T1 G43 H1 M3
                    N15 S500 F120
                    N20 G0 X0 Y0              (P1)
                    N25 G1 Y20                (P2)
                    N30 G3 X-15 Y35 I-15 J0   (P3)
                    N35 G2 X-45 Y35 I-15 J0   (P4)
                    N40 G3 X-60 Y20 I0 J-15   (P5)
                    N45 G1 Y0                 (P6)   
                    N50 G1 X0                 (P1) 
                    N55 M30

G M S T Codes Explanation

Code Description
G0 Rapid traverse
G1 Linear interpolation
G2 Circular interpolation CW
G3 Circular interpolation CCW
G43 Tool length compensation + direction
M3 Spindle start forward CW
M6 Tool change
M30 End of program (Reset)
T Tool
S Speed
F Feed

---------------------------------------------------------------------

Haas Corner Rounding and Chamfering Example G01 C R


Haas Corner Rounding and Chamfering

Haas CNC program example to show how Chamfer and Corner Radius can be programmed.

Haas Chamfering

To program Chamfer
N10 G01 X20 Y30 ,C3

Haas Corner Rounding

To program Radius
N10 G01 X20 Y30 ,R3

Haas Corner Rounding and Chamfering Example


Haas CNC Program

                        O1234 (Corner Rounding and Chamfering Example);
                        T1 M6;
                        G00 G90 G54 X0. Y0. S3000 M3; (P1)
                        G43 H01 Z0.1 M08;
                        G01 Z-0.5 F20.;
                        Y40. ,R10.;            (P2)    
                        X50. ,C5.;             (P3) 
                        Y0.;                   (P4)
                        G00 Z0.1 M09;
                        G53 G49 Z0.;
                        G53 Y0.;
                        M30;

Haas G M S T Codes

Code Description
G00 Rapid Motion
G01 Linear Interpolation Motion
G43 Tool Length Compensation +
G49 G43/G44 Cancel
G53 Non-Modal Machine Coordinate Selection
G54 Select Work Coordinate System l
G90 Incremental Programming
M3 Spindle On, Clockwise (S)
M6 Tool Change (T)
M08 Coolant On
M09 Coolant Off
M30 Program End and Reset
S Spindle speed
T Tool


>> Ebooks for CNC Programming  

1 comment:

  1. They can tackle abnormal state issues with numerical language as the primary guide.machine learning course in pune

    ReplyDelete