MORISEIKI NL1500 CNC LATHE
THIS MICRO PROG. IS BETTER THAN G83 CYCLE
BECAUSE G04 IS ON OUTSIDE THE HOLE
(S DIA .348 COBALT DRILL)
N5G00G30U0
G00G30W0
G98M45
G54T1111
M08
G28H0.
G00G97Z.2S850M13
X0.
#100=.1(PECK AMOUNT)
#101=2.62(DEPTH OF HOLE)
#102=.02(RETURN AMOUNT)
#103=.1(Z-START POSITION)
#104=#100(SET TEMP Z EQUAL TO PECK VALUE)
#105=3.(FEED RATE)
WHILE[#104LT#101]DO1(LOOP WHILE TEMP Z-VALUE IS LESS THAN FINISH DEPTH)
G1Z-#104F#105(FEED TO PECK DEPTH)
G0Z#103(CLEAR CHIP - RAPID TO RETRACTLOCATION)
G04X2.
Z-[#104-#102](RAPID RETURN TO LAST LOCATION LESS RETURN AMOUNT)
#104=#104+#100(SET TEMP Z EQUAL TO TEMP Z PLUS PECK VALUE)
END1(END LOOP)
G1Z-#101(DRILL TO FINISH DEPTH)
G0Z#103(RAPID OUT TO RETRACT LOCATION)
Z.2
G00G30U0.M09
G00G30W0.M05
G99M46
M01