主程序:
N0010 M03 G01 G54 X0 Y0 Z-1 S1000 F1000
N0020 G20 N50 P1=-3
N0030 G20 N50.2 P1=-6
N0040 M02
子程序:
M50.cnc
N0010 G22 N50
N0020 G00 Z2
N0030 G41 G01 X0 Y0 F100
N0040 G01 ZP1
N0050 Y20
N0060 G02 X60 Y20 I30 J0
N0070 G01 Y0
N0080 X45
N0090 G03 X15 Y0 I-15 J0
N0100 G01 X-5 Y0
N0110 G00 Z2
N0120 G40 G01 X0 Y0
N0200 G24