Справочник Пользователя для Mitsubishi Electronics 60/60S

Скачать
Страница из 559
Appendix 4. Registering/Editing the Fixed Cycle Program
4.6  Standard Fixed Cycle Subprogram (For M system) 
 
 
 
IV-15 
4.6  Standard Fixed Cycle Subprogram (For M system) 
 
G81 (O810)  Drill, spot drill 
 
Fixed cycle block 1 movement command 
Check for fixed cycle invalidity. 
 
 
Inhibit single block stop. 
 
 
Return. 
 
 
G82 (O820)  Drill, counter boring 
 
Fixed cycle block 1 movement command 
Check for fixed cycle invalidity. 
 
 
Inhibit single block stop. 
 
Dwell. 
 
 
Return. 
 
G83 (O830)  Deep hole drill cycle 
 
Fixed cycle block 1 movement command 
Check for fixed cycle invalidity. 
Define the cutting amount. 
Initialize the return amount (total cutting amount). 
 
 
Inhibit single block stop. 
 
Define the return amount of the next block. 
Calculate the feed amount. 
Feed. 
Does the total cutting amount (return amount) 
exceed the cut amount? 
Cutting feed 
 
G. 1 ; 
 
1F [#30] GOTO1 ; 
 
Z#2 G#6 H#7 ; 
 
#2 = ##5 
 
#3003 = #8 OR 1 ; 
 
G1 Z#3 ; 
 
#3003 = #8 ; 
 G0 
− #3 − #2 ; 
N1 M99% 
 
G. 1 ; 
 
1F [#30] GOTO1 ; 
 
Z#2 G#6 H#7 ; 
 
#2 = ##5 
 
#3003 = #8 OR 1 ; 
 
G1 Z#3 ; 
 
G4 P#4 ; 
 
#3003 = #8 ; 
 G0 
− #3 − #2 ; 
N1 M99% 
 
 
G. 1 ; 
 
1F [#30] GOTO2 ; 
 
#29 = #11 
 
#28 = 0 
 
Z#2 G#6 H#7 ; 
 
#2 = ##5 
 
#3003 = #8 OR 1 ; 
 
DO  1 ; 
 
#28 = #28 
− #11 
 #26 
− #28 − #29 
 Z#26 
 
IF [ABS [#28] GE [ABS [#3] ] ] GOTO 1 ; 
 
 
G1 Z#29 ;