all support.
Save with GB2312 encoding.
(---------------------------------------------------------------------);
;
H000 = +000000.0001 ( 0 = Record 1 = Set );
H001 = +000000.0012 ( Number of work pieces 1 - 40 );
;
(---------------------------------------------------------------------);
( Whether to return to the origin when setting coordinates );
H003 = +000000.0000 ( 0 = OFF 1 = ON );
;
(---------------------------------------------------------------------);
;
H002 = +000000.0054 ( The first working coordinate system );
;
(---------------------------------------------------------------------);
( When recording coordinates );
( Check to see if the Z axis is going down to the origin );
H010 = +000000.0001 ( 0 = OFF 1 = ON );
H011 = +000000.0050 ( offset maximum value );
H012 = -000000.0050 ( offset minimum value );
;
(_____[ X-axis value ]_____[ Y-axis value ]______[ Z-axis value ]_____);
;
( G54 ----------------------------------------------------------------);
H101 = -000219.5893 H201 = -000102.0996 H301 = -000000.0104 ;
( G55 ----------------------------------------------------------------);
H102 = -000221.9520 H202 = -000041.8502 H302 = -000000.0157 ;
( G56 ----------------------------------------------------------------);
H103 = -000225.1161 H203 = +000022.8824 H303 = -000000.0288 ;
( G57 ----------------------------------------------------------------);
H104 = -000144.8861 H204 = +000029.6042 H304 = -000000.0300 ;
( G58 ----------------------------------------------------------------);
H105 = -000144.1482 H205 = -000036.8764 H305 = -000000.0178 ;
( G59 ----------------------------------------------------------------);
H106 = -000141.8813 H206 = -000106.3259 H306 = -000000.0153 ;
H107 = -000064.2376 H207 = -000108.2999 H307 = -000000.0189 ;
H108 = -000066.5165 H208 = -000038.8684 H308 = -000000.0169 ;
H109 = -000066.0312 H209 = +000030.8161 H309 = -000000.0102 ;
H110 = +000012.1294 H210 = +000034.8254 H310 = -000000.0172 ;
H111 = +000013.4188 H211 = -000035.9787 H311 = -000000.0083 ;
H112 = +000010.6201 H212 = -000104.8897 H312 = -000000.0276 ;
H113 = +000200.2186 H213 = +000050.0588 H313 = +000029.8208 ;
H114 = +000257.0614 H214 = +000051.3543 H314 = +000029.8204 ;
H115 = +000256.8885 H215 = -000003.7623 H315 = +000029.8284 ;
H116 = +000256.6259 H216 = -000060.0178 H316 = +000029.8274 ;
H117 = +000256.5869 H217 = -000115.7008 H317 = +000029.8224 ;
H118 = +000016.3326 H218 = -000101.4042 H318 = +000051.9745 ;
H119 = +000016.3024 H219 = -000121.7542 H319 = +000051.9783 ;
H120 = +000016.2082 H220 = -000141.9465 H320 = +000051.9758 ;
H121 = -000171.3438 H221 = +000014.6064 H321 = +000072.3120 ;
H122 = -000171.2812 H222 = +000049.8321 H322 = +000072.3294 ;
H123 = -000171.1086 H223 = +000085.4781 H323 = +000072.3282 ;
H124 = -000171.1503 H224 = +000119.7253 H324 = +000072.3370 ;
H125 = -000136.0880 H225 = +000119.9471 H325 = +000072.3343 ;
H126 = -000136.2498 H226 = +000085.5736 H326 = +000072.3299 ;
H127 = -000136.0390 H227 = +000050.0126 H327 = +000072.3247 ;
H128 = -000135.8195 H228 = +000014.8033 H328 = +000072.3197 ;
H129 = -000135.8721 H229 = -000020.9213 H329 = +000072.3132 ;
H130 = -000136.0694 H230 = -000056.4970 H330 = +000072.3068 ;
H131 = -000100.7143 H231 = -000056.3717 H331 = +000072.3083 ;
H132 = -000100.4485 H232 = -000021.3182 H332 = +000072.3097 ;
H133 = -000100.6001 H233 = +000014.4930 H333 = +000072.3185 ;
H134 = -000100.6995 H234 = +000050.0309 H334 = +000072.3291 ;
H135 = -000100.7470 H235 = +000085.6631 H335 = +000072.3247 ;
H136 = -000004.3963 H236 = +000058.0742 H336 = +000059.1013 ;
H137 = +000031.0333 H237 = +000058.0616 H337 = +000059.1014 ;
H138 = +000038.9925 H238 = -000053.2726 H338 = +000059.0879 ;
H139 = +000002.8206 H239 = -000054.5734 H339 = +000059.0857 ;
H140 = +000000.0000 H240 = +000000.0000 H340 = +000000.0000 ;
;
H601 = +000000.0601 H602 = +000000.0602 H603 = +000000.0603 ;
;
(---------------------------------------------------------------------);
;
G90 ;
H050 = 1 ;
H051 = H001 ;
H052 = H002 ;
IF H000 = 1(,3000) ;
IF H003 = 1(,2000) ;
G00 X+0000.0000 Y+0000.0000 ;
G97 X+0000.0000 Y+0000.0000 ;
G83 ZH603 ;
G97 ZH603 ;
H601 = 0 ;
H602 = 0 ;
M98 P2001 L[H001] ;
JUMP9999 ;
M02 ;
;
N9999 ;
H601 = 601 ;
H602 = 602 ;
H603 = 603 ;
M02 ;
;
(---------------------------------------------------------------------);
;
N2000 ;
G83 XH601 YH602 ZH603 ;
G97 XH601 YH602 ZH603 ;
M98 P2001 L[H001] ;
JUMP9999 ;
M02 ;
;
N2001 ;
GH052 ;
G92 XH[100+H050]+H601 YH[200+H050]+H602 ZH[300+H050]+H603 ;
H050 = H050+1 ;
JUMP9998 ;
M02 ;
;
(---------------------------------------------------------------------);
;
N3000 ;
IF H010 = 0(,3003) ;
M98 P3002 L[H001] ;
H050 = 1 ;
H051 = H001 ;
H052 = H002 ;
M98 P3001 L[H001] ;
( H000 = 1) ;
JUMP9999 ;
M02 ;
;
N3001 ;
GH052 ;
G83 XH[100+H050] YH[200+H050] ZH[300+H050] ;
H050 = H050+1 ;
JUMP9998 ;
M02 ;
;
N3002 ;
H[100+H050] = H050+100 ;
H[200+H050] = H050+200 ;
H[300+H050] = H050+300 ;
H050 = H050+1 ;
M99 ;
;
N3003 ;
G83 ZH603 ;
IF H603 < H011(,3004) ;
IF H603 > H012(,3004) ;
M98 P3002 L[H001] ;
H050 = 1 ;
H051 = H001 ;
H052 = H002 ;
M98 P3001 L[H001] ;
( H000 = 1) ;
JUMP9999 ;
M02 ;
;
N3004 ;
H601 = 601 ;
H602 = 602 ;
H603 = 603 ;
HOLD(warning ...) ;
M02 ;
;
(---------------------------------------------------------------------);
;
N9998 ;
IF H052 < 60(0010) ;
IF H052 < 160(0011) ;
IF H052 < 260(0012) ;
IF H052 < 360(0013) ;
IF H052 < 460(0014) ;
IF H052 < 560(0015) ;
IF H052 < 660(0016) ;
IF H052 < 760(0017) ;
IF H052 < 860(0018) ;
JUMP1000 ;
M02 ;
N0010 ;
IF H052 = 59(,1000) ;
H052 = 153 ;
JUMP1000 ;
M02 ;
N0011 ;
IF H052 = 159(,1000) ;
H052 = 253 ;
JUMP1000 ;
M02 ;
N0012 ;
IF H052 = 259(,1000) ;
H052 = 353 ;
JUMP1000 ;
M02 ;
N0013 ;
IF H052 = 359(,1000) ;
H052 = 453 ;
JUMP1000 ;
M02 ;
N0014 ;
IF H052 = 459(,1000) ;
H052 = 553 ;
JUMP1000 ;
M02 ;
N0015 ;
IF H052 = 559(,1000) ;
H052 = 653 ;
JUMP1000 ;
M02 ;
N0016 ;
IF H052 = 659(,1000) ;
H052 = 753 ;
JUMP1000 ;
M02 ;
N0017 ;
IF H052 = 759(,1000) ;
H052 = 853 ;
JUMP1000 ;
M02 ;
N0018 ;
IF H052 = 859(,1000) ;
H052 = 953 ;
JUMP1000 ;
M02 ;
N1000 ;
H052 = H052+1 ;
M99 ;
M02 ;