Thursday, August 2, 2018

CNC Programming Examples - G02 G03 I J K

  Thanh A Tran       Thursday, August 2, 2018

CNC Mill Programming Example

CNC mill program example for cnc machinists.

Contents
  • CNC Mill Programming Example
    • CNC Program
    • G M S T Codes Explanation

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

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

G02 G03 Example CNC Mill

G02 G03 Circular interpolation CNC mill example program.

Contents
  • G02 G03 Example CNC Mill
    • CNC Part Program
    • G M S T Codes Explanation

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.
Contents
  • Multiple Arc CNC Mill Program G2 G3 I J
    • CNC Part Program
    • G M S T Codes Explanation

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


 

logoblog

Thanks for reading CNC Programming Examples - G02 G03 I J K

Previous
« Prev Post

No comments:

Post a Comment