Appendix 4. Registering/Editing the Fixed cycle Program
4.5 Standard Fixed Cycle Subprogram (For L system)
IV
-5
4.5 Standard Fixed Cycle Subprogram (For L system)
G37 (O370)
Automatic tool length
measurement
G31 Z #5 F #3 ;
1F [ROUND [ ABS [#2
−
[ ##10
∗
#11
−
#12 ] ] ] GT #8 ] GOTO 1 ;
1F [ROUND [ ##10
∗
#11
−
#12 ] EQ #4 ] GOTO 1 ;
##9 = #10
−
#12/#11
−
#2/#11 + ##9 ;
#3003 = #1 ;
N2 ;
M99 ;
N1 # 3901 = 126 ;
G74 (O740)
End face cutoff cycle
G. 1 ;
1F [ ABS [ #2 ] GT 0 ] GOTO 10 ;
#14 = 1 ;
N10 #13 = #3 ;
IF [ #15 NE 0 ] GOTO 11 ;
#13 = #3
−
#5 ;
N11 #16 = 0 ;
D0 1 ;
#10 = 0 ;
#11 = #4 ;
D0 2 ;
#10 = #10 + #4 ;
IF [ ABS [ #10 ] GE [ABS [ #1 ] ] ] GOTO 1 ;
G01 X #11 ;
G00 X #6 ;
#11 = #4
−
#6 ;
END 2 ;
N1 G01 X#1
−
#10 + #11 ;
IF [ #15 EQ 0 ] GOTO 20 ;
IF [ #16 EQ 0 ] GOTO 21 ;
N20 G00 Y#5 ;
N21 #16 = 1 ;
G00X
−
#1 ;
IF [ #14 ] GOTO 3 ;
#12 = #12 + #3 ;
IF [ ABS [ #12 ] LT [ABS [ #2 ] ] ] GOTO 2 ;
#14 = 1 ;
#13 = #2
−
#12 + #13 ;
N2 G00 Y #13 ;
#13 = #3
−
#5 ;
END 1 ;
N3 G00 Y
−
#2
−
#5 ;
M99 ;
Содержание EZMotion-NC E60 Series
Страница 1: ......
Страница 15: ...I OPERATION SECTION ...
Страница 361: ...II MACHINE OPERATION MANUAL ...
Страница 399: ...III SETUP ...
Страница 472: ...IV APPENDIXES ...
Страница 510: ......