格式如下:
0 BEGIN PGM N0002 MM
1 ; Feature Id 2311
2; TOOL NAME : T9_EM6_R
3; CORNER_RADIUS : 0.000000
4 TOOL CALL 9 Z S13000
这里还有两行是定义毛坯大小
5 L X10.072 Y-16.907 R FMAX M
6 L Z99.000 R0 FMAX M13
7 L Z94.000 R FMAX M
8 L Z88.500 R F4000 M
9 L X10.017 Y-13.007 R F M
10 L X-10.017 R F M
11 CC X-10.017 Y-10.017
12 C X-13.007 Y-10.017 DR- R F M
13 L Y10.017 R F M
14 CC X-10.017 Y10.017
15 C X-10.017 Y13.007 DR- R F M
16 L X10.017 R F M
17 CC X10.017 Y10.017
18 C X13.007 Y10.017 DR- R F M
........
1220 L Y12.607 R F M
1221 L X10.017 R F M
1222 CC X10.017 Y10.017
1223 C X12.607 Y10.017 DR- R F M
1224 L X16.507 Y10.072 R F M
1225 L Z99.000 R F30000 M
1226 L M9 M5
1227 TOOL CALL 0 Z
1228 L M30
1229 END PGM N0002 MM
BEGIN PGM 4-q2-sbcjx-m MM
BLK FORM 0.1 Z X-100. Y-100. Z-50.
BLK FORM 0.2 X100. Y100. Z0.0
;#Program Name: 4-q2-sbcjx-m MM
;#Create Time: Fri Feb 18 10:12:15 2011
;#Tool Name: B2 , Tool Dia: 2.00, Tool Radius: 1.00
TOOL CALL 0 Z S12000
L X-186.791 Y143.861 FMAX M3
L Z20. FMAX
L Z1. FMAX
L Z-.8 F50. M8
CC X-180.657 Y141.097
C X-180.65 Y147.825 DR- F1500.
L X180.65 F1500.
L Z.2
L Z20. FMAX
TOOL CALL Z S12000
L X100.45 Y49.275 FMAX M3
L Z1. FMAX
L Z-.8 F50.
L X180.65 F1500.
L Z.2
L Z20. FMAX
M5
M30
;#Machine Time: 6.57 min
END PGM 4-q2-sbcjx-m MM
10 BEGIN PGM XM_16R16DM MM
20 ;( PROGRAM = XM_16R16DM )
30 ;( DATE = 20 11 - 12 - 28 )
40 ;( TIME = 15:04 )
50 ;( T158 = D16. R1.6 )
60 ;( At Center, Z at Top )
70 TOOL CALL 158 Z S2000 ; D16. R1.6
80 ;( MAX = Z+20 )
90 ;( MIN = Z-13.3297 )
100 L X-136.502 Y-129.79 R F MAX M03
110 L Z+20 R F MAX M
120 L Z-12.33 R F MAX M
130 L Z-13.33 R F80. M
140 CC X-136.504 Y-136.5
3010 L Z-13.33 R F80. M
3020 CC X+136.496 Y+136.5
3030 C DR+ R F1200. M
3040 L Z+20 R F MAX M
3050 L R F M140 MBMAX M9
3060 L M5
3070 STOP M30
3080 END PGM XM_16R16DM MM