Appendix 4. Registering/Editing the Fixed cycle Program
4.5 Standard Fixed Cycle Subprogram (For L system)
IV
-6
G75 (O750)
Longitudinal cutting cycle
G. 1 ;
1F [ ABS [ #1 ] GT 0 ] GOTO 10 ;
#14 = 1 ;
N10 #13 = #4 ;
IF [ #15 NE 0 ] GOTO 11 ;
#13 = #4
−
#5 ;
N11 #16 = 0 ;
D0 1 ;
#10 = 0 ;
#11 = #3 ;
D0 2 ;
#10 = #10 + #3 ;
IF [ ABS [ #10 ] GE [ABS [ #2 ] ] ] GOTO 1 ;
G01 Y #11 ;
G00 Y #6 ;
#11 = #3
−
#6 ;
END 2 ;
N1 G01 Y#2
−
#10 + #11 ;
IF [ #15 EQ 0 ] GOTO 20 ;
IF [ #16 EQ 0 ] GOTO 21 ;
N20 G00 X#5 ;
N21 #16 = 1 ;
G00Y
−
#2 ;
IF [ #14 ] GOTO 3 ;
#12 = #12 + #4 ;
IF [ ABS [ #12 ] LT [ABS [ #1 ] ] ] GOTO 2 ;
#14 = 1 ;
#13 = #1
−
#12 + #13 ;
N2 G00 X #13 ;
#13 = #4
−
#5 ;
END 1 ;
N3 G00 X
−
#1
−
#5 ;
M99 ;
Содержание EZMotion-NC E60 Series
Страница 1: ......
Страница 15: ...I OPERATION SECTION ...
Страница 361: ...II MACHINE OPERATION MANUAL ...
Страница 399: ...III SETUP ...
Страница 472: ...IV APPENDIXES ...
Страница 510: ......