4.2 数控加工程序的编写
O0001;
N0010 M03 T0101 S500; N0030 G00 X85.0 Z2.0; N0040 G71 U2.0 R1.0;
N0050 G71 P0060 Q0100 U1.0 W0 F100.0;
N0060 G00 X64.0;
N0070 G01 X70.0 Z-1.0; N0080 Z-10.0 F50.0; N0090 X78.0;
N0100 X80.0 Z-11.0; N0110 Z-24.0;
N0120 X85.0;
N0130 G00 X100.0 Z100.0; S800;
N0140 G70 P0060 Q0100; N0150 G00 X100.0 Z100.0 N0160 M30; O0002;
N001 M03 T0101 S500; N002 G00 X100.0 Z100.0; N003 X85.0 Z2.0; N004 G71 U2.0 R1.0;
N005 G71 P006 Q018 U1.0 W0 F100.0;
N006 G00 X0.0;
N007 G01 Z0.0 F50.0;
N008 G03 X20.0 Z-10.0 R10.0; N038 X22.6; N039 X22.2; N040 X21.8; N041 X21.4;
N042 G00 X100.0 Z100.0; N043 M30;
N009 G01 Z-18.0; N010 X22.0;
N011X23.8 Z-19.0; N012 Z-53.0; N013 X30.0;
N014 X44.992 Z-75.0; N015 Z-78.0;
N016 G03 X65.0 Z-88.0 R10. N017 G01 Z-98.0; N018 X78.0;
N019 X82.0 Z-100.0; N020 S800;
N021 G70 P006 Q019; N022 G00 X100.0 Z100.0 N023 T0202 S500;
N024 G00 X50.0 Z-78.0; N025 G01 X40.0; N026 G00 X50.0; N027 Z-53.0; N028 X30.0; N029 G01 X20.0; N030 X25.0; N031 Z-51.0; N032 X20.0; N032 X20.0; N033 G00 X30.0; N034 X100.0 Z50.0; N035 T0303 S500;
N036 G00 X23.2 Z-16.0; N037 G92 Z-50.0 F2.0;