Thursday, July 6, 2023

Turning Programming Examples

The following examples demonstrate different turning operations carried out using CNC turning/lathe machines. Specifically, we will concentrate solely on finish turning processes, excluding any discussion on rough turning operations.

Example – 1   


% 1111 (Program number)
(Example-1)                          (Program name)
N5 G21 G90 G54                  (Preparatory function code)
N10 T1 D1                            (T1 cutting tool with D1 offset)
N15 M03 S2000 M08           (Spindle & Coolant ON)
N20 G00 G54 X160 Z0        (Positioning at B point with zero offsets)
N25 G01 G41 X-2 F0.05      (Facing with tool nose comp. left up to C point)
N30 G42 X30                        (Positioning at D point with tool nose comp. right)
N35 Z-20                              (Positioning at E point)
N40 X110                              (Positioning at F point)
N45 Z-40                              (Positioning at G point)
N50 X80                              (Positioning at H point)
N55 Z-55                             (Positioning at I point)
N60 X150 Z-85                     (Positioning at J point)
N65 Z-105                             (Positioning at K point)
N70 X80                                 (Positioning at L point)
N75 Z-125                             (Positioning at M point)
N80 X150                              (Positioning at N point)
N85 Z-145                              (Positioning at O point)
N90 X110                                 (Positioning at P point)
N95 Z-165                             (Positioning at Q point)
N100 X160                              (Positioning at R point)
N105 G00 G40 G53 X300 Y200 (Returning to A point)
N110 M05 M09                      (Spindle & Coolant OFF)
N115 M30                                  (End of the program)


Example – 2 


% 2222 (Program number)
(Example-2)                                     (Program name)
N5 G21 G90 G54                             (Preparatory function code)
N10 T2 D1                                       (T2 cutting tool with D1 offset)
N15 M03 S2000 M08                      (Spindle & Coolant ON)
N20 G00 G54 X30 Z0                     (Positioning at B with work offset)
N25 G01 G42 X-2 F0.05                 (Facing operation, considering tool nose compensation)
N30 X10                                          (Positioning X-axis)
N35 Z-30                                          (Z-axis movement, positioning at D point)
N40 G02 X60 Z-50 R20 F0.02         (Positioning at E point with CW 20 mm radius path)
N45 G03 X60 Z-90 I0 K-20 F0.02   (Positioning at F point with CCW 20 mm radius path)
N50 G01 Z-120 F0.05                      (Positioning at G point)
N55 X110                                         (Positioning at H point)
N60 G00 G40 G53 X300 Z200         (Returning to tool changing position A)
N65 M05 M09                                  (Spindle & Coolant OFF)
N70 M30                                          (End of the program)

Example – 3



% 3333                                                   (Program number)
(Example-1)                                           (Program name)
N5 G21 G90 G54                                   (Preparatory function code)
N10 T3 D1                                              (T3 cutting tool with D1 offset)
N15 M03 S2000 M08                             (Spindle & Coolant ON)
N20 G00 G42 X90 Z0                            (Positioning with tool nose radius compensation)
N25 G01 X-2 F0.05                               (Facing operation)
N30 X15                                                 (Positioning X-axis)
N35 X30 Z-20                                        (Linear interpolation movement of X & Z axes)
N40 Z-90                                                (Positioning Z-axis)
N45 G02 X50 Z-100 R10 F0.02            (Circular movement with 10 mm radius)
N50 G01 Z-140 F0.05                           (Positioning Z-axis)
N55 X90                                                (Positioning X-axis)
N60 G00 G53 X200 Z200                    (Returning to tool change position)
N65 M05 M09                                      (Spindle & Coolant OFF)
N70 M30                                              (End of the program)

Example – 4


% 4444 (Program number)
(Example-4)                                                      (Program name)
N5 G21 G90 G54                                              (Preparatory function code)
N10 T4 D1                                                         (T4 cutting tool with D1 offset)
N15 M03 S2000 M07                                        (Spindle & Coolant ON)
N20 G00 G54 X30 Z0                                        (Positioning with work offset)
N25 G01 G42 X-2 F0.05                                    (Facing operation)
N30 X20                                                             (Positioning X-axis)
N35 X100 Z-40                                                  (X & Z axis synchronized movement)
N40 G03 X100 Z-90 I-16.58 K-25 F0.02          (Circular movement with 30 mm radius path)
N45 G01 Z-120 F0.05                                         (Positioning Z-axis)
N50 G02 X100 Z-170 I16.58 K-25 F0.02          (Circular movement with 30 mm radius path)
N55 G01 X150 F0.05                                          (Positioning X-axis)
N60 G00 G40 G53 X300 Z200                          (Returning to tool changing position)
N65 M05 M09                                                    (Spindle & Coolant OFF)
N70 M30                                                             (End of the program)

No comments:

Post a Comment

Popular Posts