Programming Example 6
Sketch for machining file is as follows:
The corresponding programming is as follows:
N01 G92 X10 Y0 Z0 'workpiece coordinates system establishment
N02 G91 G00 X-10 M03 S1000 M08 'incremental coordinates adopted, spindle CW at 1000 rpm, and coolant on
N03 G00 Y14 Z-16 'rapid traverse to X0 Y14 Z-16
N04 G02 X0 Y0 I14 J0 F600 'clockwise circular interpolation, feed speed 600mm/min
N05 G01 X1 Z1 F600 'linear interpolation, advance 1mm along both X-axis and Z-axis
N06 G02 X0 Y0 I13 J0 F600
N07 G01 X1 Z1 F600
N08 G02 X0 Y0 I12 J0 F600
N09 G01 X1 Z1 F600
N10 G02 X0 Y0 I11 J0 F600
N11 G01 X1 Z1 F600
N12 G02 X0 Y0 I10 J0 F600
N13 G01 X1 Z1 F600
N14 G02 X0 Y0 I9 J0 F600
N15 G01 X1 Z1 F600
N16 G02 X0 Y0 I8 J0 F600
N17 G01 X1 Z1 F600
N18 G02 X0 Y0 I7 J0 F600
N19 G01 X1 Z1 F600
N20 G02 X0 Y0 I6 J0 F600
N21 G01 X1 Z1 F600
N22 G02 X0 Y0 I5 J0 F600
N23 G01 X1 Z1 F600
N24 G02 X0 Y0 I4 J0 F600
N25 G01 X1 Z1 F600
N26 G02 X0 Y0 I3 J0 F600
N27 G01 X1 Z1 F600
N28 G02 X0 Y0 I2 J0 F600
N29 G01 X1 Z1 F600
N30 G02 X0 Y0 I1 J0 F600
N31 G90 G00 X0 Y0 Z0 M05 M09 M30 rapidly traverse to X0, Y0, Z0, spindle stop, coolant off, end of program and return to the program
header