试采用重复固定循环方式加工图示各孔。
程序如下
%0005
N01 G92 X0.Y0.Z100.
G90 G80
N02 G00 X-50.Y51.963 M03 S800
N03 Z20.M08 F40
N04 G91 G81 G99 X20.Z-18.R-17.L4
N05 X10.Y-17.321
N06 X-20.L4
N07 X-10.Y-17.321
N08 X20.L5
N08 X10.Y-17.321
N10 X-20.L6
N11 X10.Y-17.321
N12 X20.L5
N13 X-10.Y-17.321
N14 X-20.L4
N15 X10.Y-17.321
N16 X20.L3
N17 G80 M09
N18 G90 G00 Z100.
N19 X0.Y0.M05
N20 M30