View Full Version : haas lathe programming question


pavelbure
04-04-2007, 06:38 PM
whenever i use a m30 in a program that has a sub program loop cycle in the beginning it always stops at the m30 and doesn't rewind the program to the beginning. if it is a normal program it will rewind itself. any ideas why ?

Geof
04-04-2007, 07:13 PM
Can you attach your program file to a Post and I can try running it through my Haas lathe simulator.

hap0113
06-13-2007, 04:27 PM
M30 ends the program and resets the machine. You need to use M99 to get the subroutine to loop. Hope this helps.

HAASboi
06-16-2007, 02:40 AM
try this code

G00 220. Z150. ;
M05 ;
M30 :

pavelbure
06-17-2007, 10:17 AM
as it turns out,i spent time one night trying to figure it out. it has something to do with the m code to open and close the chuck. anyways, i found that if i put a m01 before the m30 it would reset the program now.

go figure.:)